Re: printing and PATH help (54 Views)
Reply
Super Advisor
Steven Chen_1
Posts: 432
Registered: ‎10-18-1999
Message 1 of 2 (54 Views)

printing and PATH help

Hi,

I have posted a message for an Oracle8 user can't use lp to print a file, but can do so by providing a full path.

I look at the $PATH, can't find problem on why. In the meanwhile, I have hpnp core dump periodically and my posting message has not got any attention from HP guru for a month. By echo $PATH, I find sth may be wrong. I would list it for you to inspect and help me to solve two problems: 1) lp must use path; 2) hpnp path has // instead of / (how can I fix it?).

Here is the PATH:
--------------------
/disk8/oracle8/app/oracle/product/8.0.6/bin:/usr/local/bin:/usr/sbin:/usr/bin:/u
sr/ccs/bin:/usr/contrib/bin:/opt/nettladm/bin:/opt/pd/bin:/opt/upgrade/bin:/usr/
bin/X11:/usr/contrib/bin/X11:/opt/hparray/bin:/opt/pred/bin:/opt/hpnp//bin:/opt/
perf/bin:/sbin:/home/root

--------------------

Please note: /op/hpnp//bin:, it got to be one /. It is from HP when they installed OS for us two years ago and core dump occured HP cannot find what is wrong. The matter now is how I can fix it.

Please help.

Very appreciated.

Steven
Steve
Please use plain text.
Honored Contributor
Tim Malnati
Posts: 694
Registered: ‎03-24-1997
Message 2 of 2 (54 Views)

Re: printing and PATH help

On an HPUX machine the system path is defined in /etc/PATH. I reported this // issue to HP quite some time ago (about 2 years) and I'm not sure if the latest JetAdmin software fixes it. At the time I was told that it really does not impact anything, but I went ahead and made // to / in /etc/PATH and /etc/MANPATH just to make sure. You are probably running on an ancient version so I would suggest upgrading it. The best source is http://productfinder2.support.hp.com/servlet/FindIt?s=x&t=hp&q=jetadmin If you do upgrade, make sure that the new version does not doubly define the jetadmin related directories in PATH and MANPATH (another common problem, remove the duplicate if necessary).
Please use plain text.
The opinions expressed above are the personal opinions of the authors, not of HP. By using this site, you accept the Terms of Use and Rules of Participation