These forums are locked and archived, but all topics have been migrated to the new forum. You can search for this topic on the new forum: Search for question on logs on the new forum.
Hi,
Looking in the apache error logs I have these same things over and over probably thousands of times. Is there something i can do to correct this? (I am not sure what stderr logging is)
Thanks
No log handling enabled - turning on stderr logging
Created directory: /var/lib/net-snmp/mib_indexes
No log handling enabled - turning on stderr logging
Created directory: /var/lib/net-snmp/mib_indexes
No log handling enabled - turning on stderr logging
Created directory: /var/lib/net-snmp/mib_indexes
[Mon Jan 23 21:12:18 2012] [notice] Digest: generating secret for digest authentication ...
[Mon Jan 23 21:12:18 2012] [notice] Digest: done
[Mon Jan 23 21:12:19 2012] [notice] Apache/2.2.15 (Unix) DAV/2 mod_fcgid/2.3.6 PHP/5.3.3 mod_ssl/2.2.15 OpenSSL/1.0.0-fips SVN/1.6.11 mod_perl/2.0.4 Perl/v5.10.1 configured -- resuming normal operations
[Mon Jan 23 21:40:26 2012] [error] [client 209.85.224.92] File does not exist: /var/www/html/ripe_feed
[Mon Jan 23 21:40:31 2012] [notice] Graceful restart requested, doing restart
No log handling enabled - turning on stderr logging
Created directory: /var/lib/net-snmp/mib_indexes
No log handling enabled - turning on stderr logging
Created directory: /var/lib/net-snmp/mib_indexes
No log handling enabled - turning on stderr logging
Created directory: /var/lib/net-snmp/mib_indexes
No log handling enabled - turning on stderr logging
Created directory: /var/lib/net-snmp/mib_indexes
No log handling enabled - turning on stderr logging
Created directory: /var/lib/net-snmp/mib_indexes
No log handling enabled - turning on stderr logging
Created directory: /var/lib/net-snmp/mib_indexes
No log handling enabled - turning on stderr logging
Created directory: /var/lib/net-snmp/mib_indexes
No log handling enabled - turning on stderr logging
Created directory: /var/lib/net-snmp/mib_indexes
No log handling enabled - turning on stderr logging
Created directory: /var/lib/net-snmp/mib_indexes
[Mon Jan 23 21:40:31 2012] [notice] Digest: generating secret for digest authentication ...
[Mon Jan 23 21:40:31 2012] [notice] Digest: done
[Mon Jan 23 21:40:32 2012] [notice] Apache/2.2.15 (Unix) DAV/2 mod_fcgid/2.3.6 PHP/5.3.3 mod_ssl/2.2.15 OpenSSL/1.0.0-fips SVN/1.6.11 mod_perl/2.0.4 Perl/v5.10.1 configured -- resuming normal operations
[Mon Jan 23 21:40:50 2012] [notice] Graceful restart requested, doing restart
No log handling enabled - turning on stderr logging
Created directory: /var/lib/net-snmp/mib_indexes
No log handling enabled - turning on stderr logging
Created directory: /var/lib/net-snmp/mib_indexes
No log handling enabled - turning on stderr logging
Created directory: /var/lib/net-snmp/mib_indexes
No log handling enabled - turning on stderr logging
Created directory: /var/lib/net-snmp/mib_indexes
No log handling enabled - turning on stderr logging
Created directory: /var/lib/net-snmp/mib_indexes
No log handling enabled - turning on stderr logging
Created directory: /var/lib/net-snmp/mib_indexes
No log handling enabled - turning on stderr logging
Created directory: /var/lib/net-snmp/mib_indexes
No log handling enabled - turning on stderr logging
Created directory: /var/lib/net-snmp/mib_indexes
No log handling enabled - turning on stderr logging
Created directory: /var/lib/net-snmp/mib_indexes
[Mon Jan 23 21:40:50 2012] [notice] Digest: generating secret for digest authentication ...
[Mon Jan 23 21:40:50 2012] [notice] Digest: done
[Mon Jan 23 21:40:50 2012] [notice] Apache/2.2.15 (Unix) DAV/2 mod_fcgid/2.3.6 PHP/5.3.3 mod_ssl/2.2.15 OpenSSL/1.0.0-fips SVN/1.6.11 mod_perl/2.0.4 Perl/v5.10.1 configured -- resuming normal operations
PHP Warning: PHP Startup: Unable to load dynamic library '/usr/lib64/php/modules/mcrypt.so' - /usr/lib64/php/modules/mcrypt.so: cannot open shared object file: No such file or directory in Unknown on line 0
PHP Warning: PHP Startup: Unable to load dynamic library '/usr/lib64/php/modules/mcrypt.so' - /usr/lib64/php/modules/mcrypt.so: cannot open shared object file: No such file or directory in Unknown on line 0
PHP Warning: PHP Startup: Unable to load dynamic library '/usr/lib64/php/modules/mcrypt.so' - /usr/lib64/php/modules/mcrypt.so: cannot open shared object file: No such file or directory in Unknown on line 0
[Tue Jan 24 12:07:01 2012] [notice] Graceful restart requested, doing restart
No log handling enabled - turning on stderr logging
Created directory: /var/lib/net-snmp/mib_indexes
No log handling enabled - turning on stderr logging
Created directory: /var/lib/net-snmp/mib_indexes
No log handling enabled - turning on stderr logging
Created directory: /var/lib/net-snmp/mib_indexes
No log handling enabled - turning on stderr logging
Created directory: /var/lib/net-snmp/mib_indexes
No log handling enabled - turning on stderr logging
Created directory: /var/lib/net-snmp/mib_indexes
No log handling enabled - turning on stderr logging
Created directory: /var/lib/net-snmp/mib_indexes
No log handling enabled - turning on stderr logging
Created directory: /var/lib/net-snmp/mib_indexes
No log handling enabled - turning on stderr logging
Created directory: /var/lib/net-snmp/mib_indexes
No log handling enabled - turning on stderr logging
Created directory: /var/lib/net-snmp/mib_indexes
No log handling enabled - turning on stderr logging
Created directory: /var/lib/net-snmp/mib_indexes
No log handling enabled - turning on stderr logging
Created directory: /var/lib/net-snmp/mib_indexes
No log handling enabled - turning on stderr logging
Created directory: /var/lib/net-snmp/mib_indexes
No log handling enabled - turning on stderr logging
Created directory: /var/lib/net-snmp/mib_indexes
[Tue Jan 24 12:07:01 2012] [notice] Digest: generating secret for digest authentication ...
[Tue Jan 24 12:07:01 2012] [notice] Digest: done
[Tue Jan 24 12:07:01 2012] [notice] Apache/2.2.15 (Unix) DAV/2 mod_fcgid/2.3.6 PHP/5.3.3 mod_ssl/2.2.15 OpenSSL/1.0.0-fips SVN/1.6.11 mod_perl/2.0.4 Perl/v5.10.1 configured -- resuming normal operations
PHP Warning: PHP Startup: Unable to load dynamic library '/usr/lib64/php/modules/mcrypt.so' - /usr/lib64/php/modules/mcrypt.so: cannot open shared object file: No such file or directory in Unknown on line 0
[Tue Jan 24 12:09:24 2012] [notice] Graceful restart requested, doing restart
No log handling enabled - turning on stderr logging
Created directory: /var/lib/net-snmp/mib_indexes
No log handling enabled - turning on stderr logging
Created directory: /var/lib/net-snmp/mib_indexes
No log handling enabled - turning on stderr logging
Created directory: /var/lib/net-snmp/mib_indexes
No log handling enabled - turning on stderr logging
Created directory: /var/lib/net-snmp/mib_indexes
No log handling enabled - turning on stderr logging
Created directory: /var/lib/net-snmp/mib_indexes
No log handling enabled - turning on stderr logging
Created directory: /var/lib/net-snmp/mib_indexes
No log handling enabled - turning on stderr logging
Created directory: /var/lib/net-snmp/mib_indexes
No log handling enabled - turning on stderr logging
Created directory: /var/lib/net-snmp/mib_indexes
Howdy,
Are you loading PHP's SNMP extension? I haven't seen that error before, but a little Googling suggests that the PHP SNMP module may be responsible for those messages.
If you don't require SNMP, you may just want to disable that particular PHP module.
-Eric
Interesting... (I googled it but didnt find anything) I dont know why the php snmp module would be enabled.. I do see it listed under PHP information though.. I cannot however find any reference to it in php.ini file... Is it turned on/off somewhere else or am i just missing it?
I did install APC... do you know if there may be any correlation there?
Thx!
Scott Kappler
Howdy,
I don't think it's related to APC.
I'm guessing by the software versions I see in your logs there that you're running CentOS 6?
If so, what does this command output:
rpm -qa | grep php-
Yes, 6.2 actually. What is strange it that i dont see ANYTHING in the php.ini file regarding snmp at all?
[root@host01 ~]# rpm -qa | grep php-
php-gd-5.3.3-3.el6_2.5.x86_64
php-imap-5.3.3-3.el6_2.5.x86_64
php-pgsql-5.3.3-3.el6_2.5.x86_64
php-pecl-apc-3.1.3p1-1.2.el6.1.x86_64
php-common-5.3.3-3.el6_2.5.x86_64
php-cli-5.3.3-3.el6_2.5.x86_64
php-pear-1.9.4-4.el6.noarch
php-xmlrpc-5.3.3-3.el6_2.5.x86_64
php-5.3.3-3.el6_2.5.x86_64
php-snmp-5.3.3-3.el6_2.5.x86_64
php-mbstring-5.3.3-3.el6_2.5.x86_64
wbm-php-pear-1.5-1.noarch
php-pdo-5.3.3-3.el6_2.5.x86_64
php-odbc-5.3.3-3.el6_2.5.x86_64
php-mysql-5.3.3-3.el6_2.5.x86_64
[root@host01 ~]#
Scott Kappler
Strange, because I actually see snmp in your ini file ;-)
i see it in the output but not in the actual text of the php.ini if i nano /etc/php.ini Shouldn't this be the correct file?
Scott Kappler
Howdy,
There's multiple files that could host PHP configuration bits.
My recommendation would be just to remove it altogether though, using this command:
rpm -e php-snmp
Thanks - i will do that... That figures though - i like php but damn it is a pain in the ass sometimes.. :)
One final question - there are a bunch of these:
[Mon Jan 30 12:15:12 2012] [notice] caught SIGTERM, shutting down
[Mon Jan 30 12:15:12 2012] [notice] SELinux policy enabled; httpd running as context unconfined_u:system_r:httpd_t:s0
[Mon Jan 30 12:15:12 2012] [notice] suEXEC mechanism enabled (wrapper: /usr/sbin/suexec)
[Mon Jan 30 12:15:12 2012] [notice] Digest: generating secret for digest authentication ...
[Mon Jan 30 12:15:12 2012] [notice] Digest: done
[Mon Jan 30 12:15:12 2012] [notice] Apache/2.2.15 (Unix) DAV/2 mod_fcgid/2.3.6 PHP/5.3.3 mod_ssl/2.2.15 OpenSSL/1.0.0-fips SVN/1.6.11 mod_perl/2.0.4 Perl/v5.10.1 configured -- resuming normal operations
does this indicate a problem to you? I have searched but see stuff all over the place as to what it means.. I am not sure if it is a permissions thing i need to investigate further or if i can safely ignore it... any thoughts? Thanks a lot.
Scott Kappler
Yes, you are right. I scanned your output to quickly (no idea why I thought this could be a php.ini file :-)
But there is one thing you could try. You could disable SELinux to test whether your issues are "caused" by it?