Operating System - HP-UX
1835002 Members
2406 Online
110073 Solutions
New Discussion

printer configuration error: unknown hostname

 
SOLVED
Go to solution
denise_7
Frequent Advisor

printer configuration error: unknown hostname

Hi all,

I am attempting to configure a Xerox printer. This is a new printer...replacing our old printer. The files were downloaded from a website and the files are:

HPUXXPXX_xxxxxxxx.tar
PrinterPkgXPXX_xxxxxxxxxx.tar

I untar the HPUXXPXX file, and then the PrinterPkgXPXX file.

Trying to configure using xpadmin, and clicking on "Apply Settings" gives me this error:

Unknown hostname xxxxx

I have checked the /etc/rc.config.d/netconf file and my hostname is correctly listed. Also, /etc/hosts is also showing the printer name and IP address. Doing a nslookup of the printer name and IP address returns correct replies. What am I missing here?

Thank You for any help you can provide.
5 REPLIES 5
Geoff Wild
Honored Contributor
Solution

Re: printer configuration error: unknown hostname

Instead of hostname, can you enter the ip address instead?

What is in your /etc/nsswitch.conf file for hosts?

Rgds...Geoff
Proverbs 3:5,6 Trust in the Lord with all your heart and lean not on your own understanding; in all your ways acknowledge him, and he will make all your paths straight.
denise_7
Frequent Advisor

Re: printer configuration error: unknown hostname

Hi Geoff,

I'll try to enter the IP address of the printer. On the /etc/nsswitch.conf file, for hosts its set up as "dns file"

Thank you.
Geoff Wild
Honored Contributor

Re: printer configuration error: unknown hostname

You might want to setup nsswitch.conf like:

hosts: files [NOTFOUND=CONTINUE] dns

Rgds...Geoff
Proverbs 3:5,6 Trust in the Lord with all your heart and lean not on your own understanding; in all your ways acknowledge him, and he will make all your paths straight.
denise_7
Frequent Advisor

Re: printer configuration error: unknown hostname

Geoff,

The IP address, used instead of the hostname, fixed the problem. This was not the case a couple of months ago! Duh?!?#$

Thanks.
Geoff Wild
Honored Contributor

Re: printer configuration error: unknown hostname

That's great it works with ip - that tells me that DNS isn't resolving for some reason...atleast from xpadmin...

Rgds...Geoff

Proverbs 3:5,6 Trust in the Lord with all your heart and lean not on your own understanding; in all your ways acknowledge him, and he will make all your paths straight.