- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: Printing issue in HP-UX
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
01-02-2011 06:34 PM
01-02-2011 06:34 PM
Printing issue in HP-UX
root@hpv01:(root)> ll /var/spool/lp/*q
-rw-r----- 1 lp sapsys 470404 Nov 27 19:30 /var/spool/lp/origoutputq
-rw-r----- 1 lp lp 56772 Jan 3 13:30 /var/spool/lp/outputq
We raised few cases with HPRC, but they too helpless as there is no logs available, who, what and how it changed.
Any help, appreciated. This is production server.
Shibin
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-02-2011 07:14 PM
01-02-2011 07:14 PM
Re: Printing issue in HP-UX
BR,
Kapil+
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-02-2011 07:42 PM
01-02-2011 07:42 PM
Re: Printing issue in HP-UX
Shibin
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-02-2011 10:57 PM
01-02-2011 10:57 PM
Re: Printing issue in HP-UX
I recommend you to try HIDS (=Host intrusion detection systems) It might be useful to keep track of why this files' group changed.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-02-2011 11:03 PM
01-02-2011 11:03 PM
Re: Printing issue in HP-UX
Shibin
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-02-2011 11:19 PM
01-02-2011 11:19 PM
Re: Printing issue in HP-UX
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-03-2011 12:46 AM
01-03-2011 12:46 AM
Re: Printing issue in HP-UX
Shibin
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-03-2011 07:00 AM
01-03-2011 07:00 AM
Re: Printing issue in HP-UX
But that seems expensive for something that happened back in Nov.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-03-2011 07:40 AM
01-03-2011 07:40 AM
Re: Printing issue in HP-UX
Try changing perms to that to address our printing issues instead of trying to uncover the culprit (although it is possible a humn effected that change)
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-03-2011 08:17 AM
01-03-2011 08:17 AM
Re: Printing issue in HP-UX
Hmm. On one of my systems it has my GID there and the same permissions as Shibin's.
>although it is possible a human effected that change
Most likely. ;-)
Though in my case, all I could have done is print a file.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-03-2011 05:07 PM
01-03-2011 05:07 PM
Re: Printing issue in HP-UX
@ Dennis, that was just an example. It is still happening, even yesterday night too changed. I need to check, whether any auditing is on or not.
@ Alzhy. Permission is correct. As I mentioned earlier, there was a case opened with HP Response Center, escalated several time, but nothing came out to identify, how it changed, who changed etc.
Surprisingly, none of the history file have clue. I am thinking to write some script to sniff, whenever anybody issues chown command, to capture. Let me see, how can I make it.
Is there any ideas ?
Shibin
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-03-2011 05:25 PM
01-03-2011 05:25 PM
Re: Printing issue in HP-UX
file permission should be 644 and change the ownership to lp:lp as in below example.
-rw-r--r-- 1 lp lp 20916 Feb 9 2006 /var/spool/lp/outputq
Give a try .. good luck
Regards,
INH
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-03-2011 07:51 PM
01-03-2011 07:51 PM
Re: Printing issue in HP-UX
Shibin
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-04-2011 09:39 AM
01-04-2011 09:39 AM
Re: Printing issue in HP-UX
If it is not in a script, perhaps it is buried in a C compiled binary of something that works with lp, like a menu option in SAM.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-04-2011 07:40 PM
01-04-2011 07:40 PM
Re: Printing issue in HP-UX
Audit is not on in this system. I am afraid to turn it on.
As of today, permission looks ok. I will update, whenever I see any changes.
Shibin
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-04-2011 10:04 PM
01-04-2011 10:04 PM
Re: Printing issue in HP-UX
>Audit is not on in this system.
Only though auditing. Or possibly using tusc to trace lpsched.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-05-2011 12:25 AM
01-05-2011 12:25 AM
Re: Printing issue in HP-UX
Give a try for this when that chnage happening. Probably you may increase time if unsure about permission chnage time
Try and capture ps -efHx listing
$export UNIX95=1
$while true; do ps â efHx > /tmp/ps.`date -u +%d%h%m%H%M` ; sleep 60 ; done
HTH
Regards,
INH
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-05-2011 03:35 AM
01-05-2011 03:35 AM
Re: Printing issue in HP-UX
Shibin
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-05-2011 04:57 AM
01-05-2011 04:57 AM
Re: Printing issue in HP-UX
I'm only saying to run one command and forget about it:
grep -ilE "chown|chgrp" /etc/lp/interface/*
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-09-2011 06:52 PM
01-09-2011 06:52 PM
Re: Printing issue in HP-UX
We have print queue replication script running from our print server to all production / dev / test servers on Saturday and Sunday. Last Saturday, outputq permission (group) changed to sapsys after the replication. We changed it back to lp but on sunday, there was no issue after replication. So, it is like intermittent issue.
I will have to look at the script now. But it is surprising, only one host having issue and rest are ok.
@ Dennis, I think there is no tusc in the system. How to get it and how to use this ?
Shibin
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-09-2011 09:52 PM
01-09-2011 09:52 PM
Re: Printing issue in HP-UX
That sounds exactly like the broken script.
>there is no tusc in the system. How to get it and how to use this?
http://hpux.connect.org.uk/hppd/hpux/Sysadmin/tusc-8.0/
If you just want to log every syscall:
tusc -fp -ea -o tusc.out command-or-PID
You could just give it the PID of cron(1m) sometime before the script fires off.
If you don't want to log massive amounts of info, you can limit it to execv, exit, open, chown, chgrp syscalls. See the man page.