The space service provider's backend management includes the following:
Console AccessLish via AjaxtermLaunch Lish Ajax Console»
After the terminal is opened, it is the terminal:
[Root @ sample ~] #/Etc/rc. d/init. d/sshd restart
Display:
/Var/empty/sshd must be owned by root and not group or world-writable.
Problem:
Linux SSH cannot be started
Report/var/empty/sshd must be owned by root and not group or world-writable.
Solution:
First, go to linux Through the physical terminal, and manually check ssh to find that it is not running.
-Bash-2.05b #/etc/init. d/sshd status
Sshd is stopped
Manually start the service and report permission errors.
-Bash-2.05b #/etc/init. d/sshd start
Starting sshd:/var/empty/sshd must be owned by root and not group or world-writable.
[FAILED]
-Bash-2.05b #
Run the rpm-V command to check that the ssh software package is normal, but the owner of a directory is incorrect.
-Bash-2.05b # rpm-V openssh-server
S.5...... c/etc/ssh/sshd_config
... U.../var/empty/sshd
-Bash-2.05b #
It is found that the owner of this directory is not root, so an error is reported when the ssh service is started.
-Bash-2.05b # ls-ld/var/empty/sshd/
D -- x 2 vu00106 root 1024 Feb 2 2005/var/empty/sshd/
-Bash-2.05b #
Changed to root owner. started successfully.
-Bash-2.05b # chown root/var/empty/sshd/
-Bash-2.05b #/etc/init. d/sshd start
Starting sshd: [OK]
-Bash-2.05b #
Now the problem is fixed.
If the problem persists, you can try again. Generally, you can solve the problem:
This is a permission issue.
You can take the following two steps to solve the problem:
Chown-R root. root/var/empty/sshd
Chmod 744/var/empty/sshd
Service sshd restart
The above problems can be solved.