Downloaded the newest kickstart file and installed 1.8.1.3-2 on a brand new system this morning. (Now we have 2 running 1.8.1.3.2) Did not modify conf files or change anything on the new system. This time it installed clean as 1.8.2.3-2 but we still get the same errors and warnings as on our beta production machine and yesterday’s install. How come nobody gets these errors? This is a clean install using the newest kickstart file on a trixbox certified PhoneBochs rackmount system so everyone who installs the distro should see the same errors (warnings) in
/tmp/freepbx_log
and
/tmp/freepbx_debug.log
*** Everytime we APPLY CONFIGURATION CHANGES we get: ***
[2011-Jun-03 08:12:06] [ERROR] (bin/retrieve_conf:185) - /var/lib/asterisk/agi-bin/queue_devstate.agi failed to copy from module directory
[2011-Jun-03 08:12:06] [ERROR] (bin/retrieve_conf:185) - /var/lib/asterisk/agi-bin/pbdirectory failed to copy from module directory
[2011-Jun-03 08:12:06] [ERROR] (bin/retrieve_conf:185) - /var/lib/asterisk/agi-bin/directory.lib.php failed to copy from module directory
[2011-Jun-03 08:12:06] [ERROR] (bin/retrieve_conf:185) - /var/lib/asterisk/agi-bin/directory.agi failed to copy from module directory
[2011-Jun-03 08:12:06] [ERROR] (bin/retrieve_conf:185) - /var/lib/asterisk/agi-bin/ddns_client.php failed to copy from module directory
[2011-Jun-03 08:12:06] [ERROR] (bin/retrieve_conf:185) - /var/lib/asterisk/agi-bin/LoadLicenseIfExists.php failed to copy from module directory
[2011-Jun-03 08:12:06] [ERROR] (bin/retrieve_conf:185) - /var/lib/asterisk/agi-bin/update_license.php failed to copy from module directory
[2011-Jun-03 08:12:06] [ERROR] (bin/retrieve_conf:185) - /var/lib/asterisk/agi-bin/checksound.agi failed to copy from module directory
[2011-Jun-03 08:12:06] [ERROR] (bin/retrieve_conf:185) - /var/lib/asterisk/agi-bin/directory failed to copy from module directory
[2011-Jun-03 08:12:06] [ERROR] (bin/retrieve_conf:185) - /var/lib/asterisk/agi-bin/enumlookup.agi failed to copy from module directory
[2011-Jun-03 08:12:06] [ERROR] (bin/retrieve_conf:185) - /var/lib/asterisk/agi-bin/sql.php failed to copy from module directory
[2011-Jun-03 08:12:06] [ERROR] (bin/retrieve_conf:185) - /var/lib/asterisk/agi-bin/list-item-remove.php failed to copy from module directory
[2011-Jun-03 08:12:06] [ERROR] (bin/retrieve_conf:185) - /var/lib/asterisk/agi-bin/user_login_out.agi failed to copy from module directory
[2011-Jun-03 08:12:06] [ERROR] (bin/retrieve_conf:185) - /var/lib/asterisk/agi-bin/dialparties.agi failed to copy from module directory
[2011-Jun-03 08:12:06] [ERROR] (bin/retrieve_conf:185) - /var/lib/asterisk/agi-bin/fixlocalprefix failed to copy from module directory
*** permission errors ***
and we also get tons of warnings that are supposedly permission issues yet the permissions are ok when we check. Are we missing something? Do we need to change some settings after the install is completed?
2011-Jun-03 08:06:13 /var/www/html/admin/libraries/utility.functions.php:72
[WARNING]: file_put_contents(/var/log/asterisk/freepbx.log): failed to open stream: Permission denied
[root@netrotel ~]# ls -l /var/log/asterisk
total 1268
drwxrwxr-x 2 asterisk asterisk 4096 Jun 3 08:06 cdr-csv
drwxrwxr-x 2 asterisk asterisk 4096 May 2 17:11 cdr-custom
-rw-rw-r-- 1 asterisk asterisk 76879 Jun 3 09:40 freepbx.log
-rw-rw-r-- 1 asterisk asterisk 1186235 Jun 3 09:40 full
-rw-rw-r-- 1 asterisk asterisk 196 Jun 3 09:40 queue_log
2011-Jun-03 08:06:34 /var/www/html/admin/modules/directory/install.php:119
[WARNING]: Invalid argument supplied for foreach()
2011-Jun-03 08:12:06 /var/www/html/admin/modules/sysadmin/functions.inc/licensed.php:0
[WARNING]: No license for this product (‘PBXact’) - make sure zend_optimizer.license_path is properly configured in php.ini!
2011-Jun-03 08:12:06 /var/www/html/admin/modules/sysadmin/functions.inc/licensed.php:0
[WARNING]: License check failed!
2011-Jun-03 08:41:00 /var/www/html/admin/views/freepbx.php:90
[WARNING]: stat() [function.stat]: stat failed for /admin/common/mainstyle.css
2011-Jun-03 08:41:00 /var/www/html/admin/views/freepbx.php:109
[WARNING]: file_get_contents(/admin/common/mainstyle.css) [function.file-get-contents]: failed to open stream: No such file or directory
2011-Jun-03 08:41:00 /var/www/html/admin/views/freepbx.php:113
[WARNING]: file_put_contents(/admin/common/mstyle_autogen_.css) [function.file-put-contents]: failed to open stream: No such file or directory
[root@netrotel ~]# ls -l /var/www/html/admin/common
total 400
-rw-rw-r-- 1 asterisk asterisk 1991 Jun 3 08:12 db_connect.php
-rw-rw-r-- 1 asterisk asterisk 34060 Jun 3 08:12 json.inc.php
-rw-rw-r-- 2 asterisk asterisk 302944 Jun 3 08:12 libfreepbx.javascripts.js
-rw-rw-r-- 1 asterisk asterisk 1021 Jun 3 08:12 mainstyle-alternative.css
-rw-rw-r-- 1 asterisk asterisk 15911 Jun 3 08:12 mainstyle.css
-rw-rw-r-- 1 asterisk asterisk 11603 Jun 3 08:41 mstyle_autogen_1307103121.css
-rw-rw-r-- 1 asterisk asterisk 2468 Jun 3 08:12 script.js.php
2011-Jun-03 08:41:03 /var/www/html/admin/modules/dashboard/class.error.inc.php:0
[WARNING]: fsockopen() [function.fsockopen]: unable to connect to localhost:22 (Connection refused)