nurseryboy

Well-Known Member
Mar 3, 2003
78
0
156
Hello,

Lately, we have been getting errors related to the snmpapp.conf file.. The place we have noticed it the most is when submitting a ticket to our esupport area. The error is:

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

In the case we have been testing, this happens when we submit a ticket to our support area. We always get an email back with this error in it. But, someone else on the server just contacted us and told us they were getting the same error on one of their crons.

I have the datacenter looking into it, but we haven't been able to figure anything out yet.

Does anyone have any suggestions? I can't find too much on it.

Thanks,

Matt
 

gpreston

Well-Known Member
Jan 31, 2004
61
0
156
West Chester, PA
We have been experiencing problems related to that file on our Fedora servers here at work, not cPanel or WHM related though. There is something built improperly for some reason and the temporary fix we used was chmod'ing the /var/net-snmp/snmpapp.conf file to 777
 

nurseryboy

Well-Known Member
Mar 3, 2003
78
0
156
Ok. I was thinking about doing that, but wasn't sure if that would be security problem. I don't mind doing it, though, if it will be ok.

Did that solve it for you?
 

gpreston

Well-Known Member
Jan 31, 2004
61
0
156
West Chester, PA
Yeah, it fixed hte problem and there were no more errors after that. As far as I'm aware, it doesn't open up any security problems, but it never is really a good thing to have a configuration file be 777.

I believe the problem stems from Apache or PHP and having SNMP support built into it, but I've been unable to really verify the problem and look for a proper solution.
 

nurseryboy

Well-Known Member
Mar 3, 2003
78
0
156
Ok, great. If I don't get any other replies to the thread I'll do that.

Thanks for the help :)
 
Last edited:

nurseryboy

Well-Known Member
Mar 3, 2003
78
0
156
Well that's stupid, lol.

I just chowned (nobody.nobody) and chmoded (777) /var/net-snmp/snmpapp.conf, and I still get the errors. I thought for sure that would fix it.

Does anyone else have any suggestions? Server is CentOS 3.5 with Apache 1.3.33 and PHP 4.3.11.

Thanks,

Matt
 

Snowman30

Well-Known Member
PartnerNOC
Apr 7, 2002
679
0
316
cPanel Access Level
DataCenter Provider
anyone found a solution for this yet?

I am getting this error everytime a site on one of our servers runs a cron (which in this case is every 5 minutes)
 

nurseryboy

Well-Known Member
Mar 3, 2003
78
0
156
I'm sorry. Downgrading to PHP 4.3.10 fixed it for me. I wish there was another way, but that's the only thing that worked for me.

Matt
 

joel69

Active Member
Feb 17, 2005
29
0
151
East Vancouver, BC, Canada
Hello. I have chmoded the /var/net-snmp directory to 777 and restarted Apache. Now, I don't get that error message anymore, however, the owner and group of the snmpapp.conf file keeps changing to any one of the users on the system. I have confirmed that PHP is NOT installed via RPM at all. Running "rpm -qa | grep -i PHP" as root turned up nothing. PHP is only installed via the /scripts/easyapache script.