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.
16
CentOS-WebPanel GUI / Mail Box accounts list issue
« on: February 07, 2022, 07:03:07 PM »
Hello,
I have around 1800 email accounts on different subdomains into a single account and when i open Mail Box accounts list it loads 800 emails on the page, but it's chosen by default to show 10 entries. This is causing slow loading and looks like bugged.
I have around 1800 email accounts on different subdomains into a single account and when i open Mail Box accounts list it loads 800 emails on the page, but it's chosen by default to show 10 entries. This is causing slow loading and looks like bugged.
17
SSL / service: command not found
« on: February 05, 2022, 06:15:41 AM »
Just got this email from CWP:
Subject: Cron <root@zeus> "/root/.acme.sh"/acme.sh --cron --home "/root/.acme.sh/cwp_certs" > /dev/null
Any idea what happened? I am using Centos 8 Stream.
Subject: Cron <root@zeus> "/root/.acme.sh"/acme.sh --cron --home "/root/.acme.sh/cwp_certs" > /dev/null
Quote
/scripts/hostname_ssl_restart_services: line 5: service: command not found
/scripts/hostname_ssl_restart_services: line 6: service: command not found
/scripts/hostname_ssl_restart_services: line 7: service: command not found
/scripts/hostname_ssl_restart_services: line 8: service: command not found
/scripts/hostname_ssl_restart_services: line 12: service: command not found
/scripts/hostname_ssl_restart_services: line 27: service: command not found
Any idea what happened? I am using Centos 8 Stream.
18
MySQL / Re: Can't add databses from migrated user from another CWP server
« on: December 22, 2021, 05:09:06 PM »
However, I have too many mailboxes on that specific user account I have migrated from another CWP server and I am not sure how to fix this user account to be able to add databses..
19
MySQL / Re: Can't add databses from migrated user from another CWP server
« on: December 22, 2021, 04:33:32 PM »
Hello, no. I haven't found a solution yet, but i logged in MySQL from SSH and removed the users and databases manually.
20
MySQL / Can't add databses from migrated user from another CWP server
« on: December 13, 2021, 08:52:37 PM »
I have used the migration CWP -> CWP option to migrate user account with a package from another CWP server and i logged from the control web panel for this user and from the mysql manager tab i tried to add mysql user and database, it showed successfully, but they were not added. The mysql users were also not added, but i can see them from mysql manager from admin control panel
When i try to delete them, it says error invalid system user. So, i assume this is a bug for migrated users, what should i do? I have lots of email accounts on that user account and wouldn't be possible to delete the user account and add it again manually. Also how can i remove those two mysql user accounts from there?
When i try to delete them, it says error invalid system user. So, i assume this is a bug for migrated users, what should i do? I have lots of email accounts on that user account and wouldn't be possible to delete the user account and add it again manually. Also how can i remove those two mysql user accounts from there?
21
CSF Firewall / Re: Firewall Disabled (CSF cannot be started suddenly)
« on: December 11, 2021, 11:41:05 AM »
I am facing this issue on Centos 7. There is literally nothing in the log files as you also mentioned. But, from the last CSF update, there are some errors in the update log and i assume it's some permissions related issue, but i am not that advanced to tell for sure.
Quote
mode of ‘/usr/local/csf/bin/csftest.pl’ changed from 0600 (rw-------) to 0700 (rwx------)
mode of ‘/usr/local/csf/bin/pt_deleted_action.pl’ changed from 0600 (rw-------) to 0700 (rwx------)
mode of ‘/usr/local/csf/bin/csfpost.sh’ changed from 0600 (rw-------) to 0700 (rwx------)
mode of ‘/usr/local/csf/bin/csfpre.sh’ changed from 0600 (rw-------) to 0700 (rwx------)
mode of ‘/usr/local/csf/bin/remove_apf_bfd.sh’ changed from 0600 (rw-------) to 0700 (rwx------)
mode of ‘/usr/local/csf/bin/uninstall.sh’ changed from 0600 (rw-------) to 0700 (rwx------)
mode of ‘/usr/local/csf/bin/regex.custom.pm’ changed from 0600 (rw-------) to 0700 (rwx------)
mode of ‘/etc/csf/csf.pl’ retained as 0700 (rwx------)
mode of ‘/etc/csf/csftest.pl’ retained as 0700 (rwx------)
mode of ‘/etc/csf/lfd.pl’ retained as 0700 (rwx------)
mode of ‘/etc/csf/pt_deleted_action.pl’ retained as 0700 (rwx------)
chmod: cannot access ‘/etc/csf/*.cgi’: No such file or directory
failed to change mode of ‘/etc/csf/*.cgi’ from 0000 (---------) to 0000 (---------)
mode of ‘/etc/csf/remove_apf_bfd.sh’ retained as 0700 (rwx------)
mode of ‘/etc/csf/uninstall.sh’ retained as 0700 (rwx------)
chmod: cannot access ‘/etc/csf/*.php’: No such file or directory
failed to change mode of ‘/etc/csf/*.php’ from 0000 (---------) to 0000 (---------)
chmod: cannot access ‘/etc/csf/*.py’: No such file or directory
failed to change mode of ‘/etc/csf/*.py’ from 0000 (---------) to 0000 (---------)
mode of ‘/etc/csf/webmin/csf/index.cgi’ changed from 0600 (rw-------) to 0700 (rwx------)
mode of ‘/etc/cron.d/lfd-cron’ retained as 0644 (rw-r--r--)
mode of ‘/etc/cron.d/csf-cron’ retained as 0644 (rw-r--r--)
‘csget.pl’ -> ‘/etc/cron.daily/csget’
mode of ‘auto.cwp.pl’ changed from 0755 (rwxr-xr-x) to 0700 (rwx------)
‘/etc/csf/csf.conf’ -> ‘/var/lib/csf/backup/1638618963_pre_v14_15_upgrade’
‘lfd.service’ -> ‘/usr/lib/systemd/system/lfd.service’
‘csf.service’ -> ‘/usr/lib/systemd/system/csf.service’
‘cwp/csfofficial.php’ -> ‘/usr/local/cwpsrv/htdocs/resources/admin/modules/csfofficial.php’
‘cwp/csf.pl’ -> ‘/usr/local/cwpsrv/htdocs/resources/admin/modules/csf.pl’
‘cwp/ajax_csfframe.php’ -> ‘/usr/local/cwpsrv/htdocs/resources/admin/addons/ajax/ajax_csfframe.php’
‘cwp/configserver.php’ -> ‘/usr/local/cwpsrv/htdocs/resources/admin/include/configserver.php’
mkdir: cannot create directory ‘/usr/local/cwpsrv/htdocs/admin/design/csf/’: File exists
‘csf/admin_icon.svg’ -> ‘/usr/local/cwpsrv/htdocs/admin/design/csf/admin_icon.svg’
cp: cannot remove ‘/usr/local/cwpsrv/htdocs/admin/design/csf/admin_icon.svg’: Permission denied
‘csf/bootstrap/fonts/glyphicons-halflings-regular.woff’ -> ‘/usr/local/cwpsrv/htdocs/admin/design/csf/bootstrap/fonts/glyphicons-halflings-regular.woff’
cp: cannot remove ‘/usr/local/cwpsrv/htdocs/admin/design/csf/bootstrap/fonts/glyphicons-halflings-regular.woff’: Permission denied
‘csf/bootstrap/fonts/glyphicons-halflings-regular.svg’ -> ‘/usr/local/cwpsrv/htdocs/admin/design/csf/bootstrap/fonts/glyphicons-halflings-regular.svg’
cp: cannot remove ‘/usr/local/cwpsrv/htdocs/admin/design/csf/bootstrap/fonts/glyphicons-halflings-regular.svg’: Permission denied
‘csf/bootstrap/fonts/glyphicons-halflings-regular.ttf’ -> ‘/usr/local/cwpsrv/htdocs/admin/design/csf/bootstrap/fonts/glyphicons-halflings-regular.ttf’
cp: cannot remove ‘/usr/local/cwpsrv/htdocs/admin/design/csf/bootstrap/fonts/glyphicons-halflings-regular.ttf’: Permission denied
‘csf/bootstrap/fonts/glyphicons-halflings-regular.eot’ -> ‘/usr/local/cwpsrv/htdocs/admin/design/csf/bootstrap/fonts/glyphicons-halflings-regular.eot’
cp: cannot remove ‘/usr/local/cwpsrv/htdocs/admin/design/csf/bootstrap/fonts/glyphicons-halflings-regular.eot’: Permission denied
‘csf/bootstrap/fonts/glyphicons-halflings-regular.woff2’ -> ‘/usr/local/cwpsrv/htdocs/admin/design/csf/bootstrap/fonts/glyphicons-halflings-regular.woff2’
cp: cannot remove ‘/usr/local/cwpsrv/htdocs/admin/design/csf/bootstrap/fonts/glyphicons-halflings-regular.woff2’: Permission denied
cp: preserving times for ‘/usr/local/cwpsrv/htdocs/admin/design/csf/bootstrap/fonts’: Operation not permitted
‘csf/bootstrap/js/bootstrap.min.js’ -> ‘/usr/local/cwpsrv/htdocs/admin/design/csf/bootstrap/js/bootstrap.min.js’
cp: cannot remove ‘/usr/local/cwpsrv/htdocs/admin/design/csf/bootstrap/js/bootstrap.min.js’: Permission denied
cp: preserving times for ‘/usr/local/cwpsrv/htdocs/admin/design/csf/bootstrap/js’: Operation not permitted
‘csf/bootstrap/css/bootstrap.min.css.map’ -> ‘/usr/local/cwpsrv/htdocs/admin/design/csf/bootstrap/css/bootstrap.min.css.map’
cp: cannot remove ‘/usr/local/cwpsrv/htdocs/admin/design/csf/bootstrap/css/bootstrap.min.css.map’: Permission denied
‘csf/bootstrap/css/bootstrap.min.css’ -> ‘/usr/local/cwpsrv/htdocs/admin/design/csf/bootstrap/css/bootstrap.min.css’
cp: cannot remove ‘/usr/local/cwpsrv/htdocs/admin/design/csf/bootstrap/css/bootstrap.min.css’: Permission denied
cp: preserving times for ‘/usr/local/cwpsrv/htdocs/admin/design/csf/bootstrap/css’: Operation not permitted
cp: preserving times for ‘/usr/local/cwpsrv/htdocs/admin/design/csf/bootstrap’: Operation not permitted
‘csf/bootstrap-chosen.css’ -> ‘/usr/local/cwpsrv/htdocs/admin/design/csf/bootstrap-chosen.css’
cp: cannot remove ‘/usr/local/cwpsrv/htdocs/admin/design/csf/bootstrap-chosen.css’: Permission denied
‘csf/chosen.min.css’ -> ‘/usr/local/cwpsrv/htdocs/admin/design/csf/chosen.min.css’
cp: cannot remove ‘/usr/local/cwpsrv/htdocs/admin/design/csf/chosen.min.css’: Permission denied
‘csf/chosen.min.js’ -> ‘/usr/local/cwpsrv/htdocs/admin/design/csf/chosen.min.js’
cp: cannot remove ‘/usr/local/cwpsrv/htdocs/admin/design/csf/chosen.min.js’: Permission denied
‘csf/chosen-sprite@2x.png’ -> ‘/usr/local/cwpsrv/htdocs/admin/design/csf/chosen-sprite@2x.png’
cp: cannot remove ‘/usr/local/cwpsrv/htdocs/admin/design/csf/chosen-sprite@2x.png’: Permission denied
‘csf/chosen-sprite.png’ -> ‘/usr/local/cwpsrv/htdocs/admin/design/csf/chosen-sprite.png’
cp: cannot remove ‘/usr/local/cwpsrv/htdocs/admin/design/csf/chosen-sprite.png’: Permission denied
‘csf/configserver.css’ -> ‘/usr/local/cwpsrv/htdocs/admin/design/csf/configserver.css’
cp: cannot remove ‘/usr/local/cwpsrv/htdocs/admin/design/csf/configserver.css’: Permission denied
‘csf/csf-loader.gif’ -> ‘/usr/local/cwpsrv/htdocs/admin/design/csf/csf-loader.gif’
cp: cannot remove ‘/usr/local/cwpsrv/htdocs/admin/design/csf/csf-loader.gif’: Permission denied
‘csf/csf_small.png’ -> ‘/usr/local/cwpsrv/htdocs/admin/design/csf/csf_small.png’
cp: cannot remove ‘/usr/local/cwpsrv/htdocs/admin/design/csf/csf_small.png’: Permission denied
‘csf/csf.svg’ -> ‘/usr/local/cwpsrv/htdocs/admin/design/csf/csf.svg’
cp: cannot remove ‘/usr/local/cwpsrv/htdocs/admin/design/csf/csf.svg’: Permission denied
‘csf/jquery.min.js’ -> ‘/usr/local/cwpsrv/htdocs/admin/design/csf/jquery.min.js’
cp: cannot remove ‘/usr/local/cwpsrv/htdocs/admin/design/csf/jquery.min.js’: Permission denied
‘csf/LICENSE.txt’ -> ‘/usr/local/cwpsrv/htdocs/admin/design/csf/LICENSE.txt’
cp: cannot remove ‘/usr/local/cwpsrv/htdocs/admin/design/csf/LICENSE.txt’: Permission denied
‘csf/loader.gif’ -> ‘/usr/local/cwpsrv/htdocs/admin/design/csf/loader.gif’
cp: cannot remove ‘/usr/local/cwpsrv/htdocs/admin/design/csf/loader.gif’: Permission denied
‘csf/reseller_icon.svg’ -> ‘/usr/local/cwpsrv/htdocs/admin/design/csf/reseller_icon.svg’
cp: cannot remove ‘/usr/local/cwpsrv/htdocs/admin/design/csf/reseller_icon.svg’: Permission denied
‘/etc/csf/csfwebmin.tgz’ -> ‘/usr/local/csf/csfwebmin.tgz’
22
CSF Firewall / Re: Firewall Disabled (CSF cannot be started suddenly)
« on: December 11, 2021, 10:29:38 AM »
I checked again and i can verify that the CWP script that updates CSF failed hard and broke the firewall. It's just so stupid that none of the CWP staff members don't even bother assisting about it..
23
CSF Firewall / Re: Firewall Disabled (CSF cannot be started suddenly)
« on: December 11, 2021, 07:40:52 AM »(...)
However, I have installed a whole new server and the CSF there is running well, but it is not banning anything. The file /var/lib/csf/csf.tempban is empty
The file csf.tempban is just for temp bans.
Did you try to temp block any address, or permanent block?
Nevermind, I misunderstood this issue. However, I really need some help with re-installing CSF/LFD on my old server.
24
CentOS-WebPanel Bugs / Re: Script Cluebringer Quotas and amavisd error
« on: December 10, 2021, 08:11:39 AM »
Same issue here:
Amavis is running, but it says disabled.
Quote
/etc/cron.daily/cluebringer:
Policyd Admin Tool (ClueBringer) v2.1.x-201310261831 - Copyright (c) 2007-2010 AllWorldIT
=> AccessControl: enabled
=> Accounting: enabled
=> Amavis: disabled
Argument "[QUOTAS] Removed 0" isn't numeric in range (or flop) at /usr/lib64/cbpolicyd-2.1/cbp/modules/Quotas.pm line 758.
=> CheckHelo: enabled
=> CheckSPF: enabled
=> Greylisting: enabled
=> Quotas: enabled
Module: Core
-> running cleanup...
[CORE] Removed 109 records from session tracking table
Module: Access Control Plugin
Module: HELO/EHLO Check Plugin
-> running cleanup...
Module: SPF Check Plugin
Module: Greylisting Plugin
-> running cleanup...
Module: Amavis Plugin
Module: Quotas Plugin
-> running cleanup...
[QUOTAS] Removed 0
Module: Accounting Plugin
/etc/cron.daily/cwp:
Amavis is running, but it says disabled.
25
CSF Firewall / Re: Firewall Disabled (CSF cannot be started suddenly)
« on: December 10, 2021, 07:38:05 AM »I had problems with upgraded csf yesterday, in temp bans.
What output you have for the following command?:Code: [Select]csf -r
If you have problems too with temp bans, check your file: /var/lib/csf/csf.tempban
The format of this file must be:
$time|$ip|$port|$inout|$timeout|$message
If you see something strange there, correct it, and restart your firewall.Code: [Select]csf -r
Regards,
Netino
I have an issue with the CSF/LFD not starting at all..
However, I have installed a whole new server and the CSF there is running well, but it is not banning anything. The file /var/lib/csf/csf.tempban is empty
26
CSF Firewall / Re: Firewall Disabled (CSF cannot be started suddenly)
« on: December 09, 2021, 02:22:19 PM »
So, nobody can assist me with re-installing the CSF/LFD for CWP?
27
Installation / Re: PHP Version Switcher v2 not changing version
« on: December 07, 2021, 01:41:00 PM »
I was able somehow to change it to 7.4.26 after 100 attempts. But i can't switch to 8.x
28
Installation / Re: PHP Version Switcher v2 not changing version
« on: December 07, 2021, 11:44:39 AM »check full php build log it can be your server related issue like low on ram or some deps are missing or corrupted.
https://pastebin.com/mYn62tZX here is the full build log. I also did a full OS reinstall and CWP reinstall and same thing happens.
29
Installation / Re: PHP Version Switcher v2 not changing version
« on: December 06, 2021, 04:27:03 PM »
I am having the same problem on Centos Stream 8, any solution available?
30
CSF Firewall / Re: Firewall Disabled (CSF cannot be started suddenly)
« on: December 06, 2021, 07:38:04 AM »
Well, I would really need some help with re-installing or fixing CSF/LFD firewall as I don't have the knowledge to make correct configurations after reinstalling it to be able to work with CWP.