• If you are still using CentOS 7.9, it's time to convert to Alma 8 with the free centos2alma tool by Plesk or Plesk Migrator. Please let us know your experiences or concerns in this thread:
    CentOS2Alma discussion

Issue nginx and antivir do not start after restart of server

mr-wolf

Silver Pleskian
Plesk Guru
I recently rented another Linux server from Strato.
These can come with Plesk pre-configured.
By default the nginx reverse proxy is not installed although the previous 4 servers did so.
Btw, is this a change in policy of Onyx or Strato??

I noticed now that after a restart of the server both nginx and the plesk antivirus don't start.
Starting it using /etc/init.d/nginx start or using the Plesk management platform brings it up.

I could solve it by writing a watchdog for it, but that's not how it should be.

I also noticed that the server is now in runlevel 5 (by choice of Strato).
A symlink in /etc/rc5.d/S03nginx is created for nginx at the time of the install.
S03 is a very low number. May that be a problem??
In other Plesk installs that number is S85

For the /etc/init.d/drwebd there is no symlink created in /etc/rc5.d/ or /etc/rc3.d

I hope I've given enough info
 
Hi ,
In centos7 you can do this command :
systemctl enable nginx
systemctl enable drweb (or systemctl enable drweb.service)

This will enable auto start of nginx and drweb on boot.
 
Hi Kamtec,

It's not about fixing the startup.
I can do that.

It's about fixing Plesk so that it makes sure nginx is started if it's configured to use it.
This way it doesn't take others by surprise. I wouldn't have noticed if I didn't get a server that occasionally boots. I already gave this server back, btw, so I'm about to configure a brand new one.

Besides that. It's an Ubuntu server.
 
Back
Top