No relevant resource is found in the selected language.

This site uses cookies. By continuing to browse the site you are agreeing to our use of cookies. Read our privacy policy>

Reminder

To have a better experience, please upgrade your IE browser.

upgrade

There is abnormal content in the dhcpd file on MN and causes the OmsPortal reporting the DHCP process is abnormal

Publication Date:  2012-11-08 Views:  54 Downloads:  0
Issue Description
At the R2C00SPC200 site, the real-time alarm of the OmsPortal reported an alarm whose ID is 002031 (showed the DHCP service process is abnormal), settled it via the method of the GPI:
Firstly, restarted the DHCP process (command: service dhcpd restart), then checked the process’s status (command: service dhcpd status), the returned result is “Checking for DHCP server: running”, but the alarm couldn’t be cleaned out several minutes later. Cleared the alarm on the OmaPortal interface manually, but it appeared immediately.
Alarm Information
There is an emergent alarm “The DHCP service process is abnormal” in the real-time alarm interface of the OmsPortal (The alarm ID is: 002031).
Handling Process
Login in the MN node via Putty, execute the “cat /etc/sysconfig/dhcpd” command to view the content of the “dhcpd” file, there is the characters “CP server” at the second row. Use the “vi” command to edit the “dhcpd” file, and delete this row of sentence, save and quit, then restart the DHCP process, the alarm “the DHCP service process is abnormal” has been cleaned out automatically.
Root Cause
When restarting the DHCP service and viewing the status of the DHCP process, although the commands are executed successfully, there appeared the “/etc/sysconfig/dhcpd:line 2: CP: command not found” prompt, as the following displayed:

Then, we conclude that is there is abnormal content in the “” file of the MN node server which caused the DHCP service process reporting abnormality.
Suggestions
None

END