Sponsored Content
Operating Systems AIX mkitab problem with /etc/inittab respawning Post 302240417 by jeffpas on Thursday 25th of September 2008 06:09:23 PM
Old 09-25-2008
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 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.............
Smilie knock on wood
 

10 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

inittab solaris

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

Command is respawning too rapidly..message

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

HP-UX respawning boot failure

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 respawning too rapidly

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

inittab in Solaris 10

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

inittab entry does not works

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

What breaks inittab

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

problem to restart services from /etc/inittab in AIX6.1

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

Inittab configuration

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

Script calling by inittab

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
latsetup(8)						      System Manager's Manual						       latsetup(8)

NAME
latsetup - Local Area Transport (LAT) setup utility SYNOPSIS
/usr/sbin/latsetup [-nocurses] OPTIONS
Specifies that latsetup is run in noncurses and nonmenu-driven mode. Use this option if the terminal you are using does not support curses. Note that using the latsetup command with the -nocurses option provides limited functionality. DESCRIPTION
The latsetup command provides an interactive, menu-driven facility for administrating LAT on your system. (For introductory information on LAT, see the lat_intro(7) reference page.) To use latsetup, LAT must be built into the running kernel, your system must be at run level 3 or 4, and you must be logged in as supe- ruser. For more information, see the Network Administration manual. Note Running multiple latsetup processes concurrently on the same machine can cause erroneous information to be presented to the latsetup user and can corrupt the /etc/inittab file. You can use the latsetup utility to perform the following tasks: Do initial LAT setup Create LAT device special files Add or delete getty entries to or from the /etc/inittab file Execute init q Start or stop the LAT driver Enable or disable LAT automatic startup and shutdown If LAT is not configured into the running kernel, latsetup only allows you to remove the LAT entries from the /etc/inittab file. If you enable LAT automatic startup and shutdown, the /sbin/init.d/lat script starts LAT upon reaching run level 3 and stops LAT upon leav- ing run level 3. To run latsetup, log in as superuser and enter the following command: # /usr/sbin/latsetup Note LAT is not supported over NetRAIN virtual interfaces or the adapters that compose NetRAIN sets. The latsetup utility does not allow you to configure LAT over these interfaces, and you should not attempt to do so manually. In the device creation phase, you choose to create SVR4-style or BSD-style devices. (For an explanation of the types of devices, see the Network Administration manual.) You should use SVR4-style devices; they allow a larger number of devices. If you create SVR4 devices using latsetup, and an SVR4 device was mapped as an application port and the device was removed, the port (or service) information remains associated with the minor number corresponding to the device that was removed. Therefore, when latsetup cre- ates more devices, it may create the device that was mapped as an application port (if the device name is within the range of SVR4 devices being created). The latsetup utility does not add a getty entry for the device in the /etc/inittab file. This device is not counted as a newly created SVR4 device, because it is already being used as an application port. If you delete SVR4 devices using latsetup, and an SVR4 device was mapped as an application port and has an associated getty entry in the inittab file, if the device name is within the range of SVR4 devices being removed, latsetup removes the associated getty entry in the /etc/inittab file. When removing SVR4 devices, latsetup does not remove the device, because it is mapped as an application port. This device is not counted as an SVR4 device that has been removed. Note The latsetup utility creates device names that directly correspond to minor numbers (for example, SVR4 device /dev/lat/620 corresponds to minor number 620). Customization After you run latsetup, you can customize your system's LAT environment by modifying the following files: /etc/inittab Edit the /etc/inittab file to add any LAT entries. For example, you can add an entry for the LAT/Telnet gateway. For more informa- tion refer to the guide to Network Administration and inittab(4). Note If you delete entries in the /etc/inittab file and then run latsetup to make other changes or deletions, latsetup might not be able to complete successfully. /etc/latstartup.conf Create and modify the /etc/latstartup.conf file to include latcp commands to customize your LAT system. This file is read by the /sbin/init.d/lat script, which executes the commands included in the file. For example, you can change the LAT node name or add additional service names. If your system is a member of a cluster, you must create this file as a Context-Dependent Symbolic Link (CDSL). See the System Administration guide for more information. For more information refer to the guide to Network Administration and latcp(8). FILES
Specifies the BSD LAT terminal devices. (Where W is a number from 0 to 9 and X is an alphanumeric character from 0 to 9, a lowercase a to z, or an uppercase A to Z.) LAT supports up to 620 BSD LAT terminal devices. Specifies the SVR4 LAT device special files. (Where n is a number starting at 620 and having no upper limit.) Specifies the LAT control device. Specifies the LAT startup and shutdown script. Specifies LAT customization commands. If your system is a member of a cluster, you must create this file as a Context-Dependent Symbolic Link (CDSL). See the System Administration guide for more information. Sets up the system database to automatically push the ldterm STREAMS module on top of the LAT STREAMS driver each time a LAT tty is opened. Controls the initialization process. Specifies the system configuration file. SEE ALSO
Commands: llogin(1), init(8), latcp(8), MAKEDEV(8), strsetup(8) Files: inittab(4) Introduction: lat_intro(7), lat_manual_setup(7) Network Administration latsetup(8)
All times are GMT -4. The time now is 04:34 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy