09-25-2008
Quote:
Originally Posted by
jeffpas
[...]
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 or die "Can't start a new session: $!";
Then I recreated the SRC trigger, started the resource and there is now only one instance of the daemon running.
The SRC "dprdaemon" also now shows as 'active'.
When I kill the dprdaemon process, it automatically restarts.
And, the program appears to be working also.
I think we have a solution here.............
knock on wood
Congratulations ;-)
10 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
Hi!
Is it possible to add more ttys in Solaris, like with inittab in Linux? I want to switch between the ttys with Alt F1+F2+F3 .... like Linux does.
How can i do this? (1 Reply)
Discussion started by: donald1111
1 Replies
2. UNIX for Dummies Questions & Answers
Ran into a new one today at work......
I was told to start 2 servers which were shut down due to a power outage(I don't believe they were shut down incorrectly).
After fsck, both console logins appear with the message:
INIT: Command is respawning too rapidly. Check for possible errors.
>... (5 Replies)
Discussion started by: finster
5 Replies
3. UNIX for Dummies Questions & Answers
Hello.
System is a HP Visualize C3600 running X11 and after a power failure machine will not boot (see error messages below)
From what I've read, this may be caused by a corrupted etc/inittab file. Solution suggested on other websites is to boot in single user mode and edit file inittab... (2 Replies)
Discussion started by: westcoast
2 Replies
4. HP-UX
INIT:Command is respawning too rapidly
Check for errors:
id:cons /usr/sbin/getty console console
A solution I read about in a different HPUX Forums help pages on line, said to add the -h option to this command in the /etc/inittab file to correct the problem.
I tried this and it did not... (2 Replies)
Discussion started by: 1bigdog
2 Replies
5. Solaris
Hi,
In Solaris 9 and below release we are using the rc script in inittab. I don't have much idea abt inittab in Solaris.
In Solris 9 and below:
We use rc3 script to start up the server. And we run database script before the rc3.
os:23:respawn:/etc/init.d/database start >/dev/null 2>&1... (7 Replies)
Discussion started by: kalpeer
7 Replies
6. Solaris
Hi,
I have a solaris 10 server,which has a process running that communicates with other system.I have made following entry in the inittab file.
PM15:s12345:respawn:/ncm/bin/communicator
PM15 : Unique process ID
s12345 : run levels
respawn : if anytime the process... (2 Replies)
Discussion started by: asalman.qazi
2 Replies
7. UNIX for Dummies Questions & Answers
Today there was a situation where processes running from inittab was broken. Can someone help me understand, how to find out, who might have stopped those processes? Or how does it get broken?
G (2 Replies)
Discussion started by: ggayathri
2 Replies
8. AIX
hello,
i have an AIX6.1.7.2 machine that it was upgraded recently from AIX5.3.9.4.
when i kill system services that should restart automatically like /usr/sbin/cron it doesnt start.
i checked my /etc/inittab file and i confirmed that this service is in respawn status so when i kill this process... (2 Replies)
Discussion started by: omonoiatis9
2 Replies
9. UNIX for Dummies Questions & Answers
I am installing BusyBox on a device that does not have keyboard or serial connection, so I log into the system with SSH. I am in doubt about what to put in the inittab file. This is the content of the file:
::sysinit:/etc/init.d/rcS
::respawn:/bin/login
::shutdown:/sbin/swapoff -a... (1 Reply)
Discussion started by: richard78
1 Replies
10. Shell Programming and Scripting
Hi to all ,
i wrote a small script and i add it to inittab to start the script during Startup. The script works fine , if i call it from the prompt but if it is call from inittab it is runnng too but it does not recognize system variable like USER , LOGNAME.
Since i running out of ideas i... (12 Replies)
Discussion started by: Nadielosabra
12 Replies
UUIDD(8) System Administration UUIDD(8)
NAME
uuidd - UUID generation daemon
SYNOPSIS
uuidd [options]
DESCRIPTION
The uuidd daemon is used by the UUID library to generate universally unique identifiers (UUIDs), especially time-based UUIDs, in a secure
and guaranteed-unique fashion, even in the face of large numbers of threads running on different CPUs trying to grab UUIDs.
OPTIONS
-d, --debug
Run uuidd in debugging mode. This prevents uuidd from running as a daemon.
-F, --no-fork
Do not daemonize using a double-fork.
-k, --kill
If currently a uuidd daemon is running, kill it.
-n, --uuids number
When issuing a test request to a running uuidd, request a bulk response of number UUIDs.
-P, --no-pid
Do not create a pid file.
-p, --pid path
Specify the pathname where the pid file should be written. By default, the pid file is written to /run/uuidd/uuidd.pid.
-q, --quiet
Suppress some failure messages.
-r, --random
Test uuidd by trying to connect to a running uuidd daemon and request it to return a random-based UUID.
-S, --socket-activation
Do not create a socket but instead expect it to be provided by the calling process. This implies --no-fork and --no-pid. This
option is intended to be used only with systemd(1). It needs to be enabled with a configure option.
-s, --socket path
Make uuidd use this pathname for the unix-domain socket. By default, the pathname used is /run/uuidd/request. This option is pri-
marily for debugging purposes, since the pathname is hard-coded in the libuuid library.
-T, --timeout number
Make uuidd exit after number seconds of inactivity.
-t, --time
Test uuidd by trying to connect to a running uuidd daemon and request it to return a time-based UUID.
-V, --version
Output version information and exit.
-h, --help
Display help screen and exit.
EXAMPLE
Start up a daemon, print 42 random keys, and then stop the daemon:
uuidd -p /tmp/uuidd.pid -s /tmp/uuidd.socket
uuidd -d -r -n 42 -s /tmp/uuidd.socket
uuidd -d -k -s /tmp/uuidd.socket
AUTHOR
The uuidd daemon was written by Theodore Ts'o <tytso@mit.edu>.
SEE ALSO
uuid(3), uuidgen(1)
AVAILABILITY
The uuidd daemon is part of the util-linux package and is available from the Linux Kernel Archive <https://www.kernel.org/pub/linux/utils
/util-linux/>.
util-linux July 2014 UUIDD(8)