Operating System - HP-UX
1752598 Members
5167 Online
108788 Solutions
New Discussion юеВ

Re: Adding printer through SAM.

 
Frank Sam
Occasional Advisor

Adding printer through SAM.

Hi i am trying to add a printer through SAM,


SAM==>Printers and Plotters==>LP Spooler==>Printers and Plotters==>

And i am getting this message.

Attempted to determine if the fileset "LP-SPOOL" from the product ├в
├в "PrinterMgmt" exists on your system but the swlist command failed. ├в
├в Stderr from swlist is: ├в
├в ├в
├в ERROR: Could not contact host "-a". Make sure the hostname is ├в
├в correct and an absolute pathname is specified (beginning ├в
├в with ├в
├в "/"). ├в
├в ERROR: More information may be found in the daemon logfile on this ├в
├в target (default location is -a:/var/adm/sw/swagentd.log).



Please advise.(screen shot is attached.)

Thanks in advance.
2 REPLIES 2

Re: Adding printer through SAM.

Someone who is used to admin'ing Linux boxes has run the following command on your system:

hostname -a

On linux that command would show hostname aliases.

On HP-UX it has the unfortunate consequence of setting the actual system hostname to "-a".

Hopefully you know what the hostname of this system is *supposed* to be and you can reset it using:

hostname

so if its supposed to be called scooby:

hostname scooby


That should also sort out you SAM/printing problem...

HTH

Duncan


I am an HPE Employee
Accept or Kudo
Sharma Sanjeev
Respected Contributor

Re: Adding printer through SAM.

Hi

Looks like hostname of your system get changed to -a.

Please change the hostname as it was.

hostname < name >

Regards
sanjeev
Everything is Possible as " IMPOSSIBLE" word itself says I M POSSIBLE