- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- User Defined Signal 1
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
Discussions
Discussions
Discussions
Forums
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
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-27-2005 12:14 PM
тАО02-27-2005 12:14 PM
Anyone has faced this error ? what is this , I get this error for some of my backup sessions which runs thru a scheduler.
They fail with RC158 : User Defined Signal 1
Regds,
Kaps
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-27-2005 08:37 PM
тАО02-27-2005 08:37 PM
Re: User Defined Signal 1
kill -16 pid
Or
kill -USR1 pid
I suspect the scheduler is sending the signal, perhaps it means something to the scheduler, but the backup session doesn't understand it (i.e. trap it) , so it fails.
I've seen SIGUSR1 and SIGUSR2 used for raising/lowering logging levels for example.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-28-2005 01:37 PM
тАО02-28-2005 01:37 PM
Re: User Defined Signal 1
Regds, Kaps
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-28-2005 02:02 PM
тАО02-28-2005 02:02 PM
Re: User Defined Signal 1
Bill Hassell, sysadmin
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-28-2005 02:47 PM
тАО02-28-2005 02:47 PM
Re: User Defined Signal 1
But when I tried on one of my shell scripts ( I use Ksh in aix)
while true
do
echo kaps
sleep 10
done
IT Failed with "User Defined Signal 1 " , Any idea how I can trap this signal in my shell scripts ?.
The backup program is driven by a shell script .
Regds,
Kaps
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-28-2005 03:17 PM
тАО02-28-2005 03:17 PM
Solution- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-28-2005 03:52 PM
тАО02-28-2005 03:52 PM
Re: User Defined Signal 1
Infact I just read the following page and did it already
http://www.cons.org/cracauer/bourneshell.html
Regds,
Kapil
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-28-2005 03:54 PM
тАО02-28-2005 03:54 PM
Re: User Defined Signal 1
Regds,
Kapil
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-28-2005 04:00 PM
тАО02-28-2005 04:00 PM
Re: User Defined Signal 1
While you are at it, you might want to trap
SIGUSR2 too. Both SIGUSR1 and 2 serve exactly
same purpose, i.e user defined signals for use
when a process wants to send a signal to another
(or same) process for an event. The default
behaviour of a process when it receives SIGUSR1
and 2 is to terminate itself unless the process has
a handle for the signals.
Also you might want to findout the origin of the
signal because, as A. Clay Stephenson said, it is
not coming out of blue.
- Biswajit
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-28-2005 04:14 PM
тАО02-28-2005 04:14 PM
Re: User Defined Signal 1
Infact the scene here is quite complex to investigate ..
For backup job, we have a scheduler ==> sysadmin script === > oracle script , the oracle script put each tblspace to hot-backup mode and then use sudo to issue the backup process for the datafiles .. Even sudo has a covering script.
Now I need to find who in this chain is likely to issue a USR1. I think it might be the scheduler as rest are all shell scripts which we or the dba's have written.
Regds,
Kapil
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-01-2005 04:58 AM
тАО03-01-2005 04:58 AM
Re: User Defined Signal 1
Kaps