Author Topic: install issues on Alpha2 (Asterisk)  (Read 6884 times)

Ierlandfan

  • Making baby steps
  • Posts: 3
    • View Profile
install issues on Alpha2 (Asterisk)
« on: May 21, 2009, 07:46:11 am »
I installed de Alpha2 version this week.

downloaded Kubuntu 8.10 (Burned to cd)
Found out how to become root (or else you cannot run apt-get or aptitude)
aptitude update aptitude dist-upgrade.
Went ok.

Installed latest installer. (by using latest.tar.gz)

Problems:

Minor:
command locate is not working ok
solution:
nano /etc/updatedb.conf put an # in front of exit 0

Asterisk
Freepbx gives me: Cannot write SIP configurations
Apply configuration changes gives me:

.....
Connecting to database..OK
Connecting to Asterisk manager interface..OK
....
Warning: fopen(/etc/asterisk/extensions_additional.conf): failed to open stream: Permission denied in /var/lib/asterisk/bin/retrieve_conf on line 414
Warning: fopen(/etc/asterisk/meetme_additional.conf): failed to open stream: Permission denied in /var/lib/asterisk/bin/retrieve_conf on line 414
Warning: fopen(/etc/asterisk/sip_additional.conf): failed to open stream: Permission denied in /var/lib/asterisk/bin/libfreepbx.confgen.php on line 25
[FATAL] Cannot write SIP configurations Failed creating/overwriting SIP extensions file: /etc/asterisk/sip_additional.conf

Other than that no problems.





Ierlandfan

  • Making baby steps
  • Posts: 3
    • View Profile
Re: install issues on Alpha2 (Asterisk)
« Reply #1 on: May 21, 2009, 07:50:37 am »
Output form /etc/asterisk (ls -g)

-rw-rw---- 1 asterisk   140 2008-09-30 03:20 adsi.conf
-rw-rw---- 1 asterisk   840 2008-09-30 03:20 adtranvofr.conf
-rw-rw---- 1 asterisk  2724 2008-09-30 03:20 agents.conf
-rw-rw---- 1 asterisk  2227 2008-09-30 03:20 alarmreceiver.conf
-rw-rw---- 1 asterisk  2675 2008-09-30 03:20 alsa.conf
-rw-rw---- 1 asterisk   767 2008-09-30 03:20 amd.conf
-rw-rw---- 1 asterisk  3260 2008-09-30 03:20 asterisk.adsi
-rw-rw---- 1 asterisk   247 2008-09-30 03:11 asterisk.conf
-rw-rw---- 1 asterisk  7324 2008-09-30 03:20 cdr.conf
-rw-rw---- 1 asterisk   573 2008-09-30 03:20 cdr_custom.conf
-rw-rw---- 1 asterisk    59 2008-09-30 03:20 cdr_manager.conf
-rw-rw-r-- 1 asterisk   681 2009-01-27 00:22 cdr_mysql.conf
-rw-rw---- 1 asterisk   221 2008-09-30 03:20 cdr_odbc.conf
-rw-rw---- 1 asterisk   204 2008-09-30 03:20 cdr_pgsql.conf
-rw-rw---- 1 asterisk   171 2008-09-30 03:20 cdr_tds.conf
-rw-rw---- 1 asterisk  1655 2008-09-30 03:20 codecs.conf
-rw-rw---- 1 asterisk   190 2008-09-30 03:20 dnsmgr.conf
-rw-rw---- 1 asterisk  7744 2008-09-30 03:20 dundi.conf
-rw-rw---- 1 asterisk    50 2009-01-27 00:22 enum.conf
-rw-rw---- 1 asterisk   207 2008-09-30 03:20 esel.conf
-rw-rw---- 1 asterisk  1506 2008-09-30 03:20 extconfig.conf
-rw-rw-r-- 1 root      9388 2009-05-20 00:37 extensions_additional.conf
-rw-rw---- 1 asterisk 12230 2008-09-30 03:20 extensions.ael
-rw-rw---- 1 asterisk 69748 2009-05-19 23:01 extensions.conf
-rw-rw-r-- 1 asterisk  3491 2009-01-27 00:22 extensions_custom.conf
-rw-rw-r-- 1 asterisk  1077 2009-01-27 00:22 extensions_custom.conf.sample
-rw-rw-r-- 1 root      8077 2009-05-21 06:15 extensions_pluto_dial.conf
-rw-rw---- 1 asterisk   524 2009-01-27 00:22 features.conf
-rw-rw---- 1 asterisk   929 2008-09-30 03:20 festival.conf
-rw-rw---- 1 asterisk  3755 2008-09-30 03:20 followme.conf
-rw-rw---- 1 asterisk  1519 2008-09-30 03:20 func_odbc.conf
-rw-rw---- 1 asterisk   479 2008-09-30 03:20 gtalk.conf
-rw-rw---- 1 asterisk  7304 2008-09-30 03:20 h323.conf
-rw-rw---- 1 asterisk   989 2008-09-30 03:20 http.conf
-rw-rw-r-- 1 root       118 2009-05-20 00:37 iax_additional.conf
-rw-rw---- 1 asterisk   375 2009-05-19 23:01 iax.conf
-rw-rw---- 1 asterisk  2354 2008-09-30 03:20 iaxprov.conf
-rw-rw-r-- 1 root       119 2009-05-20 00:37 iax_registrations.conf
-rw-rw-r-- 1 asterisk   333 2009-01-27 00:22 iaxy.conf.sample
-rw-rw---- 1 asterisk 13938 2009-05-21 07:43 indications.conf
-rw-rw---- 1 asterisk   729 2008-09-30 03:20 jabber.conf
-rw-rw-r-- 1 www-data    51 2009-05-21 06:15 localprefixes.conf
-rw-rw---- 1 asterisk   844 2009-01-27 00:22 logger.conf
-rw-rw---- 1 asterisk   340 2009-01-27 00:22 manager.conf
drwxrwxr-x 2 asterisk  4096 2009-05-19 23:00 manager.d
-rw-rw-r-- 1 root       119 2009-05-20 00:37 meetme_additional.conf
-rw-rw---- 1 asterisk    67 2009-01-27 00:22 meetme.conf
-rw-rw-r-- 1 asterisk   662 2009-01-27 00:22 meetme_pluto.conf
-rw-rw---- 1 asterisk  4105 2008-09-30 03:20 mgcp.conf
-rw-rw---- 1 asterisk  9493 2008-09-30 03:20 misdn.conf
-rw-rw-r-- 1 asterisk  1774 2009-01-27 00:22 modem.conf
-rw-rw---- 1 asterisk  1927 2009-05-20 00:13 modules.conf
-rw-rw-r-- 1 asterisk   116 2009-05-19 23:01 musiconhold_additional.conf
-rw-rw---- 1 asterisk   208 2009-01-27 00:22 musiconhold.conf
-rw-rw---- 1 asterisk  1261 2008-09-30 03:20 muted.conf
-rw-rw---- 1 asterisk  1961 2008-09-30 03:20 osp.conf
-rw-rw---- 1 asterisk  3594 2008-09-30 03:20 oss.conf
-rw-rw---- 1 asterisk  1418 2009-01-27 00:22 phone.conf
-rw-rw-r-- 1 asterisk    90 2009-01-27 00:22 phpagi.conf
-rw-rw---- 1 asterisk    81 2008-09-30 03:20 privacy.conf
-rw-rw-r-- 1 root       825 2009-05-07 00:40 provider_list.txt
-rw-rw-r-- 1 root       118 2009-05-20 00:37 queues_additional.conf
-rw-rw---- 1 asterisk   522 2009-01-27 00:22 queues.conf
-rw-rw---- 1 asterisk  1288 2008-09-30 03:20 res_odbc.conf
-rw-rw---- 1 asterisk   367 2008-09-30 03:20 res_pgsql.conf
-rw-rw---- 1 asterisk   244 2008-09-30 03:20 res_snmp.conf
-rw-rw---- 1 asterisk  7652 2008-09-30 03:20 rpt.conf
-rw-rw---- 1 asterisk   124 2009-01-27 00:22 rtp.conf
-rw-rw---- 1 asterisk  6893 2008-09-30 03:20 say.conf
-rw-rw-r-- 1 root      2006 2009-05-20 00:36 sccp.conf
-rw-rw-r-- 1 root       692 2009-05-20 00:37 sip_additional.conf
-rw-rw---- 1 asterisk  1352 2009-05-19 23:01 sip.conf
-rw-rw---- 1 asterisk   317 2008-09-30 03:20 sip_notify.conf
-rw-rw-r-- 1 root       119 2009-05-20 00:37 sip_registrations.conf
-rw-rw---- 1 asterisk  4044 2008-09-30 03:20 skinny.conf
-rw-rw---- 1 asterisk  6691 2008-09-30 03:20 sla.conf
-rw-rw---- 1 asterisk  2665 2008-09-30 03:20 smdi.conf
-rw-rw---- 1 asterisk  1384 2008-09-30 03:20 telcordia-1.adsi
-rw-rw---- 1 asterisk   598 2008-09-30 03:20 udptl.conf
-rw-rw---- 1 asterisk  1804 2008-09-30 03:20 users.conf
-rw-rw-r-- 1 asterisk    32 2009-05-19 23:01 version
-rw-rw-r-- 1 asterisk   396 2009-01-27 00:22 vm_email.inc
-rw-rw-r-- 1 asterisk   828 2009-01-27 00:22 vm_general.inc
-rw-rw---- 1 asterisk 11822 2009-05-21 06:15 voicemail.conf
-rw-rw-r-- 1 asterisk    67 2009-01-27 00:22 voicemail.conf.template
-rw-rw---- 1 asterisk  2772 2008-09-30 03:20 vpb.conf
-rw-rw---- 1 asterisk   393 2008-09-30 03:20 watchdog.conf
-rw-rw-r-- 1 root       118 2009-05-20 00:37 zapata_additional.conf
-rw-rw---- 1 asterisk 24193 2008-09-30 03:20 zapata.conf
-rw-rw-r-- 1 asterisk   699 2009-01-27 00:22 zapata.conf.template

Output /var/lib/asterisk/bin (ls -g)


-rwxr-xr-x 1 asterisk 13886 2009-01-27 00:22 archive_recordings
-rwxr-xr-x 1 asterisk    34 2009-01-27 00:22 bounce_op.sh
lrwxrwxrwx 1 root        46 2009-05-20 00:37 fax-process.pl -> /var/www/admin/modules/core/bin/fax-process.pl
-rwxr-xr-x 1 asterisk  6972 2009-01-27 00:22 freepbx-cron-scheduler.php
-rwxr-xr-x 1 asterisk  6999 2009-01-27 00:22 freepbx_engine
-rwxr-xr-x 1 asterisk  9077 2009-01-27 00:22 libfreepbx.confgen.php
-rwxr-xr-x 1 asterisk 17225 2009-01-27 00:22 module_admin
-rwxr-xr-x 1 asterisk 21750 2009-01-27 00:22 retrieve_conf
-rwxr-xr-x 1 asterisk 13470 2009-01-27 00:22 retrieve_op_conf_from_mysql.pl
-rwxr-xr-x 1 asterisk   621 2009-01-27 00:22 retrieve_parse_amportal_conf.pl

Ierlandfan

  • Making baby steps
  • Posts: 3
    • View Profile
Re: install issues on Alpha2 (Asterisk)
« Reply #2 on: May 21, 2009, 08:06:45 am »
I simply chmod 777 all the permission denied erorrs
(lazy solution)

There are still some problems but reload works now

Problems to solve:

 Could not reload FOP server
 symlink from modules failed
Failed to copy from module agi-bin




murcel

  • Guru
  • ****
  • Posts: 198
    • View Profile
Re: install issues on Alpha2 (Asterisk)
« Reply #3 on: May 21, 2009, 10:47:19 am »
same problem here

dlewis

  • Guru
  • ****
  • Posts: 401
    • View Profile
Re: install issues on Alpha2 (Asterisk)
« Reply #4 on: May 21, 2009, 12:27:33 pm »
Look here: http://forum.linuxmce.org/index.php?topic=8199.0

As Thom said, please look at our perl scripts in /usr/pluto/bin to try and make this work out of the box.