Visit Our UNIX and Linux User Community


Multiple pconsole processes spawning indefinetly


 
Thread Tools Search this Thread
Operating Systems AIX Multiple pconsole processes spawning indefinetly
# 1  
Old 03-22-2013
Multiple pconsole processes spawning indefinetly

Good night everyone, I've been trying to make AD authentication work with RBAC and I think I messed my test LPAR up.

I've manually modified the /etc/security/user.roles file, adding a role to one of my AD users (who is not defined locally) and then runned setkst. It worked fine, but now I found that there is an issue with pconsole (IBM Systems Director Console). It keeps spawning processes until it fills up the memory, the only solution I've found so far is to disable the pconsole services. A ps -ef looks like this, any ideas on what to do or where to look? I've already tried manually editing the /etc/security/user.roles file and running setkst again, but it doesn't fix the problem Smilie.

Code:
     UID      PID     PPID   C    STIME    TTY  TIME CMD
    root        1        0   0 15:25:27      -  0:00 /etc/init
    root  1966284        1   0 15:25:47      -  0:00 /usr/sbin/syncd 60
    root  2097370  4194460   0 15:25:59      -  0:00 /usr/sbin/syslogd -R
    root  2162832        1   0 15:26:03      -  0:00 [cimserve]
    root  2228402  4194460   0 15:25:55      -  0:00 /opt/freeware/cimom/pegasus/bin/cimssys platform_agent
    root  2293998  4194460   0 15:26:46      -  0:00 /usr/sbin/rsct/bin/rmcd -a IBM.LPCommands -r
    root  2359428        1   0 15:25:55      -  0:00 ./slp_srvreg -D
    root  2424966        1   0 15:25:59      -  0:00 /usr/sbin/secldapclntd
    root  2490448        1   0 15:25:36      -  0:00 /usr/ccs/bin/shlap64
    root  2621578        1   0 15:25:48      -  0:00 /usr/lib/errdemon
pconsole  2818228  4587562   0 15:39:30      -  0:00 /bin/ksh /pconsole/lwi/bin/lwistart_src.sh
pconsole  2949254 51577914   0 15:39:34      -  0:00 /bin/ksh /pconsole/lwi/bin/lwistart_src.sh
pconsole  3014836  3277016   0 15:39:28      -  0:00 /bin/ksh /pconsole/lwi/bin/lwistart_src.sh
pconsole  3080256  7012436   0 15:26:57      -  0:00 /bin/ksh /pconsole/lwi/bin/lwistart_src.sh
pconsole  3211264 36372598   0 15:28:24      -  0:00 /bin/ksh /pconsole/lwi/bin/lwistart_src.sh
pconsole  3277016 50267152   0 15:39:28      -  0:00 /bin/ksh /pconsole/lwi/bin/lwistart_src.sh
    root  3342466  4194460   0 15:25:55      -  0:00 /usr/sbin/snmpd
pconsole  3408112 10289244   0 15:27:10      -  0:00 /bin/ksh /pconsole/lwi/bin/lwistart_src.sh
pconsole  3604498 50201620   0 15:39:31      -  0:00 /bin/ksh /pconsole/lwi/bin/lwistart_src.sh
    root  3670164        1   0 15:25:56      -  0:00 /opt/freeware/cimom/pegasus/bin/CIM_diagd
    root  3735690  4194460   0 15:25:59      -  0:00 /usr/sbin/portmap
    root  4194460        1   0 15:25:54      -  0:00 /usr/sbin/srcmstr
    root  4260004        1   0 15:25:55      -  0:00 /opt/ibm/director/cimom/bin/tier1slp
    root  4325528  4194460   0 15:25:55      -  0:00 /opt/freeware/cimom/pegasus/bin/cimssys cimsys
    root  4391112        1   0 15:26:46      -  0:00 /usr/bin/topasrec  -L -s 300 -R 1 -r 6 -o /etc/perf/daily/
          -ypersistent=1 -O type=bin -ystart_time=15:26:46,Mar21,2013
         pconsole  4456454  5242888   0 15:39:29      -  0:00 /bin/ksh /pconsole/lwi/bin/lwistart_src.sh
    root  4522154  4194460   0 15:26:09      -  0:00 /usr/sbin/writesrv
pconsole  4587562  5570604   0 15:39:30      -  0:00 /bin/ksh /pconsole/lwi/bin/lwistart_src.sh
pconsole  4653268  6488294   0 15:39:29      -  0:00 /bin/ksh /pconsole/lwi/bin/lwistart_src.sh
    root  4718754        1   0 15:26:09      -  0:00 /usr/sbin/cron
    root  4784142  4194460   0 15:26:46      -  0:00 /usr/sbin/sshd
    root  4849840  4194460   0 15:26:46      -  0:00 /usr/sbin/rtcd
    root  4915404        1   0 15:26:09      -  0:00 /usr/sbin/uprintfd
    root  4980900        1   0 15:26:09   vty0  0:00 -bash
    root  5046504        1   0 15:26:41      -  0:00 /usr/bin/cimlistener
    root  5112024        1   0 15:26:46      -  0:00 auditbin
    root  5177530        1   0 15:26:35      -  0:00 bin/nonstop_aix @/var/opt/tivoli/ep/runtime/nonstop/config/nonstop.properties
pconsole  5242888  6684906   0 15:39:29      -  0:00 /bin/ksh /pconsole/lwi/bin/lwistart_src.sh
pconsole  5308440  6094918   0 15:39:31      -  0:00 /bin/ksh /pconsole/lwi/bin/lwistart_src.sh
pconsole  5374188  7143428   0 15:39:29      -  0:00 /bin/ksh /pconsole/lwi/bin/lwistart_src.sh
    root  5439668  4194460   0 15:26:09      -  0:00 /usr/sbin/clcomd -d
    root  5505126  4194460   0 15:26:46      -  0:00 /bin/ksh /var/opt/tivoli/ep/runtime/nonstop/bin/cas_src.sh
pconsole  5570604  6029338   0 15:39:30      -  0:00 /bin/ksh /pconsole/lwi/bin/lwistart_src.sh
pconsole  5636342  8323106   0 15:27:00      -  0:00 /bin/ksh /pconsole/lwi/bin/lwistart_src.sh
pconsole  5701846 25100308   0 15:27:58      -  0:00 /bin/ksh /pconsole/lwi/bin/lwistart_src.sh
    root  5767408  5177530   0 15:26:37      -  0:05 /var/opt/tivoli/ep/_jvm/jre/bin/java -Xmx384m -Xminf0.01 -Xmaxf0.4 -Xbootclasspath/a:/var/opt/tivoli/ep/runtime/core/eclipse/plugins/com.ibm.rcp.base_6.2.1.20091117-       1800/rcpbootcp.jar:/var/opt/tivoli/ep/lib/com.ibm.logging.icl_1.1.1.jar:/var/opt/tivoli/ep/lib/jaas2zos.jar:/var/opt/tivoli/ep/lib/jaasmod ule.jar:/var/opt/tivoli/ep/lib/lwinative.jar:/var/opt/tivoli/ep/lib/lwinl.jar:/var/opt/tivoli/ep/lib/lwirolemap.jar:/var/opt/tivoli/ep/lib/lwisecurity.jar:/var/opt/tivoli/ep/lib/lwitools.jar:/var/opt/tivoli/ep/lib/passutils.jar:../../runtime/agent/lib/cas-bootcp.jar -Xverify:none -cp eclipse/launch.jar:eclipse/startup.jar:/var/opt/tivoli/ep/runtime/core/eclipse/plugins/com.ibm.rcp.base_6.2.1.20091117-1800/launcher.jar com.ibm.lwi.LaunchLWI
pconsole  5898240  7995406   0 15:26:58      -  0:00 /bin/ksh /pconsole/lwi/bin/lwistart_src.sh
pconsole  5963852  9306148   0 15:27:01      -  0:00 /bin/ksh /pconsole/lwi/bin/lwistart_src.sh
pconsole  6029338  7077896   0 15:39:30      -  0:00 /bin/ksh /pconsole/lwi/bin/lwistart_src.sh
pconsole  6094918  3604498   0 15:39:31      -  0:00 /bin/ksh /pconsole/lwi/bin/lwistart_src.sh
pconsole  6160442  8847444   0 15:27:03      -  0:00 /bin/ksh /pconsole/lwi/bin/lwistart_src.sh
pconsole  6226158 11272288   0 15:27:07      -  0:00 /bin/ksh /pconsole/lwi/bin/lwistart_src.sh
pconsole  6357130  6553854   0 15:39:27      -  0:00 /bin/ksh /pconsole/lwi/bin/lwistart_src.sh
pconsole  6422702  2949254   0 15:39:35      -  0:00 /bin/ksh /pconsole/lwi/bin/lwistart_src.sh
pconsole  6488294  5374188   0 15:39:29      -  0:00 /bin/ksh /pconsole/lwi/bin/lwistart_src.sh
pconsole  6553854 50594844   0 15:39:27      -  0:00 /bin/ksh /pconsole/lwi/bin/lwistart_src.sh
pconsole  6619352  2818228   0 15:39:30      -  0:00 /bin/ksh /pconsole/lwi/bin/lwistart_src.sh
pconsole  6684906  4653268   0 15:39:29      -  0:00 /bin/ksh /pconsole/lwi/bin/lwistart_src.sh
pconsole  6750222  6619352   0 15:39:30      -  0:00 /bin/ksh /pconsole/lwi/bin/lwistart_src.sh
pconsole  6815776  6357130   0 15:39:28      -  0:00 /bin/ksh /pconsole/lwi/bin/lwistart_src.sh
pconsole  6881324 44500092   0 15:39:32      -  0:00 /bin/ksh /pconsole/lwi/bin/lwistart_src.sh
    root  6946818  4194460   0 15:26:55      -  0:00 /usr/sbin/rsct/bin/IBM.DRMd
pconsole  7012436  8060964   0 15:26:57      -  0:00 /bin/ksh /pconsole/lwi/bin/lwistart_src.sh
pconsole  7077896  4456454   0 15:39:30      -  0:00 /bin/ksh /pconsole/lwi/bin/lwistart_src.sh
pconsole  7143428 50136096   0 15:39:28      -  0:00 /bin/ksh /pconsole/lwi/bin/lwistart_src.sh
pconsole  7209046  7864446   0 15:27:00      -  0:00 /bin/ksh /pconsole/lwi/bin/lwistart_src.sh
pconsole  7274508  6750222   0 15:39:31      -  0:00 /bin/ksh /pconsole/lwi/bin/lwistart_src.sh
pconsole  7340038  8978496   0 15:27:02      -  0:00 /bin/ksh /pconsole/lwi/bin/lwistart_src.sh
pconsole  7405570        1   0 15:26:56      -  0:00 /bin/ksh /pconsole/lwi/bin/lwistart_src.sh
    root  7471344  4194460   0 15:26:56      -  0:00 /usr/sbin/rsct/bin/IBM.ServiceRMd
pconsole  7536648  7405570   0 15:26:56      -  0:00 /bin/ksh /pconsole/lwi/bin/lwistart_src.sh
pconsole  7602270  7733394   0 15:27:13      -  0:00 /bin/ksh /pconsole/lwi/bin/lwistart_src.sh
pconsole  7667746  9044022   0 15:27:03      -  0:00 /bin/ksh /pconsole/lwi/bin/lwistart_src.sh
pconsole  7733394 10682474   0 15:27:13      -  0:00 /bin/ksh /pconsole/lwi/bin/lwistart_src.sh
pconsole  7798804  5898240   0 15:26:58      -  0:00 /bin/ksh /pconsole/lwi/bin/lwistart_src.sh
pconsole  7864446  8585284   0 15:26:59      -  0:00 /bin/ksh /pconsole/lwi/bin/lwistart_src.sh
pconsole  7929932  8650794   0 15:27:01      -  0:00 /bin/ksh /pconsole/lwi/bin/lwistart_src.sh
pconsole  7995406  8388626   0 15:26:58      -  0:00 /bin/ksh /pconsole/lwi/bin/lwistart_src.sh
pconsole  8060964  8192016   0 15:26:57      -  0:00 /bin/ksh /pconsole/lwi/bin/lwistart_src.sh
pconsole  8126504  8519700   0 15:26:59      -  0:00 /bin/ksh /pconsole/lwi/bin/lwistart_src.sh
pconsole  8192016  7536648   0 15:26:56      -  0:00 /bin/ksh /pconsole/lwi/bin/lwistart_src.sh
pconsole  8257564  8126504   0 15:26:59      -  0:00 /bin/ksh /pconsole/lwi/bin/lwistart_src.sh
pconsole  8323106  7209046   0 15:27:00      -  0:00 /bin/ksh /pconsole/lwi/bin/lwistart_src.sh
pconsole  8388626  3080256   0 15:26:57      -  0:00 /bin/ksh /pconsole/lwi/bin/lwistart_src.sh
pconsole  8454320 11075736   0 15:27:15      -  0:00 /bin/ksh /pconsole/lwi/bin/lwistart_src.sh
pconsole  8519700  7798804   0 15:26:58      -  0:00 /bin/ksh /pconsole/lwi/bin/lwistart_src.sh
pconsole  8585284  8257564   0 15:26:59      -  0:00 /bin/ksh /pconsole/lwi/bin/lwistart_src.sh
pconsole  8650794  5636342   0 15:27:00      -  0:00 /bin/ksh /pconsole/lwi/bin/lwistart_src.sh
pconsole  8716340  7340038   0 15:27:02      -  0:00 /bin/ksh /pconsole/lwi/bin/lwistart_src.sh
pconsole  8781926  9699470   0 15:27:17      -  0:00 /bin/ksh /pconsole/lwi/bin/lwistart_src.sh
pconsole  8847444  8716340   0 15:27:03      -  0:00 /bin/ksh /pconsole/lwi/bin/lwistart_src.sh
pconsole  8912956  9175086   0 15:27:02      -  0:00 /bin/ksh /pconsole/lwi/bin/lwistart_src.sh
pconsole  8978496  8912956   0 15:27:02      -  0:00 /bin/ksh /pconsole/lwi/bin/lwistart_src.sh
pconsole  9044022  6160442   0 15:27:03      -  0:00 /bin/ksh /pconsole/lwi/bin/lwistart_src.sh
pconsole  9109622 10813538   0 15:27:08      -  0:00 /bin/ksh /pconsole/lwi/bin/lwistart_src.sh
pconsole  9175086  5963852   0 15:27:01      -  0:00 /bin/ksh /pconsole/lwi/bin/lwistart_src.sh
pconsole  9240632  9568320   0 15:27:04      -  0:00 /bin/ksh /pconsole/lwi/bin/lwistart_src.sh
pconsole  9306148  7929932   0 15:27:01      -  0:00 /bin/ksh /pconsole/lwi/bin/lwistart_src.sh
pconsole  9371710 10616924   0 15:27:06      -  0:00 /bin/ksh /pconsole/lwi/bin/lwistart_src.sh
pconsole  9437268  9240632   0 15:27:05      -  0:00 /bin/ksh /pconsole/lwi/bin/lwistart_src.sh
pconsole  9502816 11665528   0 15:27:09      -  0:00 /bin/ksh /pconsole/lwi/bin/lwistart_src.sh
pconsole  9568320  9764914   0 15:27:04      -  0:00 /bin/ksh /pconsole/lwi/bin/lwistart_src.sh

---------- Post updated 03-22-13 at 08:42 AM ---------- Previous update was 03-21-13 at 10:29 PM ----------

I've deleted my custom authorizations and roles, and now it works fine Smilie

Last edited by jim mcnamara; 03-22-2013 at 09:48 AM..
This User Gave Thanks to Janpol For This Post:
# 2  
Old 03-22-2013
Thanks for posting the solution.
# 3  
Old 03-22-2013
Curiosity killed the cat - so I am asking what did you change, what did you set back.

If you want to use RBAC and pconsole you might be able to setup some RBAC for a user.

In any case, you need to let pconsole (if you were planning on using that) create the role for a user (normally pcon_username) for roles needed while using pconsole (or pcons_username - I forget).

The SYSTEM parameter in /etc/security/user should make sure that LDAP is used for login, so username/password is stored in LDAP - while having an additional definition of the USER (will need to run mkuser -R files id=NNN pgid=GGG) to create the user in the local registery.

lsuser username will tell you how AIX sees the user after login.
lsuser -R files username (AIX view local files only)
lsuser -R LDAP username (AIX view using LDAP information only - I think. If it is giving information that is not in AD then it is still going to the files are to fill in blanks (in particular the default: stanzas in /etc/security/*).
# 4  
Old 03-22-2013
Quote:
Originally Posted by MichaelFelt
Curiosity killed the cat - so I am asking what did you change, what did you set back.
I've just removed all my custom authorizations (rmsecattr, rmauth) and then updated the kernel tables (setkst).

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. Solaris

Script on Solaris spawning 2 processes for one shell script execution

Hi, I am having a shell script on Solaris 10 which has a while loop as shown below. #!/usr/bin/ksh # while do sleep 60 done Name of the shell script is coldcentric.sh. I executed script /DATAWAREHOUSE/LOAD/Scripts/coldcentric.sh from a command task in Informatica worklow as... (3 Replies)
Discussion started by: chekusi
3 Replies

2. Shell Programming and Scripting

Shell script executed from Informatica ETL tool is spawning 2 processes for one script

Hi, I am having a shell script which has a while loop as shown below. while do sleep 60 done I am executing this script from Informatica ETL tool command task from where we can execute UNIX commands/scripts. When i do that, i am seeing 2 processes getting started for one script... (2 Replies)
Discussion started by: chekusi
2 Replies

3. Shell Programming and Scripting

need help ps -e on multiple processes

:)Hi there, I am new to scripting and wanted to see if someone can show me how to grep on multiple processes and send the output to a file in /home/mydir/output. I am aware of ps -ef | grep on 1 process but need help looking up multiple processes, can you use this command ps -elf | grep |pid1... (4 Replies)
Discussion started by: abbya
4 Replies

4. Shell Programming and Scripting

kill multiple processes by name

Want to kill multiple processes by name. for the example below, I want to kill all 'proxy-stagerd_copy' processes. I tried this but didn't work: >> ps -ef|grep proxy_copy root 991 986 0 14:45:34 ? 0:04 proxy-stagerd root 1003 991 0 14:45:49 ? 0:01... (2 Replies)
Discussion started by: catalinawinemxr
2 Replies

5. AIX

pconsole process hogging

AIX6.1 in topas 'pconsole" processing utilization showing high (48.1 %) in pgsp column what is pconsole process, can kill it Thanks in Advance (0 Replies)
Discussion started by: sunnybee
0 Replies

6. UNIX for Advanced & Expert Users

Help! imapd is spawning multiple processes, all of a sudden, for no reason!

Hi All, I need some assistance, if possible... Our IMAP server has recently (as of 10:30 GMT today) started spawning multiple processes for no reason! This is causing the mail server's load average to increase continually until the whole machine grinds to a halt. Here is a typical... (0 Replies)
Discussion started by: fishsponge
0 Replies

7. Shell Programming and Scripting

multiple processes overlap

Hello I've got a script that creates multiple processes, in ksh, to bcp out 6 tables at a time. In the script, we write messages to the log to show our progress; most of the time, the log messages are nice and neat with one per line, like they should be. But every once in awhile, at random, the... (2 Replies)
Discussion started by: stonemonolith
2 Replies

8. UNIX for Advanced & Expert Users

Crontab spawning multiple at processes

Hi - I need help. My user crontab is spawning multiple at processes (and multiple mencoder program starts, that exit, then restart, repeatedly), locking up my system. For example I have this entry in my crontab: $ sudo crontab -u victoria -e * * * * * ~/recordings/pvr1 * * * * *... (10 Replies)
Discussion started by: gstuart
10 Replies

9. Shell Programming and Scripting

Spawning multiple threads in Unix

Hi, I need to spawn mutilpe threads , each invoking a different set of shell scripts, in parallel. What would be the best way to do that. Any sample script would greatly help. I am a novice at Unix so any help is much appreciated. Thanks (5 Replies)
Discussion started by: neeto
5 Replies

10. Programming

spawning multiple processes spread across two files

I want to spawn n child processes but have two different classes..with the foremost one forking/spawning the child process and the latter performing a function w/ the spawned processes. I can do this in one class with an if statement and the simple if((pid=fork())==0) //child process { ... (1 Reply)
Discussion started by: StrengthThaDon
1 Replies

Featured Tech Videos