Brand new install warnings (errors)

We just completed a brand new distro install and noticed a couple of errors “right out of the box”.

The distro installed as 1.8.1.3-1 and we upgraded to 1.8.1.3-2
This is a “clean” system. We did not create any extensions, trunks, etc… or modify any configs (we did create an admin user for the gui) and we see the following errors in the \tmp directory.

2011-Jun-02 11:42:54 /usr/share/pear/Console/Getopt.php:187
[NOTICE]: Undefined offset: 1

2011-Jun-02 15:51:06 /var/www/html/admin/views/freepbx.php:55
[NOTICE]: Undefined index: FORCE_JS_CSS_IMG_DOWNLOAD

2011-Jun-02 15:51:06 /var/www/html/admin/views/freepbx.php:60
[NOTICE]: Undefined index: BRAND_IMAGE_HIDE_NAV_BACKGROUND

2011-Jun-02 15:51:06 /var/www/html/admin/views/freepbx.php:63
[NOTICE]: Undefined index: BRAND_IMAGE_SHADOW_SIDE_BACKGROUND

2011-Jun-02 15:51:06 /var/www/html/admin/views/freepbx.php:67
[NOTICE]: Undefined index: AMPADMINLOGO

2011-Jun-02 15:51:06 /var/www/html/admin/views/freepbx.php:70
[NOTICE]: Undefined index: BRAND_IMAGE_FREEPBX_RIGHT

2011-Jun-02 15:51:06 /var/www/html/admin/views/freepbx.php:72
[NOTICE]: Undefined index: BRAND_FREEPBX_ALT_LEFT

2011-Jun-02 15:51:06 /var/www/html/admin/views/freepbx.php:73
[NOTICE]: Undefined index: BRAND_FREEPBX_ALT_RIGHT

2011-Jun-02 15:51:06 /var/www/html/admin/views/freepbx.php:74
[NOTICE]: Undefined index: BRAND_IMAGE_FREEPBX_LEFT

2011-Jun-02 15:51:06 /var/www/html/admin/views/freepbx.php:75
[NOTICE]: Undefined index: BRAND_IMAGE_FREEPBX_LINK_LEFT

2011-Jun-02 15:51:06 /var/www/html/admin/views/freepbx.php:76
[NOTICE]: Undefined index: BRAND_IMAGE_FREEPBX_LINK_RIGHT

2011-Jun-02 15:51:06 /var/www/html/admin/views/freepbx.php:77
[NOTICE]: Undefined index: BRAND_HIDE_LOGO_RIGHT

2011-Jun-02 15:51:06 /var/www/html/admin/views/freepbx.php:78
[NOTICE]: Undefined index: BRAND_HIDE_HEADER_VERSION

2011-Jun-02 15:51:06 /var/www/html/admin/views/freepbx.php:79
[NOTICE]: Undefined index: BRAND_HIDE_HEADER_MENUS

2011-Jun-02 15:51:06 /var/www/html/admin/views/freepbx.php:81
[NOTICE]: Undefined index: BRAND_CSS_ALT_MAINSTYLE

2011-Jun-02 15:51:06 /var/www/html/admin/views/freepbx.php:82
[NOTICE]: Undefined index: BRAND_CSS_CUSTOM

2011-Jun-02 15:51:06 /var/www/html/admin/views/freepbx.php:84
[NOTICE]: Undefined index: DISABLE_CSS_AUTOGEN

2011-Jun-02 15:51:06 /var/www/html/admin/views/freepbx.php:85
[NOTICE]: Undefined index: AMPWEBROOT

2011-Jun-02 15:51:06 /var/www/html/admin/views/freepbx.php:90
[WARNING]: stat() [function.stat]: stat failed for /admin/common/mainstyle.css

2011-Jun-02 15:51:06 /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-02 15:51:06 /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

2011-Jun-02 15:51:06 /var/www/html/admin/views/freepbx.php:195
[NOTICE]: Undefined variable: module_name

2011-Jun-02 15:51:06 /var/www/html/admin/views/freepbx.php:236
[NOTICE]: Undefined index: USE_PACKAGED_JS

2011-Jun-02 15:51:06 /var/www/html/admin/views/freepbx.php:386
[NOTICE]: Undefined index: FOPDISABLE

2011-Jun-02 15:51:08 /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-02 15:51:08 /var/www/html/admin/modules/sysadmin/functions.inc/licensed.php:0
[WARNING]: License check failed!

2011-Jun-02 16:21:38 /var/www/html/admin/modules/dashboard/class.procinfo.php:12
[WARNING]: fsockopen() [function.fsockopen]: unable to connect to localhost:22 (Connection refused)

And this one in /tmp/freepbx.log:

[2011-Jun-02 15:22:12] [ERROR] (bin/retrieve_conf:185) - /var/lib/asterisk/agi-bin/directory.agi failed to copy from module directory
[2011-Jun-02 15:22:12] [ERROR] (bin/retrieve_conf:185) - /var/lib/asterisk/agi-bin/directory.lib.php failed to copy from module directory
[2011-Jun-02 15:22:12] [ERROR] (bin/retrieve_conf:185) - /var/lib/asterisk/agi-bin/queue_devstate.agi failed to copy from module directory
[2011-Jun-02 15:22:12] [ERROR] (bin/retrieve_conf:185) - /var/lib/asterisk/agi-bin/ddns_client.php failed to copy from module directory
[2011-Jun-02 15:22:12] [ERROR] (bin/retrieve_conf:185) - /var/lib/asterisk/agi-bin/LoadLicenseIfExists.php failed to copy from module directory
[2011-Jun-02 15:22:12] [ERROR] (bin/retrieve_conf:185) - /var/lib/asterisk/agi-bin/update_license.php failed to copy from module directory
[2011-Jun-02 15:22:12] [ERROR] (bin/retrieve_conf:185) - /var/lib/asterisk/agi-bin/pbdirectory failed to copy from module directory
[2011-Jun-02 15:22:12] [ERROR] (bin/retrieve_conf:185) - /var/lib/asterisk/agi-bin/checksound.agi failed to copy from module directory
[2011-Jun-02 15:22:12] [ERROR] (bin/retrieve_conf:185) - /var/lib/asterisk/agi-bin/enumlookup.agi failed to copy from module directory
[2011-Jun-02 15:22:12] [ERROR] (bin/retrieve_conf:185) - /var/lib/asterisk/agi-bin/list-item-remove.php failed to copy from module directory
[2011-Jun-02 15:22:12] [ERROR] (bin/retrieve_conf:185) - /var/lib/asterisk/agi-bin/fixlocalprefix failed to copy from module directory
[2011-Jun-02 15:22:12] [ERROR] (bin/retrieve_conf:185) - /var/lib/asterisk/agi-bin/dialparties.agi failed to copy from module directory
[2011-Jun-02 15:22:12] [ERROR] (bin/retrieve_conf:185) - /var/lib/asterisk/agi-bin/sql.php failed to copy from module directory
[2011-Jun-02 15:22:12] [ERROR] (bin/retrieve_conf:185) - /var/lib/asterisk/agi-bin/directory failed to copy from module directory
[2011-Jun-02 15:22:12] [ERROR] (bin/retrieve_conf:185) - /var/lib/asterisk/agi-bin/user_login_out.agi failed to copy from module directory

Well something does not add up since the kickstart for the distro which you can see at kickstart.freepbxdistro.org/1.8.3.1 shows the version it sets the system at is echo “1.8.1.3-2” > /etc/asterisk/freepbxdistro-version so there is no way you got 1.8.1.3-1 as you are stating.

Also those errors all seem to be related to FreePBX Modules during install. Do you see errors after install still?

Also notice and warnings are trivial but those are all notices related to FreePBX modules. Not sure why they are getting thrown but they are all very trivial warnings about stupid things.

FreePBX apache logs are filled with useless warning and notices.

We used the original installer from one month ago but shouldn’t that have downloaded the latest version too? I can redo the install tomorrow with the newest kickstart iso.

I agree with you about the useless notices and warnings but errors are errors and these two are odd:

2011-Jun-02 16:21:38 /var/www/html/admin/modules/dashboard/class.procinfo.php:12
[WARNING]: fsockopen() [function.fsockopen]: unable to connect to localhost:22 (Connection refused)

[2011-Jun-02 15:22:12] [ERROR] (bin/retrieve_conf:185) - /var/lib/asterisk/agi-bin/directory.agi failed to copy from module directory
[2011-Jun-02 15:22:12] [ERROR] (bin/retrieve_conf:185) - /var/lib/asterisk/agi-bin/directory.lib.php failed to copy from module directory
[2011-Jun-02 15:22:12] [ERROR] (bin/retrieve_conf:185) - /var/lib/asterisk/agi-bin/queue_devstate.agi failed to copy from module directory
[2011-Jun-02 15:22:12] [ERROR] (bin/retrieve_conf:185) - /var/lib/asterisk/agi-bin/ddns_client.php failed to copy from module directory
[2011-Jun-02 15:22:12] [ERROR] (bin/retrieve_conf:185) - /var/lib/asterisk/agi-bin/LoadLicenseIfExists.php failed to copy from module directory
[2011-Jun-02 15:22:12] [ERROR] (bin/retrieve_conf:185) - /var/lib/asterisk/agi-bin/update_license.php failed to copy from module directory
[2011-Jun-02 15:22:12] [ERROR] (bin/retrieve_conf:185) - /var/lib/asterisk/agi-bin/pbdirectory failed to copy from module directory
[2011-Jun-02 15:22:12] [ERROR] (bin/retrieve_conf:185) - /var/lib/asterisk/agi-bin/checksound.agi failed to copy from module directory
[2011-Jun-02 15:22:12] [ERROR] (bin/retrieve_conf:185) - /var/lib/asterisk/agi-bin/enumlookup.agi failed to copy from module directory
[2011-Jun-02 15:22:12] [ERROR] (bin/retrieve_conf:185) - /var/lib/asterisk/agi-bin/list-item-remove.php failed to copy from module directory
[2011-Jun-02 15:22:12] [ERROR] (bin/retrieve_conf:185) - /var/lib/asterisk/agi-bin/fixlocalprefix failed to copy from module directory
[2011-Jun-02 15:22:12] [ERROR] (bin/retrieve_conf:185) - /var/lib/asterisk/agi-bin/dialparties.agi failed to copy from module directory
[2011-Jun-02 15:22:12] [ERROR] (bin/retrieve_conf:185) - /var/lib/asterisk/agi-bin/sql.php failed to copy from module directory
[2011-Jun-02 15:22:12] [ERROR] (bin/retrieve_conf:185) - /var/lib/asterisk/agi-bin/directory failed to copy from module directory
[2011-Jun-02 15:22:12] [ERROR] (bin/retrieve_conf:185) - /var/lib/asterisk/agi-bin/user_login_out.agi failed to copy from module directory