Сброс и восстановление пароля пользователя admin
Posted: Mon Feb 05, 2018 1:34 pm
Здравствуйте, наверное это будет не верная тема, потому что такие уже созданы, Но их всех я прочел и проблему не решил.
Суть проблемы: Установил панель и сразу прописал команду clear так и не узнав пароль пользователя.
Решения: 1. v-change-user-password USER PASSWORD
2. /usr/local/vesta/bin/v-change-user-password USER PASSWORD
Проблемы решений: 1. bash: v-change-user-password: команда не найдена
2.
Логи:
OS: CentOS 7
Пользователь системы: root
Суть проблемы: Установил панель и сразу прописал команду clear так и не узнав пароль пользователя.
Решения: 1. v-change-user-password USER PASSWORD
2. /usr/local/vesta/bin/v-change-user-password USER PASSWORD
Проблемы решений: 1. bash: v-change-user-password: команда не найдена
2.
SpoilerShow
/usr/local/vesta/bin/v-change-user-password: line 17: /usr/local/vesta/v-change-user-password/func/main.sh: Нет такого файла или каталога
/usr/local/vesta/bin/v-change-user-password: line 18: /usr/local/vesta/v-change-user-password/conf/vesta.conf: Нет такого файла или каталога
/usr/local/vesta/bin/v-change-user-password: line 25: check_args: команда не найдена
/usr/local/vesta/bin/v-change-user-password: line 26: is_format_valid: команда не найдена
/usr/local/vesta/bin/v-change-user-password: line 27: is_object_valid: команда не найдена
/usr/local/vesta/bin/v-change-user-password: line 28: is_object_unsuspended: команда не найдена
/usr/local/vesta/bin/v-change-user-password: line 29: is_password_valid: команда не найдена
/usr/local/vesta/bin/v-change-user-password: line 46: generate_password: команда не найдена
/usr/local/vesta/bin/v-change-user-password: line 46: update_user_value: команда не найдена
/usr/local/vesta/bin/v-change-user-password: line 47: update_user_value: команда не найдена
/usr/local/vesta/bin/v-change-user-password: line 50: log_history: команда не найдена
/usr/local/vesta/bin/v-change-user-password: line 51: log_event: команда не найдена
/usr/local/vesta/bin/v-change-user-password: line 18: /usr/local/vesta/v-change-user-password/conf/vesta.conf: Нет такого файла или каталога
/usr/local/vesta/bin/v-change-user-password: line 25: check_args: команда не найдена
/usr/local/vesta/bin/v-change-user-password: line 26: is_format_valid: команда не найдена
/usr/local/vesta/bin/v-change-user-password: line 27: is_object_valid: команда не найдена
/usr/local/vesta/bin/v-change-user-password: line 28: is_object_unsuspended: команда не найдена
/usr/local/vesta/bin/v-change-user-password: line 29: is_password_valid: команда не найдена
/usr/local/vesta/bin/v-change-user-password: line 46: generate_password: команда не найдена
/usr/local/vesta/bin/v-change-user-password: line 46: update_user_value: команда не найдена
/usr/local/vesta/bin/v-change-user-password: line 47: update_user_value: команда не найдена
/usr/local/vesta/bin/v-change-user-password: line 50: log_history: команда не найдена
/usr/local/vesta/bin/v-change-user-password: line 51: log_event: команда не найдена
Логи:
Code: Select all
/usr/local/vesta/log/nginx-error.log
SpoilerShow
018/02/05 17:59:12 [error] 2190#0: *1 FastCGI sent in stderr: "PHP message: PHP Notice: Undefined variable: _SESSION in /usr/local/vesta/web/softaculous/index.php on$
PHP message: PHP Notice: Undefined variable: _SESSION in /usr/local/vesta/web/softaculous/index.php on line 32
PHP message: PHP Notice: Undefined variable: _SESSION in /usr/local/vesta/web/softaculous/index.php on line 35
PHP message: PHP Notice: Undefined variable: _SESSION in /usr/local/vesta/web/softaculous/index.php on line 60
PHP message: PHP Notice: Use of undefined constant VESTA_CMD - assumed 'VESTA_CMD' in /usr/local/vesta/web/softaculous/index.php on line 65
PHP message: PHP Notice: Use of undefined constant VESTA_CMD - assumed 'VESTA_CMD' in /usr/local/vesta/web/softaculous/index.php on line 76
PHP message: PHP Warning: array_keys() expects parameter 1 to be array, null given in /usr/local/vesta/web/softaculous/index.php on line 85" while reading response he$
2018/02/05 17:59:13 [error] 2190#0: *3 FastCGI sent in stderr: "PHP message: PHP Notice: Undefined variable: _SESSION in /usr/local/vesta/web/softaculous/index.php on$
PHP message: PHP Notice: Undefined variable: _SESSION in /usr/local/vesta/web/softaculous/index.php on line 32
PHP message: PHP Notice: Undefined variable: _SESSION in /usr/local/vesta/web/softaculous/index.php on line 35
PHP message: PHP Notice: Undefined variable: _SESSION in /usr/local/vesta/web/softaculous/index.php on line 60
PHP message: PHP Notice: Use of undefined constant VESTA_CMD - assumed 'VESTA_CMD' in /usr/local/vesta/web/softaculous/index.php on line 65
PHP message: PHP Notice: Use of undefined constant VESTA_CMD - assumed 'VESTA_CMD' in /usr/local/vesta/web/softaculous/index.php on line 76
PHP message: PHP Warning: array_keys() expects parameter 1 to be array, null given in /usr/local/vesta/web/softaculous/index.php on line 85" while reading response he$
2018/02/05 17:59:13 [error] 2190#0: *5 FastCGI sent in stderr: "PHP message: PHP Notice: Undefined variable: _SESSION in /usr/local/vesta/web/softaculous/index.php on$
PHP message: PHP Notice: Undefined variable: _SESSION in /usr/local/vesta/web/softaculous/index.php on line 32
PHP message: PHP Notice: Undefined variable: _SESSION in /usr/local/vesta/web/softaculous/index.php on line 35
PHP message: PHP Notice: Undefined variable: _SESSION in /usr/local/vesta/web/softaculous/index.php on line 60
PHP message: PHP Notice: Use of undefined constant VESTA_CMD - assumed 'VESTA_CMD' in /usr/local/vesta/web/softaculous/index.php on line 65
PHP message: PHP Notice: Use of undefined constant VESTA_CMD - assumed 'VESTA_CMD' in /usr/local/vesta/web/softaculous/index.php on line 76
PHP message: PHP Warning: array_keys() expects parameter 1 to be array, null given in /usr/local/vesta/web/softaculous/index.php on line 85" while reading response he$
2018/02/05 18:07:36 [error] 2190#0: *15 FastCGI sent in stderr: "PHP message: PHP Notice: A session had already been started - ignoring session_start() in /usr/local/$
2018/02/05 18:07:39 [error] 2190#0: *15 FastCGI sent in stderr: "PHP message: PHP Notice: A session had already been started - ignoring session_start() in /usr/local/$
2018/02/05 18:07:39 [error] 2190#0: *15 FastCGI sent in stderr: "PHP message: PHP Notice: A session had already been started - ignoring session_start() in /usr/local/$
2018/02/05 18:08:09 [error] 2190#0: *15 FastCGI sent in stderr: "PHP message: PHP Notice: A session had already been started - ignoring session_start() in /usr/local/$
PHP message: PHP Notice: Undefined variable: _SESSION in /usr/local/vesta/web/softaculous/index.php on line 32
PHP message: PHP Notice: Undefined variable: _SESSION in /usr/local/vesta/web/softaculous/index.php on line 35
PHP message: PHP Notice: Undefined variable: _SESSION in /usr/local/vesta/web/softaculous/index.php on line 60
PHP message: PHP Notice: Use of undefined constant VESTA_CMD - assumed 'VESTA_CMD' in /usr/local/vesta/web/softaculous/index.php on line 65
PHP message: PHP Notice: Use of undefined constant VESTA_CMD - assumed 'VESTA_CMD' in /usr/local/vesta/web/softaculous/index.php on line 76
PHP message: PHP Warning: array_keys() expects parameter 1 to be array, null given in /usr/local/vesta/web/softaculous/index.php on line 85" while reading response he$
2018/02/05 17:59:13 [error] 2190#0: *3 FastCGI sent in stderr: "PHP message: PHP Notice: Undefined variable: _SESSION in /usr/local/vesta/web/softaculous/index.php on$
PHP message: PHP Notice: Undefined variable: _SESSION in /usr/local/vesta/web/softaculous/index.php on line 32
PHP message: PHP Notice: Undefined variable: _SESSION in /usr/local/vesta/web/softaculous/index.php on line 35
PHP message: PHP Notice: Undefined variable: _SESSION in /usr/local/vesta/web/softaculous/index.php on line 60
PHP message: PHP Notice: Use of undefined constant VESTA_CMD - assumed 'VESTA_CMD' in /usr/local/vesta/web/softaculous/index.php on line 65
PHP message: PHP Notice: Use of undefined constant VESTA_CMD - assumed 'VESTA_CMD' in /usr/local/vesta/web/softaculous/index.php on line 76
PHP message: PHP Warning: array_keys() expects parameter 1 to be array, null given in /usr/local/vesta/web/softaculous/index.php on line 85" while reading response he$
2018/02/05 17:59:13 [error] 2190#0: *5 FastCGI sent in stderr: "PHP message: PHP Notice: Undefined variable: _SESSION in /usr/local/vesta/web/softaculous/index.php on$
PHP message: PHP Notice: Undefined variable: _SESSION in /usr/local/vesta/web/softaculous/index.php on line 32
PHP message: PHP Notice: Undefined variable: _SESSION in /usr/local/vesta/web/softaculous/index.php on line 35
PHP message: PHP Notice: Undefined variable: _SESSION in /usr/local/vesta/web/softaculous/index.php on line 60
PHP message: PHP Notice: Use of undefined constant VESTA_CMD - assumed 'VESTA_CMD' in /usr/local/vesta/web/softaculous/index.php on line 65
PHP message: PHP Notice: Use of undefined constant VESTA_CMD - assumed 'VESTA_CMD' in /usr/local/vesta/web/softaculous/index.php on line 76
PHP message: PHP Warning: array_keys() expects parameter 1 to be array, null given in /usr/local/vesta/web/softaculous/index.php on line 85" while reading response he$
2018/02/05 18:07:36 [error] 2190#0: *15 FastCGI sent in stderr: "PHP message: PHP Notice: A session had already been started - ignoring session_start() in /usr/local/$
2018/02/05 18:07:39 [error] 2190#0: *15 FastCGI sent in stderr: "PHP message: PHP Notice: A session had already been started - ignoring session_start() in /usr/local/$
2018/02/05 18:07:39 [error] 2190#0: *15 FastCGI sent in stderr: "PHP message: PHP Notice: A session had already been started - ignoring session_start() in /usr/local/$
2018/02/05 18:08:09 [error] 2190#0: *15 FastCGI sent in stderr: "PHP message: PHP Notice: A session had already been started - ignoring session_start() in /usr/local/$
Code: Select all
/usr/local/vesta/log/system.log
SpoilerShow
2018-02-05 17:45:45 v-change-sys-hostname 'bten.ml'
2018-02-05 17:45:48 v-generate-ssl-cert 'bten.ml' '[email protected]' 'US' 'California' 'San Francisco' 'Vesta Control Panel' 'IT'
2018-02-05 17:49:56 v-add-firewall-chain 'SSH'
2018-02-05 17:49:56 v-add-firewall-chain 'FTP'
2018-02-05 17:49:57 v-add-firewall-chain 'MAIL'
2018-02-05 17:49:57 v-add-firewall-chain 'MAIL'
2018-02-05 17:49:57 v-add-user 'admin' '******' '[email protected]' 'default' 'System' 'Administrator'
2018-02-05 17:49:57 v-add-firewall-chain 'VESTA'
2018-02-05 17:49:57 v-change-user-shell 'admin' 'bash'
2018-02-05 17:49:57 v-change-user-language 'admin' 'en'
2018-02-05 17:49:58 v-add-sys-ip '192.168.1.17' '255.255.255.0' 'enp1s0'
2018-02-05 17:50:00 v-change-sys-ip-nat '192.168.1.17' '85.15.175.139'
2018-02-05 17:50:00 v-add-database-host 'mysql' 'localhost' 'root' '******'
2018-02-05 17:50:00 v-add-database 'admin' 'default' 'default' '******' 'mysql'
2018-02-05 17:50:01 v-add-web-domain 'admin' 'bten.ml' '85.15.175.139' 'no'
2018-02-05 17:50:01 v-add-dns-domain 'admin' 'bten.ml' '85.15.175.139' '' '' '' '' '' '' 'admin0' 'admin1' 'admin2'
2018-02-05 17:50:02 v-add-dns-record 'admin' 'bten.ml' '_domainkey' 'TXT' '"t=y; o=~;"' '' '' 'no'
2018-02-05 17:50:02 v-add-dns-record 'admin' 'bten.ml' 'mail._domainkey' 'TXT' '"v=DKIM1\; k=rsa\; p=MIGfMA0GCSqGSIb3DQEBAQUAA4GNADCBiQKBgQC3PpxjiWpCVbVDjaHw3CAAOJlme$
2018-02-05 17:50:01 v-add-mail-domain 'admin' 'bten.ml'
2018-02-05 17:50:03 v-add-cron-job 'admin' '15' '02' 'abrt adjtime akonadi aliases aliases.db alsa alternatives anacrontab asound.conf at.deny audisp audit awstats ba$
2018-02-05 17:50:04 v-add-cron-job 'admin' '10' '00' 'abrt adjtime akonadi aliases aliases.db alsa alternatives anacrontab asound.conf at.deny audisp audit awstats ba$
2018-02-05 17:50:04 v-add-cron-job 'admin' '30' '03' 'abrt adjtime akonadi aliases aliases.db alsa alternatives anacrontab asound.conf at.deny audisp audit awstats ba$
2018-02-05 17:50:04 v-add-cron-job 'admin' '*/5' 'abrt adjtime akonadi aliases aliases.db alsa alternatives anacrontab asound.conf at.deny audisp audit awstats bash_c$
2018-02-05 17:50:05 v-add-cron-job 'admin' '10' '05' 'abrt adjtime akonadi aliases aliases.db alsa alternatives anacrontab asound.conf at.deny audisp audit awstats ba$
2018-02-05 17:50:05 v-add-cron-job 'admin' '20' '00' 'abrt adjtime akonadi aliases aliases.db alsa alternatives anacrontab asound.conf at.deny audisp audit awstats ba$
2018-02-05 17:50:05 v-add-cron-job 'admin' '*/5' 'abrt adjtime akonadi aliases aliases.db alsa alternatives anacrontab asound.conf at.deny audisp audit awstats bash_c$
2018-02-05 17:50:16 v-add-vesta-softaculous
2018-02-05 17:50:17 v-add-cron-vesta-autoupdate
2018-02-05 17:45:48 v-generate-ssl-cert 'bten.ml' '[email protected]' 'US' 'California' 'San Francisco' 'Vesta Control Panel' 'IT'
2018-02-05 17:49:56 v-add-firewall-chain 'SSH'
2018-02-05 17:49:56 v-add-firewall-chain 'FTP'
2018-02-05 17:49:57 v-add-firewall-chain 'MAIL'
2018-02-05 17:49:57 v-add-firewall-chain 'MAIL'
2018-02-05 17:49:57 v-add-user 'admin' '******' '[email protected]' 'default' 'System' 'Administrator'
2018-02-05 17:49:57 v-add-firewall-chain 'VESTA'
2018-02-05 17:49:57 v-change-user-shell 'admin' 'bash'
2018-02-05 17:49:57 v-change-user-language 'admin' 'en'
2018-02-05 17:49:58 v-add-sys-ip '192.168.1.17' '255.255.255.0' 'enp1s0'
2018-02-05 17:50:00 v-change-sys-ip-nat '192.168.1.17' '85.15.175.139'
2018-02-05 17:50:00 v-add-database-host 'mysql' 'localhost' 'root' '******'
2018-02-05 17:50:00 v-add-database 'admin' 'default' 'default' '******' 'mysql'
2018-02-05 17:50:01 v-add-web-domain 'admin' 'bten.ml' '85.15.175.139' 'no'
2018-02-05 17:50:01 v-add-dns-domain 'admin' 'bten.ml' '85.15.175.139' '' '' '' '' '' '' 'admin0' 'admin1' 'admin2'
2018-02-05 17:50:02 v-add-dns-record 'admin' 'bten.ml' '_domainkey' 'TXT' '"t=y; o=~;"' '' '' 'no'
2018-02-05 17:50:02 v-add-dns-record 'admin' 'bten.ml' 'mail._domainkey' 'TXT' '"v=DKIM1\; k=rsa\; p=MIGfMA0GCSqGSIb3DQEBAQUAA4GNADCBiQKBgQC3PpxjiWpCVbVDjaHw3CAAOJlme$
2018-02-05 17:50:01 v-add-mail-domain 'admin' 'bten.ml'
2018-02-05 17:50:03 v-add-cron-job 'admin' '15' '02' 'abrt adjtime akonadi aliases aliases.db alsa alternatives anacrontab asound.conf at.deny audisp audit awstats ba$
2018-02-05 17:50:04 v-add-cron-job 'admin' '10' '00' 'abrt adjtime akonadi aliases aliases.db alsa alternatives anacrontab asound.conf at.deny audisp audit awstats ba$
2018-02-05 17:50:04 v-add-cron-job 'admin' '30' '03' 'abrt adjtime akonadi aliases aliases.db alsa alternatives anacrontab asound.conf at.deny audisp audit awstats ba$
2018-02-05 17:50:04 v-add-cron-job 'admin' '*/5' 'abrt adjtime akonadi aliases aliases.db alsa alternatives anacrontab asound.conf at.deny audisp audit awstats bash_c$
2018-02-05 17:50:05 v-add-cron-job 'admin' '10' '05' 'abrt adjtime akonadi aliases aliases.db alsa alternatives anacrontab asound.conf at.deny audisp audit awstats ba$
2018-02-05 17:50:05 v-add-cron-job 'admin' '20' '00' 'abrt adjtime akonadi aliases aliases.db alsa alternatives anacrontab asound.conf at.deny audisp audit awstats ba$
2018-02-05 17:50:05 v-add-cron-job 'admin' '*/5' 'abrt adjtime akonadi aliases aliases.db alsa alternatives anacrontab asound.conf at.deny audisp audit awstats bash_c$
2018-02-05 17:50:16 v-add-vesta-softaculous
2018-02-05 17:50:17 v-add-cron-vesta-autoupdate
Пользователь системы: root