Solved

ServerName Boot Error

Posted on 1997-11-18
3
260 Views
Last Modified: 2013-12-15
I had Linux up and running OK
I changed the name of my machine, and things were *still*
working fine.  (I honestly don't remember the command I used to changeit - but it was something I read in a Unix book...)

Then I let my linux sit.  And sit.  And sit.  (I didn't have a need for it for about 3 months...)

Just tonight I tried to boot it back up, to get back to working on the things I use Linux for, and I had a problem.

At first I thought I was going to get away with it just being a SendMail problem, since that's when it first paused(for a LONG time!) on bootup - but then eventually it told me it couldn't find the machine's name and I should use ServerName (I'm pretty sure that's what it said to use) and then it just... stopped.

Wouldn't let me use ANYTHING - except ctrl-alt-delete which I have set up to reboot.

So it seems I can't access anything until I change the name of the machine, but it won't let me change the name of the machine either.

So my question is, is there a way to fix this without having to reinstall Linux, or am I basically screwed?

Any help would be appreciated.  Thanx!

E. Scholl
0
Comment
Question by:scholl
3 Comments
 
LVL 1

Expert Comment

by:demiurg
ID: 1630708
You shouldn't run the sendmail on your machine in
the first place - unless it's connected to the Internet
NOT through modem.

Boot yor PC, wait (doesn't matter how long it takes,
5 minutes or more), after the sendmail calms down
you should be able to login and then delete the sendmail
link from /etc/rc.d/rc3.d (or rc5.d if its X)
0
 

Author Comment

by:scholl
ID: 1630709
As I stated before, I can't do ANYTHING - the machine never fully boots and I never get a prompt that allows me to do anything - including logging in.  Since I can't log in, I can't disable sendmail.  I've waited as much as 30 minutes to no avail.
0
 
LVL 19

Accepted Solution

by:
xterm earned 70 total points
ID: 1630710
Make a couple of rescue disks, and when you're up on the
ramdisk, mount your root device and go fix your /etc/hosts
so that sendmail won't hang.  The ServerName is in your
httpd.conf, but afaik it shouldn't perma-hang your box on
bootup.

I'd fix and/or disable both though.
0

Featured Post

Three Reasons Why Backup is Strategic

Backup is strategic to your business because your data is strategic to your business. Without backup, your business will fail. This white paper explains why it is vital for you to design and immediately execute a backup strategy to protect 100 percent of your data.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

This is the error message I got (CODE) Error caused by incompatible libmp3lame 3.98-2 with ffmpeg I've googled this error message and found out sometimes it attaches this note "can be treated with downgrade libmp3lame to version 3.97 or 3.98" …
Fine Tune your automatic Updates for Ubuntu / Debian
Learn how to find files with the shell using the find and locate commands. Use locate to find a needle in a haystack.: With locate, check if the file still exists.: Use find to get the actual location of the file.:
This demo shows you how to set up the containerized NetScaler CPX with NetScaler Management and Analytics System in a non-routable Mesos/Marathon environment for use with Micro-Services applications.

830 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question