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 - rcschaff

Pages: [1] 2 3 ... 57
1
Updates / Re: maria DB update
« on: Today at 01:10:54 AM »
the Centos Repos have been archived.  You need to change the mariadb.repo file.  Change all instances of mirror. to archive.

2
PHP / Re: over core pipe limit error
« on: April 12, 2025, 08:04:36 PM »
Out of Memory, Out of SWAP, Out of Disk Space.  Could be loads of things.  Can you post your server specs.

3
MySQL / Re: /includes/class_core.php on line 311 error
« on: April 12, 2025, 01:00:53 PM »
PHP Forums are known to be hard on mysql servers.  It's entirely possibly that the mysql server is overwhelmed with connections, thus the timeout message.   Tuning your mysql to meet your server resources, as well as caching plugins should help resolve the problem.

4
Information / Re: check all autoSSL (Lets encrypt) that failed
« on: April 12, 2025, 12:59:20 PM »
cat /root/.acme.sh/cwp_certs/acme.sh.log | more

5
CentOS-WebPanel GUI / Re: Email ids and forwards
« on: April 12, 2025, 12:52:04 PM »
Just as it refers to.  Add the forward address in as one of the comma separated list of emails to be forwarded to.


https://prnt.sc/3Scr75OKwP5n

6
MySQL / Re: howto export all databases and users with privel
« on: April 12, 2025, 04:51:04 AM »
mysqldump --system=users --insert-ignore --all-databases >  alldatabase.sql


More info can be found here:

https://dba.stackexchange.com/questions/299650/mysqldump-all-database-including-user-password-and-grants

7
Information / Re: Goaccess stopped working
« on: April 10, 2025, 03:34:36 PM »
Code: [Select]
/usr/local/apache/domlogs/*.log {      <<<  Tells logrotate all files ending in .log in the domlog directory
    missingok   <<< continue log rotation without reporting any error if any of the specified log files are missing.
    notifempty   <<< ensures that log files are not rotated if they are empty. If a log file is empty, it won't trigger rotation.
    sharedscripts    <<< ensures that the commands or scripts specified in the prerotate or postrotate directive are executed only once, regardless of the number of log files being rotated.
    daily  <<<  Run every day
    rotate 7    <<< Keep 7 days of logs
    postrotate    <<<<  reload httpd once the logs are rotated
        /sbin/service httpd reload > /var/log/httpd-rotate.log 2>&1 || true
    endscript
    compress   <<<< GZIP the log files to save space
}

8
DNS / Re: My webpanel as DNS server
« on: April 10, 2025, 03:29:52 PM »
Hi, thank you by your recommendation. But if I want to use my webpanel server to be my own dns server how can I do it please?

Your first requirement is to setup your own nameservers.  Most Registar's call these either GLUE records or HOST records.  You need to log in and create at least 2 records (Ex ns1 and ns2). 

Then change the Nameservers in CWP to use your custom nameservers

I highly recommend a second server somewhere to host the second DNS server.

9
If you log in via shell, can you simply type "mysql" and get access.  Or do you get the same error.

try /scripts/mysql_pwd_reset

Set the root password to the one that in db_conn.php


10
The other option, is to change the root password for the user to the one in db_conn.php, as this will be what all of the other applications use.


11
Can you log into mysql with root.   If so, please do the following.

cat /root/.my.cnf    Copy everything after password=

nano /usr/local/cwpsrv/htdocs/resources/admin/include/db_conn.php

Change that password to the one you copied from .my.cnf

This should get your user panels up and running.

12
tail -n 50 /usr/local/apache/domlogs/{domain}.error.log

13
Addons / Re: WordPress Management Tool (i.e. WP-Toolkit)
« on: March 12, 2025, 05:06:18 AM »
CWP uses Softaculous for wordpress management.  Not sure what WP-Toolkit adds that can't be done in the wordpress admin section.

14
SSL / Re: Disable AutoSSL on certain user accounts
« on: March 11, 2025, 01:01:53 AM »
log in via ssh

acme.sh --config-home /root/.acme.sh/cwp_certs/ --list


find the cert you want to stop letsencrypt

acme.sh --config-home /root/.acme.sh/cwp_certs/ --remove <domain>

Then install the paid certificate.

15
SSL / Re: Disable AutoSSL on certain user accounts
« on: March 10, 2025, 06:37:28 PM »
admin/index.php?module=ssl_certificate

Install their paid certificate through there, and AutoSSL should disable.

Pages: [1] 2 3 ... 57