Tras un día entero lidiando con problemas de sshd, nginx, fail2ban y php-fpm, con la ayuda del Jacob Cook, el creador de ArkOS, no he podido mas, he tirado de mi copia de seguridad, dd, y listo.
Pero uno de los problemas persistió, nginx fallaba a iniciar:
[ ~ ]$ systemctl status nginx
nginx.service - A high performance web server and a reverse proxy server
Loaded: loaded (/usr/lib/systemd/system/nginx.service; enabled)
Active: failed (Result: exit-code) since Sat 2014-02-15 23:21:45 CET; 15min ago
Process: 823 ExecStop=/usr/bin/nginx -g pid /run/nginx.pid; -s quit (code=exited, status=1/FAILURE)
Process: 1005 ExecStartPre=/usr/bin/nginx -t -q -g pid /run/nginx.pid; daemon on; master_process on; (code=exited, status=1/FAILURE)
Main PID: 755 (code=exited, status=0/SUCCESS)
CGroup: /system.slice/nginx.service
Comprobando journalctl para esos PIDs:
[ ~ ]$ sudo journalctl _PID=1005
-- Logs begin at Thu 1970-01-01 01:00:03 CET, end at Sat 2014-02-15 23:41:54 CET. --
Feb 15 23:21:45 harker nginx[1005]: nginx: [emerg] open() "/etc/nginx/php.conf" failed (2: No such file or directory) in /etc/nginx/nginx.conf:35
Feb 15 23:21:45 harker nginx[1005]: nginx: configuration file /etc/nginx/nginx.conf test failed
Sigue leyendo →