Project

General

Profile

Actions

Bug #2854

closed

Service started at boot check fails on Red Hat

Added by Ade Bradshaw over 11 years ago. Updated about 9 years ago.

Status:
Released
Priority:
1
Category:
Techniques
Target version:
Severity:
UX impact:
User visibility:
Effort required:
Priority:
Name check:
Fix check:
Regression:

Description

On a RHEL 6 system, the option to check that a service is started at boot fails and I can see this in the log

Aug 29 13:21:24 host107 rudder[19865]:  Q: ".../chkconfig --ch": --check: unknown option
Aug 29 13:21:24 host107 rudder[19865]: I: Last 1 quoted lines were generated by promis er "/sbin/chkconfig --check ntpd"
Aug 29 13:21:24 host107 rudder[19865]: Proposed executable file "/sbin/insserv" doesn' t exist
Aug 29 13:21:24 host107 rudder[19865]: R: @ServicesManagement@result_error@f655821d-350e-4e64-ba09-98517321ed0c@510b7fea-a2da-43aa-8236-2313edc2f96b@2@Process@ntpd@2 012-08-29 13:21:21+01:00##21cb75f7-9212-417b-a5f5-dbf3abf74987@#Cannot check the status of ntpd: the process name is not filed
Aug 29 13:21:24 host107 rudder19865: R: @ServicesManagement@result_success@f65582 1d-350e-4e64-ba09-98517321ed0c@510b7fea-a2da-43aa-8236-2313edc2f96b@2@Advanced optio ns@ntpd@2012-08-29 13:21:21+01:00##21cb75f7-9212-417b-a5f5-dbf3abf74987@#The process range is not to be checked for service ntpd

I guess the issue is that, in RHEL, chkconfig doesnt have a --check option

SYNOPSIS
chkconfig [--list] [--type type][name]
chkconfig --add name
chkconfig --del name
chkconfig --override name
chkconfig [--level levels] [--type type] name <on|off|reset|reset-priorities>
chkconfig [--level levels] [--type type] name

Files

servicesManagement-1.2.tgz (3.79 KB) servicesManagement-1.2.tgz Jonathan CLARKE, 2012-08-31 18:19
Actions

Also available in: Atom PDF