Re: [gentoo-user] PHP Odd Error

2005-07-07 Thread A. Khattri
On Wed, 6 Jul 2005, David Busby wrote:

 List,
When running php shell scripts I get this at the end of each one

 No log handling enabled - turning on stderr logging
 Cannot rename //var/lib/net-snmp/snmpapp.conf to 
 //var/lib/net-snmp/snmpapp.0.conf
 Cannot unlink //var/lib/net-snmp/snmpapp.conf
 read_config_store open failure on //var/lib/net-snmp/snmpapp.conf
 read_config_store open failure on //var/lib/net-snmp/snmpapp.conf
 read_config_store open failure on //var/lib/net-snmp/snmpapp.conf


 But it only happens when I run php as a user, not when I run as root.

Check file permissions perhaps???


-- 

-- 
gentoo-user@gentoo.org mailing list



[gentoo-user] PHP Odd Error

2005-07-06 Thread David Busby

List,
  When running php shell scripts I get this at the end of each one

No log handling enabled - turning on stderr logging
Cannot rename //var/lib/net-snmp/snmpapp.conf to 
//var/lib/net-snmp/snmpapp.0.conf
Cannot unlink //var/lib/net-snmp/snmpapp.conf
read_config_store open failure on //var/lib/net-snmp/snmpapp.conf
read_config_store open failure on //var/lib/net-snmp/snmpapp.conf
read_config_store open failure on //var/lib/net-snmp/snmpapp.conf


But it only happens when I run php as a user, not when I run as root.
My emerge world is up to date, should a normal user need to write there or what other thing do I switch to turn this 
off.  It just started when I re-emerged the latest PHP cause revdep-rebuild said I should and it was failing while 
looking for libhistory or something (don't remember).  So should I just change dir perms or what?


/djb
--
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] PHP Odd Error

2005-07-06 Thread James Hiscock
 But it only happens when I run php as a user, not when I run as root.
 My emerge world is up to date, should a normal user need to write there or 
 what other thing do I switch to turn this
 off.  

I personally just got rid of the snmp flag for the php ebuild. PHP
(the command-line version) tries to do something to the net-snmp file
you referenced, but I don't know what. I didn't need SNMP support in
the command-line version, so I got rid of it.

As I said, though, I'm not sure what it's trying to change, so I
played it safe, rather than letting it overwrite a (possibly) existing
file.

-- 
gentoo-user@gentoo.org mailing list