Big news! The community will be moving to a new platform April 21. Read more.
Big news! The community will be moving to a new platform April 21. Read more.
Absent Member.
Absent Member.
1664 views

Power Outage caused server crash

A breaker flipped and caused both our dhcp and zenworks server to go offline. My main concern right now is getting the internet back up and running. I logged into Sles and we're running oes2. I don't know if I need to restart a service or what, but the server is displaying that there is a log file for viewing I assume? Any help is greatly appreciated as I can't solve this problem on my own.

Thanks,
Ryan
Labels (2)
0 Likes
9 Replies
Knowledge Partner Knowledge Partner
Knowledge Partner

ryan jones wrote:

> My main concern right now is getting the internet back up and
> running.


When you start the server, all the services should start automatically.

The logs are in /var/log. The one that you will want to check first is
/var/log/messages.

Can you provide some more information? Are there any error messages?

What do you see that suggests you don't have Internet access? Can you
access other devices on the LAN?

--
Kevin Boyle - Knowledge Partner
If you find this post helpful and are logged into the web interface,
show your appreciation and click on the star below...
_____
Kevin Boyle - Knowledge Partner - Calgary, Alberta, Canada
Who are the Knowledge Partners?
If you appreciate my comments, please click the Like button.
If I have resolved your issue, please click the Accept as Solution button.
Vice Admiral
Vice Admiral

Oops, and no UPS installed ?
0 Likes
Absent Member.
Absent Member.

Thanks for your help I just had to manually start the dhcp daemon with rcnovell-dhcpd start. I knew I was on the right track just didn't know the terminal commands for it. Good to know where the log file is, I am so accustomed to windows. I have always wanted to learn linux so I guess here's my chance.
0 Likes
Absent Member.
Absent Member.

We have one, but it needs a new battery. Not sure if it can be factored into the budget. Now when I setup a file management system for shared storage and different users to log in then it will be mandatory. Don't want my edirectory tree to become toast, luckily the only thing it really has to do right now is hand out ips.
0 Likes
Knowledge Partner Knowledge Partner
Knowledge Partner

ryan jones wrote:

> I just had to manually start the dhcp daemon with
> rcnovell-dhcpd start


Do you know why it didn't start automatically?

You can see which services will start automatically with the
"chkconfig" command:
- "on" means it will start at boot time.
- "off means it will not start at boot time

Check all services:

server:~ # chkconfig


Check the novell-dhcpd service:

server:~ # chkconfig novell-dhcpd


Start novell-dhcpd services when booting:

server:~ # chkconfig novell-dhcpd on


Don't start novell-dhcpd services when booting:

server:~ # chkconfig novell-dhcpd off


Find out what you can do with chkconfig:

server:~ # man chkconfig


--
Kevin Boyle - Knowledge Partner
If you find this post helpful and are logged into the web interface,
show your appreciation and click on the star below...
_____
Kevin Boyle - Knowledge Partner - Calgary, Alberta, Canada
Who are the Knowledge Partners?
If you appreciate my comments, please click the Like button.
If I have resolved your issue, please click the Accept as Solution button.
0 Likes
Fleet Admiral
Fleet Admiral

On 17/01/2013 21:30, KBOYLE wrote:

> Do you know why it didn't start automatically?


IIRC the DHCP server daemon isn't set to start automatically on an OES
server.

...snip..

> Start novell-dhcpd services when booting:
>

> server:~ # chkconfig novell-dhcpd on
>


.... so you need to do the above after you've finished installing the
Novell DHCP component on an OES server.

HTH.
--
Simon
Novell/SUSE/NetIQ Knowledge Partner

------------------------------------------------------------------------
Do you work with Novell technologies at a university, college or school?
If so, your campus could benefit from joining the Novell Technology
Transfer Partner (TTP) program. See novell.com/ttp for more details.
------------------------------------------------------------------------
0 Likes
Knowledge Partner Knowledge Partner
Knowledge Partner

ryan_jones;2240888 wrote:
Thanks for your help I just had to manually start the dhcp daemon with rcnovell-dhcpd start. I knew I was on the right track just didn't know the terminal commands for it. Good to know where the log file is, I am so accustomed to windows. I have always wanted to learn linux so I guess here's my chance.


some additional tips:

One file I also always check after (re)booting a server is the /var/log/boot.msg. The last lines normally show which services were skipped (normal if there is nothing to do or configured for a service) or failed (which is a first indicator if " stuff" isn't working after bootup).

To get the last lines of that file, use the tail command;
#tail /var/log/boot.msg

Another usefull function of that tail command, is to a get a realtime/feed on a file, like the /var/log/messages;
#tail -f /var/log/messages

Or you can combine it with grep to only show lines with a specific content, like messages given by dhcpd;
#tail -f /var/log/messages|grep dhcpd

Before restarting a service, it's often good to check the current state of a service;
#service [servicename] status
(the service command is the same as using rc[servicename] [action], I find it a more logical way to handle services)

The great thing about Linux is that you can do most things using a ssh console connection. It just takes a little time and practice finding all the (often built in) tools you need/prefer.


Cheers,
Willem
0 Likes
Knowledge Partner Knowledge Partner
Knowledge Partner

KBOYLE;2240946 wrote:

Check the novell-dhcpd service:



novell-dhcpd?

Just a sanity check, but for dhcp it's just the "dhcpd" service. I think you are thinking of the specific novell-named daemon?

Cheers,
Willem
0 Likes
Fleet Admiral
Fleet Admiral

On 22/01/2013 13:06, magic31 wrote:

> novell-dhcpd?
>
> Just a sanity check, but for dhcp it's just the "dhcpd" service. I
> think you are thinking of the specific novell-named daemon?


Good spot!

Whilst the DHCP service on an OES server can be (re)started via
"rcnovell-dhcpd" or "rcdhcpd" (the former is a symlink to the latter)
the actual service is called "dhcpd". Note it's the same service -
Novell DHCP in OES is just (plain SLES) DHCP with LDAP extensions
configured to point at eDirectory.

HTH.
--
Simon
Novell/SUSE/NetIQ Knowledge Partner

------------------------------------------------------------------------
Do you work with Novell technologies at a university, college or school?
If so, your campus could benefit from joining the Novell Technology
Transfer Partner (TTP) program. See novell.com/ttp for more details.
------------------------------------------------------------------------
0 Likes
The opinions expressed above are the personal opinions of the authors, not of Micro Focus. By using this site, you accept the Terms of Use and Rules of Participation. Certain versions of content ("Material") accessible here may contain branding from Hewlett-Packard Company (now HP Inc.) and Hewlett Packard Enterprise Company. As of September 1, 2017, the Material is now offered by Micro Focus, a separately owned and operated company. Any reference to the HP and Hewlett Packard Enterprise/HPE marks is historical in nature, and the HP and Hewlett Packard Enterprise/HPE marks are the property of their respective owners.