Control Web Panel

WebPanel => Installation => Topic started by: maxpostal on June 21, 2021, 12:02:33 PM

Title: Cannot install CWP on CentOS 7 and 8
Post by: maxpostal on June 21, 2021, 12:02:33 PM
Hello,

I cannot log in to CWP after install.
I did all steps according to the official instruction and used CentOS 7 and 8 fresh installations.

When I open the CWP page after install and try to log in using the root account I get Error *Login failed*

If I use the commands:

Code: [Select]
/bin/bash /scripts/restart_cwpsrv
journalctl -xe

I get some info:

Code: [Select]
-- The start-up result is done.
июн 21 11:43:11 domain.team polkitd[574]: Unregistered Authentication Agent for unix-process:7913:7617 (system bus name :1.23, object path /org/
июн 21 11:43:11 domain.team polkitd[574]: Registered Authentication Agent for unix-process:7921:7619 (system bus name :1.24 [/usr/bin/pkttyagent
июн 21 11:43:11 domain.team systemd[1]: Stopping The PHP FastCGI Process Manager...
-- Subject: Unit cwp-phpfpm.service has begun shutting down
-- Defined-By: systemd
-- Support: http://lists.freedesktop.org/mailman/listinfo/systemd-devel
--
-- Unit cwp-phpfpm.service has begun shutting down.
июн 21 11:43:11 domain.team systemd[1]: Stopped The PHP FastCGI Process Manager.
-- Subject: Unit cwp-phpfpm.service has finished shutting down
-- Defined-By: systemd
-- Support: http://lists.freedesktop.org/mailman/listinfo/systemd-devel
--
-- Unit cwp-phpfpm.service has finished shutting down.
июн 21 11:43:11 domain.team systemd[1]: Started The PHP FastCGI Process Manager.
-- Subject: Unit cwp-phpfpm.service has finished start-up
-- Defined-By: systemd
-- Support: http://lists.freedesktop.org/mailman/listinfo/systemd-devel

Could you help me install the panel, please?
Title: Re: Cannot install CWP on CentOS 7 and 8
Post by: riu on June 24, 2021, 01:06:06 PM
Hi,
You need to activate the access to the server as root:
You have to log in to your server using SSH, and before install CWP:

sudo su
grep root /etc/shadow
passwd
(next line enter the root password)
usermod --unlock root

After this you can install CWP and access with the root access.

I hope have been helpful.