Jump to content

Sandeep B.

Administrators
  • Posts

    250
  • Joined

  • Last visited

  • Days Won

    7

Everything posted by Sandeep B.

  1. 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
  2. you can pm me your server details for the checks
  3. as per the module code /64 will work with this module did you tested ?
  4. in CWP ipv6 module is in development you can wait for it.
  5. 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
  6. 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
  7. 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
  8. hi why do you want to change the hostname template ? are you hosting anything on the hostname subdomain?
  9. Hi currently there is no way but you can search the config in .conf under user account with grep
  10. can you audit whole log for any other errors
  11. 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
  12. 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?
  13. 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
  14. wait for cwp el9 it will be released soon if you want to upgrade you can use centos 8 stream or alamalinux 8
  15. nginx + apache will give you more performance and cache are managed automatically you don't need to clear it
  16. renewal cron is listed below : /root/.acme.sh/acme.sh --cron --home /root/.acme.sh/cwp_certs > /dev/null
  17. seems something wrong can you send the screenshot of the feature manager ?
  18. 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);
×
×
  • Create New...