diff options
author | Terry Wilson <twilson@digium.com> | 2011-10-10 22:58:10 +0000 |
---|---|---|
committer | Terry Wilson <twilson@digium.com> | 2011-10-10 22:58:10 +0000 |
commit | cf8db2413254449cb17d22607ab423e7f01ef3d3 (patch) | |
tree | ad9b7a2c39573123a3e7daab19fa41f9b1ca7dc1 | |
parent | 6708ee76a0a0c42530fa89a528e0576c391f4390 (diff) |
Merged revisions 340222 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/10
........
r340222 | twilson | 2011-10-10 15:55:39 -0700 (Mon, 10 Oct 2011) | 8 lines
On astdb conversion, also warn about permissions requirements
The user running Asterisk must have permission to the directory
the Asterisk database resides in since SQLite 3 needs to be able
to create a journal file.
(closes issue ASTERISK-18174)
........
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@340223 65c4cc65-6c06-0410-ace0-fbb531ad65f3
-rw-r--r-- | main/db.c | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -204,6 +204,9 @@ static int db_open(void) ast_log(LOG_ERROR, "*** old astdb, please delete '%s'\n", dbname); ast_log(LOG_ERROR, "*** and re-run 'make menuselect' and select astdb2sqlite3\n"); ast_log(LOG_ERROR, "*** in the Utilities section, then 'make && make install'.\n"); + ast_log(LOG_ERROR, "*** It is also imperative that the user under which\n"); + ast_log(LOG_ERROR, "*** Asterisk runs have write permission to the directory\n"); + ast_log(LOG_ERROR, "*** where the database resides.\n"); sleep(5); } else { ast_log(LOG_NOTICE, "Database conversion succeeded!\n"); |