the attached perl script is a deamon that, once kicked off from the command line, it runs in the background and waits for the master server to tell it what plugins to run.
the script works well. but the problem is, whenever i start it, after about a few seconds of starting it, i start getting the following error messages:
This only seems to happen on RedHat Linux hosts. It doesn't happen on ubuntu, aix or hpux. just redhat. i have been trying desperately to debug this but i cant find the problem. any help will be greatly appreciated!
Are you seeing any output in /var/log/messages either related to SELinux blocking activity of your script/perl or any HORRAYD messages from the script that indicates what it was trying before the problem?
Are you seeing any output in /var/log/messages either related to SELinux blocking activity of your script/perl or any HORRAYD messages from the script that indicates what it was trying before the problem?
i'm not seeing anything error related in the /var/log/messages file. this is quite baffling.
I have added some code in my file.
I have created executable rpm file of our code and also I have created debuginfo and debugsource files and installed all three.
But when I debug in gdb I see the the code changes in soucre file. But the break point does not hit at that place as if it did not... (1 Reply)
Hi
i was going through the script debugging technique. below example was given in the book.
1 #!/bin/sh
2
3 Failed() {
4 if ; then
5 echo "Failed. Exiting." ; exit 1 ;
6 fi
7 echo "Done."
8 }
9
10 echo "Deleting old backups,... (11 Replies)
for security reasons I can not post any part of the script in question in this thread. i hope im not breaking any rules by not doing so.
but i have a perl script that i've been asked to turn on debugging on.
i didn't write this perl script and i have very very little knowledge of perl. so i... (3 Replies)
Note: Not a programmer by profession but occasionally have to program.
I am looking for general methods and freely/readily available tools employed to debug problems during development of perl scripts. Anything that has really helped you out with problems you just couldn't find.
A couple of... (5 Replies)
is there any way you can add a breakpoint in a script so you can stop on it?
i have used -xv in my shebang but the script just runs and i want it to stop at a specific point in the script.
appreciate any help. (1 Reply)
OS : SOLARIS 10
debug tool :$gdb -v
GNU gdb 6.6
compiler : $gcc -v
gcc version 2.95.3 20010315 (release)
When i tried to debug my application i got the following error.
$gdb Pal
GNU gdb 6.6
Copyright (C) 2006 Free Software Foundation, Inc.
This GDB was... (2 Replies)
Hi all,
Am working on a script to understand the flow control of it..
Since i am from a C background i looking out for an easy way to analyze the script as it runs ..
In C/C++ we have F7 that starts execution from main() and proceeds accordingly..
I was wondering if there is a same approach... (2 Replies)
in the header file orville.h, outside of the #ifdef #endif , there is the following
#define JOB_CONTROL /* support job-control */
As you can see, the JOB_CONTROL macro has no value associated with it. Here is what I go when I ran grep on the entire source code.
$ grep -iR... (6 Replies)
Virtually no UNIX admin experience. Any admin duties are shared by several folks with no special training. Today we had our Sun v880 server, running Solaris 5.8, shutdown for no apparent reason.
When we checked on server we found it completely powered down, yet still connected to a fully... (6 Replies)