Closed EdNett closed 11 months ago
Fixed by updateFx06
This problem has reappeard in 5.1.0 head - after trying to install an additional octopus instance after initial install: root@server1:~# service nginx status /etc/init.d/nginx: You don't have permissions to execute nginx.
boa info more is here: https://gist.github.com/EdNett/ff4b59b109d966c0039ba30c670b5dcb
other terminal errors are: sed: can't read /data/disk/o1/config/includes/nginx_vhostcommon.conf: No such file or directory and sed: can't read /data/disk/o1/config/server*/nginx.conf: No such file or directory
This error was probably caused by settting NGINX_NXASI=YES during upgrade, so closing - caveat: setting _NGX_FORCE_REINSTALL=YES and running a barracuda up-head does nothing - it does not reinstall nginx at all.
I am testing __FULL_FORCE_REINSTALL=YES - and that doesn't do anything either - si I have to wipe the server and start from zero because I made the mistake of trying to add NXASI !
closing due to no hope of rectifying this at all
root@server1:~# aptitude reinstall nginx nginx is not currently installed, so it will not be reinstalled nginx is not currently installed, so it will not be reinstalled No packages will be installed, upgraded, or removed. 0 packages upgraded, 0 newly installed, 0 to remove and 0 not upgraded. Need to get 0 B of archives. After unpacking 0 B will be used.
root@server1:~# aptitude install nginx No candidate version found for nginx Unable to apply some actions but Aptitude::CmdLine::Fix-Broken (-f) is enabled, continuing... No packages will be installed, upgraded, or removed. 0 packages upgraded, 0 newly installed, 0 to remove and 0 not upgraded. Need to get 0 B of archives. After unpacking 0 B will be used.
Skynet Agent v.BOA-5.0.0-head on Devuan/chimaera welcomes you aboard
server1:~# htop server1:~# service nginx status /etc/init.d/nginx: You don't have permissions to execute nginx. server1:~# /etc/init.d/nginx restart /etc/init.d/nginx: You don't have permissions to execute nginx. server1:~# sudo /etc/init.d/nginx restart /etc/init.d/nginx: You don't have permissions to execute nginx. server1:~# sudo /etc/init.d/nginx start /etc/init.d/nginx: You don't have permissions to execute nginx. server1:~#
I am, of course logged-in as root. I will try another up-head with nginx reinstall now. Permissions on /etc/init.d/nginx are fine: root:root 755
Unable to get nginx to reinstall with .barracuda.cnf flag. Redoing up-head and rebooting does not solve this problem.
Boa info more is here:
https://gist.github.com/EdNett/5f1d33d221dc00f28a9560f864cfb617
best,
Ed