HPE Community read-only access December 15, 2018
This is a maintenance upgrade. You will be able to read articles and posts, but not post or reply.
Hours:
Dec 15, 4:00 am to 10:00 am UTC
Dec 14, 10:00 pm CST to Dec 15, 4:00 am CST
Dec 14, 8:00 pm PST to Dec 15, 2:00 am PST
cancel
Showing results for 
Search instead for 
Did you mean: 

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

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


HTH

Duncan
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