* [gentoo-user] Asterisk 13.36 - ast_db_put: Couldn't execute statement: attempt to write a readonly database
@ 2020-12-23 19:47 thelma
2020-12-23 19:49 ` thelma
0 siblings, 1 reply; 2+ messages in thread
From: thelma @ 2020-12-23 19:47 UTC (permalink / raw
To: Gentoo mailing list
When I try to register provision/register equipment to asterisk I get an error message:
[Dec 23 12:32:51] WARNING[21685]: db.c:350 ast_db_put: Couldn't execute statement: SQL logic error
-- Registered SIP 'pstn-5665' at 10.0.0.110:5060
> Saved useragent "Audiocodes-Sip-Gateway-/v.5.80A.032.003" for peer pstn-5665
[Dec 23 12:32:51] WARNING[21685]: db.c:350 ast_db_put: Couldn't execute statement: SQL logic error
-- Registered SIP 'pstn-1270' at 10.0.0.110:5060
> Saved useragent "Audiocodes-Sip-Gateway-/v.5.80A.032.003" for peer pstn-1270
[Dec 23 12:32:51] NOTICE[21685]: chan_sip.c:24776 handle_response_peerpoke: Peer 'pstn-5665' is now Reachable. (61ms / 2000ms)
[Dec 23 12:32:51] WARNING[21685]: db.c:350 ast_db_put: Couldn't execute statement: attempt to write a readonly database
-- Registered SIP '369' at 10.0.0.110:5060
/var/lib/asterisk
-rw-r--r-- 1 root root 16384 Dec 23 12:10 astdb.sqlite3
In my old asterisk-11.25 this file has owner "asterisk:astersik" but changing the ownership of that file doesn't solve the problem, still getting the same error:
ast_db_put: Couldn't execute statement: attempt to write a readonly database
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: [gentoo-user] Asterisk 13.36 - ast_db_put: Couldn't execute statement: attempt to write a readonly database
2020-12-23 19:47 [gentoo-user] Asterisk 13.36 - ast_db_put: Couldn't execute statement: attempt to write a readonly database thelma
@ 2020-12-23 19:49 ` thelma
0 siblings, 0 replies; 2+ messages in thread
From: thelma @ 2020-12-23 19:49 UTC (permalink / raw
To: Gentoo mailing list
On 12/23/2020 12:47 PM, thelma@sys-concept.com wrote:
> When I try to register provision/register equipment to asterisk I get an error message:
>
> [Dec 23 12:32:51] WARNING[21685]: db.c:350 ast_db_put: Couldn't execute statement: SQL logic error
> -- Registered SIP 'pstn-5665' at 10.0.0.110:5060
> > Saved useragent "Audiocodes-Sip-Gateway-/v.5.80A.032.003" for peer pstn-5665
> [Dec 23 12:32:51] WARNING[21685]: db.c:350 ast_db_put: Couldn't execute statement: SQL logic error
> -- Registered SIP 'pstn-1270' at 10.0.0.110:5060
> > Saved useragent "Audiocodes-Sip-Gateway-/v.5.80A.032.003" for peer pstn-1270
> [Dec 23 12:32:51] NOTICE[21685]: chan_sip.c:24776 handle_response_peerpoke: Peer 'pstn-5665' is now Reachable. (61ms / 2000ms)
> [Dec 23 12:32:51] WARNING[21685]: db.c:350 ast_db_put: Couldn't execute statement: attempt to write a readonly database
> -- Registered SIP '369' at 10.0.0.110:5060
>
> /var/lib/asterisk
> -rw-r--r-- 1 root root 16384 Dec 23 12:10 astdb.sqlite3
>
> In my old asterisk-11.25 this file has owner "asterisk:astersik" but changing the ownership of that file doesn't solve the problem, still getting the same error:
>
> ast_db_put: Couldn't execute statement: attempt to write a readonly database
To solve it, I tried to follow the steps from:
https://community.asterisk.org/t/asterisk-warning/78443
But it didn't help.
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2020-12-23 19:49 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2020-12-23 19:47 [gentoo-user] Asterisk 13.36 - ast_db_put: Couldn't execute statement: attempt to write a readonly database thelma
2020-12-23 19:49 ` thelma
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox