Simpler Navigation coming for Servers and Operating Systems
Coming soon: a much simpler Servers and Operating Systems section of the Community. We will combine many of the older boards, and you won't have to click through so many levels to get at the information you need. If you are looking for an older board and do not find it, check the consolidated boards, as the posts are still there.
cancel
Showing results for 
Search instead for 
Did you mean: 

printing and PATH help

Steven Chen_1
Super Advisor

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
1 REPLY
Highlighted
Tim Malnati
Honored Contributor

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).