Operating System - HP-UX
1835265 Members
2470 Online
110078 Solutions
New Discussion

problem creating que and hppi -s

 
SOLVED
Go to solution
rmueller58
Valued Contributor

problem creating que and hppi -s

We had to restore from backup last night.. I am having trouble now creating print ques with hppi / jetadmin in HP/UX 11.0

Do I need to reinstall the jetadmin software on my N-Class.
17 REPLIES 17
Paula J Frazer-Campbell
Honored Contributor

Re: problem creating que and hppi -s

Rex

What did you restore?

If the OS then yes a re-install is required.

Paula
If you can spell SysAdmin then you is one - anon
Jeff Schussele
Honored Contributor

Re: problem creating que and hppi -s

Hi Rex,

Depends entirely on how/what you backed up.
Can you post your backup command?

Rgds,
Jeff
PERSEVERANCE -- Remember, whatever does not kill you only makes you stronger!
rmueller58
Valued Contributor

Re: problem creating que and hppi -s

we used frecover?
Jeff Schussele
Honored Contributor

Re: problem creating que and hppi -s

Hi Rex,

Well, if you used frecover to restore - you had to use fbackup to back it up.
Now it's possible that you used backup levels (-u #) for incremental backups on the command line. If you did then you need to restore the lowest level first, followed by the next lowest, etc. The lower the level - the more complete the backup - higher levels are incrementals.
Check to see if you have a /var/adm/fbackupfiles/dates file - if so you were using this scheme. Then track down the lowest level tape, restore it & work up the levels.

IF you need JetAdmin et.al. back quickly - you'll have to reinstall it.

You should probably check the /var/spool/cron/crontabs/root file to see just what fbackup command(s) you run & when. And do a man fbackup for further fbackup details - such as graph files (-g filename).

HTH,
Jeff
PERSEVERANCE -- Remember, whatever does not kill you only makes you stronger!
rmueller58
Valued Contributor

Re: problem creating que and hppi -s

We did a full backup using fbackup and restore with frecover..

rmueller58
Valued Contributor

Re: problem creating que and hppi -s

doing swinstall on the SD file again.. anyone think of any problems?

Jeff Schussele
Honored Contributor

Re: problem creating que and hppi -s

How are you trying to add - SAM?

Jeff
PERSEVERANCE -- Remember, whatever does not kill you only makes you stronger!
rmueller58
Valued Contributor

Re: problem creating que and hppi -s

reinstalled using swinstall..

tried adding printer.. but
interface file is not created..

rmueller58
Valued Contributor

Re: problem creating que and hppi -s

lp: destination "wstweshp5si" non-existent

The above error occurs..

rmueller58
Valued Contributor

Re: problem creating que and hppi -s

try to create using the
addqueue command as well. see below a script i've written..

::
addqueue -h 205.202.254.221 -q wstweshp5si -b off
lp -dwstweshp5si /tmp/test
Jeff Schussele
Honored Contributor

Re: problem creating que and hppi -s

Make sure you can resolve the hostname for the destination queue - either in the /etc/hosts file or thru DNS.

Jeff
PERSEVERANCE -- Remember, whatever does not kill you only makes you stronger!
rmueller58
Valued Contributor

Re: problem creating que and hppi -s

not using DNS using IP address... behind firewall..
Sandip Ghosh
Honored Contributor

Re: problem creating que and hppi -s

By any chance , if you have the print queue in another server you can transfer it to this server by the command transferqueue

Sandip
Good Luck!!!
MANOJ SRIVASTAVA
Honored Contributor

Re: problem creating que and hppi -s

Hi Rex

How does the server resolve the printer name wstweshp5si . Do a nslookup and may be u need to edit /etc/hosts with the IP and the name of the printer. Then try to ping it by name , once that goes through then may be you install the printer and get going.


Manoj Srivastava
rmueller58
Valued Contributor

Re: problem creating que and hppi -s

addqueue -h 205.202.254.221

the addqueue -h 205.202.254.221 command setups the PERIPHERAL variable in the interface file only

It "appears as though hppi and addqueue are not creating the file as they are suppose too..

Jeff Schussele
Honored Contributor
Solution

Re: problem creating que and hppi -s

Rex,

Can you telnet to the destination IP & inquire what the queue name is or if it exists?

Rgds,
Jeff
PERSEVERANCE -- Remember, whatever does not kill you only makes you stronger!
Jeff Schussele
Honored Contributor

Re: problem creating que and hppi -s

Rex,

Note that the IP must be reachable & the printer powered up as the addqueue will query the printer to determine the correct printer script.
You can use the -i param & specify the script & the printer will be added w/o a query.

See the following thread:

http://forums.itrc.hp.com/cm/QuestionAnswer/1,,0xaaa6e7e60861d511abcd0090277a778c,00.html

Here are other relevant threads:

http://forums.itrc.hp.com/cm/QuestionAnswer/1,,0x1c631012aa92d5118ff10090279cd0f9,00.html

http://forums.itrc.hp.com/cm/QuestionAnswer/1,,0xd2945220af9bd5118ff10090279cd0f9,00.html

HTH,
Jeff
PERSEVERANCE -- Remember, whatever does not kill you only makes you stronger!