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.


Messages - Radical Redemption

Pages: 1 2 [3] 4
31
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

32
E-Mail / Re: [EMERGENCY] Roundcube Internal Error after Update
« on: October 19, 2021, 11:35:16 AM »
cwp fix
Code: [Select]
/scripts/update_cwp
/scripts/mail_roundcube_update

This downgraded my roundcube version. Is that the fix? How can i upgrade it back to 1.5 as the fix did the work for me?

Because after downgrading something else messed up. After i open an email to read, there is a huge contactpic.svg appearing on top of the email content.



EDIT: I upgraded back to 1.5.0 but is CWP going to downgrade it automatically to 1.4.11?

33
E-Mail / Re: Roundcube1.5.x Internal Server Error - FIX
« on: October 19, 2021, 07:31:32 AM »
Thanks a lot, it worked for me!

34
E-Mail / Re: [EMERGENCY] Roundcube Internal Error after Update
« on: October 19, 2021, 07:06:19 AM »
Thanks, i managed to install rainloop as a temporary workout, but please let me know once there is a fix.

35
E-Mail / Re: [EMERGENCY] Roundcube Internal Error after Update
« on: October 19, 2021, 06:51:27 AM »
Can i connect rainloop client to current email database that roundcube used without breaking it?

36
E-Mail / Re: [EMERGENCY] Roundcube Internal Error after Update
« on: October 19, 2021, 05:32:08 AM »
Is it possible to downgrade rc version temporary as ive got lots of customers using the mailbox?

37
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.

38
CentOS 7 Problems / Re: quota errors
« on: July 16, 2021, 11:56:01 AM »
you can a) ignore the errors; b) install quotas via CWP or manually (if XFS uses)

Yeah, i will just ignore the errors. Thanks anyway.

39
CentOS 7 Problems / Re: quota errors
« on: July 16, 2021, 10:38:41 AM »
Are you sure you have the quotas installed?

Well, i haven't installed anything by default. What should i do?

40
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.

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

42
CentOS 7 Problems / Re: Daily Spamassassin update reports error
« on: March 17, 2021, 05:16:45 PM »
Hi, I would disable the mirror in the config in /etc/mail/spamassassin/

Hello, is that the only fix right now? Would that somehow mess up the spamassassin updates after disabling the mirror?

43
CentOS 7 Problems / Re: Long user cpanel login time
« on: February 10, 2021, 07:06:57 PM »
Same here.. It's been like that ever since i started using CWP (a year).

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

45
E-Mail / Re: system mails and CSF alerts go to maildrop
« on: February 03, 2021, 07:26:17 AM »
Everything else is working properly. Only the system mails get into queue maildrop.

Pages: 1 2 [3] 4