Recent Posts

Pages: [1] 2 3 ... 10
1
CentOS-WebPanel GUI / Reseller Error ?
« Last post by PakPos on Today at 02:36:39 AM »
2
CentOS-WebPanel Bugs / Re: Bug with CWP - Doman Cache - Varnish
« Last post by PakPos on Today at 02:23:17 AM »
are you use CDN ? (cloudflare ?
3
CentOS-WebPanel GUI / Vmail & Home Dir
« Last post by PakPos on Today at 02:14:43 AM »
https://i.vgy.me/qRSxMr.png
https://i.vgy.me/0fdsJg.png
https://i.vgy.me/yTiz4z.png
https://i.vgy.me/DW8Awu.png
https://i.vgy.me/CfJCQc.png


how to fix that ?
i have future client that use email only... and today i find out that the "total" usage not accurate

please help


cwp pro
alma 8.5
kvm
----------
CPU info:
model name      : Intel Core Processor (Haswell, no TSX, IBRS)

Release:
AlmaLinux release 8.6 (Sky Tiger)

Arch:
x86_64

Virtualization Type:
kvm

Memory:
              total        used        free      shared  buff/cache   available
Mem:           1972         726         266         120         979         861
Swap:          1123         630         493

MySQL info:
mysql  Ver 15.1 Distrib 10.4.26-MariaDB, for Linux (x86_64) using readline 5.1

Disk Info:
Filesystem      Size  Used Avail Use% Mounted on
devtmpfs        952M     0  952M   0% /dev
tmpfs           987M     0  987M   0% /dev/shm
tmpfs           987M  118M  870M  12% /run
tmpfs           987M     0  987M   0% /sys/fs/cgroup
/dev/vda2        30G   17G   14G  54% /
tmpfs           198M     0  198M   0% /run/user/0
tmpfs           198M     0  198M   0% /run/user/1000


#
# /etc/fstab
# Created by anaconda on Mon Jul 18 14:10:08 2022
#
# Accessible filesystems, by reference, are maintained under '/dev/disk/'.
# See man pages fstab(5), findfs(8), mount(8) and/or blkid(8) for more info.
#
# After editing this file, run 'systemctl daemon-reload' to update systemd
# units generated from this file.
#
/dev/vda2 / xfs rw,seclabel,relatime,attr2,inode64,logbufs=8,logbsize=32k,usrquota,grpquota 0 0
/swap-space/swapfile swap swap defaults 0 0


Apache PHP info:
PHP 8.1.10 (cli) (built: Sep  3 2022 22:36:08) (NTS)
Copyright (c) The PHP Group
Zend Engine v4.1.10, Copyright (c) Zend Technologies
    with the ionCube PHP Loader v12.0.1, Copyright (c) 2002-2022, by ionCube Ltd.

Apache start script check:
grep: /etc/init.d/httpd: No such file or directory

CWP Admin check:
/usr/local/cwpsrv/htdocs/admin

CWP version:
0.9.8.1145
===============================================
4
PHP / problem in phpPgAdmin
« Last post by ibrahim shazly on October 02, 2022, 08:13:34 AM »
I have this problem when I try to login to https://hostname:2031/phpPgAdmin/
The PHP configuration on this server does not support PostgreSQL. You need to reinstall PHP using the --with-pgsql configure option.

i tried to fix it by doing the next

I have php7.4.3 and extensions are enabled from the CWP control panel
pdo_pgsql
pgsql
And I installed the packages
php-pgsql
php-pdo
--
uncomment
extension=pdo_pgsql
extension=_pgsql
in File: /usr/local/php/php.ini
--
reload apache , Nginx , postgresql
---
and still have the same problem
5
CentOS-WebPanel Bugs / Re: Bug - AutoSSL Hangs
« Last post by WISTFUL on October 01, 2022, 09:35:39 PM »
During the installation, due to issue in my server network, acme was not downloaded from repository.

I solved the issue by doing following steps:

1. Install acme (with proxy)
Code: [Select]
[root@server ~]# sh /scripts/install_acme
--2022-10-01 19:45:48--  http://get.acme.sh/
Proxy request sent, awaiting response... 200 OK
Length: unspecified [text/html]
Saving to: ‘index.html’
2022-10-01 19:45:48 (20.4 MB/s) - ‘index.html’ saved [1032]
[Sat Oct  1 19:45:50 BST 2022] Installing from online archive.
[Sat Oct  1 19:45:50 BST 2022] Downloading https://github.com/acmesh-official/acme.sh/archive/master.tar.gz
[Sat Oct  1 19:45:52 BST 2022] Extracting master.tar.gz
[Sat Oct  1 19:45:53 BST 2022] Installing to /root/.acme.sh
[Sat Oct  1 19:45:53 BST 2022] Installed to /root/.acme.sh/acme.sh
[Sat Oct  1 19:45:53 BST 2022] Installing alias to '/root/.bashrc'
[Sat Oct  1 19:45:53 BST 2022] OK, Close and reopen your terminal to start using acme.sh
[Sat Oct  1 19:45:53 BST 2022] Installing alias to '/root/.cshrc'
[Sat Oct  1 19:45:53 BST 2022] Installing alias to '/root/.tcshrc'
[Sat Oct  1 19:45:53 BST 2022] Installing cron job
18 0 * * * "/root/.acme.sh"/acme.sh --cron --home "/root/.acme.sh" > /dev/null
[Sat Oct  1 19:45:53 BST 2022] Good, bash is found, so change the shebang to use bash as preferred.
[Sat Oct  1 19:45:56 BST 2022] OK
[Sat Oct  1 19:45:56 BST 2022] Install success!
[Sat Oct  1 19:45:56 BST 2022] Changed default CA to: https://acme-v02.api.letsencrypt.org/directory

2. Update Crontab for user root:
Code: [Select]
0 0 * * * "/root/.acme.sh"/acme.sh --cron --home "/root/.acme.sh/cwp_certs" > /dev/null
3. CWP.admin > Server Settings > Change Hostname > Save (without change)

4. CWP.admin > SSL Certificates > Force all renovations

5. View log:
Code: [Select]
# tail -f /var/log/cwp/cwp_renew_autossl_bulk.log
6
SSL / Re: Missing .acme.sh and hanging AutoSSL
« Last post by WISTFUL on October 01, 2022, 09:28:56 PM »
During the installation, due to issue in my server network, acme was not downloaded from repository.

I solved the issue by doing following steps:

1. Install acme (with proxy)
Code: [Select]
[root@server ~]# sh /scripts/install_acme
--2022-10-01 19:45:48--  http://get.acme.sh/
Proxy request sent, awaiting response... 200 OK
Length: unspecified [text/html]
Saving to: ‘index.html’
2022-10-01 19:45:48 (20.4 MB/s) - ‘index.html’ saved [1032]
[Sat Oct  1 19:45:50 BST 2022] Installing from online archive.
[Sat Oct  1 19:45:50 BST 2022] Downloading https://github.com/acmesh-official/acme.sh/archive/master.tar.gz
[Sat Oct  1 19:45:52 BST 2022] Extracting master.tar.gz
[Sat Oct  1 19:45:53 BST 2022] Installing to /root/.acme.sh
[Sat Oct  1 19:45:53 BST 2022] Installed to /root/.acme.sh/acme.sh
[Sat Oct  1 19:45:53 BST 2022] Installing alias to '/root/.bashrc'
[Sat Oct  1 19:45:53 BST 2022] OK, Close and reopen your terminal to start using acme.sh
[Sat Oct  1 19:45:53 BST 2022] Installing alias to '/root/.cshrc'
[Sat Oct  1 19:45:53 BST 2022] Installing alias to '/root/.tcshrc'
[Sat Oct  1 19:45:53 BST 2022] Installing cron job
18 0 * * * "/root/.acme.sh"/acme.sh --cron --home "/root/.acme.sh" > /dev/null
[Sat Oct  1 19:45:53 BST 2022] Good, bash is found, so change the shebang to use bash as preferred.
[Sat Oct  1 19:45:56 BST 2022] OK
[Sat Oct  1 19:45:56 BST 2022] Install success!
[Sat Oct  1 19:45:56 BST 2022] Changed default CA to: https://acme-v02.api.letsencrypt.org/directory

2. Update Crontab for user root:
Code: [Select]
0 0 * * * "/root/.acme.sh"/acme.sh --cron --home "/root/.acme.sh/cwp_certs" > /dev/null
3. CWP.admin > Server Settings > Change Hostname > Save (without change)

4. CWP.admin > SSL Certificates > Force all renovations

5. View log:
Code: [Select]
# tail -f /var/log/cwp/cwp_renew_autossl_bulk.log
7
SSL / Missing .acme.sh and hanging AutoSSL
« Last post by WISTFUL on October 01, 2022, 04:17:35 PM »
After fresh installation of the CWP (0.9.8.1145) on centos 7.9.2009 (Core), I realized that when I install / renew SSL certificate, without completing the process, the whole panel hangs!

Also when I creating a new account, if Auto SSL checked, after long time below error is displayed in the popup:
Quote
504 Gateway Time-out
cwpsrv

Upon further investigation I found that there is no /.acme.sh in my /root directory!

How can I fix this issue?
8
CentOS-WebPanel Bugs / Re: Bug with CWP - Doman Cache - Varnish
« Last post by WISTFUL on October 01, 2022, 06:44:26 AM »
It seems that you have to apply settings either from the client panel (CWP Settings > Php Selector) or the admin panel (WebServer Settings > WebServers Domain Conf) to enable varnish setting page.

I don't know Vartish is also inactive in the default or not...
9
CentOS-WebPanel Bugs / Re: Bug - AutoSSL Hangs
« Last post by WISTFUL on October 01, 2022, 03:06:19 AM »
Even though I tell CWP support that .acme.sh file doesn't exist in the root directory, it insists that it's not a bug and acme.sh.log should be checked!

Quote
This is not a bug, as instructed you are advised to check the acme. /root/acme.sh/acme.sh.log

Regards,
Franco P.
10
CentOS 7 Problems / Re: Can't login to control panel - This site can't be reached
« Last post by PakPos on October 01, 2022, 02:44:08 AM »
site works sometimes because cache on browser, router, ISP, and maybe CDN

try telnet domainname.tld 80
or other tools to check your server up status


Pages: [1] 2 3 ... 10