This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.
841
Nginx / Re: Apache stops randomly after upgrading to nginx, Vanish, Apache PHP-FPM
« on: September 10, 2023, 02:14:55 PM »
Any log snippets would be appreciated. Configtest checks out? systemctl status?
842
CentOS 7 Problems / Re: can not create a domain
« on: September 10, 2023, 02:12:12 PM »
I suppose at this point you will have to do some manual cleanup of the
Or maybe you can just delete the user account and the domain from DNS; then start over.
Code: [Select]
r00t _ cwp
DB (after backing it up, of course).Or maybe you can just delete the user account and the domain from DNS; then start over.
843
How to / Re: How to customize file manager page
« on: September 10, 2023, 04:41:21 AM »
I'm sure the lack of response was telling. CWP is a bit limited in its skin-ability and customization. Mostly because the majority of the pages are IonCube encoded, so things are very opaque and unworkable to reverse engineer.
844
CentOS 7 Problems / Re: Problem logging into the user panel
« on: September 09, 2023, 05:55:19 PM »
Yes, exactly. You may even want to purchase a domain just for server management, with no public-facing web sites. I would suggest tec-host.net in your case.
845
CentOS 7 Problems / Re: Problem logging into the user panel
« on: September 09, 2023, 05:05:05 PM »
Is the server FQDN a subdomain of your main domain? I hope it's not just the main domain or the www subdomain/CNAME...
My VM servers are srv1, srv2, etc. Bare metal hosts are host1, host2, etc. All have valid DNS and rDNS entries.
My VM servers are srv1, srv2, etc. Bare metal hosts are host1, host2, etc. All have valid DNS and rDNS entries.
846
SSL / Re: Session Cache is not configured [hint: SSLSessionCache]
« on: September 09, 2023, 05:01:28 PM »
That is the default CWP configuration, so it's good to know you haven't manually changed anything to deviate. How about if you manually create the cache file:
touch / usr / local / apache / logs / ssl_scache
Then you may want to rotate or truncate the access_log and (especially) error_log so as to reduce the file size and noise, to keep it current:
Note: Of course, delete the spaces in the paths above -- the forum doesn't like some system paths being referenced in posts
touch / usr / local / apache / logs / ssl_scache
Then you may want to rotate or truncate the access_log and (especially) error_log so as to reduce the file size and noise, to keep it current:
Code: [Select]
truncate -s0 / usr / local / apache/ logs / access_log
truncate -s0 / usr / local/ apache / logs/ error_log
Restart Apache and watch for your error again. (I was seeing about ~5 instances a day recently.) But do notice that it's just a warning, so not overly concerning. Note: Of course, delete the spaces in the paths above -- the forum doesn't like some system paths being referenced in posts

847
CentOS 7 Problems / Re: Problem logging into the user panel
« on: September 09, 2023, 04:22:46 AM »
Are you able to login to the admin panel just fine (2031/2087)?
Only with end users logging into port 2083 do you experience this?
Does it show "logging in" and then kicks you back to the login page? Sometimes logging in 2x in succession will get you past this bug.
Only with end users logging into port 2083 do you experience this?
Does it show "logging in" and then kicks you back to the login page? Sometimes logging in 2x in succession will get you past this bug.
848
CentOS 7 Problems / Re: CWP User account timezone
« on: September 08, 2023, 02:52:24 PM »
The panel should report the system time, which generally will not be UTC, unless your server is hosted in that longitude. Is your system time set correctly? Looking at the root_cwp database, there is no provision to have an time offset for individual users.
849
SSL / Re: Session Cache is not configured [hint: SSLSessionCache]
« on: September 08, 2023, 02:40:58 PM »850
CentOS-WebPanel GUI / Re: User Panel timezone
« on: September 08, 2023, 02:35:01 PM »
As a matter of housekeeping, you should check at the OS level to make sure your overall system time is correct and syncing with a times server.
Set the timezone:
Install NTP:
Set the NTP servers in /etc/ntp.conf:
Set the timezone:
Code: [Select]
timedatectl set-timezone America/Chicago
Install NTP:
Code: [Select]
yum install ntp
systemctl start ntpd.service
systemctl enable ntpd.service
Set the NTP servers in /etc/ntp.conf:
Code: [Select]
server 0.pool.ntp.org
server 1.pool.ntp.org
server 2.pool.ntp.org
851
MySQL / Re: MySQL user setup doesn’t have access to create tables
« on: September 07, 2023, 10:44:48 PM »852
Apache / Re: Apache won't start after upgrading to php 8+ (httpd failed)
« on: September 07, 2023, 07:32:22 AM »
For your example, to apply permissions just to that one account:
Code: [Select]
chown mix1:nobody /home/mix1/public_html
853
Nginx / Re: custom to block /whm
« on: September 07, 2023, 07:27:19 AM »
WebServer Settings > Apache Redirects
Code: [Select]
Redirect permanent /whm https://[IP-ADDR]:2031/
Delete
854
Updates / Re: No Updates
« on: September 07, 2023, 02:37:53 AM »
Did you reboot your server before final testing to make sure it works without errors and updates normally?
855
Apache / Re: Apache won't start after upgrading to php 8+ (httpd failed)
« on: September 07, 2023, 02:27:43 AM »
My one-liner works against normal system accounts (such as my overseer sudo user with a home of /home/overseer, as well as the tomcat user) and normal CWP hosting accounts. But for the /public_html directory, you will want the group to be nobody, as the web server needs to be able to traverse into that directory.
Code: [Select]
for user in $(ls /home); do chown $user:nobody /home/$user/public_html ; done