Solved

ServerName Boot Error

Posted on 1997-11-18
3
251 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

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

Suggested Solutions

Setting up Secure Ubuntu server on VMware 1.      Insert the Ubuntu Server distribution CD or attach the ISO of the CD which is in the “Datastore”. Note that it is important to install the x64 edition on servers, not the X86 editions. 2.      Power on th…
It’s 2016. Password authentication should be dead — or at least close to dying. But, unfortunately, it has not traversed Quagga stage yet. Using password authentication is like laundering hotel guest linens with a washboard — it’s Passé.
Learn how to navigate the file tree with the shell. Use pwd to print the current working directory: Use ls to list a directory's contents: Use cd to change to a new directory: Use wildcards instead of typing out long directory names: Use ../ to move…
Get a first impression of how PRTG looks and learn how it works.   This video is a short introduction to PRTG, as an initial overview or as a quick start for new PRTG users.

912 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

Need Help in Real-Time?

Connect with top rated Experts

17 Experts available now in Live!

Get 1:1 Help Now