The Community Forums

Interact with an entire community of cPanel & WHM users!
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

snmpapp.conf errors

Discussion in 'General Discussion' started by nurseryboy, Jun 21, 2005.

  1. nurseryboy

    nurseryboy Well-Known Member

    Joined:
    Mar 3, 2003
    Messages:
    78
    Likes Received:
    0
    Trophy Points:
    6
    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
     
  2. gpreston

    gpreston Well-Known Member

    Joined:
    Jan 31, 2004
    Messages:
    61
    Likes Received:
    0
    Trophy Points:
    6
    Location:
    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
     
  3. nurseryboy

    nurseryboy Well-Known Member

    Joined:
    Mar 3, 2003
    Messages:
    78
    Likes Received:
    0
    Trophy Points:
    6
    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?
     
  4. gpreston

    gpreston Well-Known Member

    Joined:
    Jan 31, 2004
    Messages:
    61
    Likes Received:
    0
    Trophy Points:
    6
    Location:
    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.
     
  5. nurseryboy

    nurseryboy Well-Known Member

    Joined:
    Mar 3, 2003
    Messages:
    78
    Likes Received:
    0
    Trophy Points:
    6
    Ok, great. If I don't get any other replies to the thread I'll do that.

    Thanks for the help :)
     
    #5 nurseryboy, Jun 21, 2005
    Last edited: Jun 21, 2005
  6. nurseryboy

    nurseryboy Well-Known Member

    Joined:
    Mar 3, 2003
    Messages:
    78
    Likes Received:
    0
    Trophy Points:
    6
    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
     
  7. Snowman30

    Snowman30 Well-Known Member
    PartnerNOC

    Joined:
    Apr 7, 2002
    Messages:
    681
    Likes Received:
    0
    Trophy Points:
    16
    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)
     
  8. nurseryboy

    nurseryboy Well-Known Member

    Joined:
    Mar 3, 2003
    Messages:
    78
    Likes Received:
    0
    Trophy Points:
    6
    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
     
  9. joel69

    joel69 Active Member

    Joined:
    Feb 17, 2005
    Messages:
    29
    Likes Received:
    0
    Trophy Points:
    1
    Location:
    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.
     
  10. cyo

    cyo Active Member

    Joined:
    Oct 26, 2001
    Messages:
    35
    Likes Received:
    0
    Trophy Points:
    6
    I get the same thing as joel69
     
  11. brumie

    brumie Active Member

    Joined:
    Dec 9, 2003
    Messages:
    42
    Likes Received:
    0
    Trophy Points:
    6
    any safe solution yet?
     
Loading...

Share This Page