Turn off SELinux if it's on.
Make sure the files aren't chattr'd read-only.
Jeff
[root@server ~]# cat /etc/selinux/config
# This file controls the state of SELinux on the system.
# SELINUX= can take one of these three values:
# enforcing - SELinux security policy is enforced.
# permissive - SELinux prints warnings instead of enforcing.
# disabled - SELinux is fully disabled.
SELINUX=disabled
# SELINUXTYPE= type of policy in use. Possible values are:
# targeted - Only targeted network daemons are protected.
# strict - Full SELinux protection.
SELINUXTYPE=targeted
# SETLOCALDEFS= Check local definition changes
SETLOCALDEFS=0
and then this
[root@server ~]# lsattr /var/run
------------- /var/run/utmp
------------- /var/run/exim.pid
------------- /var/run/saslauthd
------------- /var/run/setrans
------------- /var/run/haldaemon.pid
------------- /var/run/sc_trans.pid
------------- /var/run/sc_serv.pid
------------- /var/run/syslogd.pid
------------- /var/run/ppp
------------- /var/run/gpm.pid
------------- /var/run/messagebus.pid
------------- /var/run/sudo
------------- /var/run/httpd.pid
------------- /var/run/atd.pid
------------- /var/run/rpc.statd.pid
------------- /var/run/proftpd.pid
------------- /var/run/wpa_supplicant
------------- /var/run/netreport
------------- /var/run/nscd
------------- /var/run/crond.pid
------------- /var/run/console
------------- /var/run/mdadm
------------- /var/run/sshd.pid
------------- /var/run/proftpd
------------- /var/run/xfs.pid
------------- /var/run/dovecot
------------- /var/run/NetworkManager
------------- /var/run/cupsd.pid
lsattr: Operation not supported While reading flags on /var/run/sdp
------------- /var/run/cups
------------- /var/run/mdmpd
------------- /var/run/klogd.pid
------------- /var/run/named
------------- /var/run/avahi-daemon
------------- /var/run/xinetd.pid
------------- /var/run/directadmin.pid
lsattr: Operation not supported While reading flags on /var/run/acpid.socket
------------- /var/run/da-popb4smtp.pid
------------- /var/run/dbus
[root@server ~]#
I cannot restart MySQL in here, but I can restart in DirectAdmin web interface.
Still cannot figure out what happen. I remember last time can restart normally in shell.