As a general check on sun server, I have identified that the most of the commands in the /usr/sbin have been corrupted (zero bytes), and also some files in the /sbin directory. Also found that there are too many "defunct" processes on the server, since I'm unable to execute any command on the server (I'm getting "Fork-Failed too many processes) error.
I have fixed this error by copying the corrupted commands from the CD and now the server is working fine.
Anyone pls. let me know what could be the root cause for this problem? and what could be done to prevent these kind of corruptions? Your great inputs are welcomed
Yes, the more you know, the more you realize what you don't know.
Yes, /etc contains a lot of important files and directories. You can look at all the files in /etc/default to see what's in them. Some of the files have decent documentaiton within them.
Here's what I know about some of them:
/etc/default/cron: determines whether a log file is kept for cron jobs. This affects all users who have permission to run cron jobs.
/etc/default/fs: specifies what the default filesystem type is.
/etc/default/login: specifies various items, which are documented fairly well in the file. This is the file you edit if you want root to be able to login from someplace other than the console (not recommended for security reasons). This also is the file that contains SLEEPTIME. This is the parameter that determines how long the lag is before you get another login prompt if you put the wrong password in. I have mine set to 0 so I don't have to wait for another login prompt when I type the wrong password.
/etc/default/passwd: specifies default files for passwords.
/etc/default/su: determines whether all su attempts are logged and where they are logged to.
As I said, this is just some of the files in /etc/default.
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.