- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- lp device /dev/null on 11i
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
03-05-2003 03:54 AM
03-05-2003 03:54 AM
lp device /dev/null on 11i
Have I configured my system incorrectly or has there been a change?
Regards,
John.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-05-2003 04:00 AM
03-05-2003 04:00 AM
Re: lp device /dev/null on 11i
Check that /dev/null has the correct major/minor number, permissions, owner, group:
# ll /dev/null
crw-rw-rw- 1 bin bin 3 0x000002 Mar 5 01:11 /dev/null
Cheryl
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-05-2003 04:07 AM
03-05-2003 04:07 AM
Re: lp device /dev/null on 11i
It works on my 11i
printer with non standard device file.
How do you do it
steve Steel
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-05-2003 04:24 AM
03-05-2003 04:24 AM
Re: lp device /dev/null on 11i
Cheryl, /dev/null is correct.
Seve, I use the same method to add the printer.
This is the error I get from sam :-
Lp destination "visbsh3" does not exist on ptihp2.
The printer is still created but won't accept requests. When I try to tell it to accept requests I get the following entries in the log file:-
FIFO: Mar 5 12:20 n
Regards,
John.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-05-2003 04:34 AM
03-05-2003 04:34 AM
Re: lp device /dev/null on 11i
Use lpadmin -xprinter
to remove it and then try again to make it.
Steve Steel
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-05-2003 04:44 AM
03-05-2003 04:44 AM
Re: lp device /dev/null on 11i
chmod 644 /etc/lp/member/printer
chown lp:lp /etc/lp/member/printer
chmod 755 /var/spool/lp/request/printer
chown lp:lp /var/spool/lp/request/printer
chmod 755 /etc/lp/interface/printer
chown lp:bin /etc/lp/interface/printer
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-05-2003 05:12 AM
03-05-2003 05:12 AM
Re: lp device /dev/null on 11i
crw-rw-rw- 1 bin bin 3 0x000002 Mar 5 07:57 /dev/null
Someone logged in as root may have accidently removed this device file and then run a script or program that wrote to it. This action would create a standard file rather than the required device file (and will begin to occupy a lot of space in /dev).
Bill Hassell, sysadmin
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-05-2003 05:36 AM
03-05-2003 05:36 AM
Re: lp device /dev/null on 11i
I have checked the permisions and then removed and added the printer but this makes no difference.
The errors are still the same.
John.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-05-2003 05:43 AM
03-05-2003 05:43 AM
Re: lp device /dev/null on 11i
lpshut
lpsched -v
try printing
then
disable printer
reject printer
accept printer
enable printer
print again
Post the contents of /var/adm/lp/log and the output of lpadmin -t
Steve Steel
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-05-2003 05:52 AM
03-05-2003 05:52 AM
Re: lp device /dev/null on 11i
of course lpstat -t
I have still no problems so it could be permissions.
Run the added script
steve Steel
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-05-2003 05:53 AM
03-05-2003 05:53 AM
Re: lp device /dev/null on 11i
of course lpstat -t
I have still no problems so it could be permissions.
Run the added script
steve Steel
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-05-2003 06:21 AM
03-05-2003 06:21 AM
Re: lp device /dev/null on 11i
John.
***** LP LOG: Mar 5 14:13 *****
FIFO: Mar 5 14:13 d email
FIFO: Mar 5 14:14 e email
FIFO: Mar 5 14:14 r email 7 root ptihp2 0
email-7 root email Mar 5 14:14
CHILD: Mar 5 14:14 email 7 0000
FIFO: Mar 5 14:14 m email -1
FIFO: Mar 5 14:14 r email 8 fngj ptihp2 0
email-8 fngj email Mar 5 14:14
CHILD: Mar 5 14:14 email 8 0000
FIFO: Mar 5 14:14 m email -1
FIFO: Mar 5 14:15 n
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-05-2003 06:32 AM
03-05-2003 06:32 AM
Re: lp device /dev/null on 11i
Looks perfect to me.
What do you expect it to do
steve steel
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-05-2003 07:44 AM
03-05-2003 07:44 AM
Re: lp device /dev/null on 11i
I found 2 differences on file permisions and I changed them to match your script.
/var was 555 now 755 and
/var/spool was 555 now 755
owner was bin now root
group was bin now sys
This did not make any difference.
I should point out that this is a clean install and no users have had access to the system yet.
also
The accept command works from the command line but does not work from SAM.
Regards,
John.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-05-2003 08:10 AM
03-05-2003 08:10 AM
Re: lp device /dev/null on 11i
What do I expect?
Main use is:- our ERP system sets up 4 batch queues in a class called VISBSH and uses this to execute offline jobs (not more that 4 at a time).
My second use is:- Using print queue email users can set a job to run and print and receive the output in their e-mail when it completes.
John.