Author Topic: Bugs in CWPpro version: 0.9.8.197  (Read 1321 times)

0 Members and 1 Guest are viewing this topic.

Offline
*
Bugs in CWPpro version: 0.9.8.197
« on: March 27, 2017, 04:21:22 PM »
So far  since the upgrade from 153 i have encountered a few issues , i have not gone through everything so there may be more that i have not found yet.

System is as Follows :

CWPpro version: 0.9.8.197
Apache version: Apache/2.4.25
PHP version: 5.6.30
MySQL version: 10.1.22-MariaDB

Issues are as follows :

1. Mod Security

When installing mod security with either Comodo or WASP rules, Apache fails to start and gives the following error

Code: [Select]
Starting httpd: httpd: Syntax error on line 507 of /usr/local/apache/conf/httpd.conf: Syntax error on line 5 of /usr/local/apache/conf.d/mod_security.conf: Cannot load modules/mod_security2.so into server: /usr/local/apache/modules/mod_security2.so: undefined symbol: apr_crypto_block_cleanup
[FAILED]

Mod security has to be un-installed in order for Apache to be able to be re-started.

2. PhpMyAdmin

The following error persists

Code: [Select]
The configuration file now needs a secret passphrase (blowfish_secret).
The passphrase is there in the current location has this location been changed ??

3 Scripts

You mention in a post to use the following script

Code: [Select]
/scripts/restart_cwpsrv
This script is not present in my scripts folder ... and yes i have done the yum update_cwrsrv command

4. Roundcube

On the client side of CWP when clicking on the Roundcube item which represents domain.com/roundcube it opens up the window with the following error

Code: [Select]
Internal Server Error

The server encountered an internal error or misconfiguration and was unable to complete your request.

Please contact the server administrator at domain.com to inform them of the time this error occurred, and the actions you performed just before this error.

More information about this error may be available in the server error log.

However in the navigation window on the left it points to domain.com:2095 which takes you to roundcube webmail.

5. MySQL

On both Admin and client side windows when clicking on Show MySQL Processes in the navigation tab , it starts to load the window by showing the loading option but then remains blank as if there are no processes running.

Any insight to these issues ?
As i find more i will post here


Offline
*****
Re: Bugs in CWPpro version: 0.9.8.197
« Reply #1 on: March 28, 2017, 12:37:01 PM »
Hello,

all of that seems like something went wrong at updating time.
Contact us http://centos-webpanel.com/support-service or pm me. I do not have anything at my test vps's

Offline
*
Re: Bugs in CWPpro version: 0.9.8.197
« Reply #2 on: March 28, 2017, 05:09:38 PM »
Thanks for the offer , i may well be contacting you soon , however i will persevere and try to figure out some of the issues myself , a few of them are irrelevant like the roundcube and the missing script ..

I have found the issue with the Mod Security issue

Original fault when installing Mod Security with Comodo or WASP rules was :

Code: [Select]
Starting httpd: httpd: Syntax error on line 507 of /usr/local/apache/conf/httpd.conf: Syntax error on line 5 of /usr/local/apache/conf.d/mod_security.conf: Cannot load modules/mod_security2.so into server: /usr/local/apache/modules/mod_security2.so: undefined symbol: apr_crypto_block_cleanup
[FAILED]

When i had a look at /usr/local/apache/conf.d/mod_security.conf file i found this entry :

Code: [Select]
<IfModule !mod_security2.c>
  LoadModule security2_module  modules/mod_security2.so
</IfModule>

Notice the ! in the first line , once this was removed , apache started successfully , how this excalamation mark got there is beyond me as i have never altered this file before ??

Regarding the phpmyadmin blowfish secret , could you tell me where the new location is for this file as admin stated the old location is no longer in use ??

Offline
*
Re: Bugs in CWPpro version: 0.9.8.197
« Reply #3 on: March 29, 2017, 09:07:59 AM »
phpMyAdmin blowfish secret resolved ... I have found the new location needed for config.inc.php file

Code: [Select]
/usr/local/cwpsrv/var/services/pma
Had to change the old secret as this one said it required a 32 character pass.

Code: [Select]
* This is needed for cookie based authentication to encrypt password in
 * cookie. Needs to be 32 chars long.


Offline
*
Re: Bugs in CWPpro version: 0.9.8.197
« Reply #4 on: March 29, 2017, 09:14:22 AM »
When using the command sh /scripts/update_cwp ( as my CWP does not seem to want to auto update anymore ) it does what it needs to do and updates to the latest version however i get these errors are they supposed to be like this ???

Code: [Select]
######################
Update Server Packages
######################
chattr: Operation not supported while reading flags on /usr/local/cwpsrv/htdocs/admin/admin/design
chattr: Operation not supported while reading flags on /usr/local/cwpsrv/htdocs/admin/login/design
chattr: Operation not supported while reading flags on /usr/local/cwpsrv/htdocs/admin/user/design
chattr: Operation not supported while reading flags on /usr/local/cwpsrv/htdocs/admin/admin/design
chattr: Operation not supported while reading flags on /usr/local/cwpsrv/htdocs/admin/login/design
chattr: Operation not supported while reading flags on /usr/local/cwpsrv/htdocs/admin/user/design
chattr: Operation not supported while reading flags on /usr/local/cwpsrv/htdocs/admin/admin/design
chattr: Operation not supported while reading flags on /usr/local/cwpsrv/htdocs/admin/login/design
chattr: Operation not supported while reading flags on /usr/local/cwpsrv/htdocs/admin/user/design


Offline
*
Re: Bugs in CWPpro version: 0.9.8.197
« Reply #5 on: March 29, 2017, 01:34:41 PM »
When using the command sh /scripts/update_cwp ( as my CWP does not seem to want to auto update anymore ) it does what it needs to do and updates to the latest version however i get these errors are they supposed to be like this ???

Code: [Select]
######################
Update Server Packages
######################
chattr: Operation not supported while reading flags on /usr/local/cwpsrv/htdocs/admin/admin/design
chattr: Operation not supported while reading flags on /usr/local/cwpsrv/htdocs/admin/login/design
chattr: Operation not supported while reading flags on /usr/local/cwpsrv/htdocs/admin/user/design
chattr: Operation not supported while reading flags on /usr/local/cwpsrv/htdocs/admin/admin/design
chattr: Operation not supported while reading flags on /usr/local/cwpsrv/htdocs/admin/login/design
chattr: Operation not supported while reading flags on /usr/local/cwpsrv/htdocs/admin/user/design
chattr: Operation not supported while reading flags on /usr/local/cwpsrv/htdocs/admin/admin/design
chattr: Operation not supported while reading flags on /usr/local/cwpsrv/htdocs/admin/login/design
chattr: Operation not supported while reading flags on /usr/local/cwpsrv/htdocs/admin/user/design

you can ignore that errors (this is fine)
AntiDDoS Protection (web + mail)
http://centos-webpanel.com/website-ddos-protection-proxy

Join our Development Team and get paid !
http://centos-webpanel.com/develope-modules-for-cwp


Services Monitoring & RBL Monitoring
http://centos-webpanel.com/services-monitor


Do you need Fast and FREE Support included for your CWP linux server?
http://centos-webpanel.com/noc-partner-list
Installation Instructions
http://centos-webpanel.com/installation-instructions
Get Fast Support Here
http://centos-webpanel.com/support-services