Visit Jeremy's Blog.
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!


  Search this Thread
Old 12-16-2001, 06:10 PM   #1
LQ Newbie
Registered: Nov 2001
Distribution: Debian, Slackware
Posts: 14

Rep: Reputation: 0
Can't print due to "bad hostname"

I used Red Hat's printconf utility to set up a printer, but it gave a totally unhelpful error message when I tried a test page. Typing lp at the console just says "Get_local_host: hostname 'shinryuu.localdomain' bad" no matter what options are used.
The same message has appeared at startup since setting up the printer, and at shutdown lpd cannot be killed.

How did this get in "newbie"? I could have sworn I posted in "general".

Last edited by vortech; 12-16-2001 at 09:22 PM.
Old 12-17-2001, 05:42 AM   #2
Senior Member
Registered: May 2001
Location: Bristol, UK
Distribution: Slackware, Fedora, RHES
Posts: 2,243

Rep: Reputation: 46
When you run the 'hostname' command what does it return? If it returns the correct hostname of your machine then make sure that its lists in /etc/hosts




Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
"bad interpreter : no such file or directory" when configure "flex" acer_peri Linux - Software 10 11-10-2010 02:19 AM
xhost gives me "bad hostname" Rhatlinux Linux - General 8 12-16-2004 05:35 PM
help: cdrecord does not work due to "Cannot open SCSI driver" parv Linux - Software 2 09-21-2004 09:54 PM
Application "nautilus" (process 5342) has crashed due to a fatal error. zorr0 Linux - General 1 05-10-2004 08:56 PM
tftp - "Destination Unreachable" due to "Port Unreachable" renjithgopal Linux - Security 5 07-24-2003 11:36 AM > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 04:03 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration