Search Results

Search: Posts Made By: jeffpas
Forum: AIX 09-25-2008
23,500
Posted By jeffpas
ALLLLRIGHT.......... I got bold and...
ALLLLRIGHT..........

I got bold and commented out these lines in the daemon script:

##defined (my $pid = fork) or die "Can't fork: $!";
##exit if $pid;
##setsid ...
Forum: AIX 09-25-2008
23,500
Posted By jeffpas
Yes all that is well and good and I agree. I was...
Yes all that is well and good and I agree. I was the one who proposed cron in the first place. But this company wants something that runs 'continuously'.
I won a compromise by creating a daemon...
Forum: AIX 09-25-2008
23,500
Posted By jeffpas
I wonder if this has something to do with the...
I wonder if this has something to do with the fact that the dprdaemon program runs in the background (using 'fork').

I have found this page:

FGA: Mistakes to avoid when designing Unix dmon...
Forum: AIX 09-25-2008
23,500
Posted By jeffpas
shockneck: SRCsubsys: ...
shockneck:


SRCsubsys:
subsysname = "dprdaemon"
synonym = ""
cmdargs = ""
path = "/dplogs/dpr/dpr_daemon"
uid = 0
auditid = 0
...
Forum: AIX 09-25-2008
23,500
Posted By jeffpas
Okay I created the dprdaemon subsystem with this...
Okay I created the dprdaemon subsystem with this command:

mkssys -p /dplogs/dpr_daemon -s dprdaemon -u 0 -a "-D" -e /dev/null -i /dev/null -o /dev/null -R -S -Q -f 9 -n 15

I specifically put in...
Forum: AIX 09-23-2008
23,500
Posted By jeffpas
Does anyone else agree with my mkssys solution? ...
Does anyone else agree with my mkssys solution?

:confused:
Forum: AIX 09-22-2008
23,500
Posted By jeffpas
Pederabo Just clarifying- So you are...
Pederabo
Just clarifying-

So you are agreeing with Shockneck and saying that using the SRC would handle this problem better than an /etc/inittab entry, which is what I did at first?

You agree...
Forum: AIX 09-22-2008
23,500
Posted By jeffpas
I would have to assume then that the command for...
I would have to assume then that the command for doing this (in my instance) would be:

mkssys -p /dplogs/dpr_daemon -s dprdaemon -u 0 -a "-D" -e /dev/null -i /dev/null -o /dev/null -R -S -f 9 -n...
Forum: AIX 07-22-2008
23,500
Posted By jeffpas
Someone mentioned that perhaps since this program...
Someone mentioned that perhaps since this program runs in the background, that inittab thinks the program has ended and keeps respawning again and again.

But I don't know how to write a daemon...
Forum: AIX 07-21-2008
23,500
Posted By jeffpas
mkitab problem with /etc/inittab respawning
Hi All,

May be a dumb question to old AIX hacks, if so apologize.
I have worked with /etc/inittab on SCO, but apparently with AIX you should use the 'mkitab' command to add entries instead of...
Showing results 1 to 10 of 10

 
All times are GMT -4. The time now is 05:36 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy