We are happy to announce that Vesta is back under active development as of 25 February 2024. We are working on v1 candidate and expect to engage more with the community over the coming months. We are committed to open source, and we encourage contributors to help us build the future of Vesta.
Не входит в панель, ошибку такую по форуму не нашел
Не входит в панель, ошибку такую по форуму не нашел
Здравствуйте! все рекомендации из темы "не входит в панель" сделал -место есть, sudoers.d/admin правильный, вчера даже смог войти, а сегодня какая то новая хрень в ssh в ответ на service vesta status:
Dec 01 20:26:57 kvmvps sudo[27486]: pam_unix(sudo:auth): conversation failed
Dec 01 20:26:57 kvmvps sudo[27486]: pam_unix(sudo:auth): auth could not identify password for [admin]
Dec 01 20:26:59 kvmvps sudo[27490]: pam_unix(sudo:auth): conversation failed
Dec 01 20:26:59 kvmvps sudo[27490]: pam_unix(sudo:auth): auth could not identify password for [admin]
Dec 01 20:26:59 kvmvps sudo[27491]: pam_unix(sudo:auth): conversation failed
и самое интересное в консоли хрома ошибки сыпятся бесконечно - даже без ввода логина пароля.(в скрине)
в логе nginx-error миллион одинаковых ошибок:
PHP message: PHP Notice: Undefined index: user in /usr/local/vesta/web/api/v1/login/index.php on line 157" while reading response header from upstream, client: 11.111.10.166, server: _, request: "GET /api/v1/login/index.php?token=6dc017905f19c0730dec09ac0cd27fd4 HTTP/1.1", upstream: "fastcgi://unix:/var/run/vesta-php.sock:", host: "111.111.111.111:8083", referrer: "https://111.111.111.111:8083/login/"
2021/12/01 20:32:33 [error] 27214#0: *132 FastCGI sent in stderr: "PHP message: PHP Warning: Invalid argument supplied for foreach() in /usr/local/vesta/web/api/v1/login/index.php on line 129
PHP message: PHP Notice: Undefined index: user in /usr/local/vesta/web/api/v1/login/index.php on line 157" while reading response header from upstream, client: 11.111.10.166, server: _, request: "GET /api/v1/login/index.php?token=6dc017905f19c0730dec09ac0cd27fd4 HTTP/1.1", upstream: "fastcgi://unix:/var/run/vesta-php.sock:", host: "111.111.111.111:8083", referrer: "https://111.111.111.111:8083/login/"
Подскажите пожалуйста, куда бы ещё смотреть, как это побороть?
Dec 01 20:26:57 kvmvps sudo[27486]: pam_unix(sudo:auth): conversation failed
Dec 01 20:26:57 kvmvps sudo[27486]: pam_unix(sudo:auth): auth could not identify password for [admin]
Dec 01 20:26:59 kvmvps sudo[27490]: pam_unix(sudo:auth): conversation failed
Dec 01 20:26:59 kvmvps sudo[27490]: pam_unix(sudo:auth): auth could not identify password for [admin]
Dec 01 20:26:59 kvmvps sudo[27491]: pam_unix(sudo:auth): conversation failed
и самое интересное в консоли хрома ошибки сыпятся бесконечно - даже без ввода логина пароля.(в скрине)
в логе nginx-error миллион одинаковых ошибок:
PHP message: PHP Notice: Undefined index: user in /usr/local/vesta/web/api/v1/login/index.php on line 157" while reading response header from upstream, client: 11.111.10.166, server: _, request: "GET /api/v1/login/index.php?token=6dc017905f19c0730dec09ac0cd27fd4 HTTP/1.1", upstream: "fastcgi://unix:/var/run/vesta-php.sock:", host: "111.111.111.111:8083", referrer: "https://111.111.111.111:8083/login/"
2021/12/01 20:32:33 [error] 27214#0: *132 FastCGI sent in stderr: "PHP message: PHP Warning: Invalid argument supplied for foreach() in /usr/local/vesta/web/api/v1/login/index.php on line 129
PHP message: PHP Notice: Undefined index: user in /usr/local/vesta/web/api/v1/login/index.php on line 157" while reading response header from upstream, client: 11.111.10.166, server: _, request: "GET /api/v1/login/index.php?token=6dc017905f19c0730dec09ac0cd27fd4 HTTP/1.1", upstream: "fastcgi://unix:/var/run/vesta-php.sock:", host: "111.111.111.111:8083", referrer: "https://111.111.111.111:8083/login/"
Подскажите пожалуйста, куда бы ещё смотреть, как это побороть?
Last edited by roop on Wed Dec 01, 2021 6:49 pm, edited 2 times in total.
Re: Не входит в панель, ошибку такую по форуму не нашел
Здравствуйте. Укажите версию ОС на сервере и версию панели
Эти рекомендации? viewtopic.php?f=10&t=14958&p=61578#p61578
Эти рекомендации? viewtopic.php?f=10&t=14958&p=61578#p61578
Re: Не входит в панель, ошибку такую по форуму не нашел
centos7
Да, всё проверил из той темы, hdd40%, inod16% админ анлимитед, - system.log кончается 13.09, это я пытался зайти, в 3:24 мне удалось зайти, была ошибка в синтаксисе файла, которую я пофиксил, днём нигде ничего не менял, а пускать опять перестала.
2021-12-01 03:24:29 v-change-user-password 'admin' '******'
2021-12-01 03:24:50 v-change-user-password 'admin' '******' 'v-check-user-password' 'admin' 'ххх'
2021-12-01 13:09:00 v-change-user-password 'admin' '******'
2021-12-01 13:09:22 v-change-user-password 'admin' '******'
2021-12-01 13:09:26 v-change-user-password 'admin' '******'
"VERSION": "0.9.8"
Да, всё проверил из той темы, hdd40%, inod16% админ анлимитед, - system.log кончается 13.09, это я пытался зайти, в 3:24 мне удалось зайти, была ошибка в синтаксисе файла, которую я пофиксил, днём нигде ничего не менял, а пускать опять перестала.
2021-12-01 03:24:29 v-change-user-password 'admin' '******'
2021-12-01 03:24:50 v-change-user-password 'admin' '******' 'v-check-user-password' 'admin' 'ххх'
2021-12-01 13:09:00 v-change-user-password 'admin' '******'
2021-12-01 13:09:22 v-change-user-password 'admin' '******'
2021-12-01 13:09:26 v-change-user-password 'admin' '******'
"VERSION": "0.9.8"
Re: Не входит в панель, ошибку такую по форуму не нашел
Last edited by roop on Wed Dec 01, 2021 8:34 pm, edited 1 time in total.
Re: Не входит в панель, ошибку такую по форуму не нашел
скиньте результаты команд
Code: Select all
v-list-sys-vesta-updates
Code: Select all
cat /etc/sudoers
Code: Select all
cat /etc/sudoers.d/admin
Re: Не входит в панель, ошибку такую по форуму не нашел
# v-list-sys-vesta-updates
PKG VER REL ARCH UPDT DATE
--- --- --- ---- ---- ----
vesta 1.0.0 5 x86_64 yes 2021-12-01
vesta-php 1.0.0 1 x86_64 yes 2021-11-24
vesta-nginx 1.0.0 1 x86_64 yes 2021-11-24
vesta-ioncube 1.0.0 1 x86_64 yes 2021-11-24
vesta-softaculous 1.0.0 1 x86_64 yes 2021-11-24
--------------------------------------------------------------------
# cat /etc/sudoers.d/admin
# Created by vesta installer
Defaults env_keep="VESTA"
Defaults:admin !syslog
Defaults:admin !requiretty
Defaults:root !requiretty
-------------------------------------------------------------------
# cat /etc/sudoers
## Sudoers allows particular users to run various commands as
## the root user, without needing the root password.
##
## Examples are provided at the bottom of the file for collections
## of related commands, which can then be delegated out to particular
## users or groups.
##
## This file must be edited with the 'visudo' command.
## Host Aliases
## Groups of machines. You may prefer to use hostnames (perhaps using
## wildcards for entire domains) or IP addresses instead.
# Host_Alias FILESERVERS = fs1, fs2
# Host_Alias MAILSERVERS = smtp, smtp2
## User Aliases
## These aren't often necessary, as you can use regular groups
## (ie, from files, LDAP, NIS, etc) in this file - just use %groupname
## rather than USERALIAS
# User_Alias ADMINS = jsmith, mikem
## Command Aliases
## These are groups of related commands...
## Networking
# Cmnd_Alias NETWORKING = /sbin/route, /sbin/ifconfig, /bin/ping, /sbin/dhclient, /usr/bin/net, /sbin/iptables, /usr/bin/rfcomm, /usr/bin/wvdial, /sbin/iwconfig, /sbin/mii-tool
## Installation and management of software
# Cmnd_Alias SOFTWARE = /bin/rpm, /usr/bin/up2date, /usr/bin/yum
## Services
# Cmnd_Alias SERVICES = /sbin/service, /sbin/chkconfig, /usr/bin/systemctl start, /usr/bin/systemctl stop, /usr/bin/systemctl reload, /usr/bin/systemctl restart, /usr/bin/systemctl status, /usr/bin/systemctl enable, /usr/bin/systemctl disable
## Updating the locate database
# Cmnd_Alias LOCATE = /usr/bin/updatedb
## Storage
# Cmnd_Alias STORAGE = /sbin/fdisk, /sbin/sfdisk, /sbin/parted, /sbin/partprobe, /bin/mount, /bin/umount
## Delegating permissions
# Cmnd_Alias DELEGATING = /usr/sbin/visudo, /bin/chown, /bin/chmod, /bin/chgrp
## Processes
# Cmnd_Alias PROCESSES = /bin/nice, /bin/kill, /usr/bin/kill, /usr/bin/killall
## Drivers
# Cmnd_Alias DRIVERS = /sbin/modprobe
# Defaults specification
#
# Refuse to run if unable to disable echo on the tty.
#
Defaults !visiblepw
#
# Preserving HOME has security implications since many programs
# use it when searching for configuration files. Note that HOME
# is already set when the the env_reset option is enabled, so
# this option is only effective for configurations where either
# env_reset is disabled or HOME is present in the env_keep list.
#
Defaults always_set_home
Defaults match_group_by_gid
Defaults env_reset
Defaults env_keep = "COLORS DISPLAY HOSTNAME HISTSIZE KDEDIR LS_COLORS"
Defaults env_keep += "MAIL PS1 PS2 QTDIR USERNAME LANG LC_ADDRESS LC_CTYPE"
Defaults env_keep += "LC_COLLATE LC_IDENTIFICATION LC_MEASUREMENT LC_MESSAGES"
Defaults env_keep += "LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER LC_TELEPHONE"
Defaults env_keep += "LC_TIME LC_ALL LANGUAGE LINGUAS _XKB_CHARSET XAUTHORITY"
#
# Adding HOME to env_keep may enable a user to run unrestricted
# commands via sudo.
#
# Defaults env_keep += "HOME"
Defaults secure_path = /sbin:/bin:/usr/sbin:/usr/bin
## Next comes the main part: which users can run what software on
## which machines (the sudoers file can be shared between multiple
## systems).
## Syntax:
##
## user MACHINE=COMMANDS
##
## The COMMANDS section may have other options added to it.
##
## Allow root to run any commands anywhere
admin ALL=(ALL:ALL) ALL
## Allows members of the 'sys' group to run networking, software,
## service management apps and more.
# %sys ALL = NETWORKING, SOFTWARE, SERVICES, STORAGE, DELEGATING, PROCESSES, LOCATE, DRIVERS
## Allows people in group wheel to run all commands
%wheel ALL=(ALL) ALL
## Same thing without a password
# %wheel ALL=(ALL) NOPASSWD: ALL
## Allows members of the users group to mount and unmount the
## cdrom as root
# %users ALL=/sbin/mount /mnt/cdrom, /sbin/umount /mnt/cdrom
## Allows members of the users group to shutdown this system
# %users localhost=/sbin/shutdown -h now
## Read drop-in files from /etc/sudoers.d (the # here does not mean a comment)
#includedir /etc/sudoers.d
PKG VER REL ARCH UPDT DATE
--- --- --- ---- ---- ----
vesta 1.0.0 5 x86_64 yes 2021-12-01
vesta-php 1.0.0 1 x86_64 yes 2021-11-24
vesta-nginx 1.0.0 1 x86_64 yes 2021-11-24
vesta-ioncube 1.0.0 1 x86_64 yes 2021-11-24
vesta-softaculous 1.0.0 1 x86_64 yes 2021-11-24
--------------------------------------------------------------------
# cat /etc/sudoers.d/admin
# Created by vesta installer
Defaults env_keep="VESTA"
Defaults:admin !syslog
Defaults:admin !requiretty
Defaults:root !requiretty
-------------------------------------------------------------------
# cat /etc/sudoers
## Sudoers allows particular users to run various commands as
## the root user, without needing the root password.
##
## Examples are provided at the bottom of the file for collections
## of related commands, which can then be delegated out to particular
## users or groups.
##
## This file must be edited with the 'visudo' command.
## Host Aliases
## Groups of machines. You may prefer to use hostnames (perhaps using
## wildcards for entire domains) or IP addresses instead.
# Host_Alias FILESERVERS = fs1, fs2
# Host_Alias MAILSERVERS = smtp, smtp2
## User Aliases
## These aren't often necessary, as you can use regular groups
## (ie, from files, LDAP, NIS, etc) in this file - just use %groupname
## rather than USERALIAS
# User_Alias ADMINS = jsmith, mikem
## Command Aliases
## These are groups of related commands...
## Networking
# Cmnd_Alias NETWORKING = /sbin/route, /sbin/ifconfig, /bin/ping, /sbin/dhclient, /usr/bin/net, /sbin/iptables, /usr/bin/rfcomm, /usr/bin/wvdial, /sbin/iwconfig, /sbin/mii-tool
## Installation and management of software
# Cmnd_Alias SOFTWARE = /bin/rpm, /usr/bin/up2date, /usr/bin/yum
## Services
# Cmnd_Alias SERVICES = /sbin/service, /sbin/chkconfig, /usr/bin/systemctl start, /usr/bin/systemctl stop, /usr/bin/systemctl reload, /usr/bin/systemctl restart, /usr/bin/systemctl status, /usr/bin/systemctl enable, /usr/bin/systemctl disable
## Updating the locate database
# Cmnd_Alias LOCATE = /usr/bin/updatedb
## Storage
# Cmnd_Alias STORAGE = /sbin/fdisk, /sbin/sfdisk, /sbin/parted, /sbin/partprobe, /bin/mount, /bin/umount
## Delegating permissions
# Cmnd_Alias DELEGATING = /usr/sbin/visudo, /bin/chown, /bin/chmod, /bin/chgrp
## Processes
# Cmnd_Alias PROCESSES = /bin/nice, /bin/kill, /usr/bin/kill, /usr/bin/killall
## Drivers
# Cmnd_Alias DRIVERS = /sbin/modprobe
# Defaults specification
#
# Refuse to run if unable to disable echo on the tty.
#
Defaults !visiblepw
#
# Preserving HOME has security implications since many programs
# use it when searching for configuration files. Note that HOME
# is already set when the the env_reset option is enabled, so
# this option is only effective for configurations where either
# env_reset is disabled or HOME is present in the env_keep list.
#
Defaults always_set_home
Defaults match_group_by_gid
Defaults env_reset
Defaults env_keep = "COLORS DISPLAY HOSTNAME HISTSIZE KDEDIR LS_COLORS"
Defaults env_keep += "MAIL PS1 PS2 QTDIR USERNAME LANG LC_ADDRESS LC_CTYPE"
Defaults env_keep += "LC_COLLATE LC_IDENTIFICATION LC_MEASUREMENT LC_MESSAGES"
Defaults env_keep += "LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER LC_TELEPHONE"
Defaults env_keep += "LC_TIME LC_ALL LANGUAGE LINGUAS _XKB_CHARSET XAUTHORITY"
#
# Adding HOME to env_keep may enable a user to run unrestricted
# commands via sudo.
#
# Defaults env_keep += "HOME"
Defaults secure_path = /sbin:/bin:/usr/sbin:/usr/bin
## Next comes the main part: which users can run what software on
## which machines (the sudoers file can be shared between multiple
## systems).
## Syntax:
##
## user MACHINE=COMMANDS
##
## The COMMANDS section may have other options added to it.
##
## Allow root to run any commands anywhere
admin ALL=(ALL:ALL) ALL
## Allows members of the 'sys' group to run networking, software,
## service management apps and more.
# %sys ALL = NETWORKING, SOFTWARE, SERVICES, STORAGE, DELEGATING, PROCESSES, LOCATE, DRIVERS
## Allows people in group wheel to run all commands
%wheel ALL=(ALL) ALL
## Same thing without a password
# %wheel ALL=(ALL) NOPASSWD: ALL
## Allows members of the users group to mount and unmount the
## cdrom as root
# %users ALL=/sbin/mount /mnt/cdrom, /sbin/umount /mnt/cdrom
## Allows members of the users group to shutdown this system
# %users localhost=/sbin/shutdown -h now
## Read drop-in files from /etc/sudoers.d (the # here does not mean a comment)
#includedir /etc/sudoers.d
Re: Не входит в панель, ошибку такую по форуму не нашел
Доступ к серверу сможете предоставить? посмотрим в чем проблема
Re: Не входит в панель, ошибку такую по форуму не нашел
в /etc/pam.d/sudo
попробуйте добавить
выше
попробуйте добавить
Code: Select all
auth sufficient pam_permit.so
Code: Select all
auth include system-auth
account include system-auth
password include system-auth
session optional pam_keyinit.so revoke
session include system-auth
Re: Не входит в панель, ошибку такую по форуму не нашел
Заработало!imperio wrote: ↑Wed Dec 01, 2021 7:49 pmв /etc/pam.d/sudo
попробуйте добавитьвышеCode: Select all
auth sufficient pam_permit.so
Code: Select all
auth include system-auth account include system-auth password include system-auth session optional pam_keyinit.so revoke session include system-auth
Я кстати это решение находил но дописывал строчку в конец файла))
Спасибо большое за помощь!