LinuxQuestions.org
View the Most Wanted LQ Wiki articles.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices

Reply
 
Search this Thread
Old 09-10-2013, 11:00 AM   #1
wufo
Member
 
Registered: Oct 2004
Posts: 162

Rep: Reputation: 15
hostname confusion


I am confused over how linux stored and uses its hostname. I run the command
~ $ hostname
misty

But, when I use cups on a remote system to access a printer, it fails with
a can't establish connection with loki.dogpound.net. At one tine the system might have been named loki, but was changed.

Why does cups still report loki as the hostname instead of misty to the remote system?

tj
 
Old 09-10-2013, 11:12 AM   #2
YellowApple
Member
 
Registered: Mar 2013
Location: Truckee, California, United States
Distribution: Slackware, openSUSE, Debian,Slackware, openSUSE, OpenBSD
Posts: 91

Rep: Reputation: 33
What's the content of /etc/hosts?
 
Old 09-10-2013, 11:17 AM   #3
wufo
Member
 
Registered: Oct 2004
Posts: 162

Original Poster
Rep: Reputation: 15
Discovered the problem in the server's /etc/hosts and discovered your suggestion to look there when I came back to post the problem solved. Still, thanks for the reply.

tj
 
Old 09-10-2013, 12:27 PM   #4
YellowApple
Member
 
Registered: Mar 2013
Location: Truckee, California, United States
Distribution: Slackware, openSUSE, Debian,Slackware, openSUSE, OpenBSD
Posts: 91

Rep: Reputation: 33
No problem, and good to see you got it figured out. I had just stumbled through some issues with Apache and an OpenVZ-ified Slackware server's /etc/hosts, which is why it came to mind (damn OpenVZ-based VPS providers...).
 
  


Reply


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
HOSTNAME = hostname -> HOSTNAME: command not found ? thomas2004ch Linux - Software 2 08-26-2013 08:25 PM
hostname confusion---connected to router pixellany Linux - Networking 3 07-09-2012 04:45 PM
Changed hostname during install, now CUPS has wrong hostname on web interface slinx Linux - Software 1 08-07-2009 08:01 PM
Domain name / hostname confusion bhm8hwcm Linux - Networking 9 11-05-2006 03:13 PM
Hostname confusion bhm8hwcm Linux - General 1 10-29-2006 08:48 PM


All times are GMT -5. The time now is 12:33 PM.

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