AIX 6.1 rogue process starts at boot up


 
Thread Tools Search this Thread
Operating Systems AIX AIX 6.1 rogue process starts at boot up
# 1  
Old 09-29-2010
AIX 6.1 rogue process starts at boot up

We are having a bit of trouble finding where the following process is being started from at bootup.
Code:
/opt/IBM/tdsV6.2db2/itma/aix526/ud/bin/kuddb2 db2tds

We have looked in the typical areas /etc/inittab & /etc/rc.d but have had no luck finding it, any ideas?
# 2  
Old 09-29-2010
Did you also check the contents of the scripts being called from inittab and rc.d?
# 3  
Old 09-29-2010
Yes, we thoroughly checked them both, we did discover the following in inittab which looks to be related and that we commented out:
Code:
:ids0:2345:once:/opt/IBM/ldap/V6.2/sbin/ibmdiradm -I db2tds > /dev/null 2>&1 #Autostart IBM LDAP Admin Daemon Instance

However the process is still starting after a reboot which has us wondering if there could be anywhere else or something new in 6.1 were it can start from?
# 4  
Old 09-29-2010
I sadly have no comparative installation to test, but how did you comment it out? You did not comment it out with a #? This doesn't work in inittab. Best set it from ":once:" to ":off:".

---------- Post updated at 04:53 PM ---------- Previous update was at 04:47 PM ----------

Just a guess - it could also be a subsystem or a subserver:
Code:
lssrc -a| grep db2tds

If totally desperate you could also check if there is any other file in /etc containing this which might be called at startup like rc.tcpip and so on (usually not but just as an idea).
# 5  
Old 09-29-2010
We commented it out with a
Code:
:

and I did change
Code:
:once:

to
Code:
:off:

per your suggestion. Nothing returned from the lssrc command either.

I do see some files in /etc that I will look into and post any findings.
# 6  
Old 09-30-2010
/etc/inittab is correctly modified in AIX with the commands

"mkitab" (create inittab entry) and
"rmitab" (remove inittab entry) and
"chitab" (change inittab entry)

Read either man page before using one of these. Only root is allowed to sue any of these, of course.

I hope this helps.

bakunin

(PS: Software you could see running with "lssrc" have to be declared as subsystems/subservers and are controlled by the "System Resource Controller". You can create/delete/modify system resources with the commands "mkssys"/"rmssys"/"chssys". I suggest reading the man pages for these commands too. SRC items are completely separated from inittab items, though.)
# 7  
Old 09-30-2010
Btw: What PPID does db2tds have? If not 1, maybe check if there is another process still running that might have called it.
Login or Register to Ask a Question

Previous Thread | Next Thread

9 More Discussions You Might Find Interesting

1. Shell Programming and Scripting

Need to write a shell script that starts one, then kills it, then starts another?

This is on a CentOS box, I have two scripts that need to run in order. I want to write a shell script that calls the first script, lets it run and then terminates it after a certain number of hours (that I specify of course), and then calls the second script (they can't run simultaneously) which... (3 Replies)
Discussion started by: btramer
3 Replies

2. Solaris

Trying to understand the boot process

I understand the OBP program looks for the boot-device, loads the bootblk (located on physical disk sectors 1 through 15). Then the secondary boot program, /platform/`arch -k`/ufsboot is run. This program loads the kernel core image files (genunix and unix). So how does it uses the ufsboot and... (1 Reply)
Discussion started by: MR.bean
1 Replies

3. AIX

How to start monitoring with truss before a process starts

Hi guys, Is there some way to monitor a process but previously starting truss like this? truss ls & ls Thanks in advance. (1 Reply)
Discussion started by: edgarvm
1 Replies

4. Programming

Parent process starts before the child using signal, in C

Hi, i want that the parent process start before the child, this code doesn't work, if the child start before the parent it wait for signal, then the father send the signal SIGALRM and the child catch it and call printf; else the father call printf and send the signal to the child that call its... (1 Reply)
Discussion started by: blob84
1 Replies

5. Shell Programming and Scripting

Killing a process within 5 min it starts in Unix using perl

Hi All, I have to kill a program whose pid, i will be getting. Multiple processes will be getting started by my script of same kind in a series. So for after each call to a process i need to write a command or script which can kill the process if it takes more than 5min. In this i will... (3 Replies)
Discussion started by: nishank.jain
3 Replies

6. UNIX for Dummies Questions & Answers

Finding a rogue process

Afternoon all, hopefully someone can give me a hand with this (the following may be explained very poorly :rolleyes: ) I know there's a process running on one of our Solaris 10 boxes that runs approximately every 5 minutes. Unfortunately I've no idea, who owns it, what it is called, or how it is... (2 Replies)
Discussion started by: dlam
2 Replies

7. AIX

boot process stuck on "Welcome to AIX" banner

Good afternoon, I'm currently working on an IBM 9110-510, with an AIX 6.1 on it. Currently, I've put an HyperTerminal on the machine vty0. Folowing the procedure given by a support guy(§details), I'm able to get to the AIX banner ... (6 Replies)
Discussion started by: nilleb
6 Replies

8. AIX

AIX hangs through the boot process

To All: I have this AIX machine (see boot process below). The problem was it hangs at: The ctrmc Subsystem has been started. Subsystem PID is 11906.. I checked with other forums but their advise were just "strong punches in the air" with no specific explanation. I really appreciate if... (6 Replies)
Discussion started by: aix_xia
6 Replies

9. UNIX for Advanced & Expert Users

MALLOC_MEM_ALLOC during boot process

I have COMPAQ DS 20 SERVER, During The Boot Process, There is an ERROR MESSAGE : malloc_mem_alloc : no space in map. AND the system can't boot , And i can't do anything. The server display : malloc_mem_alloc and the unique thing i can di is to restart the server with i/o buttom. HELP ME... (1 Reply)
Discussion started by: kamel267
1 Replies
Login or Register to Ask a Question