From: thelma@sys-concept.com
To: Gentoo mailing list <gentoo-user@lists.gentoo.org>
Subject: Re: [gentoo-user] Asterisk 13.36 - ast_db_put: Couldn't execute statement: attempt to write a readonly database
Date: Wed, 23 Dec 2020 12:49:47 -0700 [thread overview]
Message-ID: <d5c91819-3a24-2fb4-4105-9886ff401792@sys-concept.com> (raw)
In-Reply-To: <65eaf969-7e6d-d95f-cb3b-ee294ec46f0e@sys-concept.com>
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.
prev parent reply other threads:[~2020-12-23 19:49 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
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 message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=d5c91819-3a24-2fb4-4105-9886ff401792@sys-concept.com \
--to=thelma@sys-concept.com \
--cc=gentoo-user@lists.gentoo.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox