Vesta Control Panel - Forum

Community Forum

Skip to content

Advanced search
  • Quick links
    • Main site
    • Github repo
    • Google Search
  • FAQ
  • Login
  • Register
  • Board index Main Section Web Server
  • Search

Starting vesta-nginx: nginx: [emerg] getpwnam("admin") failed

Questions regarding the Web Server
Apache + Nginx, Nginx + PHP5-FPM
Post Reply
  • Print view
Advanced search
1 post • Page 1 of 1
Dimetrius
Posts: 4
Joined: Thu Jun 01, 2017 9:36 am

Starting vesta-nginx: nginx: [emerg] getpwnam("admin") failed
  • Quote

Post by Dimetrius » Sat Apr 30, 2022 5:18 am

Добрый день.

1. Сервер работал все хорошо было.
Но вот сегодня получаю ошибку 500 на сайте.

2. Смотрим лог php:
[error] 1480#1480: *11 connect() failed (111: Connection refused) while connecting to upstream
Проблема в nginx

3. Смотрим на systemctl status vesta.service -l
Получаем:

Code: Select all

vesta.service - SYSV: Run vesta web server
   Loaded: loaded (/etc/rc.d/init.d/vesta; bad; vendor preset: disabled)
   Active: failed (Result: exit-code) since Sat 2022-04-30 04:33:05 UTC; 27min ago
     Docs: man:systemd-sysv-generator(8)
  Process: 4650 ExecStart=/etc/rc.d/init.d/vesta start (code=exited, status=1/FAILURE)

Apr 30 04:33:05 server systemd[1]: Starting SYSV: Run vesta web server...
Apr 30 04:33:05 server vesta[4650]: Starting vesta-nginx: nginx: [emerg] getpwnam("admin") failed in /usr/local/vesta/nginx/conf/nginx.conf:1
Apr 30 04:33:05 server vesta[4650]: [FAILED]
Apr 30 04:33:05 server systemd[1]: vesta.service: control process exited, code=exited status=1
Apr 30 04:33:05 server systemd[1]: Failed to start SYSV: Run vesta web server.
Apr 30 04:33:05 server systemd[1]: Unit vesta.service entered failed state.
Apr 30 04:33:05 server systemd[1]: vesta.service failed.
Проблема, которую я вижу: Starting vesta-nginx: nginx: [emerg] getpwnam("admin") failed in /usr/local/vesta/nginx/conf/nginx.conf:1

Подскажите, как ее победить?
Буду очень благодарен за помощь. Очень горит решение.
Top


Post Reply
  • Print view
1 post • Page 1 of 1

Return to “Web Server”



  • Board index
  • All times are UTC
  • Delete all board cookies
  • The team
Powered by phpBB® Forum Software © phpBB Limited
*Original Author: Brad Veryard
*Updated to 3.2 by MannixMD
 

 

Login  •  Register

I forgot my password