2016-05-06 09:15:52.934 defaults[18667:608240]
The domain/default pair of (/Library/Preferences/MunkiReport, UseMunkiAdditionalHttpHeaders) does not exist
Preparing /usr/local/munki/ and /Library/Preferences/MunkiReport
BaseURL is http://xxx.xxx/
Retrieving munkireport scripts
Configuring munkireport
+ Installing ard
+ Installing bluetooth
+ Installing certificate
+ Installing directory_service
+ Installing disk_report
+ Installing displays_info
+ Installing filevault_status
+ Installing installhistory
+ Installing inventory
+ Installing localadmin
+ Installing location
+ Installing munkiinfo
+ Installing munkireport
+ Installing network
+ Installing power
+ Installing printer
+ Installing profile
+ Installing security
+ Installing servermetrics
+ Installing service
+ Installing timemachine
+ Installing warranty
+ Installing wifi
- Uninstalling crashplan
- Uninstalling gsx
Setting preferences
Installation of MunkiReport v2.8.5 complete.
Running the preflight script for initialization
Munkireport: # Executing scripts in preflight_abort.d
Munkireport: # Executing scripts in preflight.d
Munkireport: Running bluetooth.sh
Munkireport: Running cert_check
Munkireport: Running directoryservice.sh
Munkireport: Running disk_info
Munkireport: Running displays.py
Munkireport: Running filevaultstatus
Munkireport: filevaultstatus Error: Error: FileVault is Off.
Munkireport: Running init_ard
Munkireport: Running init_location
Munkireport: Running localadmin
Munkireport: Running munkiinfo.py
Munkireport: Running networkinfo.sh
Munkireport: Running power.sh
Munkireport: Running printer.py
Munkireport: Running profile.py
Munkireport: Running security.sh
Munkireport: Running servermetrics.py
Munkireport: Running service_check
Munkireport: Running timemachine.sh
Munkireport: Running warranty
Munkireport: Running wifi
Munkireport: Running submit.preflight
Munkireport: submit.preflight Error: ERROR: Munkireport: http://store.moccu/index.php?/report/check_in failed, HTTP returncode 500 (internal server error)After a few minutes the last error was away. Now
Munkireport: Running submit.preflight
But the first error top The domain/default pair of (/Library/Preferences/MunkiReport, UseMunkiAdditionalHttpHeaders) is stil there.
When I check munkireport via webinterface, I see the serialnumber and IP adress but not the OSX version, no free space, no CPU information and anything else.
What is wrong???
client:~ as$ sudo /usr/local/munki/postflight
Password:
Munkireport: # Executing scripts in postflight.d
Munkireport: Running inventory_add_plugins.py
Munkireport: Adding 17 plugins
Munkireport: Requesting filevault_status
Munkireport: Requesting location
Munkireport: Requesting profile
Munkireport: Requesting ard
Munkireport: Requesting inventory
Munkireport: Requesting printer
Munkireport: Requesting timemachine
Munkireport: Requesting bluetooth
Munkireport: Requesting certificate
Munkireport: Requesting directory_service
Munkireport: Requesting munkireport
Munkireport: Requesting servermetrics
Munkireport: Requesting localadmin
Munkireport: Requesting disk_report
Munkireport: Requesting displays_info
Munkireport: Requesting warranty
Munkireport: Requesting wifi
Munkireport: Requesting power
Munkireport: Requesting installhistory
Munkireport: Requesting service
Munkireport: Requesting network
Munkireport: Requesting munkiinfo
Munkireport: Requesting security
Status: 200
Headers: {u'X-Powered-By': u'PHP/5.6.16', u'Transfer-Encoding': u'Identity', u'Server': u'nginx/1.8.0', u'Connection': u'keep-alive', u'Date': u'Fri, 06 May 2016 10:10:18 GMT', u'Content-Type': u'text/html; charset=UTF-8'}
Munkireport: Need to update installhistory
Munkireport: Need to update reportdata
Munkireport: Need to update bluetooth
Munkireport: Need to update displays_info
Munkireport: Need to update ard
Munkireport: Need to update servermetrics
Munkireport: Need to update localadmin
Munkireport: Need to update timemachine
Munkireport: Need to update network
Munkireport: Need to update certificate
Munkireport: Need to update disk_report
Munkireport: Need to update machine
Munkireport: Need to update munkireport
Munkireport: Need to update directory_service
Munkireport: Need to update location
Munkireport: Need to update profile
Munkireport: Need to update printer
Munkireport: Need to update power
Munkireport: Need to update munkiinfo
Munkireport: Need to update filevault_status
Munkireport: Need to update service
Munkireport: Need to update inventory
Munkireport: Need to update wifi
Munkireport: Need to update secuity
Munkireport: Sending items
Status: 200
Headers: {u'X-Powered-By': u'PHP/5.6.16', u'Transfer-Encoding': u'Identity', u'Server': u'nginx/1.8.0', u'Connection': u'keep-alive', u'Date': u'Fri, 06 May 2016 10:10:19 GMT', u'Content-Type': u'text/html; charset=UTF-8'}
Munkireport: <br />
<b>Warning</b>: require_once(/storage/software/store//app/models/domdocument.php): failed to open stream: No such file or directory in <b>/storage/software/store/app/helpers/site_helper.php</b> on line <b>122</b><br />
<br />
<b>Fatal error</b>: require_once(): Failed opening required '/storage/software/store//app/models/domdocument.php' (include_path='.:/usr/local/share/pear') in <b>/storage/software/store/app/helpers/site_helper.php</b> on line <b>122</b><br />after DEBUG = TRUE the 500 error is gone.
But only the webserver admin can read it. I try to fix this problem, that nothing reports to munki_report exception serialnumber and ipadress
--
On May 9, 2016, at 11:35 AM, ze <salih....@moccu.com> wrote:
which configration from info.php do u need?that is very much.
| DOM/XML | enabled |
| DOM/XML API Version | 20031129 |
| libxml Version | 2.9.2 |
| HTML Support | enabled |
| XPath Support | enabled |
| XPointer Support | enabled |
| Schema Support | enabled |
| RelaxNG Support | enabled |
| Configure Command | '/Library/Caches/com.apple.xbs/Binaries/apache_mod_php/apache_mod_php-101~18/Objects/php/configure' '--prefix=/usr' '--mandir=/usr/share/man' '--infodir=/usr/share/info' '--disable-dependency-tracking' '--sysconfdir=/private/etc' '--with-libdir=lib' '--enable-cli' '--with-iconv=/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.11.Internal.sdk/usr' '--with-config-file-path=/etc' '--with-config-file-scan-dir=/Library/Server/Web/Config/php' '--with-libxml-dir=/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.11.Internal.sdk/usr' '--with-openssl=/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.11.Internal.sdk/usr/local |
On May 9, 2016, at 11:56 AM, ze <salih....@moccu.com> wrote:this section is missing.
| Configure Command | './configure' '--with-layout=GNU' '--localstatedir=/var' '--with-config-file-scan-dir=/usr/local/etc/php' '--disable-all' '--enable-libxml' '--enable-mysqlnd' '--with-libxml-dir=/usr/local' '--with-pcre-regex=/usr/local' '--with-zlib-dir=/usr' '--program-prefix=' '--enable-fpm' '--with-fpm-user=www' '--with-fpm-group=www' '--with-regex=php' '--with-zend-vm=CALL' '--prefix=/usr/local' '--mandir=/usr/local/man' '--infodir=/usr/local/info/' '--build=amd64-portbld-freebsd10.1' 'build_alias=amd64-portbld-freebsd10.1' 'CC=cc' 'CFLAGS=-O2 '-pipe' '-fstack-protector' '-fno-strict-aliasing'' 'LDFLAGS= '-fstack-protector'' 'LIBS=-lpthread' 'CPPFLAGS=' 'CPP=cpp' 'CXX=c++' 'CXXFLAGS=-O2 '-pipe' '-fstack-protector' '-fno-strict-aliasing' |
On May 9, 2016, at 12:03 PM, ze <salih....@moccu.com> wrote:
Configure Command './configure' '--with-layout=GNU' '--localstatedir=/var' '--with-config-file-scan-dir=/usr/local/etc/php' '--disable-all' '--enable-libxml' '--enable-mysqlnd' '--with-libxml-dir=/usr/local' '--with-pcre-regex=/usr/local' '--with-zlib-dir=/usr' '--program-prefix=' '--enable-fpm' '--with-fpm-user=www' '--with-fpm-group=www' '--with-regex=php' '--with-zend-vm=CALL' '--prefix=/usr/local' '--mandir=/usr/local/man' '--infodir=/usr/local/info/' '--build=amd64-portbld-freebsd10.1' 'build_alias=amd64-portbld-freebsd10.1' 'CC=cc' 'CFLAGS=-O2 '-pipe' '-fstack-protector' '-fno-strict-aliasing'' 'LDFLAGS= '-fstack-protector'' 'LIBS=-lpthread' 'CPPFLAGS=' 'CPP=cpp' 'CXX=c++' 'CXXFLAGS=-O2 '-pipe' '-fstack-protector' '-fno-strict-aliasing'
Download error -1001: The request timed out.
Munkireport: Headers: None
ERROR: Munkireport: The request timed out.