Show Posts

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.


Messages - overseer

Pages: 1 ... 30 31 [32] 33 34 ... 71
466
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.

467
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:
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 ;)

468
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.

469
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.

470
SSL / Re: Session Cache is not configured [hint: SSLSessionCache]
« on: September 08, 2023, 02:40:58 PM »
Try this module:
Code: [Select]
LoadModule socache_shmcb_module modules/mod_socache_shmcb.soand in /usr/local/apache/conf/extra/httpd-ssl.conf add this line:
Code: [Select]
SSLSessionCache "shmcb:logs/ssl_scache(512000)"Restart Apache.

471
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:
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

473
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

474
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

475
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?

476
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

477
Other / Re: cwp is not activated
« on: September 06, 2023, 02:20:14 PM »
I've never had a problem with PayPal payments for CWP. Try a support ticket instead of a billing ticket.

478
Apache / Re: Apache won't start after upgrading to php 8+ (httpd failed)
« on: September 06, 2023, 02:19:19 PM »
I've never found their permissions fix to accomplish much of anything, so I ignore its existence. Here's a one-liner:
Code: [Select]
for user in $(ls /home); do chown -R $user:$user /home/$user/public_html ; doneIn fact, I see no reason not to take it up one level to the /home level:
Code: [Select]
for user in $(ls /home); do chown -R $user:$user /home/$user ; done

479
Backup / Re: Backup Beta, ** not backing up databases **
« on: September 05, 2023, 08:06:18 PM »
image your server off-site, as well as periodic rsync backups or otherwise offsite. I also have a script to dump every SQL database to a discrete file periodically that can then be backed up off site. If you're not backed up in triplicate, you're not really backed up...

480
CentOS 7 Problems / Re: ssl didnt update automatically
« on: September 05, 2023, 08:03:44 PM »
It should auto-renew by default, but will fail if DNS resolution isn't correct for the service name subdomains and/or if you have http -> https redirects in place. You could try a manual renewal after checking those two areas.

Pages: 1 ... 30 31 [32] 33 34 ... 71