- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: lp errors
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Forums
Discussions
Discussions
Discussions
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-09-2000 09:40 PM
02-09-2000 09:40 PM
lp errors
mauhp2 35: lp -d maulj01 test.txt (print command)
lp: can't access file "/test.txt" (results)
This happens to all my users when tryint to lp from the csh. root does not
have this problem. Anybody know what causes it? It's been happening since the
last dps patch I installed two weeks ago.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-09-2000 10:29 PM
02-09-2000 10:29 PM
Re: lp errors
do non-root users have permission to read the file (which is sitting in the
root ( / ) directory ?)
for all the users to see and print this file, users must be able to read in
that directory. I would move the test file to /tmp and open up the permissions.
Good Luck!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-09-2000 11:12 PM
02-09-2000 11:12 PM
Re: lp errors
I remember that some time ago, I had also problems printing with lp in a DPS
environment. I'm not sure it was the same problem, but to solve it, I had to do
the following :
#cd /opt/pd/lbin
#chmod 4555 pdlp
#chown root:sys pdlp
That's all ! Hope it will help.
-Paul
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-09-2000 11:58 PM
02-09-2000 11:58 PM
Re: lp errors
Changing the permissions did not fix the problem. Any other ideas?
Robert,
-rw-rw-rw- 1 jmickens users 24 Jul 14 1998 test.txt
The file is in my user directory (/home/jmickens), not the root directory.
That appears to be part of the problem. Even though the file is in my user
directory, it appears the command is trying to find it in the root directory.
All,
I just tried something else, and that was to enter the command with the full
path of the test.txt file. It printed with no problems (from my user
account). If I am in the directory with the file and try to print it without
the full path, I get the error. The root account is able to print either way.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-10-2000 04:34 AM
02-10-2000 04:34 AM
Re: lp errors
-al|more and look at the permissions of the file .
The client will require read access to print.
try typing chmod o+r /test.txt then try printing again.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-10-2000 05:20 AM
02-10-2000 05:20 AM
Re: lp errors
The permissions on the file are fine. See my response to Paul.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-10-2000 08:08 PM
02-10-2000 08:08 PM
Re: lp errors
It looks to me like a PATH problem.
Because you are able to print fine when the full path is specified, I really
don't think its related to the DPS patch. Look for other changes that might
have occured about the same time(if you didn't have to specify path before). It
almost looks like the current directory is not in your PATH, but it is in
root's, which is unusual.
Please post any resolutions you find in this matter.
Good Luck!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-10-2000 09:08 PM
02-10-2000 09:08 PM
Re: lp errors
user's accounts that the problem is occurring. None of the centralized scripts
set up for user logins have changed since November, and the problem started
right after the patches were installed.
I agree, it's very unusual. The current directory (.) is in the path for the
users accounts, but not for root.