* [gentoo-user] PHP Odd Error
@ 2005-07-07 3:01 David Busby
2005-07-07 3:15 ` James Hiscock
2005-07-07 18:40 ` A. Khattri
0 siblings, 2 replies; 3+ messages in thread
From: David Busby @ 2005-07-07 3:01 UTC (permalink / raw
To: gentoo-user
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
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [gentoo-user] PHP Odd Error
2005-07-07 3:01 [gentoo-user] PHP Odd Error David Busby
@ 2005-07-07 3:15 ` James Hiscock
2005-07-07 18:40 ` A. Khattri
1 sibling, 0 replies; 3+ messages in thread
From: James Hiscock @ 2005-07-07 3:15 UTC (permalink / raw
To: gentoo-user
> 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
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [gentoo-user] PHP Odd Error
2005-07-07 3:01 [gentoo-user] PHP Odd Error David Busby
2005-07-07 3:15 ` James Hiscock
@ 2005-07-07 18:40 ` A. Khattri
1 sibling, 0 replies; 3+ messages in thread
From: A. Khattri @ 2005-07-07 18:40 UTC (permalink / raw
To: gentoo-user
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
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2005-07-07 18:47 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-07-07 3:01 [gentoo-user] PHP Odd Error David Busby
2005-07-07 3:15 ` James Hiscock
2005-07-07 18:40 ` A. Khattri
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox