Red Hat Bugzilla – Bug 101939
carriage returns in snmptrapd start script avoid service start
Last modified: 2015-03-04 20:12:44 EST
Description of problem:
on a freshly installed system including ucd-snmp the init-script is broken.
There are DOS-linebreaks in /etc/init.d/snmptrapd, so that bash does not execute it.
removing them by perl -pi -e 's#\r##' /etc/init.d/snmptrapd fixes the problem.
Version-Release number of selected component (if applicable):
ucd-snmp-4.2.4-1 from RHEL 2.1 AS QU2
install from QU2 isos and start smnptrapd
*** This bug has been marked as a duplicate of 101671 ***
Changed to 'CLOSED' state since 'RESOLVED' has been deprecated.