- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: lpstat problem
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
09-15-2005 03:56 AM
09-15-2005 03:56 AM
lpstat problem
When I execute the lpstat command i receive this error message 'execlp failed'.
This occur after changing the ip address of the JetDirect Print Server.
How can I fixe this problem.
thanks
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-15-2005 04:05 AM
09-15-2005 04:05 AM
Re: lpstat problem
You need to update the IP for the printer and the hosts file.
The printer config stores under
/etc/lp/interface/PRT_NAME
or
/etc/lp/interface/model.orig/
After updating the IP , try pinging the IP.
Enable the printer if its disabled.
# enable PRT_NAME
Hope you can see lpstat after that,
Cheers,
Raj.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-15-2005 04:31 AM
09-15-2005 04:31 AM
Re: lpstat problem
I think the simplest way is to change your printer setting using SAM:
1)run "sam"
2)"printers and plotters"->"lp spooler"->"printers and plotters"
Then remove the old and create a new one with the different IP address, then restart the scheduler.
Rgds,
Alex
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-15-2005 05:10 AM
09-15-2005 05:10 AM
Re: lpstat problem
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-15-2005 09:37 AM
09-15-2005 09:37 AM
Re: lpstat problem
$ lpstat
$ echo $?
Hope you are getting -1 ,
check
1.# ls -l /usr/sbin/lpstat
-r-sr-xr-x 1 lp bin 45056 Jul 22 2003 lpstat
2. /usr/lp/interface/
-rwxr-xr-x 1 lp lp 5256 Apr 24 2003 NEWPRT
Check all related file permissions and modes.
Cheers,
Raj.