when I execute a script on unix AIX, I've got an error message:
"Execution[56]: 85328 Signal d'alarme".
If I edit this file with "vi", I ve got the same error after a while (about 1 minute).
If I try with another user I still have the problem.
But if I rename this file, no problem.
My file is called asscron.ksh and it is in the crontab in order to be executed every day at 17H00.
The error message means that the process received SIGALRM, which is like an alarm clock ringing, saying 'wake up'.
Apparently the asccron.ksh script does not handle signals.
Since you get the same error when you are in vi, it looks like there is another process that is running as a daemon or maybe a detached process that looks for 'asscron' or some very similar file name, then sends a SIGALRM to the process that has the file.
Does the asscron.ksh script create another process?
Edit:
will stop the process from crashing, if it's added near the top of the script. But you still need to find out what is sending signal.
Last edited by jim mcnamara; 09-07-2004 at 12:05 PM..
In fact, this script call a C program.
But what i forgot to say is that, the unix server crash very badly just at the time when the script should have been launched via the cron. then after restart of the server we systematically have the message on the script. (with vi, find, more , ...)
Is there something wrong with the system, which try to say 'hey you forgot to launch the script' and each time we try to access the file an alamr message is generated ??
Ok , this thread is over.
There was a lock on this script due to the crash, and the server was sharing disk multibaye with another server and on the reboot something didn't work fine. So the lock was on the other server and every time we wanted to access the script an alarm message appeared.
So after deleting locks on the other server and reboot the server everything is fine.
Hi All,
I am monitoring batch Processes running in UNIX environment.
I use PuTTy to monitor the process running.
I have to continuously monitor and look on the screen if some error has come or not.
If an error comes FAILURE word is displayed instead of SUCCESS as shown below on the... (2 Replies)
I'm writing a function right now, and I want to set an alarm to avoid a timeout, here's the general idea of my code:
int amt = -2;
alarm(10);
amt = read(fd, &t->buf, TASKBUFSIZ - tailpos); //do a read
when the alarm goes off, i want to check the value of "amt"
... (1 Reply)
Hi members, I am working in WebSphere in Unix environment. we are working with 500 odd servers and most of the times processes got down. Can i have any shell script through whih some popup with alarm get raised whenever some server get down. kindly help.. Thanks Rishi (1 Reply)
Hey,
I want to ask a simple Question....
How would I be able to come to know that files/directoires in a Parent directory has been accessed (means contents of the file has been just viewed) by the user(s) in a group ? and mail the name(s) of those files/directories which has been accessed... (16 Replies)
Hey,
I want to ask a simple Question....
How would I be able to come to know that files/directoires in a Parent directory has been accessed (means contents of the file has been just viewed) by the user(s) in a group ? and mail the name(s) of those files/directories which has been accessed... (1 Reply)
I am trying to write a program that will;
1) Show the message "Snoozing now...zzzz" on the screen for 5 seconds
2) Then in the same position show the message "The ALARM is going off now!" for 5 seconds
3) Repeat 1) then 2) infinitely until user presses Ctrl C
I can't make it work. Any hints... (17 Replies)
I am trying to write a signal to exit when a process times out. What I have come up with from poking around the web is this.
#!/usr/bin/perl
eval {
local $SIG{ALRM} = sub { die "alarm clock restart" };
alarm 10;
open(DSMADMC, "dsmadmc -se=tsmpc1 -id=XXXXX... (2 Replies)
Hello
I have a server HP ES40 with unix 5.1B, and if i open from Start-Programs-IN Tools-GUI/pfmalarm/Alarm-start monitoring , I receive this error message "IOR : STRING IS TOO LONG ! MAXIMUM SIZE = 1024"
Anybody heard about this error?
Thanks
Alin (0 Replies)