LinuxMCE Forums
June 20, 2013, 08:10:17 am GMT-1 *
Welcome, Guest. Please login or register.
Did you miss your activation email?

Login with username, password and session length
News: Rule #1 - Be Patient - Rule #2 - Don't ask when, if you don't contribute - Rule #3 - You have coding skills - LinuxMCE's small brother is available: http://www.agocontrol.com
 
   Home   Help Search Chat Login Register  
Pages: [1]
  Print  
Author Topic: Asterisk Issue - Cannot write to sip.conf, retrieve sip.conf in 0810  (Read 1764 times)
bdfoster
Newbie
*
Posts: 10



View Profile
« on: June 13, 2009, 06:29:12 am »

I just reinstalled 0810 on my core, and I tried to setup my phone lines. I used the webadmin to input the voip settings using the sipgate hack because my provider isn't on the list. I went to FreePBX to see if it took and to change the sip.conf a little, and it gives me those two errors. When I try to manually apply configuration changes, I get this error log:

   1.
      exit: 1
   2.
       
   3.
      Checking for PEAR DB..OK
   4.
      Checking for PEAR Console::Getopt..OK
   5.
      Checking for /etc/amportal.conf ..OK
   6.
      Bootstrapping /etc/amportal.conf ..OK
   7.
      Parsing /etc/amportal.conf ..OK
   8.
      Parsing /etc/asterisk/asterisk.conf ..OK
   9.
      Connecting to database..OK
  10.
      Connecting to Asterisk manager interface..OK
  11.
      Added to globals: ASTETCDIR = /etc/asterisk
  12.
      Added to globals: ASTMODDIR = /usr/lib/asterisk/modules
  13.
      Added to globals: ASTVARLIBDIR = /var/lib/asterisk
  14.
      Added to globals: ASTAGIDIR = /usr/share/asterisk/agi-bin
  15.
      Added to globals: ASTSPOOLDIR = /var/spool/asterisk
  16.
      Added to globals: ASTRUNDIR = /var/run/asterisk
  17.
      Added to globals: ASTLOGDIR = /var/log/asterisk
  18.
      Added to globals: CWINUSEBUSY = true
  19.
      Added to globals: AMPMGRUSER = admin
  20.
      Added to globals: AMPMGRPASS = adminsecret
  21.
       
  22.
      Warning: fopen(/etc/asterisk/extensions_additional.conf): failed to open stream: Permission denied in /var/lib/asterisk/bin/retrieve_conf on line 414
  23.
       
  24.
      Warning: fopen(/etc/asterisk/meetme_additional.conf): failed to open stream: Permission denied in /var/lib/asterisk/bin/retrieve_conf on line 414
  25.
       
  26.
      Warning: fopen(/etc/asterisk/sip_additional.conf): failed to open stream: Permission denied in /var/lib/asterisk/bin/libfreepbx.confgen.php on line 25
  27.
      [FATAL] Cannot write SIP configurations Failed creating/overwriting SIP extensions file: /etc/asterisk/sip_additional.conf
  28.
       
  29.
      1 error(s) occured, you should view the notification log on the dashboard or main screen to check for more details.


Anything I can do at this point? Looks like permissions, but I am not for sure. This didn't happen last time I installed, a little over a week ago.
Logged

Have Fun - Bdfoster
pigdog
wants to work for LinuxMCE
**
Posts: 785


View Profile
« Reply #1 on: June 13, 2009, 03:13:16 pm »

Hi,

Did you see this post?

http://forum.linuxmce.org/index.php?PHPSESSID=7c0a86df1d22e8c00a602395ee3ad225&topic=8196.0

Hope there is some help with permissions there.
Logged
Pages: [1]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.18 | SMF © 2013, Simple Machines Valid XHTML 1.0! Valid CSS!