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 ... 16 17 [18] 19 20 ... 57
256
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

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

258
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

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

260
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

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

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

263
Apache / Re: Apache won't start after upgrading to php 8+ (httpd failed)
« on: September 05, 2023, 08:01:31 PM »
Your logs indicate an IonCube problem and an SSL server name mismatch. Can you work on those two problems and see if it starts? Did you follow up with support and let them know you made further changes from the state they left it and apache then wouldn't start?

264
How to / Re: How to edit main domain of an account
« on: September 04, 2023, 02:51:42 PM »
I think you would have to delete the parked domain, then create a new user with the parked domain as the main domain, and then move any content of the /home/olduser/public_html to the new public_html, as well as any databases (export, then import under the new mysql user). Slightly cumbersome, but in actuality accomplished within minutes.

265
Apache / Re: Apache won't start after upgrading to php 8+ (httpd failed)
« on: September 04, 2023, 02:58:02 AM »
Logs usually help unravel these types of problems. What do the apache logs show? Also, do an apache configtest to make sure your conf file syntax is correct.

266
Information / Re: Control Panel and Sites
« on: September 04, 2023, 02:56:22 AM »
You may want to run external monitoring software; either simple ping or more involved site monitoring with SMS or e-mail alerts.

267
CentOS-WebPanel GUI / Re: cache img and css in panel
« on: September 04, 2023, 02:48:50 AM »
But what is your own ISP connection speed? And what is your VPS guaranteed -- 100Mbit? Gigabit? Is this at peak times, or all the time (off hours)?

268
CentOS-WebPanel GUI / Re: cache img and css in panel
« on: September 02, 2023, 12:53:06 PM »
CWP lives in /usr/local/cwpsrv/
Are you looking at the user panel or admin panel?
But I do think you're approaching the wrong problem -- if you want things to go faster, take assessment of your available resources and your current load. Is this a VPS? What connection speed are you guaranteed? CPU and RAM?

269
CentOS 7 Problems / Re: Can we delete File and folders under tmp Folder ?
« on: September 02, 2023, 02:43:21 AM »
I wouldn't clear anything in /tmp -- look elsewhere for low hanging fruit. Typical offenders are log files (if you haven't enabled logrotate on them), user's IMAP trash folders, DB backups, and even daily backups if users have implemented a CMS-level (WordPress) backup solution -- so you wind up with large compressed archives in triplicate: daily, weekly, monthly).

You could search for files 100MB or larger:
Code: [Select]
sudo find / -xdev -type f -size +100M
Use your judgement to selectively delete some XL size files. And then likely you could truncate some of the log files to 0 bytes and start fresh, along with implementing logrotate:
Code: [Select]
truncate -s0 /var/log/spamd.log

270
MySQL / Re: Excessive resource usage: mysql
« on: August 31, 2023, 10:26:33 PM »

Pages: 1 ... 16 17 [18] 19 20 ... 57