SplashHost.com

Well-Known Member
Aug 12, 2001
53
0
306
Every so often when someone deletes a web-site through whm userdel seems to crash and takes up almost 100% of the cpu, is there anything that can be done about this? It almost completely brings the server down.
 
B

bdraco

Guest
[quote:6b01fc8a42][i:6b01fc8a42]Originally posted by SplashHost.com[/i:6b01fc8a42]

Every so often when someone deletes a web-site through whm userdel seems to crash and takes up almost 100% of the cpu, is there anything that can be done about this? It almost completely brings the server down.
[/quote:6b01fc8a42]

Try checking your passwd and group files for duplicate entries ..

yes | /usr/sbin/grpck
yes | /usr/sbin/pwck
 

SplashHost.com

Well-Known Member
Aug 12, 2001
53
0
306
[email protected] [~]# yes | /usr/sbin/grpck
invalid group name `3avcom'
invalid group name `3dbingo'
invalid group name `480-602'
invalid group name `5starsbi'
invalid group name `7seri'
invalid group name `123'
invalid group name `2'
invalid group name `1'
invalid group name `6'
invalid group name `5'
invalid group name `2longboa'
invalid group name `4spread'
invalid group name `3dmd'
grpck: no changes

[email protected] [~]# yes | /usr/sbin/pwck
user adm: directory /var/adm does not exist
user news: directory /var/spool/news does not exist
user uucp: directory /var/spool/uucp does not exist
user gopher: directory /usr/lib/gopher-data does not exist
user postgres: directory /var/lib/pgsql does not exist
user splash: directory /home/splash does not exist
invalid user name `3avcom'
invalid user name `3dbingo'
invalid user name `480-602'
invalid user name `5starsbi'
invalid user name `7seri'
invalid user name `123'
invalid user name `2'
invalid user name `1'
invalid user name `6'
invalid user name `5'
invalid user name `4spread'
invalid user name `3dmd'
pwck: no changes

Doesnt look like there is any duplocate entries, any other ideas?
 
B

bdraco

Guest
[quote:7fdd6f635c][i:7fdd6f635c]Originally posted by SplashHost.com[/i:7fdd6f635c]

[email protected] [~]# yes | /usr/sbin/grpck
invalid group name `3avcom'
invalid group name `3dbingo'
invalid group name `480-602'
invalid group name `5starsbi'
invalid group name `7seri'
invalid group name `123'
invalid group name `2'
invalid group name `1'
invalid group name `6'
invalid group name `5'
invalid group name `2longboa'
invalid group name `4spread'
invalid group name `3dmd'
grpck: no changes

[email protected] [~]# yes | /usr/sbin/pwck
user adm: directory /var/adm does not exist
user news: directory /var/spool/news does not exist
user uucp: directory /var/spool/uucp does not exist
user gopher: directory /usr/lib/gopher-data does not exist
user postgres: directory /var/lib/pgsql does not exist
user splash: directory /home/splash does not exist
invalid user name `3avcom'
invalid user name `3dbingo'
invalid user name `480-602'
invalid user name `5starsbi'
invalid user name `7seri'
invalid user name `123'
invalid user name `2'
invalid user name `1'
invalid user name `6'
invalid user name `5'
invalid user name `4spread'
invalid user name `3dmd'
pwck: no changes

Doesnt look like there is any duplocate entries, any other ideas?

[/quote:7fdd6f635c]

Not really .. I just opened up a bug in the redhat bug system ..
 

SplashHost.com

Well-Known Member
Aug 12, 2001
53
0
306
I found this in the logs at the time of the crash, this was in messages

Feb 19 10:58:08 super last message repeated 56 times
Feb 19 10:58:08 super last message repeated 2 times
Feb 19 10:58:08 super last message repeated 5 times
Feb 19 10:58:08 super last message repeated 11 times
Feb 19 10:58:08 super last message repeated 3 times
Feb 19 10:58:08 super last message repeated 2 times
Feb 19 10:58:08 super last message repeated 12 times
Feb 19 10:58:08 super last message repeated 2 times
Feb 19 10:58:08 super last message repeated 3 times

and this was in secure

Feb 19 10:58:05 super userdel[8935]: delete `bwhosts' from group `bwhosts'

It looks like its trying to delete that user lots of times
 

SplashHost.com

Well-Known Member
Aug 12, 2001
53
0
306
This is starting to become a big problem, its happening almost once a day on 2 of my servers, almost brings them down each time.
 

SplashHost.com

Well-Known Member
Aug 12, 2001
53
0
306
If theres a duplicate entry and someone tries to delete a user with a duplicate entry will there still be a duplicate entry afterwards?