Помогите пожалуйста разобраться в проблеме.
устанавливал Астериск по этой статье
https://help.ubuntu.ru/wiki/asteriskпри входе в консоль asterisk -c выдает:
Asterisk 1.8.15-cert2, Copyright (C) 1999 - 2012 Digium, Inc. and others.
Created by Mark Spencer <markster@digium.com>
Asterisk comes with ABSOLUTELY NO WARRANTY; type 'core show warranty' for details.
This is free software, with components licensed under the GNU General Public
License version 2 and other licenses; you are welcome to redistribute it under
certain conditions. Type 'core show license' for details.
=========================================================================
[ Booting...
[ Reading Master Configuration ]
[ Initializing Custom Configuration Options ]
Unable to open pid file '/var/run/asterisk/asterisk.pid': Permission denied
Unable to bind socket to /var/run/asterisk/asterisk.ctl: Permission denied
ERROR: Unable to open log file '/var/log/asterisk/messages': Permission denied'
ERROR: Unable to create log channel 'messages'
[Apr 4 16:03:57] NOTICE[22509]: cdr.c:1565 do_reload: CDR simple logging enabled.
[Apr 4 16:03:57] WARNING[22509]: db.c:119 dbinit: Unable to open Asterisk database '/var/lib/asterisk/astdb': Permission denied
[Apr 4 16:03:57] NOTICE[22509]: loader.c:1145 load_modules: 151 modules will be loaded.
.[Apr 4 16:03:57] NOTICE[22509]: res_smdi.c:1418 load_module: No SMDI interfaces are available to listen on, not starting SMDI listener.
..........[Apr 4 16:03:57] WARNING[22509]: db.c:119 dbinit: Unable to open Asterisk database '/var/lib/asterisk/astdb': Permission denied
...SIP channel loading...
[Apr 4 16:03:57] WARNING[22509]: db.c:119 dbinit: Unable to open Asterisk database '/var/lib/asterisk/astdb': Permission denied
...[Apr 4 16:03:57] WARNING[22509]: chan_dahdi.c:17967 process_dahdi: Ignoring any changes to 'userbase' (on reload) at line 23.
[Apr 4 16:03:57] WARNING[22509]: chan_dahdi.c:17967 process_dahdi: Ignoring any changes to 'vmsecret' (on reload) at line 31.
[Apr 4 16:03:57] WARNING[22509]: chan_dahdi.c:17967 process_dahdi: Ignoring any changes to 'hassip' (on reload) at line 35.
[Apr 4 16:03:57] WARNING[22509]: chan_dahdi.c:17967 process_dahdi: Ignoring any changes to 'hasiax' (on reload) at line 39.
[Apr 4 16:03:57] WARNING[22509]: chan_dahdi.c:17967 process_dahdi: Ignoring any changes to 'hasmanager' (on reload) at line 47.
.....................[Apr 4 16:03:57] WARNING[22509]: db.c:119 dbinit: Unable to open Asterisk database '/var/lib/asterisk/astdb': Permission denied
[Apr 4 16:03:57] WARNING[22509]: db.c:612 ast_db_gettree: Database unavailable
...........[Apr 4 16:03:57] WARNING[22509]: db.c:119 dbinit: Unable to open Asterisk database '/var/lib/asterisk/astdb': Permission denied
[Apr 4 16:03:57] WARNING[22509]: db.c:612 ast_db_gettree: Database unavailable
.................................[Apr 4 16:03:57] WARNING[22509]: pbx_spool.c:851 load_module: Unable to create queue directory /var/spool/asterisk/outgoing -- outgoing spool disabled
...................... == Aliased CLI command 'hangup request' to 'channel request hangup'
== Aliased CLI command 'originate' to 'channel originate'
== Aliased CLI command 'help' to 'core show help'
== Aliased CLI command 'pri intense debug span' to 'pri set debug 2 span'
== Aliased CLI command 'reload' to 'module reload'
.............[Apr 4 16:03:57] ERROR[22509]: codec_dahdi.c:602 find_transcoders: Failed to open /dev/dahdi/transcode: No such file or directory
.............................[Apr 4 16:03:57] WARNING[22509]: db.c:119 dbinit: Unable to open Asterisk database '/var/lib/asterisk/astdb': Permission denied
[Apr 4 16:03:57] WARNING[22509]: db.c:612 ast_db_gettree: Database unavailable
kaban@KABANSERVER:~$ ps aux | grep /asterisk
kaban 22547 0.0 0.0 5632 808 pts/3 S+ 16:05 0:00 grep --color=auto /asterisk
root 29770 0.0 0.1 7064 1584 pts/3 T 14:15 0:00 sudo /etc/init.d/asterisk start
root 29771 0.0 0.0 2236 544 pts/3 T 14:15 0:00 /bin/sh /etc/init.d/asterisk start
root 29806 0.0 0.0 2236 108 pts/3 T 14:15 0:00 /bin/sh /etc/init.d/asterisk start
root 29810 0.0 0.1 7064 1584 pts/3 T 14:16 0:00 sudo /etc/init.d/asterisk start
root 29811 0.0 0.0 2236 544 pts/3 T 14:16 0:00 /bin/sh /etc/init.d/asterisk start
root 29815 0.0 0.0 2236 112 pts/3 T 14:16 0:00 /bin/sh /etc/init.d/asterisk start
Помогите пожалуйста, сам еще ничего не понимаю. недавно стал изучать linux\ubuntu
Пользователь решил продолжить мысль 04 Апреля 2013, 22:14:04:
никто не поможет?