Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

mwm respawns too rapidly

Status
Not open for further replies.

saucyboy

Technical User
Feb 23, 2006
78
US
Please help

I am on aix 5.3-04, my oracle dbas asked me to insert the following in inittab in order for them to run reports:

xvfb:2:respawn:/usr/lpp/X11/bin/xinit /usr/lpp/X11/bin/mwm -- :9 -vfb -force -x abx -x dbe -x GLX > /dev/null

the entry is fine on all the boxes except 1, i get an errpt stating process respawns too rapidly.

I also get a bunch of processes listed below, there only 1 mwm process on the other boxes :

ps -ef |grep -i x11
root 991468 1 0 03:18:07 - 0:00 /usr/lpp/X11/bin/mwm
root 1585320 1 0 16:36:46 - 0:00 /usr/lpp/X11/bin/mwm
root 2093058 1 0 11:31:41 - 0:00 /usr/lpp/X11/bin/mwm
root 2183408 1 120 22:39:50 - 571:28 /usr/lpp/X11/bin/mwm
root 2195686 1 0 17:02:46 - 0:00 /usr/lpp/X11/bin/mwm
root 2203650 1 0 13:18:54 - 0:00 /usr/lpp/X11/bin/mwm


Anyone have any ideas why its respawning rapidly, not sure what keeps killing it?
 
Oh yeah this problem happened to me as well and in fact it is still there but because this is a test server so i'm ignoring it!

But the cause of my problem was that there was an entry in the inittab which was pointing to a file that doesn't exist on the server! but after removing that inittab entry i didn't go further (like rebooting the machine) coz i didn't know what to do but at least that was the clue i got from the IBM consultant when he was here with me!

Are you sure that /usr/lpp/X11/bin/mwm & /usr/lpp/X11/bin/xinit exist on the server! or maybe there is a path setting that you have to set before running the command that is not finding them i guess!

Regards,
Khalid
 
Hi

As below :

ls -l /usr/lpp/X11/bin/xinit
-rwxr-xr-x 1 bin bin 14262 12 Nov 2005 /usr/lpp/X11/bin/xinit

--> ls -l /usr/lpp/X11/bin/mwm
lrwxrwxrwx 1 bin bin 27 31 Aug 2006 /usr/lpp/X11/bin/mwm -> /usr/bin/X11r5/Motif1.2/mwm


the files do exist, i checked another box which works ok and its the same file location and links on that aswell

errpt shows :

LABEL: INIT_RAPID
IDENTIFIER: 3A30359F

Date/Time: Tue 4 Dec 09:22:48 2007
Sequence Number: 801
Machine Id: 00C4825D4C00
Node Id: heidegger
Class: S
Type: TEMP
Resource Name: init

Description
SOFTWARE PROGRAM ERROR

Probable Causes
SOFTWARE PROGRAM

User Causes
PERFORMANCE DEGRADED

Recommended Actions
REVIEW DETAILED DATA

Detail Data
SOFTWARE ERROR CODE
Command is respawning too rapidly. Check for possible errors.
 
the echo $PATH shows :
/usr/bin:/etc:/usr/sbin:/usr/ucb://bin:/usr/bin/X11:/sbin:/opt/local/bin:/usr/vac/bin
 
Try sending the error to a file: finish your sentence with this instead of /dev/null 2>/tmp/init.err
Then examine the /tmp/init.err - it should tell you what is wrong.
 
Saucyboy said:
--> ls -l /usr/lpp/X11/bin/mwm
lrwxrwxrwx 1 bin bin 27 31 Aug 2006 /usr/lpp/X11/bin/mwm -> /usr/bin/X11r5/Motif1.2/mwm

so, does the file that this link points to exist also?

[tt]ls -l /usr/bin/X11r5/Motif1.2/mwm[/tt]


HTH,

p5wizard
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top