Ive searched the arqchives, but didnt find anything like this.. Maybe im
missing some trick here...
The problem:
I've instaled snmpd and snmp-utils packages with yum.
Im using and old simple .conf file, i've been using on my fedora 1 box,
but when I try to start snmpd, it just says OK, (Starting
snmpd..........[OK]), but the service dont work at all. I dont see any
process running with "ps".
Ive checked the logs, and found that it could be related to SE Linux and I
tryed to disable it, but it still doesnt work.
Im not using iptables localy, so, its not iptables related.
Already tryed uninstall <> install.
Any trick here?
Thanks a lot.
Gustavo.
BTW: Its currently working on my fedora1. This is the last thing I need to
fix to upgrade.
_______________________________________________
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos
04-10-2008, 11:37 AM
Johnny Hughes
snmpd wont start on CentOS 4.4?
Gustavo wrote:
Hello All,
Ive searched the arqchives, but didnt find anything like this.. Maybe im
missing some trick here...
The problem:
I've instaled snmpd and snmp-utils packages with yum.
Im using and old simple .conf file, i've been using on my fedora 1 box,
but when I try to start snmpd, it just says OK, (Starting
snmpd..........[OK]), but the service dont work at all. I dont see any
process running with "ps".
Ive checked the logs, and found that it could be related to SE Linux and I
tryed to disable it, but it still doesnt work.
Im not using iptables localy, so, its not iptables related.
Already tryed uninstall <> install.
Any trick here?
Thanks a lot.
Gustavo.
BTW: Its currently working on my fedora1. This is the last thing I need to
fix to upgrade.
How sure are you that selinux is disabled (my normal snmpd stuff also
does not work with selinux).
After adjusting /etc/sysconfig/selinux (set SELINUX=disabled) you would
need to reboot to make the change effect.
You can test with this command:
getenforce
If it says disabled or permissive, you should be OK.
If it says enforcing ... issue this command:
setenforce 0
Then look again with getenforce.
You still need to adjust /etc/sysconfig/selinux to make the changes last
for a reboot.
Thanks,
Johnny Hughes
_______________________________________________
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos
04-10-2008, 12:17 PM
"Gustavo Gouvea"
snmpd wont start on CentOS 4.4?
Hi Jonny,
Yes, I did the reboot. "getenforce" shows "disabled".
The funny is that, issuing the start command it says "OK".
Even in the logs:
Apr 10 12:12:44 localhost snmpd: snmpd startup succeeded
Apr 10 12:12:44 localhost snmpd[6673]: NET-SNMP version 5.1.2
But still, there is no process running...
Any other tip?
Thanks again.
> Gustavo wrote:
>> Hello All,
>>
>> Ive searched the arqchives, but didnt find anything like this.. Maybe im
>> missing some trick here...
>>
>> The problem:
>> I've instaled snmpd and snmp-utils packages with yum.
>> Im using and old simple .conf file, i've been using on my fedora 1 box,
>> but when I try to start snmpd, it just says OK, (Starting
>> snmpd..........[OK]), but the service dont work at all. I dont see any
>> process running with "ps".
>> Ive checked the logs, and found that it could be related to SE Linux and
>> I
>> tryed to disable it, but it still doesnt work.
>> Im not using iptables localy, so, its not iptables related.
>> Already tryed uninstall <> install.
>>
>> Any trick here?
>> Thanks a lot.
>>
>> Gustavo.
>>
>> BTW: Its currently working on my fedora1. This is the last thing I need
>> to
>> fix to upgrade.
>
> How sure are you that selinux is disabled (my normal snmpd stuff also
> does not work with selinux).
>
> After adjusting /etc/sysconfig/selinux (set SELINUX=disabled) you would
> need to reboot to make the change effect.
>
> You can test with this command:
>
> getenforce
>
> If it says disabled or permissive, you should be OK.
>
> If it says enforcing ... issue this command:
>
> setenforce 0
>
> Then look again with getenforce.
>
> You still need to adjust /etc/sysconfig/selinux to make the changes last
> for a reboot.
>
> Thanks,
> Johnny Hughes
_______________________________________________
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos
04-10-2008, 06:38 PM
Paul Heinlein
snmpd wont start on CentOS 4.4?
On Thu, 10 Apr 2008, Gustavo Gouvea wrote:
Hi Jonny,
Yes, I did the reboot. "getenforce" shows "disabled".
The funny is that, issuing the start command it says "OK".
Even in the logs:
Apr 10 12:12:44 localhost snmpd: snmpd startup succeeded
Apr 10 12:12:44 localhost snmpd[6673]: NET-SNMP version 5.1.2
But still, there is no process running...
Have you tried launching snmpd in non-forking mode?
snmpd -f -Le
If that's not verbose enough, wrap it in strace and try again:
strace -o /tmp/snmpd.trace snmpd -f -Le
--
Paul Heinlein <> heinlein@madboa.com <> http://www.madboa.com/
_______________________________________________
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos
04-10-2008, 06:55 PM
Max Hetrick
snmpd wont start on CentOS 4.4?
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Gustavo Gouvea wrote:
> Yes, I did the reboot. "getenforce" shows "disabled".
> The funny is that, issuing the start command it says "OK".
Try stopping it, then removing the lock file, then restarting it.
# service snmpd stop
# rm /var/run/snmpd
# service snmpd start
I've have it create a strange permission on the lock file before, which
I removed and then just restarted.
After using -f -Le, I got an error message, and googleing for it, I found that I got old net-snmp-libs.
Ive updated the pkg, and its working.
Thanks all.
Paul Heinlein wrote:
> On Thu, 10 Apr 2008, Gustavo Gouvea wrote:
>
> > Hi Jonny,
> >
> > Yes, I did the reboot. "getenforce" shows "disabled".
> > The funny is that, issuing the start command it says "OK".
> >
> > Even in the logs:
> > Apr 10 12:12:44 localhost snmpd: snmpd startup succeeded
> > Apr 10 12:12:44 localhost snmpd[6673]: NET-SNMP version 5.1.2
> >
> > But still, there is no process running...
>
> Have you tried launching snmpd in non-forking mode?
>
> snmpd -f -Le
>
> If that's not verbose enough, wrap it in strace and try again:
>
> strace -o /tmp/snmpd.trace snmpd -f -Le
>
> --
> Paul Heinlein <> heinlein@madboa.com <> http://www.madboa.com/
> _______________________________________________
> CentOS mailing list
> CentOS@centos.org
> http://lists.centos.org/mailman/listinfo/centos
>
> --
> No virus found in this incoming message.
> Checked by AVG.
> Version: 7.5.519 / Virus Database: 269.22.11/1368 - Release Date: 4/9/2008 4:20 PM
_______________________________________________
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos
04-10-2008, 09:08 PM
Gustavo Gouvea
snmpd wont start on CentOS 4.4?
The problem described:
http://bugs.centos.org/view.php?id=2700
Paul Heinlein wrote:
> On Thu, 10 Apr 2008, Gustavo Gouvea wrote:
>
> > Hi Jonny,
> >
> > Yes, I did the reboot. "getenforce" shows "disabled".
> > The funny is that, issuing the start command it says "OK".
> >
> > Even in the logs:
> > Apr 10 12:12:44 localhost snmpd: snmpd startup succeeded
> > Apr 10 12:12:44 localhost snmpd[6673]: NET-SNMP version 5.1.2
> >
> > But still, there is no process running...
>
> Have you tried launching snmpd in non-forking mode?
>
> snmpd -f -Le
>
> If that's not verbose enough, wrap it in strace and try again:
>
> strace -o /tmp/snmpd.trace snmpd -f -Le
>
> --
> Paul Heinlein <> heinlein@madboa.com <> http://www.madboa.com/
> _______________________________________________
> CentOS mailing list
> CentOS@centos.org
> http://lists.centos.org/mailman/listinfo/centos
>
> --
> No virus found in this incoming message.
> Checked by AVG.
> Version: 7.5.519 / Virus Database: 269.22.11/1368 - Release Date: 4/9/2008 4:20 PM