![](/s/cache/2e/07/2e077597c28f3d4329c8d89729117b22.png)
0
Answered
nginx: [emerg] "worker_processes" directive invalid number in /etc/nginx/nginx.conf:6
How can I turn autocorrect option worker_processes?
And then with the "auto" nginks not want to start
writes: nginx: [emerg] "worker_processes" directive invalid number in /etc/nginx/nginx.conf:6 nginx: configuration file /etc/nginx/nginx.conf test failed
And if you manually put 1 or 2 works fine, but after rebooting the server back exhibiting paramenr "auto"
I apologize for my English
And then with the "auto" nginks not want to start
writes: nginx: [emerg] "worker_processes" directive invalid number in /etc/nginx/nginx.conf:6 nginx: configuration file /etc/nginx/nginx.conf test failed
And if you manually put 1 or 2 works fine, but after rebooting the server back exhibiting paramenr "auto"
I apologize for my English
Vasta
![](/s/cache/c3/94/c39402226f80f121f6a818b91880b7d6.png)
0
Vasta
Answered
Eugene Pankov (Project coordinator) 10 aastat tagasi
Fix released
![](/s/cache/c3/94/c39402226f80f121f6a818b91880b7d6.png)
Update ajenti-v-* packages and restart Ajenti or just run apt-get upgrade
![](/s/cache/2e/07/2e077597c28f3d4329c8d89729117b22.png)
With this sorted out but now yells at line 4
nginx: [emerg] unknown directive "user" in /etc/nginx.custom.d/nginx.conf:4
nginx: [emerg] unknown directive "user" in /etc/nginx.custom.d/nginx.conf:4
![](/s/cache/a4/de/a4debe0c7abeba8efa24c045807a2be5.png)
Хм..странно, но кнопка "Перезагрузить все сайты" помогла. До этого ни ребут Ajenti ни в целом сервера не помогали.
Customer support service by UserEcho