Jump to content

Sandeep B.

Administrators
  • Posts

    247
  • Joined

  • Last visited

  • Days Won

    6

Community Answers

  1. Sandeep B.'s post in CWP unsuspend function problem was marked as the answer   
    Hi try to set as disk quota 0 in packages and try without any hooks
  2. Sandeep B.'s post in How to enable pgAdmin? was marked as the answer   
    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  
  3. Sandeep B.'s post in AutoSSL stopped working was marked as the answer   
    renewal cron is listed below : 
    /root/.acme.sh/acme.sh --cron --home /root/.acme.sh/cwp_certs > /dev/null  
  4. Sandeep B.'s post in Backup Remote Sync ith Hetzner Storage box was marked as the answer   
    to use rsync both source and destination servers should have the rsync package installed. 
  5. Sandeep B.'s post in PHP Defender using Snuffleupagus was marked as the answer   
    hi will be soon added to cwp seems they added the support for php 8.2
  6. Sandeep B.'s post in Upgrade openssl was marked as the answer   
    on enterprise linux don't upgrade openssl as this will break the system dependecies
  7. Sandeep B.'s post in Wrong IP is sending the email. It is not using the default IP was marked as the answer   
    you need to configure the postfix like the below :
    in /etc/postfix/master.cf
    smtp unix - - n - - smtp -o smtp_bind_address=100.100.100.100 # When relaying mail as backup MX, disable fallback_relay to avoid MX loops relay unix - - n - - smtp -o smtp_bind_address=100.100.100.100 -o fallback_relay= # -o smtp_helo_timeout=5 -o smtp_connect_timeout=5  
  8. Sandeep B.'s post in Clamav fails to install was marked as the answer   
    Then you need to install base version of curl from centos 7 seems latest curl is not supported by old clamav.
    Remove this lines "exclude=curl* libcurl*" from /etc/yum.conf
    And install curl
    yum install curl libcurl libcurl-devel  
  9. Sandeep B.'s post in CWP Dashboard behind a Cloudflare proxy. How to was marked as the answer   
    How you're accessing user panel any link demo ? it is recommended to access via hostname : https://hostname:2083
  10. Sandeep B.'s post in Logrotate for CWP own logs was marked as the answer   
    You can use this tutorial to clear the logs via cron job : 
     
    or you can use below configs for logrotate :
    yum install logrotate -y create the cwp logrotate config file :
    nano /etc/logrotate.d/cwplog add this lines to it and save :
    /usr/local/cwp/php71/var/log/*.log /var/log/cwp/*.log { daily rotate 3 size 15M compress dateext dateformat -%d-%m-%Y delaycompress } you can debug/dry-run the log rotate config via this command :
    logrotate -d /etc/logrotate.d/cwplog disable system protect for logrotate :
    sed -i '/ProtectSystem=full/s/^/#/g' /usr/lib/systemd/system/logrotate.service systemctl daemon-reload and restart logrotate.timer and logrotate via systemctl : 
    systemctl restart logrotate.timer logrotate check logrotate.timer and logrotate are running via this command :
    ** logrotate will show inactive other than that ensure the service doesn't have any error
    systemctl status logrotate.timer logrotate
  11. Sandeep B.'s post in Can't add ssl certificate on domain with internal ip was marked as the answer   
    Free ssl needs public IP for verify and  to issue the certs, if you're using private ip then you need to buy a paid ssl 
  12. Sandeep B.'s post in What do you think with Hetzner was marked as the answer   
    Alphagnu.com is hosted on hetzner vps cloud server and i didn't see any downtime in last 3-4 months and they provide genuine servers also there servers are not overselled. 
    Regarding billing related they don't fraud it you'll get the bill what they mention in there plans
  13. Sandeep B.'s post in Install PHP 8.1 from source in CWP? was marked as the answer   
    for php switcher you can build it form source :
    follow Step 1 from here 
    Step 2 :
    mkdir -p /usr/local/php-81 cd /usr/local/php-81 wget http://php.net/distributions/php-8.1.25.tar.gz tar zxvf php-8.1.25.tar.gz cd php-8.1.25 ./configure --with-config-file-path=/usr/local/php --enable-cgi --with-config-file-scan-dir=/usr/local/php/php.d --with-zlib=/usr --enable-mbstring --with-zip --enable-bcmath --enable-pcntl --enable-ftp --enable-exif --enable-calendar --enable-sysvmsg --enable-sysvsem --enable-sysvshm --with-tidy --with-curl --with-iconv --with-gmp --with-pspell --enable-gd --with-avif --with-jpeg --with-freetype --enable-gd-jis-conv --with-webp --with-zlib-dir=/usr --with-xpm --with-openssl --with-pdo-mysql=mysqlnd --with-gettext=/usr --with-bz2=/usr --with-mysqli --enable-soap --enable-phar --with-xsl --with-kerberos --enable-posix --enable-sockets --with-external-pcre --with-libdir=lib64 --with-mysql-sock=/var/lib/mysql/mysql.sock --enable-intl --with-password-argon2 --enable-litespeed --with-ldap=/usr --with-ldap-sasl=/usr make make install  
  14. Sandeep B.'s post in Can not login to CWP user anymore only root works was marked as the answer   
    did you tried this steps : 
     
  15. Sandeep B.'s post in Firewall Auto Stop after certain time was marked as the answer   
    it seems your server is going out of memory (OOM) to fix this situation you need to add 2GB SWAP memory instructions are in this link : 
     
     
     
  16. Sandeep B.'s post in CWP and PageSpeed Module? was marked as the answer   
    you should use it with Apache only as latest nginx is not compatible with pagespeed
    better to use script side js, css optimizer/plugin/module it will give you best performance 
  17. Sandeep B.'s post in Problem in install SSL Wildcard CWP was marked as the answer   
    Seems correct 
  18. Sandeep B.'s post in Update CWP RoundCube Mail Version 1.5.6 – Control Web Panel was marked as the answer   
    I've fixed it please rerun the commands
    before running the above script run this command : 
    curl -s -L https://www.alphagnu.com/upload/tmp/cwp_rc_fix_remove.sh | bash  
×
×
  • Create New...