Everything posted by Sandeep B.
-
Upgrade MariaDB 10.11 In CWP Centos 7 Centos 8 stream AlmaLinux 7/8 RockyLinux 7/8
add this line to /etc/my.cnf [mysqld] pid-file = /var/lib/mysql/mariadb.pid restart mariadb service and edit monit config file : nano /etc/monit.d/cwp.mysql replace with below config : check process mariadb with pidfile /var/lib/mysql/mariadb.pid group database start program = "/usr/bin/systemctl start mariadb" stop program = "/usr/bin/systemctl stop mariadb" restart program = "/usr/bin/systemctl restart mariadb" if failed port 3306 protocol mysql then restart if 3 restarts within 5 cycles then timeout alert root@localhost only on {timeout} then restart monit service
-
httpd wont start after mod security install
you can pm me your server details for the checks
-
httpd wont start after mod security install
hi did you try to update mod security?
-
Disable PHP mail function in CWP – Control webpanel
same thing but this process is more clean
-
IPv6
as per the module code /64 will work with this module did you tested ?
-
IPv6
in CWP ipv6 module is in development you can wait for it.
-
Change pages for hostname.domain.com and ns1.domain.com
you can't do it via hostname you can choose some other subdomain and proxy the port 2031 with apache or nginx via the webserver domain config
-
Custom templates for hostname.conf and hostname-ssl.conf
for the hostname you don't need to use certbot, go to cwp admin >> change hostname >> hit the change hostname button this will issue an LE cert
-
How to enable pgAdmin?
try this : cd /usr/local/cwpsrv/var/services yum install cwpPgphp -y yum reinstall cwpPgphp -y mv phpPgAdmin phpPgAdmin.bak wget https://github.com/phppgadmin/phppgadmin/releases/download/REL_7-13-0/phpPgAdmin-7.13.0.zip unzip phpPgAdmin-7.13.0.zip mv phpPgAdmin-7.13.0 phpPgAdmin rm -rf phpPgAdmin-7.13.0.zip
-
Custom templates for hostname.conf and hostname-ssl.conf
hi why do you want to change the hostname template ? are you hosting anything on the hostname subdomain?
-
View sites PHP version
Hi currently there is no way but you can search the config in .conf under user account with grep
-
Install PHP 8.3 via CWP
can you audit whole log for any other errors
-
Install and Build PHP 8.3 in CWP - Control WEB Panel from Source
please check the PHP build log for any error also if you've low RAM the PHP will fail add a swap to your OS and retry
-
504 gateway time-out phpmyadmin
HI, strangely, you're getting timeout for such a small file. I've tested the CWP PMA (root and user) and didn't find the issue. Can you show us some screenshots of the error with your URL?
-
How to fix GPG key error occurred during the signature verification DEB.SURY.ORG in Ubuntu/Debian
Fix the GPG key error EXPKEYSIG B188E2B695BD4743 DEB.SURY.ORG Automatic Signing Key <deb@sury.org> The DEB.SURY.ORG Debian/ubuntu package repository has changed its package signing key. By running the below commands will fix the issue : rm -rf /etc/apt/sources.list.d/php.list apt-get update apt-get -y install lsb-release ca-certificates curl rm -rf /tmp/debsuryorg-archive-keyring.deb curl -sSLo /tmp/debsuryorg-archive-keyring.deb https://packages.sury.org/debsuryorg-archive-keyring.deb dpkg -i /tmp/debsuryorg-archive-keyring.deb sh -c 'echo "deb [signed-by=/usr/share/keyrings/deb.sury.org-php.gpg] https://packages.sury.org/php/ $(lsb_release -sc) main" > /etc/apt/sources.list.d/php.list' apt-get update then again run apt update command and upgrade command : apt-get update apt-get upgrade
-
CWP Apache Enable HTTP/2 with mod_http2 module - Control Web Panel
wait for cwp el9 it will be released soon if you want to upgrade you can use centos 8 stream or alamalinux 8
-
CWP Apache Enable HTTP/2 with mod_http2 module - Control Web Panel
not yet i think the issue is with openssl you can downgrade the version and check
-
Recommended web server setup
nginx + apache will give you more performance and cache are managed automatically you don't need to clear it
-
AutoSSL stopped working
renewal cron is listed below : /root/.acme.sh/acme.sh --cron --home /root/.acme.sh/cwp_certs > /dev/null
-
Update CWP RoundCube Mail Version 1.5.8 – Control Web Panel
thanks @Dutch_Mike typo fixed
-
Install and Build PHP 8.3 in CWP - Control WEB Panel from Source
which OS version you're using el7 or el8 ?
-
Tomcat server set up - User Panel access issue
seems something wrong can you send the screenshot of the feature manager ?
-
Reseller package update in CWP pro from clientexec not working - API set up
you can check here https://docs.control-webpanel.com/docs/developer-tools/api-manager/functions/function-api-account/add $data = array(“key” => “MYKEY”,”action”=>’add’, ”domain”=>’MY_DOMAIN’, ”user”=>’USER’, ”pass”=>’PASSWORD’, ”email”=>’email@account’, ”package”=>’PACKAGE_NAME’, ”inode”=>’0’,”limit_nproc”=>’40’,”limit_nofile”=>’0’,”server_ips”=>’MY_IP_SERVER’); $url = “https://IPSERVERAPI:2304/v1/account”; $ch = curl_init(); curl_setopt($ch, CURLOPT_URL, $url); curl_setopt($ch, CURLOPT_RETURNTRANSFER, true); curl_setopt($ch, CURLOPT_CUSTOMREQUEST, “POST”); curl_setopt($ch, CURLOPT_SSL_VERIFYPEER, false); curl_setopt ($ch, CURLOPT_POSTFIELDS, http_build_query($data)); curl_setopt ($ch, CURLOPT_POST, 1); $response = curl_exec($ch); curl_close($ch);
-
Best Hosting providers for CWP - Control Web Panel
i had a very bad experience with DO they are overloaded and sometime server network sucks
-
Tomcat server set up - User Panel access issue
in settings did you enable the option available for user?