ID:               40262
 Updated by:       [EMAIL PROTECTED]
 Reported By:      yolcu at sst dot gen dot tr
-Status:           Open
+Status:           Bogus
 Bug Type:         SNMP related
 Operating System: Linux CentOs 4
 PHP Version:      5.2.0
 New Comment:

Sorry, but your problem does not imply a bug in PHP itself.  For a
list of more appropriate places to ask for help using PHP, please
visit http://www.php.net/support.php as this bug system is not the
appropriate forum for asking support questions.  Due to the volume
of reports we can not explain in detail here why your report is not
a bug.  The support channels will be able to provide an explanation
for you.

Thank you for your interest in PHP.




Previous Comments:
------------------------------------------------------------------------

[2007-01-28 12:05:53] yolcu at sst dot gen dot tr

Description:
------------
Configuring tith or without snmp parameter, there is a shared access
problem on conf files related to snmp when cron jobs are used for more
than 1 user in the same time period.

When run, snmp's conf files' owner becomes the cron job owner. At that
time, if another request comes from another user, it'll give errors
because that user is not the owner of that conf file! When i checked
from console, i saw that the owner of the conf file continuously
changes according to the cron job owner. if you disable and don't want
to use snmp parameter nothing changes.

(By the way, there are NO compile errors.)

PHP version: 5.2.0
Net-Snmp version:5.4


( Before making all of my compiles, I have cleaned garbages: make
distclean, make clean )

Reproduce code:
---------------
Compile the latest php stable released version 5.2.0

Assign cronjobs for more than 1 user in your system those call php
scripts.

If you configure cron jobs from only 1 user, you won't be able to
reproduce the problem.





Expected result:
----------------
Just normal cron output, or nothing. But not error lines.

Actual result:
--------------
If you have logging disabled, your admin mail account will receive
mails like this:

"No log handling enabled - turning on stderr logging
Cannot rename /var/net-snmp/snmpapp.conf to
/var/net-snmp/snmpapp.1.conf
Cannot unlink /var/net-snmp/snmpapp.conf
"

OR

"
No log handling enabled - turning on stderr logging
read_config_store open failure on /var/net-snmp/snmpapp.conf
read_config_store open failure on /var/net-snmp/snmpapp.conf
read_config_store open failure on /var/net-snmp/snmpapp.conf
"


------------------------------------------------------------------------


-- 
Edit this bug report at http://bugs.php.net/?id=40262&edit=1

Reply via email to