Show Posts

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.


Topics - Radical Redemption

Pages: [1] 2
1
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.

2
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

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.

3
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?

4
CSF Firewall / Firewall Disabled (CSF cannot be started suddenly)
« on: December 04, 2021, 01:01:10 PM »
Quote
[root@ares ~]# systemctl status lfd.service
● lfd.service - ConfigServer Firewall & Security - lfd
   Loaded: loaded (/usr/lib/systemd/system/lfd.service; enabled; vendor preset: disabled)
   Active: failed (Result: exit-code) since Sat 2021-12-04 13:51:45 CET; 3min 59s ago

Dec 04 13:51:45 **********.com systemd[1]: Starting ConfigServer Firewall & Security - lfd...
Dec 04 13:51:45 **********.com systemd[1]: lfd.service: control process exited, code=exited status=203
Dec 04 13:51:45 **********.com systemd[1]: Failed to start ConfigServer Firewall & Security - lfd.
Dec 04 13:51:45 **********.com systemd[1]: Unit lfd.service entered failed state.
Dec 04 13:51:45 **********.com systemd[1]: lfd.service failed.
[root@ares ~]# systemctl start lfd.service
Job for lfd.service failed because the control process exited with error code. See "systemctl status lfd.service" and "journalctl -xe" for details.
[root@ares ~]# systemctl status lfd.service
● lfd.service - ConfigServer Firewall & Security - lfd
   Loaded: loaded (/usr/lib/systemd/system/lfd.service; enabled; vendor preset: disabled)
   Active: failed (Result: exit-code) since Sat 2021-12-04 13:55:55 CET; 5s ago
  Process: 4170 ExecStart=/usr/sbin/lfd (code=exited, status=203/EXEC)

Dec 04 13:55:55 **********.com systemd[1]: Starting ConfigServer Firewall & Security - lfd...
Dec 04 13:55:55 **********.com systemd[1]: lfd.service: control process exited, code=exited status=203
Dec 04 13:55:55 **********.com systemd[1]: Failed to start ConfigServer Firewall & Security - lfd.
Dec 04 13:55:55 **********.com systemd[1]: Unit lfd.service entered failed state.
Dec 04 13:55:55 **********.com systemd[1]: lfd.service failed.

I have an email "Upgrading csf from v14.14 to 14.15..." and looks like it was successful, so i have no idea why it stopped working suddenly.. Please help.

5
Apache / Can't install specific apache modules
« on: October 21, 2021, 07:51:33 AM »
Hello, i would like to run nextcloud on my server, but i had to add some additional apache modules. I tried to rebuild current apache version (last version) and added on the list the following lines:

Quote
-–enable-dav
-–enable-dav-fs
-–enable-dav-lock
-–enable-auth-digest
-–enable-authn-core
-–enable-authz-core

But the dav modules were not added. Any ideas what to do in order to run nextcloud? I am using centos 7.

6
PHP / Can't install mcrypt extension
« on: October 19, 2021, 12:43:40 PM »
Hello, i tried to rebuild php 8.0.11 using mcrypt extension, but it throws errors while reading the log file.

Quote
creating libtool
appending configuration tag "CXX" to libtool
configure: patching config.h.in
configure: creating ./config.status
config.status: creating config.h
/bin/sh /usr/local/src/mcrypt-1.0.1/libtool --mode=compile cc -I. -I/usr/local/src/mcrypt-1.0.1 -I/usr/local/src/mcrypt-1.0.1/include -I/usr/local/src/mcrypt-1.0.1/main -I/usr/local/src/mcrypt-1.0.1 -I/usr/local/include/php -I/usr/local/include/php/main -I/usr/local/include/php/TSRM -I/usr/local/include/php/Zend -I/usr/local/include/php/ext -I/usr/local/include/php/ext/date/lib  -DHAVE_CONFIG_H  -g -O2   -DZEND_ENABLE_STATIC_TSRMLS_CACHE=1 -c /usr/local/src/mcrypt-1.0.1/mcrypt.c -o mcrypt.lo
mkdir .libs
 cc -I. -I/usr/local/src/mcrypt-1.0.1 -I/usr/local/src/mcrypt-1.0.1/include -I/usr/local/src/mcrypt-1.0.1/main -I/usr/local/src/mcrypt-1.0.1 -I/usr/local/include/php -I/usr/local/include/php/main -I/usr/local/include/php/TSRM -I/usr/local/include/php/Zend -I/usr/local/include/php/ext -I/usr/local/include/php/ext/date/lib -DHAVE_CONFIG_H -g -O2 -DZEND_ENABLE_STATIC_TSRMLS_CACHE=1 -c /usr/local/src/mcrypt-1.0.1/mcrypt.c  -fPIC -DPIC -o .libs/mcrypt.o
/usr/local/src/mcrypt-1.0.1/mcrypt.c: In function 'zif_mcrypt_generic':
/usr/local/src/mcrypt-1.0.1/mcrypt.c:634:2: error: expected ';' before '}' token
  }
  ^
/usr/local/src/mcrypt-1.0.1/mcrypt.c: In function 'zif_mdecrypt_generic':
/usr/local/src/mcrypt-1.0.1/mcrypt.c:688:2: error: expected ';' before '}' token
  }
  ^
/usr/local/src/mcrypt-1.0.1/mcrypt.c: In function 'zif_mcrypt_generic_deinit':
/usr/local/src/mcrypt-1.0.1/mcrypt.c:767:2: error: expected ';' before '}' token
  }
  ^
/usr/local/src/mcrypt-1.0.1/mcrypt.c:770:1: error: expected ';' before '}' token
 }
 ^
/usr/local/src/mcrypt-1.0.1/mcrypt.c: In function 'zif_mcrypt_enc_is_block_algorithm_mode':
/usr/local/src/mcrypt-1.0.1/mcrypt.c:781:2: error: expected ';' before '}' token
  } else {
  ^
/usr/local/src/mcrypt-1.0.1/mcrypt.c:781:4: error: expected '}' before 'else'
  } else {
    ^
/usr/local/src/mcrypt-1.0.1/mcrypt.c:783:2: error: expected ';' before '}' token
  }
  ^
/usr/local/src/mcrypt-1.0.1/mcrypt.c: In function 'zif_mcrypt_enc_is_block_algorithm':
/usr/local/src/mcrypt-1.0.1/mcrypt.c:795:2: error: expected ';' before '}' token
  } else {
  ^
/usr/local/src/mcrypt-1.0.1/mcrypt.c:795:4: error: expected '}' before 'else'
  } else {
    ^
/usr/local/src/mcrypt-1.0.1/mcrypt.c:797:2: error: expected ';' before '}' token
  }
  ^
/usr/local/src/mcrypt-1.0.1/mcrypt.c: In function 'zif_mcrypt_enc_is_block_mode':
/usr/local/src/mcrypt-1.0.1/mcrypt.c:809:2: error: expected ';' before '}' token
  } else {
  ^
/usr/local/src/mcrypt-1.0.1/mcrypt.c:809:4: error: expected '}' before 'else'
  } else {
    ^
/usr/local/src/mcrypt-1.0.1/mcrypt.c:811:2: error: expected ';' before '}' token
  }
  ^
/usr/local/src/mcrypt-1.0.1/mcrypt.c:1145:14: error: invalid storage class for function 'php_mcrypt_get_key_size_str'
 static char *php_mcrypt_get_key_size_str(
              ^
/usr/local/src/mcrypt-1.0.1/mcrypt.c:1182:18: error: invalid storage class for function 'php_mcrypt_is_valid_key_size'
 static zend_bool php_mcrypt_is_valid_key_size(
                  ^
/usr/local/src/mcrypt-1.0.1/mcrypt.c:1206:12: error: invalid storage class for function 'php_mcrypt_ensure_valid_key_size'
 static int php_mcrypt_ensure_valid_key_size(MCRYPT td, int key_size) /* {{{ */
            ^
/usr/local/src/mcrypt-1.0.1/mcrypt.c:1233:12: error: invalid storage class for function 'php_mcrypt_ensure_valid_iv'
 static int php_mcrypt_ensure_valid_iv(MCRYPT td, const char *iv, int iv_size) /* {{{ */
            ^
/usr/local/src/mcrypt-1.0.1/mcrypt.c:1262:13: error: invalid storage class for function 'php_mcrypt_do_crypt'
 static void php_mcrypt_do_crypt(char* cipher, const char *key, size_t key_len, const char *data, size_t data_len, char *mode, const char *iv, size_t iv_len, size_t dencrypt, zval* return_value) /* {{{ */
             ^
/usr/local/src/mcrypt-1.0.1/mcrypt.c:1422:1: error: expected declaration or statement at end of input
 }
 ^
/usr/local/src/mcrypt-1.0.1/mcrypt.c: In function 'zif_mcrypt_enc_is_block_algorithm':
/usr/local/src/mcrypt-1.0.1/mcrypt.c:1422:1: error: expected declaration or statement at end of input
/usr/local/src/mcrypt-1.0.1/mcrypt.c: In function 'zif_mcrypt_enc_is_block_algorithm_mode':
/usr/local/src/mcrypt-1.0.1/mcrypt.c:1422:1: error: expected declaration or statement at end of input
/usr/local/src/mcrypt-1.0.1/mcrypt.c: In function 'zif_mcrypt_generic_deinit':
/usr/local/src/mcrypt-1.0.1/mcrypt.c:1422:1: error: expected declaration or statement at end of input
/usr/local/src/mcrypt-1.0.1/mcrypt.c:1422:1: error: expected declaration or statement at end of input
/usr/local/src/mcrypt-1.0.1/mcrypt.c: In function 'zif_mdecrypt_generic':
/usr/local/src/mcrypt-1.0.1/mcrypt.c:1422:1: error: expected declaration or statement at end of input
/usr/local/src/mcrypt-1.0.1/mcrypt.c: In function 'zif_mcrypt_generic':
/usr/local/src/mcrypt-1.0.1/mcrypt.c:1422:1: error: expected declaration or statement at end of input
make: *** [mcrypt.lo] Error 1
/bin/sh /usr/local/src/mcrypt-1.0.1/libtool --mode=compile cc -I. -I/usr/local/src/mcrypt-1.0.1 -I/usr/local/src/mcrypt-1.0.1/include -I/usr/local/src/mcrypt-1.0.1/main -I/usr/local/src/mcrypt-1.0.1 -I/usr/local/include/php -I/usr/local/include/php/main -I/usr/local/include/php/TSRM -I/usr/local/include/php/Zend -I/usr/local/include/php/ext -I/usr/local/include/php/ext/date/lib  -DHAVE_CONFIG_H  -g -O2   -DZEND_ENABLE_STATIC_TSRMLS_CACHE=1 -c /usr/local/src/mcrypt-1.0.1/mcrypt.c -o mcrypt.lo
 cc -I. -I/usr/local/src/mcrypt-1.0.1 -I/usr/local/src/mcrypt-1.0.1/include -I/usr/local/src/mcrypt-1.0.1/main -I/usr/local/src/mcrypt-1.0.1 -I/usr/local/include/php -I/usr/local/include/php/main -I/usr/local/include/php/TSRM -I/usr/local/include/php/Zend -I/usr/local/include/php/ext -I/usr/local/include/php/ext/date/lib -DHAVE_CONFIG_H -g -O2 -DZEND_ENABLE_STATIC_TSRMLS_CACHE=1 -c /usr/local/src/mcrypt-1.0.1/mcrypt.c  -fPIC -DPIC -o .libs/mcrypt.o
/usr/local/src/mcrypt-1.0.1/mcrypt.c: In function 'zif_mcrypt_generic':
/usr/local/src/mcrypt-1.0.1/mcrypt.c:634:2: error: expected ';' before '}' token
  }
  ^
/usr/local/src/mcrypt-1.0.1/mcrypt.c: In function 'zif_mdecrypt_generic':
/usr/local/src/mcrypt-1.0.1/mcrypt.c:688:2: error: expected ';' before '}' token
  }
  ^
/usr/local/src/mcrypt-1.0.1/mcrypt.c: In function 'zif_mcrypt_generic_deinit':
/usr/local/src/mcrypt-1.0.1/mcrypt.c:767:2: error: expected ';' before '}' token
  }
  ^
/usr/local/src/mcrypt-1.0.1/mcrypt.c:770:1: error: expected ';' before '}' token
 }
 ^
/usr/local/src/mcrypt-1.0.1/mcrypt.c: In function 'zif_mcrypt_enc_is_block_algorithm_mode':
/usr/local/src/mcrypt-1.0.1/mcrypt.c:781:2: error: expected ';' before '}' token
  } else {
  ^
/usr/local/src/mcrypt-1.0.1/mcrypt.c:781:4: error: expected '}' before 'else'
  } else {
    ^
/usr/local/src/mcrypt-1.0.1/mcrypt.c:783:2: error: expected ';' before '}' token
  }
  ^
/usr/local/src/mcrypt-1.0.1/mcrypt.c: In function 'zif_mcrypt_enc_is_block_algorithm':
/usr/local/src/mcrypt-1.0.1/mcrypt.c:795:2: error: expected ';' before '}' token
  } else {
  ^
/usr/local/src/mcrypt-1.0.1/mcrypt.c:795:4: error: expected '}' before 'else'
  } else {
    ^
/usr/local/src/mcrypt-1.0.1/mcrypt.c:797:2: error: expected ';' before '}' token
  }
  ^
/usr/local/src/mcrypt-1.0.1/mcrypt.c: In function 'zif_mcrypt_enc_is_block_mode':
/usr/local/src/mcrypt-1.0.1/mcrypt.c:809:2: error: expected ';' before '}' token
  } else {
  ^
/usr/local/src/mcrypt-1.0.1/mcrypt.c:809:4: error: expected '}' before 'else'
  } else {
    ^
/usr/local/src/mcrypt-1.0.1/mcrypt.c:811:2: error: expected ';' before '}' token
  }
  ^
/usr/local/src/mcrypt-1.0.1/mcrypt.c:1145:14: error: invalid storage class for function 'php_mcrypt_get_key_size_str'
 static char *php_mcrypt_get_key_size_str(
              ^
/usr/local/src/mcrypt-1.0.1/mcrypt.c:1182:18: error: invalid storage class for function 'php_mcrypt_is_valid_key_size'
 static zend_bool php_mcrypt_is_valid_key_size(
                  ^
/usr/local/src/mcrypt-1.0.1/mcrypt.c:1206:12: error: invalid storage class for function 'php_mcrypt_ensure_valid_key_size'
 static int php_mcrypt_ensure_valid_key_size(MCRYPT td, int key_size) /* {{{ */
            ^
/usr/local/src/mcrypt-1.0.1/mcrypt.c:1233:12: error: invalid storage class for function 'php_mcrypt_ensure_valid_iv'
 static int php_mcrypt_ensure_valid_iv(MCRYPT td, const char *iv, int iv_size) /* {{{ */
            ^
/usr/local/src/mcrypt-1.0.1/mcrypt.c:1262:13: error: invalid storage class for function 'php_mcrypt_do_crypt'
 static void php_mcrypt_do_crypt(char* cipher, const char *key, size_t key_len, const char *data, size_t data_len, char *mode, const char *iv, size_t iv_len, size_t dencrypt, zval* return_value) /* {{{ */
             ^
/usr/local/src/mcrypt-1.0.1/mcrypt.c:1422:1: error: expected declaration or statement at end of input
 }
 ^
/usr/local/src/mcrypt-1.0.1/mcrypt.c: In function 'zif_mcrypt_enc_is_block_algorithm':
/usr/local/src/mcrypt-1.0.1/mcrypt.c:1422:1: error: expected declaration or statement at end of input
/usr/local/src/mcrypt-1.0.1/mcrypt.c: In function 'zif_mcrypt_enc_is_block_algorithm_mode':
/usr/local/src/mcrypt-1.0.1/mcrypt.c:1422:1: error: expected declaration or statement at end of input
/usr/local/src/mcrypt-1.0.1/mcrypt.c: In function 'zif_mcrypt_generic_deinit':
/usr/local/src/mcrypt-1.0.1/mcrypt.c:1422:1: error: expected declaration or statement at end of input
/usr/local/src/mcrypt-1.0.1/mcrypt.c:1422:1: error: expected declaration or statement at end of input
/usr/local/src/mcrypt-1.0.1/mcrypt.c: In function 'zif_mdecrypt_generic':
/usr/local/src/mcrypt-1.0.1/mcrypt.c:1422:1: error: expected declaration or statement at end of input
/usr/local/src/mcrypt-1.0.1/mcrypt.c: In function 'zif_mcrypt_generic':
/usr/local/src/mcrypt-1.0.1/mcrypt.c:1422:1: error: expected declaration or statement at end of input
make: *** [mcrypt.lo] Error 1
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory

7
E-Mail / [EMERGENCY] Roundcube Internal Error after Update
« on: October 19, 2021, 04:35:55 AM »
Hello, roundcube got automatically updated or whatever and now when i open a mailbox that has emails received into inbox, it throws internal errors. I really need to fix this asap, thanks.

8
CentOS 7 Problems / quota errors
« on: July 16, 2021, 04:35:23 AM »
Hello, i got those errors in my admin mailbox and i haven't disabled quota or changed any settings about it.


Quote
###########################
Firewall Flush Daily Blocks
###########################


######################
Update Server Packages
######################
Redirecting to /bin/systemctl restart cwpsrv.service
Redirecting to /bin/systemctl restart httpd.service
Redirecting to /bin/systemctl reload httpd.service
Redirecting to /bin/systemctl reload nginx.service
Redirecting to /bin/systemctl reload httpd.service

Date which backup script is using: 2021-07-16 01:08:48

/etc/cron.daily/cwp_acme.sh:

[Fri Jul 16 03:08:49 CEST 2021] Already uptodate!
[Fri Jul 16 03:08:49 CEST 2021] Upgrade success!
/etc/cron.daily/cwp_bandwidth:

repquota: Mountpoint (or device) / not found or has no quota enabled.
repquota: Not all specified mountpoints are using quota.
repquota: Mountpoint (or device) / not found or has no quota enabled.
repquota: Not all specified mountpoints are using quota.
repquota: Mountpoint (or device) / not found or has no quota enabled.
repquota: Not all specified mountpoints are using quota.
repquota: Mountpoint (or device) / not found or has no quota enabled.
repquota: Not all specified mountpoints are using quota.
repquota: Mountpoint (or device) / not found or has no quota enabled.
repquota: Not all specified mountpoints are using quota.
repquota: Mountpoint (or device) / not found or has no quota enabled.
repquota: Not all specified mountpoints are using quota.
repquota: Mountpoint (or device) / not found or has no quota enabled.
repquota: Not all specified mountpoints are using quota.
repquota: Mountpoint (or device) / not found or has no quota enabled.
repquota: Not all specified mountpoints are using quota.

9
CentOS-WebPanel GUI / Mass Create Email accounts
« on: June 17, 2021, 04:03:23 PM »
Hello, is it possible to somehow create massively lots of email accounts using a list of names for specific domain?

10
CentOS 7 Problems / [web-panel] Adding new mailboxes issue
« on: February 10, 2021, 05:04:21 PM »
Hello,

Sometimes adding a new mailbox from the web-panel just fails, like it gets stuck on creating it (when pressing Add button it gets stuck on Processing..) and also sometimes it gets really slow. Any possible troubleshootings and fixes?

11
E-Mail / system mails and CSF alerts go to maildrop
« on: January 31, 2021, 08:27:49 PM »
Hello, i have set the admin email and CSF/LFD alerts email, but the mails from root always go to maildrop queue. They cannot be sent, what could be causing this?

12
CentOS 7 Problems / CWP updater errors
« on: May 23, 2020, 08:36:28 AM »
Quote
[root@mercury ~]# sh /scripts/update_cwp

====================================================
============= CentOS Web Panel Cron ================
====================================================


###########################
Firewall Flush Daily Blocks
###########################


######################
Update Server Packages
######################
Redirecting to /bin/systemctl restart cwpsrv.service

** (pkttyagent:18110): WARNING **: 10:35:25.137: Unable to register authentication agent: GDBus.Error:org.freedesktop.PolicyKit1.Error.Failed: Cannot determine user of subject
Error registering authentication agent: GDBus.Error:org.freedesktop.PolicyKit1.Error.Failed: Cannot determine user of subject (polkit-error-quark, 0)
Redirecting to /bin/systemctl restart httpd.service

** (pkttyagent:18177): WARNING **: 10:35:25.905: Unable to register authentication agent: GDBus.Error:org.freedesktop.PolicyKit1.Error.Failed: Cannot determine user of subject
Error registering authentication agent: GDBus.Error:org.freedesktop.PolicyKit1.Error.Failed: Cannot determine user of subject (polkit-error-quark, 0)
Redirecting to /bin/systemctl reload httpd.service

** (pkttyagent:18220): WARNING **: 10:35:27.587: Unable to register authentication agent: GDBus.Error:org.freedesktop.PolicyKit1.Error.Failed: Cannot determine user of subject
Error registering authentication agent: GDBus.Error:org.freedesktop.PolicyKit1.Error.Failed: Cannot determine user of subject (polkit-error-quark, 0)

13
CentOS-WebPanel GUI / Stuck on email account creation
« on: May 22, 2020, 06:15:41 PM »
Hello,

After the last update yesterday or 1/2 days ago, when trying to add an email account, it is stuck on "processing" and sometimes the account is created, but the GUI just stucks and doesn't show if it was created or not.

15
CentOS-WebPanel GUI / Web panel very slow
« on: April 07, 2020, 07:32:14 AM »
The CWP7Pro web panel (not the admin panel) is loading too slow for me. Those are the parameters of my vps:

CPU Model: Intel(R) Xeon(R) CPU E5-2630 v4 @ 2.20GHz
CPU Details: 4 Core (2200 MHz)
Distro Name: CentOS Linux release 7.7.1908 (Core)
Kernel Version: 3.10.0-1062.18.1.el7.x86_64
Platform: x86_64 kvm

And it also has 200GB SSD.

Is there a chance that the web server configuration might be affecting the loading speed of the web panel?

Pages: [1] 2