Control Web Panel

WebPanel => CentOS 6 Problems => Topic started by: Administrator on March 14, 2017, 08:24:48 PM

Title: CentOS6 Upgrade
Post by: Administrator on March 14, 2017, 08:24:48 PM
THIS ARE UPGRADE INSTRUCTIONS ONLY FOR CWP VERSION 0.9.8.1xx or lower

This is now critical issue as old version 0.9.8.1xx will completely expire soon and some of the important server services like backups and monitoring will stop working!

Procedure
===============
- Make sure that you are running CWP version 0.9.8.15x before proceedMySQL!!!
- Check your mysql version, you need to have mysql version 5.5 or higher (command: mysql --version)
- If your MySQL version is 5.1 or less than 5.5 then you need to upgrade MySQL by using MySQL upgrade script (instructions are bellow)
- Switch your server to Apache only mode in WebServers menu (you need to disable nginx and varnish, instructions are bellow )
- Download and Run CWP upgrade script (instructions are bellow)
- Download and Run Apache Upgrade script (instructions are bellow)

MySQL Upgrade (NOT required if you have MariaDB or MySQL 5.5 or newer)
- Before running any mysql upgrade please make sure you have backups of your databases, if you have cwp backups enabled then you should also have backups, but please check before proceeding.
Code: [Select]
cd /usr/local/src
wget http://dl1.centos-webpanel.com/files/el6/cwpupgrade/mysql.sh
sh mysql.sh

CWP Upgrade script
- Download and Run CWP upgrade script
Code: [Select]
cd /usr/local/src
wget http://dl1.centos-webpanel.com/files/el6/cwpupgrade/cwpsrv.sh
sh cwpsrv.sh

Apache Upgrade script
- Before running apache upgrade script, login into cwp.admin and check that you are running apache only under Apache Settings --> Select WebServers, don't forget to rebuild vhosts also.
- Download and Run Apache upgrade script
Code: [Select]
cd /usr/local/src
wget http://dl1.centos-webpanel.com/files/el6/cwpupgrade/apache.sh
sh apache.sh

If something goes wrong with you apache try also this command
Code: [Select]
yum reinstall cwp-httpd cwp-suphp

RESTORE
If something goes wrong you can restore your apache/cwpsrv with the command
Code: [Select]
cd /usr/local/src
sh cwpsrv.sh restore
sh apache.sh restore

*** Please note that it would be good that you have some system admin at your side before proceeding :)
If you stuck somewhere you can restore your current version and/or contact our support for assistance.
http://centos-webpanel.com/contact
Title: Re: CentOS6 Upgrade
Post by: oleteacher on March 15, 2017, 03:22:26 AM
On CWPpro version: 0.9.8.153 OS6. I hate to assume anything.

Running 10.1.21-MariaDB and can only assume there will be no issue upgrading since not MySQL 5?

So just run the CWP and Apache updates?

Thanks
Title: Re: CentOS6 Upgrade
Post by: Igor S. on March 15, 2017, 05:57:45 AM
Hello.

MySQL does NOT require upgrade if it higher 5.1!
Title: Re: CentOS6 Upgrade
Post by: kgeroczi on March 15, 2017, 09:34:47 AM
CWP update was successfull, but the apache not.
I have this for every domains and subdomains:

Forbidden
You don't have permission to access / on this server.

ps: + a lot "Internal Server Error" errors
Title: Re: CentOS6 Upgrade
Post by: Igor S. on March 15, 2017, 09:42:59 AM
Hi,

Let us know what kind error in error.log do you have.
Also let us know what kind configuration did you have (apache+nginx etc, mod_security)?

CWP update was successfull, but the apache not.
I have this for every domains and subdomains:

Forbidden
You don't have permission to access / on this server.

ps: + a lot "Internal Server Error" errors
Title: Re: CentOS6 Upgrade
Post by: kgeroczi on March 15, 2017, 10:14:59 AM
Hi,

Let us know what kind error in error.log do you have.
Also let us know what kind configuration did you have (apache+nginx etc, mod_security)?

CWP update was successfull, but the apache not.
I have this for every domains and subdomains:

Forbidden
You don't have permission to access / on this server.

ps: + a lot "Internal Server Error" errors

Before Update:
Application Version
    Apache version: Apache/2.2.27
    PHP version: 5.6.27 [PHP Switcher]
    MySQL version: 10.1.21-MariaDB
    FTP version: 1.0.36
System Info
   Distro Name: CentOS release 6.8 (Final)
CWP info
   CWP version: 0.9.8.153
   
After CWP update:   
CWP info
   CWP version: 0.9.8.188
   

Code: [Select]
Installed:
  cwp-httpd.x86_64 0:2.4.25-3                                                                     cwp-suphp.x86_64 0:0.7.2-2

Complete!
Stopping httpd:                                            [FAILED]
Starting httpd: AH00548: NameVirtualHost has no effect and will be removed in the next release /usr/local/apache/conf/sharedip.conf:1
AH00558: httpd: Could not reliably determine the server's fully qualified domain name, using s1.sowe.hu. Set the 'ServerName' directive globally to suppress this message
                                                           [  OK  ]
Apache has been upgraded

Code: [Select]
[Wed Mar 15 11:11:34 2017] [warn] Init: Session Cache is not configured [hint: SSLSessionCache]
[Wed Mar 15 11:11:34 2017] [warn] Init: Name-based SSL virtual hosts only work for clients with TLS server name indication support (RFC 4366)
[Wed Mar 15 11:11:34 2017] [notice] suEXEC mechanism enabled (wrapper: /usr/local/apache/bin/suexec)
[Wed Mar 15 11:11:35 2017] [warn] Init: Name-based SSL virtual hosts only work for clients with TLS server name indication support (RFC 4366)
[Wed Mar 15 11:11:35 2017] [notice] Apache/2.2.27 (Unix) mod_ssl/2.2.27 OpenSSL/1.0.1e-fips configured -- resuming normal operations
[Wed Mar 15 11:11:35 2017] [notice] caught SIGTERM, shutting down
[Wed Mar 15 11:11:46.001155 2017] [ssl:warn] [pid 6027:tid 140026756859648] AH01873: Init: Session Cache is not configured [hint: SSLSessionCache]
[Wed Mar 15 11:11:46.005490 2017] [mpm_event:notice] [pid 6027:tid 140026756859648] AH00489: Apache/2.4.25 (Unix) OpenSSL/1.0.1e-fips configured -- resuming normal operations
[Wed Mar 15 11:11:46.005534 2017] [core:notice] [pid 6027:tid 140026756859648] AH00094: Command line: '/usr/local/apache/bin/httpd'
[Wed Mar 15 11:12:00.681838 2017] [authz_core:error] [pid 6031:tid 140026537047808] [client *.*.*.*:36317] AH01630: client denied by server configuration: /home/-username-/public_html/

edit: "/usr/local/apache/conf.d/vhosts-ssl-letsencrypt.conf" not loaded, httpd not listening on 443
Title: Re: CentOS6 Upgrade
Post by: Igor S. on March 15, 2017, 10:19:00 AM
This error
Quote
client denied by server configuration: /home/-username-/public_html/
looks like you are using deprecated Allow, Order directives in apache config or .htaccess.
You can try restore Apache and then rebuild via CWP.
Title: Re: CentOS6 Upgrade
Post by: kgeroczi on March 15, 2017, 10:35:25 AM
This error
Quote
client denied by server configuration: /home/-username-/public_html/
looks like you are using deprecated Allow, Order directives in apache config or .htaccess.
You can try restore Apache and then rebuild via CWP.

Current running version:

Code: [Select]
Server version: Apache/2.4.25 (Unix)
Server built:   Mar  1 2017 14:22:27

Loaded Modules:
 core_module (static)
 so_module (static)
 http_module (static)
 mpm_event_module (static)
 authn_file_module (shared)
 authn_core_module (shared)
 authz_host_module (shared)
 authz_groupfile_module (shared)
 authz_user_module (shared)
 authz_core_module (shared)
 access_compat_module (shared)
 auth_basic_module (shared)
 reqtimeout_module (shared)
 ext_filter_module (shared)
 include_module (shared)
 filter_module (shared)
 deflate_module (shared)
 mime_module (shared)
 log_config_module (shared)
 env_module (shared)
 expires_module (shared)
 headers_module (shared)
 unique_id_module (shared)
 setenvif_module (shared)
 version_module (shared)
 proxy_module (shared)
 proxy_connect_module (shared)
 proxy_ftp_module (shared)
 proxy_http_module (shared)
 proxy_fcgi_module (shared)
 proxy_scgi_module (shared)
 proxy_ajp_module (shared)
 proxy_balancer_module (shared)
 slotmem_shm_module (shared)
 ssl_module (shared)
 unixd_module (shared)
 status_module (shared)
 autoindex_module (shared)
 asis_module (shared)
 suexec_module (shared)
 vhost_alias_module (shared)
 negotiation_module (shared)
 dir_module (shared)
 actions_module (shared)
 userdir_module (shared)
 alias_module (shared)
 rewrite_module (shared)
 suphp_module (shared)

This it the latest version as I see.

Now I try a vhost rebuild.

Edit: not working. I removed .htaccess but it didn't help.

still: client denied by server configuration: /home/-user-/public_html/

Apache rebuild started.
Title: Re: CentOS6 Upgrade
Post by: robbyq on March 15, 2017, 10:46:02 AM
This error
Quote
client denied by server configuration: /home/-username-/public_html/
looks like you are using deprecated Allow, Order directives in apache config or .htaccess.
You can try restore Apache and then rebuild via CWP.

Current running version:

Code: [Select]
Server version: Apache/2.4.25 (Unix)
Server built:   Mar  1 2017 14:22:27

Loaded Modules:
 core_module (static)
 so_module (static)
 http_module (static)
 mpm_event_module (static)
 authn_file_module (shared)
 authn_core_module (shared)
 authz_host_module (shared)
 authz_groupfile_module (shared)
 authz_user_module (shared)
 authz_core_module (shared)
 access_compat_module (shared)
 auth_basic_module (shared)
 reqtimeout_module (shared)
 ext_filter_module (shared)
 include_module (shared)
 filter_module (shared)
 deflate_module (shared)
 mime_module (shared)
 log_config_module (shared)
 env_module (shared)
 expires_module (shared)
 headers_module (shared)
 unique_id_module (shared)
 setenvif_module (shared)
 version_module (shared)
 proxy_module (shared)
 proxy_connect_module (shared)
 proxy_ftp_module (shared)
 proxy_http_module (shared)
 proxy_fcgi_module (shared)
 proxy_scgi_module (shared)
 proxy_ajp_module (shared)
 proxy_balancer_module (shared)
 slotmem_shm_module (shared)
 ssl_module (shared)
 unixd_module (shared)
 status_module (shared)
 autoindex_module (shared)
 asis_module (shared)
 suexec_module (shared)
 vhost_alias_module (shared)
 negotiation_module (shared)
 dir_module (shared)
 actions_module (shared)
 userdir_module (shared)
 alias_module (shared)
 rewrite_module (shared)
 suphp_module (shared)

This it the latest version as I see.

Now I try a vhost rebuild.

Edit: not working. I removed .htaccess but it didn't help.

still: client denied by server configuration: /home/-user-/public_html/

Apache rebuild started.

u see a new and better speed, cache etc? in ur server? load website?
Title: Re: CentOS6 Upgrade
Post by: kgeroczi on March 15, 2017, 10:51:42 AM
After an Apacha Rebuild now it's working :)

Before:
Application Version
    Apache version: Apache/2.2.27
    PHP version: 5.6.27 [PHP Switcher]
    MySQL version: 10.1.21-MariaDB
    FTP version: 1.0.36

After:
Application Version
    Apache version: Apache/2.4.25
    PHP version: 5.6.27 [PHP Switcher]
    MySQL version: 10.1.21-MariaDB
    FTP version: 1.0.36

Now I have to use PHP Swticher to switch to the latest php7?

@robbyq: the CWP Control panel is faster, the web test is in progress

Next problem with webmail:
Code: [Select]
DATABASE ERROR: CONNECTION FAILED!
Unable to connect to the database!
Please contact your server-administrator.

Title: Re: CentOS6 Upgrade
Post by: Igor S. on March 15, 2017, 11:08:30 AM
Now I have to use PHP Swticher to switch to the latest php7?

No, it does not requires. You can use if you want.

Code: [Select]
DATABASE ERROR: CONNECTION FAILED!
Unable to connect to the database!
Please contact your server-administrator.

Hmmm, never seen it before after update.
Check if config
Code: [Select]
/usr/local/cwpsrv/var/services/roundcube/config/config.inc.phphas correct rouncube login and password.
Title: Re: CentOS6 Upgrade
Post by: kgeroczi on March 15, 2017, 11:16:17 AM
Now I have to use PHP Swticher to switch to the latest php7?

No, it does not requires. You can use if you want.

Code: [Select]
DATABASE ERROR: CONNECTION FAILED!
Unable to connect to the database!
Please contact your server-administrator.

Hmmm, never seen it before after update.
Check if config
Code: [Select]
/usr/local/cwpsrv/var/services/roundcube/config/config.inc.phphas correct rouncube login and password.

It's interesting because i have a proxy to forward https://cwp.url to 2030 , so I can use it behind a limited network.
And If I use it with https://cwp.url/roundcube its working. If i use a standard url.url/webmail (like before) I got this error message.
Any idea why?
Title: Re: CentOS6 Upgrade
Post by: Igor S. on March 15, 2017, 11:20:38 AM
It's interesting because i have a proxy to forward https://cwp.url to 2030 , so I can use it behind a limited network.
And If I use it with https://cwp.url/roundcube its working. If i use a standard url.url/webmail (like before) I got this error message.
Any idea why?

Try to use http://url.url:2030/webmail
Title: Re: CentOS6 Upgrade
Post by: kgeroczi on March 15, 2017, 12:44:18 PM
Try to use http://url.url:2030/webmail

It's working. The question is, why now we lost the default url/webmail access, and why this is not communicated out?
Becuase now we using again a non-standart port. So, if the firewall/proxy is blocking every port and only 80/443 available, now the users can't use the webmail.
I will solve this in vhosts i think, but the questions are open :)
Title: Re: CentOS6 Upgrade
Post by: Igor S. on March 15, 2017, 01:02:56 PM
It's working. The question is, why now we lost the default url/webmail access, and why this is not communicated out?
Becuase now we using again a non-standart port. So, if the firewall/proxy is blocking every port and only 80/443 available, now the users can't use the webmail.
I will solve this in vhosts i think, but the questions are open :)

We'll think about it. But at the time should be used port 2030.
Thanks.
Title: Re: CentOS6 Upgrade
Post by: Administrator on March 15, 2017, 01:38:22 PM
this is because now different webserver is used for serving server services like phpmyadmin and roundcube so its not more under apache.
But we will check what can be done to have that proxy/alias mode.
Title: Re: CentOS6 Upgrade
Post by: Darkroom on March 15, 2017, 02:54:01 PM
Ok, I did all this and after a little wresting (not too much, my server IP was changed some time ago and it looks like I changed the vhost file directly, then when I rebuilt, the old IP was still in the user account configs, got that all cleared up) I got my wordpress sites up and running. Yay!

I do have a problem now however. When I install mod_sec I get:
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]

Nothing in the apache error log

Apache version: Apache/2.4.25
PHP version: 5.6.27 [PHP Switcher]
MySQL version: 5.5.54
FTP version: 1.0.36

Distro Name: CentOS release 6.8 (Final)
Kernel Version: 2.6.32-642.13.1.el6.x86_64

CWP version: 0.9.8.188
Title: Re: CentOS6 Upgrade
Post by: Igor S. on March 15, 2017, 05:46:17 PM
Try rebuild apache with mod_security please.
And check if apr and apr-util installed from CWP repo.
Title: Re: CentOS6 Upgrade
Post by: Darkroom on March 15, 2017, 06:57:00 PM
Well apache is configured with

--with-apr=/usr/local/apr
--with-apr-util=/usr/local/apr

That directory exists and there's directories in it:
bin  build-1  include  lib

if I 'locate apr' there's a bunch of /usr/local/src/cwp/.... entries ¯\_(ツ)_/¯
I looked and I can't find the flag for mod_security on the apache rebuild. I'd assume it looks something like --enable-mod_security but I don't know.
Title: Re: CentOS6 Upgrade
Post by: Administrator on March 15, 2017, 10:25:26 PM
have you tried to rebuild apache from cwp ?

check that apr, apr-util and devel packages are installed from cwp repository by using this command
Code: [Select]
yum list installed|grep apr
Title: Re: CentOS6 Upgrade
Post by: darkness on March 16, 2017, 06:09:10 AM
After the update none of my websites is working. No error through web browser. I decided to put PHP 7.0.16 and I see:
Code: [Select]
Error Summary
-------------

buildconf: checking installation...
buildconf: autoconf version 2.63 (ok)
rebuilding aclocal.m4
rebuilding configure
configure.ac:276: error: Autoconf version 2.64 or higher is required
build/ax_check_compile_flag.m4:60: AX_CHECK_COMPILE_FLAG is expanded from...
autom4te: /usr/bin/m4 failed with exit status: 63
rebuilding main/php_config.h.in
configure.ac:276: error: Autoconf version 2.64 or higher is required
build/ax_check_compile_flag.m4:60: AX_CHECK_COMPILE_FLAG is expanded from...
autom4te: /usr/bin/m4 failed with exit status: 63
autoheader: '/usr/bin/autom4te' failed with exit status: 63
/usr/local/cwp/.conf/php_conf/php7.conf: line 1: ./configure: No such file or directory
make: *** No targets specified and no makefile found.  Stop.
make: *** No rule to make target `install'.  Stop.
Stopping httpd: [  OK  ]
Starting httpd: [  OK  ]

Build Completed
###################


/usr/local/src/php-build.sh: line 16: /scripts/add_alert: Permission denied
Title: Re: CentOS6 Upgrade
Post by: Igor S. on March 16, 2017, 06:23:57 AM
After the update none of my websites is working. No error through web browser. I decided to put PHP 7.0.16 and I see:

How exactly the sites do not work? Should be some errors.
Title: Re: CentOS6 Upgrade
Post by: darkness on March 16, 2017, 08:27:09 AM
In 15min I got 76747 lines in /usr/local/apache/error_log which are the same, so I will paste just 2 of them:
Code: [Select]
[Thu Mar 16 09:22:23.749044 2017] [core:error] [pid 23340:tid 140131841574720] AH00546: no record of generation 0 of exiting child 1546
/usr/local/apache/bin/httpd: symbol lookup error: /usr/local/apache/bin/httpd: undefined symbol: apr_skiplist_init
Any idea?
Title: Re: CentOS6 Upgrade
Post by: Igor S. on March 16, 2017, 09:27:45 AM
In 15min I got 76747 lines in /usr/local/apache/error_log which are the same, so I will paste just 2 of them:
Code: [Select]
[Thu Mar 16 09:22:23.749044 2017] [core:error] [pid 23340:tid 140131841574720] AH00546: no record of generation 0 of exiting child 1546
/usr/local/apache/bin/httpd: symbol lookup error: /usr/local/apache/bin/httpd: undefined symbol: apr_skiplist_init
Any idea?

The error related with apr. Check if apr and apr-util installed from CWP repo:
Code: [Select]
yum list installed |grep apr
Title: Re: CentOS6 Upgrade
Post by: darkness on March 16, 2017, 01:07:37 PM
Code: [Select]
[root@msi ~]# yum list installed | grep apr
apr.x86_64                           1.3.9-5.el6_2              @base
apr-devel.x86_64                     1.3.9-5.el6_2              @base
apr-util.x86_64                      1.3.9-3.el6_0.1            @base
apr-util-devel.x86_64                1.3.9-3.el6_0.1            @base
apr-util-mysql.x86_64                1.3.9-3.el6_0.1            @base
[root@msi ~]#
Title: Re: CentOS6 Upgrade
Post by: Darkroom on March 16, 2017, 08:59:08 PM
have you tried to rebuild apache from cwp ?

check that apr, apr-util and devel packages are installed from cwp repository by using this command
Code: [Select]
yum list installed|grep apr

Yes, I've rebuilt apache with those flags here's the output of that command:
yum list installed|grep apr
apr.x86_64                           1.5.2-2                           @cwp     
apr-devel.x86_64                     1.5.2-2                           @cwp     
apr-util.x86_64                      1.5.4-2                           @cwp     
apr-util-devel.x86_64                1.5.4-2                           @cwp 
Title: Re: CentOS6 Upgrade
Post by: martexx on March 17, 2017, 07:28:42 AM
starting apache fails Stopping httpd: [FAILED]
Starting httpd: httpd: Syntax error on line 54 of /usr/local/apache/conf/httpd.conf: Cannot load modules/mod_antiloris.so into server: /usr/local/apache/modules/mod_antiloris.so: undefined symbol: ap_log_error
[FAILED]



THIS ARE UPGRADE INSTRUCTIONS ONLY FOR CWP VERSION 0.9.8.153

Procedure
===============
- Make sure that you are running CWP version 0.9.8.153 before proceeding !!!!
- Check your mysql version, you need to have mysql version 5.5 or higher
- If your MySQL version is 5.1 or less than 5.5 then you need to upgrade MySQL by using MySQL upgrade script (instructions are bellow)
- Switch your server to Apache only mode in WebServers menu (you need to disable nginx and varnish, instructions are bellow )
- Download and Run CWP upgrade script (instructions are bellow)
- Download and Run Apache Upgrade script (instructions are bellow)

MySQL Upgrade (NOT required if you have MariaDB or MySQL 5.5 or newer)
- Before running any mysql upgrade please make sure you have backups of your databases, if you have cwp backups enabled then you should also have backups, but please check before proceeding.
Code: [Select]
cd /usr/local/src
wget http://dl1.centos-webpanel.com/files/el6/cwpupgrade/mysql.sh
sh mysql.sh

CWP Upgrade script
- Download and Run CWP upgrade script
Code: [Select]
cd /usr/local/src
wget http://dl1.centos-webpanel.com/files/el6/cwpupgrade/cwpsrv.sh
sh cwpsrv.sh

Apache Upgrade script
- Before running apache upgrade script, login into cwp.admin and check that you are running apache only under Apache Settings --> Select WebServers, don't forget to rebuild vhosts also.
- Download and Run Apache upgrade script
Code: [Select]
cd /usr/local/src
wget http://dl1.centos-webpanel.com/files/el6/cwpupgrade/apache.sh
sh apache.sh

RESTORE
If something goes wrong you can restore your apache/cwpsrv with the command
Code: [Select]
cd /usr/local/src
sh cwpsrv.sh restore
sh apache.sh restore

*** Please note that it would be good that you have some system admin at your side before proceeding :)
If you stuck somewhere you can restore your current version and/or contact our support for assistance.
http://centos-webpanel.com/contact
Title: Re: CentOS6 Upgrade
Post by: Igor S. on March 17, 2017, 08:46:06 AM
Code: [Select]
[root@msi ~]# yum list installed | grep apr
apr.x86_64                           1.3.9-5.el6_2              @base
apr-devel.x86_64                     1.3.9-5.el6_2              @base
apr-util.x86_64                      1.3.9-3.el6_0.1            @base
apr-util-devel.x86_64                1.3.9-3.el6_0.1            @base
apr-util-mysql.x86_64                1.3.9-3.el6_0.1            @base
[root@msi ~]#

Hi,

you must add CWP repo if it was not added before and run few commands below:
Code: [Select]
yum -y erase apr-util-mysql
yum -y upgrade apr*
Title: Re: CentOS6 Upgrade
Post by: Igor S. on March 17, 2017, 08:48:04 AM
starting apache fails Stopping httpd: [FAILED]
Starting httpd: httpd: Syntax error on line 54 of /usr/local/apache/conf/httpd.conf: Cannot load modules/mod_antiloris.so into server: /usr/local/apache/modules/mod_antiloris.so: undefined symbol: ap_log_error
[FAILED]

Hello.

You must rebuild apache via CWP since you are using mod_antiloris.so (it is not a default module)
Title: Re: CentOS6 Upgrade
Post by: billyf on March 17, 2017, 01:07:54 PM
I have this problem when trying to upgrade. Can someone help me please ? I am running 0.9.8.153

[root@hostname src]# wget http://dl1.centos-webpanel.com/files/el6/cwpupgrade/cwpsrv.sh
--2017-03-17 09:01:38--  http://dl1.centos-webpanel.com/files/el6/cwpupgrade/cwpsrv.sh
Resolving dl1.centos-webpanel.com... 37.187.72.216
Connecting to dl1.centos-webpanel.com|37.187.72.216|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 8482 (8.3K) [application/x-sh]
Saving to: “cwpsrv.sh.2”

100%[======================================>] 8,482       --.-K/s   in 0s     

2017-03-17 09:01:39 (478 MB/s) - “cwpsrv.sh.2” saved [8482/8482]

[root@hostname src]# sh cwpsrv.sh
cwpsrv.sh: line 1: syntax error near unexpected token `newline'
cwpsrv.sh: line 1: `<meta http-equiv="refresh" content="0;URL=http://centos-webpanel.com">'
[root@hostname src]#
Title: Re: CentOS6 Upgrade
Post by: Darkroom on March 17, 2017, 07:05:22 PM
Still no mod_security

have you tried to rebuild apache from cwp ?

check that apr, apr-util and devel packages are installed from cwp repository by using this command
Code: [Select]
yum list installed|grep apr

Yes, I've rebuilt apache with those flags here's the output of that command:
yum list installed|grep apr
apr.x86_64                           1.5.2-2                           @cwp     
apr-devel.x86_64                     1.5.2-2                           @cwp     
apr-util.x86_64                      1.5.4-2                           @cwp     
apr-util-devel.x86_64                1.5.4-2                           @cwp
Title: Re: CentOS6 Upgrade
Post by: gauravsingh on March 17, 2017, 08:12:02 PM
Hello,

My hosting provider did the process as mentioned above, but it is giving error. According to him. :-

Quote
"There is an issue while upgrading Apache using the script being provided by CentOS webpanel as the Apache service doesn't start after getting upgraded to Apache 2.4.  The below error was showing while starting Apache service after the upgrade."

Code: [Select]
==========================================
[root@vps modsecurity-2.9.1]# /etc/init.d/httpd restart
Stopping httpd: [FAILED]
Starting httpd: httpd: Syntax error on line 54 of /usr/local/apache/conf/httpd.conf: Cannot load modules/mod_antiloris.so into server: /usr/local/apache/modules/mod_antiloris.so: undefined symbol: ap_log_error
[FAILED]
==========================================
Title: Re: CentOS6 Upgrade
Post by: darkness on March 18, 2017, 07:53:22 AM
Hello again,
I just noticed something. I got 1 machine with 90 days uptime on which I updated CWP manually. It passed around 50 hours after the update and the version is 0.9.8.188. I got 1 more machine on which I`m developing "OpenVZ with CWP" and there I made a fresh install of CWP. On the second machine the version is 0.9.8.194. Why is this difference?
Title: Re: CentOS6 Upgrade
Post by: je2u on March 18, 2017, 09:32:42 PM
On of my servers, after upgrade, got the same problem with apache:

Code: [Select]
Starting httpd: httpd: Syntax error on line 54 of /usr/local/apache/conf/httpd.conf: Cannot load modules/mod_antiloris.so into server: /usr/local/apache/modules/mod_antiloris.so: undefined symbol: ap_log_error
[FAILED]

Any tip?
Title: Re: CentOS6 Upgrade
Post by: darkness on March 19, 2017, 03:14:13 PM
Try:
Login to CWP6
Go to:
Apache Settings -> Apache Re-Build
Select:
Apache 2.4.25 & suPHP 0.7.2
Press:
Next -> Start compiler in background
After it finishes 99.99% your problems with Apache will be gone. Have fun.
Title: Re: CentOS6 Upgrade
Post by: darkness on March 20, 2017, 06:25:09 AM
I didn`t get answer why is the difference in the versions so I decided to take the things under my control even with the risk to blow up my system. I found that the cron for updating CWP is not working. I go to /scripts/ and I run 2 times "update_cwp" manually. Now I got CWP version: 0.9.8.195. I also added "0 0 * * * /scripts/update_cwp" as a "Add Full Custom Cron Jobs".
Title: Re: CentOS6 Upgrade
Post by: je2u on March 20, 2017, 06:51:04 AM
Already tryied to rebuild apache, but that didn't work.
Title: Re: CentOS6 Upgrade
Post by: billyf on March 20, 2017, 01:03:06 PM
 :P No one answered so let me try again.

I have this problem when trying to upgrade. Can someone help me please ? I am running 0.9.8.153

[root@hostname src]# wget http://dl1.centos-webpanel.com/files/el6/cwpupgrade/cwpsrv.sh
--2017-03-17 09:01:38--  http://dl1.centos-webpanel.com/files/el6/cwpupgrade/cwpsrv.sh
Resolving dl1.centos-webpanel.com... 37.187.72.216
Connecting to dl1.centos-webpanel.com|37.187.72.216|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 8482 (8.3K) [application/x-sh]
Saving to: “cwpsrv.sh.2”

100%[======================================>] 8,482       --.-K/s   in 0s     

2017-03-17 09:01:39 (478 MB/s) - “cwpsrv.sh.2” saved [8482/8482]

[root@hostname src]# sh cwpsrv.sh
cwpsrv.sh: line 1: syntax error near unexpected token `newline'
cwpsrv.sh: line 1: `<meta http-equiv="refresh" content="0;URL=http://centos-webpanel.com">'
[root@hostname src]#
Title: Re: CentOS6 Upgrade
Post by: darkness on March 21, 2017, 04:44:06 AM

Saving to: “cwpsrv.sh.2”

100%[======================================>] 8,482       --.-K/s   in 0s     

2017-03-17 09:01:39 (478 MB/s) - “cwpsrv.sh.2” saved [8482/8482]

[root@hostname src]# sh cwpsrv.sh
cwpsrv.sh: line 1: syntax error near unexpected token `newline'
cwpsrv.sh: line 1: `<meta http-equiv="refresh" content="0;URL=http://centos-webpanel.com">'
[root@hostname src]#
Did you try:
1. rm -rf cwpsrv.sh
2. mv cwpsrv.sh.2 cwpsrv.sh
3. sh cwpsrv.sh
Title: Re: CentOS6 Upgrade
Post by: darkness on March 21, 2017, 04:44:55 AM
Already tryied to rebuild apache, but that didn't work.
Can you give some error log to see what`s going on?
Title: Re: CentOS6 Upgrade
Post by: billyf on March 21, 2017, 01:30:19 PM
Thanks for responding. I did not because I got the error the very first time i tried.  But since I tried multiple times it looks like it kept renaming the old one.  That's why i have the .sh.2


Saving to: “cwpsrv.sh.2”

100%[======================================>] 8,482       --.-K/s   in 0s     

2017-03-17 09:01:39 (478 MB/s) - “cwpsrv.sh.2” saved [8482/8482]

[root@hostname src]# sh cwpsrv.sh
cwpsrv.sh: line 1: syntax error near unexpected token `newline'
cwpsrv.sh: line 1: `<meta http-equiv="refresh" content="0;URL=http://centos-webpanel.com">'
[root@hostname src]#
Did you try:
1. rm -rf cwpsrv.sh
2. mv cwpsrv.sh.2 cwpsrv.sh
3. sh cwpsrv.sh
Title: Re: CentOS6 Upgrade
Post by: johnny09 on March 22, 2017, 08:05:20 AM
Finaly got cwp version 0.9.8.188, but in mysql get this:

The configuration file now needs a secret passphrase (blowfish_secret).

1.Cant find info how to fix it or were..... help

2.And the second thing is that I cant import mysql db size 1m, loads loads and then - The connection was reset... help...its urgent....

Code: [Select]
MySQL info

    Server: Localhost via UNIX socket
    Server type: MariaDB
    Server version: 10.1.22-MariaDB - MariaDB Server
    Protocol version: 10
    User: libau_bad@localhost
    Server charset: UTF-8 Unicode (utf8)

     nginx/1.10.2
    Database client version: libmysql - mysqlnd 5.0.12-dev - 20150407 - $Id: b5c5906d452ec590732a93b051f3827e02749b83 $
    PHP extension: mysqliDocumentation curlDocumentation mbstringDocumentation
    PHP version: 7.0.16

 Version information: 4.6.6 (up to date)
Title: Re: CentOS6 Upgrade
Post by: johnny09 on March 22, 2017, 01:15:52 PM
The strange part is that the blow fish secret is filled already at
usr/local/apache/htdocs/phpmyadmin/config.inc.php
line 17
Code: [Select]
$cfg['blowfish_secret'] = 'a8b7c6d'; /* YOU MUST FILL IN THIS FOR COOKIE AUTH! */
Still no luck of fixing it and cant import db? Maybe reinstall myphp or something without loosing data???
Title: Re: CentOS6 Upgrade
Post by: Administrator on March 22, 2017, 02:21:06 PM
The strange part is that the blow fish secret is filled already at
usr/local/apache/htdocs/phpmyadmin/config.inc.php

this location is not in use anymore so you can delete that folder
/usr/local/apache/htdocs/phpmyadmin/
and use new link for phpmyadmin inside your cwp
Title: Re: CentOS6 Upgrade
Post by: johnny09 on March 22, 2017, 02:29:45 PM
OK, if that is the old one, were can I find the new one to check the secret?
Title: Re: CentOS6 Upgrade
Post by: Administrator on March 22, 2017, 02:38:36 PM
have you checked do you have any issue with the one ?
Title: Re: CentOS6 Upgrade
Post by: johnny09 on March 22, 2017, 02:52:25 PM
I have an issue with version 4.6.6

1. The configuration file now needs a secret passphrase (blowfish_secret).
http://imgur.com/a/OI3QL
2. Cant import any db
http://imgur.com/a/oYsOW
Title: Re: CentOS6 Upgrade
Post by: oleteacher on March 22, 2017, 05:01:35 PM
Just got mine updated with one time support. Best $7 I have spent in long time! No headaches and keeps these guys employed:)
Title: Re: CentOS6 Upgrade
Post by: Nagataka on March 22, 2017, 05:07:58 PM
Just tried to update my version.
Got the next error:
Code: [Select]
  inflating: phpMyAdmin-4.6.6-all-languages/themes/pmahomme/layout.inc.php
 extracting: phpMyAdmin-4.6.6-all-languages/themes/pmahomme/screen.png
  inflating: phpMyAdmin-4.6.6-all-languages/themes/pmahomme/sprites.lib.php
  inflating: phpMyAdmin-4.6.6-all-languages/themes/sprites.css.php
  inflating: phpMyAdmin-4.6.6-all-languages/themes/svg_gradient.php
  inflating: phpMyAdmin-4.6.6-all-languages/transformation_overview.php
  inflating: phpMyAdmin-4.6.6-all-languages/transformation_wrapper.php
  inflating: phpMyAdmin-4.6.6-all-languages/url.php
  inflating: phpMyAdmin-4.6.6-all-languages/user_password.php
  inflating: phpMyAdmin-4.6.6-all-languages/version_check.php
  inflating: phpMyAdmin-4.6.6-all-languages/view_create.php
  inflating: phpMyAdmin-4.6.6-all-languages/view_operations.php
Seems like something went wrong
If you have problem with CWP try run cwpsrv.sh restore

Now get this error:
502 Bad Gateway

nginx/1.10.3

This last error is solved by rebuilding vhost
Title: Re: CentOS6 Upgrade
Post by: Sandeep on March 22, 2017, 06:15:22 PM
rebuild webserver with apache + nginx
Title: Re: CentOS6 Upgrade
Post by: johnny09 on March 22, 2017, 07:40:48 PM
Still have an issue with MYSQL version 4.6.6

1. The configuration file now needs a secret passphrase (blowfish_secret).
http://imgur.com/a/OI3QL
2. Cant import any db
http://imgur.com/a/oYsOW

I can pay, just help me resolve this update issue!!
Title: Re: CentOS6 Upgrade
Post by: johnny09 on March 23, 2017, 09:04:50 AM
Anyone any ideas about the imysql mport issue?
Title: Re: CentOS6 Upgrade
Post by: Sandeep on March 23, 2017, 11:46:39 AM
Anyone any ideas about the imysql mport issue?
what is the size of the database ?
Title: Re: CentOS6 Upgrade
Post by: johnny09 on March 23, 2017, 12:02:43 PM
1M, 24M - you can try any, it dose not import, can you help?
Title: Re: CentOS6 Upgrade
Post by: randyproxz on March 23, 2017, 01:05:22 PM
I have a problem with import db too in CWP6, my db's size is about 1 MB but the message said my db is big can't import
Title: Re: CentOS6 Upgrade
Post by: johnny09 on March 23, 2017, 01:12:37 PM
Finally, I am not alone with similar problem  ;D
Title: Re: CentOS6 Upgrade
Post by: karel on March 23, 2017, 01:12:58 PM
Try rebuild apache with mod_security please.
And check if apr and apr-util installed from CWP repo.

How to install CWP repo?
Found only this: http://repo.centos-webpanel.com/

This is my repolist:
Code: [Select]
repo id                        repo name                                  status
base                           CentOS-6 - Base                            6,696
centos-sclo-rh                 CentOS-6 - SCLo rh                         4,955
centos-sclo-sclo               CentOS-6 - SCLo sclo                         287
extras                         CentOS-6 - Extras                             64
mariadb                        MariaDB                                       17
midnight-commander             Midnight Commander (CentOS_6)                  5
rpmforge                       RHEL 6 - RPMforge.net - dag                4,718
updates                        CentOS-6 - Updates                           974

Code: [Select]
yum list installed|grep apr
apr.x86_64                           1.3.9-5.el6_2              @base
apr-devel.x86_64                     1.3.9-5.el6_2              @base
apr-util.x86_64                      1.3.9-3.el6_0.1            @base
apr-util-devel.x86_64                1.3.9-3.el6_0.1            @base
apr-util-ldap.x86_64                 1.3.9-3.el6_0.1            @base

Should I remove certain repo's?
Should I remove all apr related and install from CWP repo?
Title: Re: CentOS6 Upgrade
Post by: randyproxz on March 23, 2017, 01:19:15 PM
Finally, I am not alone with similar problem  ;D

yeah, CWP6 issued with phpmyadmin/mysql and ftp problem.
Hopely the team fix for stable version of CWP6.
Title: Re: CentOS6 Upgrade
Post by: johnny09 on March 23, 2017, 01:20:59 PM
The question is when they will find a fix?
Title: Re: CentOS6 Upgrade
Post by: Darkroom on March 23, 2017, 06:48:35 PM
Rebuilt apache twice now and made sure the following flags were included:
--with-apr=/usr/local/apr
--with-apr-util=/usr/local/apr
 
After installing mod_security I'm still still getting:

#service httpd start
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]

Apache will fail to start after mod_sec is installed, but if you start it from the command line it will start, but only once. Every time after I get the above error message.

Still no mod_security

have you tried to rebuild apache from cwp ?

check that apr, apr-util and devel packages are installed from cwp repository by using this command
Code: [Select]
yum list installed|grep apr

Yes, I've rebuilt apache with those flags here's the output of that command:
yum list installed|grep apr
apr.x86_64                           1.5.2-2                           @cwp     
apr-devel.x86_64                     1.5.2-2                           @cwp     
apr-util.x86_64                      1.5.4-2                           @cwp     
apr-util-devel.x86_64                1.5.4-2                           @cwp
Title: Re: CentOS6 Upgrade
Post by: johnny09 on March 24, 2017, 08:16:43 AM
Thanks to Sandeep we found the issue about mysql import, cant import locally db, but it is possible from other PC, network, developers know about that issue and will fix that I hope in next update (only some servers have this issue).

About ModSecurty, I think it is also an issue, that it locks down apache when restarting or stoping it when ModSecurity is enabled... Solution - need to uninstall ModSecurity to fix apache, after uninstall apache start or restart works (in my case).

Admin, please post here new fixes and info to let ohers know that there is a problem and it will be fixed.

Tranks
Title: Re: CentOS6 Upgrade
Post by: randyproxz on March 24, 2017, 02:51:05 PM
yeaah.. it's already fixed and good work for the team..
CWP is the best free linux control panel I've used, and you guys don't forget to donate for the hard work CWP developers.
Thanks anyway..
Title: Re: CentOS6 Upgrade
Post by: johnny09 on March 24, 2017, 07:09:49 PM
No fix for uploading the mysql db, problem also loading from local pc....  ::)
Title: Re: CentOS6 Upgrade
Post by: randyproxz on March 25, 2017, 03:44:12 PM
No fix for uploading the mysql db, problem also loading from local pc....  ::)

Hi, destroy your server and try to fresh install with centos 7 (CWP7).
CWP7 is updated and fixed mysql bugs.
Title: Re: CentOS6 Upgrade
Post by: zakrpa on March 27, 2017, 08:05:27 AM
Have noticed few bugs too:

This is what I got in email when auto update cron works...

Code: [Select]
/etc/cron.daily/cwp:

PHP Fatal error: 
The file /usr/local/cwpsrv/htdocs/resources/admin/include/cron.php was encoded with the PHP 5.6 ionCube Encoder and requires PHP 5.6 to be installed.
 in Unknown on line 0
PHP Fatal error: 
The file /usr/local/cwpsrv/htdocs/resources/admin/include/cron_backup.php was encoded with the PHP 5.6 ionCube Encoder and requires PHP 5.6 to be installed.
 in Unknown on line 0

And there are some bugs when I try install php 7 from selector

Install dependencies:

Code: [Select]
--> Finished Dependency Resolution
Error: mysql55w-libs conflicts with mysql-libs-5.1.73-8.el6_8.x86_64
Error: mysql55w-devel conflicts with mysql-devel-5.1.73-8.el6_8.x86_64
Error: mysql55w conflicts with mysql-5.1.73-8.el6_8.x86_64
 You could try using --skip-broken to work around the problem
 You could try running: rpm -Va --nofiles --nodigest
mkdir: cannot create directory `/usr/kerberos': File exists
ln: creating symbolic link `/usr/kerberos/lib/lib64': File exists
ln: creating symbolic link `/usr/lib/libjpeg.so': File exists
ln: creating symbolic link `/usr/lib/libpng.so': File exists
ln: creating symbolic link `/usr/lib/libmysqlclient.so.16': File exists
ln: creating symbolic link `/usr/lib/libmysqlclient.so': File exists
ln: creating symbolic link `/usr/lib/libexpat.so': File exists

php compile errors:

Code: [Select]
Packages skipped because of dependency problems:
    mysql-5.1.73-8.el6_8.x86_64 from updates
    mysql-devel-5.1.73-8.el6_8.x86_64 from updates
    mysql-libs-5.1.73-8.el6_8.x86_64 from updates
Error:  Multilib version problems found. This often means that the root
       cause is something else and multilib version checking is just
       pointing out that there is a problem. Eg.:
       
         1. You have an upgrade for apr which is missing some
            dependency that another package requires. Yum is trying to
            solve this by installing an older version of apr of the
            different architecture. If you exclude the bad architecture
            yum will tell you what the root cause is (which package
            requires what). You can try redoing the upgrade with
            --exclude apr.otherarch ... this should give you an error
            message showing the root cause of the problem.
       
         2. You have multiple architectures of apr installed, but
            yum can only see an upgrade for one of those arcitectures.
            If you don't want/need both architectures anymore then you
            can remove the one with the missing update and everything
            will work.
       
         3. You have duplicate versions of apr installed already.
            You can use "yum check" to get yum show these errors.
       
       ...you can also use --setopt=protected_multilib=false to remove
       this checking, however this is almost never the correct thing to
       do as something else is very likely to go wrong (often causing
       much more problems).
       
       Protected multilib versions: apr-1.3.9-5.el6_2.i686 != apr-1.5.2-2.x86_64
Error: Protected multilib versions: apr-util-1.3.9-3.el6_0.1.i686 != apr-util-1.5.4-2.x86_64
buildconf: checking installation...
buildconf: autoconf version 2.63 (ok)
rebuilding aclocal.m4
rebuilding configure
configure.ac:276: error: Autoconf version 2.64 or higher is required
build/ax_check_compile_flag.m4:60: AX_CHECK_COMPILE_FLAG is expanded from...
autom4te: /usr/bin/m4 failed with exit status: 63
rebuilding main/php_config.h.in
configure.ac:276: error: Autoconf version 2.64 or higher is required
build/ax_check_compile_flag.m4:60: AX_CHECK_COMPILE_FLAG is expanded from...
autom4te: /usr/bin/m4 failed with exit status: 63
autoheader: '/usr/bin/autom4te' failed with exit status: 63
/usr/local/cwp/.conf/php_conf/php7.conf: line 1: ./configure: No such file or directory
make: *** No targets specified and no makefile found.  Stop.
make: *** No rule to make target `install'.  Stop.
Stopping httpd: [  OK  ]
Starting httpd: AH00558: httpd: Could not reliably determine the server's fully qualified domain name, using 127.0.0.1. Set the 'ServerName' directive globally to suppress this message
[  OK  ]

Build Completed


There are few bugs in Apache with some mods and ssl in configuration but fixed that. Don't know does anybody else have same issues I was working step by step from first post to update everything maybe something went wrong don't know...
Title: Re: CentOS6 Upgrade
Post by: karel on March 27, 2017, 08:43:40 AM
No fix for uploading the mysql db, problem also loading from local pc....  ::)

Hi, destroy your server and try to fresh install with centos 7 (CWP7).
CWP7 is updated and fixed mysql bugs.

I must use centos 6 on my old desktop, it won't let me install centos 7.


How to install CWP repo?
Found only this: http://repo.centos-webpanel.com/

This is my repolist:
Code: [Select]
repo id                        repo name                                  status
base                           CentOS-6 - Base                            6,696
centos-sclo-rh                 CentOS-6 - SCLo rh                         4,955
centos-sclo-sclo               CentOS-6 - SCLo sclo                         287
extras                         CentOS-6 - Extras                             64
mariadb                        MariaDB                                       17
midnight-commander             Midnight Commander (CentOS_6)                  5
rpmforge                       RHEL 6 - RPMforge.net - dag                4,718
updates                        CentOS-6 - Updates                           974

Code: [Select]
yum list installed|grep apr
apr.x86_64                           1.3.9-5.el6_2              @base
apr-devel.x86_64                     1.3.9-5.el6_2              @base
apr-util.x86_64                      1.3.9-3.el6_0.1            @base
apr-util-devel.x86_64                1.3.9-3.el6_0.1            @base
apr-util-ldap.x86_64                 1.3.9-3.el6_0.1            @base


Should I remove certain repo's?
Should I remove all apr related and install from CWP repo?
Title: Re: CentOS6 Upgrade
Post by: 6Sense on March 28, 2017, 08:27:36 AM
Hi All,

I just upgraded a server that had existing SSL certs from CWP 0.9.8.153 to CWP6 0.9.8.197 using the scripts provided by the OP.

All went well except Apache wouldn't start one completed. So I rebuild Apache via CWP, it still wouldn't start and was receiving an error that suggested a spelling error or unknown character on line 2 of  /usr/local/apache/conf.d/ssl.conf - I compared this file with CWP7 server I have and saw it was some missing some lines. Added them and Apache now starts and runs fine.

Lines I added to the ssl.conf file are listed below (first 3 lines in file) should anyone experience same error.

<IfModule !ssl_module>
LoadModule ssl_module modules/mod_ssl.so
</IfModule>

 :)
Title: Re: CentOS6 Upgrade
Post by: zakrpa on March 28, 2017, 08:30:34 AM
yep mod ssl was not loaded after upgrade had same problem...
Title: Re: CentOS6 Upgrade
Post by: Evinrude on March 28, 2017, 08:37:06 AM
Good morning guys!

I've a problem with mi installation of CWP6 when i tried to upgrade manually from version 0.9.8.153: i've followed all steps described in first post, but installation went wrong.

I've executed:
Code: [Select]
sh cwpsrv.sh restore
sh apache.sh restore
but now i've a problem:

- error 500 in phpMyAdmin and mySQL-based sites

this il my actual configuration (after restore):
Apache version: Apache/2.2.27
PHP version: 5.4.27 [PHP Switcher]
MySQL version: 5.5.54
CWP version: 0.9.8.153

how can i fix it?
return tu previus mysql version?

thanks in advice

Title: Re: CentOS6 Upgrade
Post by: Igor S. on March 28, 2017, 04:39:59 PM
Hi,

how can i fix it?
return tu previus mysql version?

thanks in advice

no need to touch MySQL server because it does not make sense in this case.
Check Apache error_log for some errors about "500 error"
Title: Re: CentOS6 Upgrade
Post by: Igor S. on March 28, 2017, 04:43:24 PM
Hi,

How to install CWP repo?
Found only this: http://repo.centos-webpanel.com/

just add file /etc/yum.repos.d/cwp.repo with:
Code: [Select]
[cwp]
name=CentOS Web Panel repo for Linux 6 - $basearch
baseurl=http://repo.centos-webpanel.com/repo/6/$basearch
failovermethod=priority
enabled=1
gpgcheck=0
Do not forget delete apr-util-ldap
Code: [Select]
yum erase apr-util-ldap
Title: Re: CentOS6 Upgrade
Post by: Igor S. on March 28, 2017, 04:46:35 PM
Hi, all.
If you have the issue with mod_ssl which does not loaded try next command:
Code: [Select]
sed -i "s|^#LoadModule ssl_module modules.*$|LoadModule ssl_module modules/mod_ssl.so|" /usr/local/apache/conf/httpd.conf
Title: Re: CentOS6 Upgrade
Post by: karel on March 28, 2017, 07:31:44 PM
Hi,

How to install CWP repo?
Found only this: http://repo.centos-webpanel.com/

just add file /etc/yum.repos.d/cwp.repo with:
Code: [Select]
[cwp]
name=CentOS Web Panel repo for Linux 6 - \$basearch
baseurl=http://repo.centos-webpanel.com/repo/6/\$basearch
failovermethod=priority
enabled=1
gpgcheck=0
Do not forget delete apr-util-ldap
Code: [Select]
yum erase apr-util-ldap

Thanks, got cwp.repo installed. Now I have latest apr. (from cwp.repo)

Ran into some trouble. apr-util-ldap was removed from httpd dependencies and caused httpd not to auto start at boot.
Fixed it with chkconfig httpd on
Title: Re: CentOS6 Upgrade
Post by: Evinrude on March 28, 2017, 08:24:54 PM
Hi,

how can i fix it?
return tu previus mysql version?

thanks in advice

no need to touch MySQL server because it does not make sense in this case.
Check Apache error_log for some errors about "500 error"

Hi Igor,
i found this:
Code: [Select]
(2)No such file or directory: couldn't create child process: /usr/local/sbin/suphp for /usr/local/apache/htdocs/phpMyAdmin/index.php
thanks
Title: Re: CentOS6 Upgrade
Post by: Igor S. on March 29, 2017, 08:06:42 AM
Hi,

Hi Igor,
i found this:
Code: [Select]
(2)No such file or directory: couldn't create child process: /usr/local/sbin/suphp for /usr/local/apache/htdocs/phpMyAdmin/index.phpthanks

Never seen it before. Looks like some individual trouble. And the path to the PMA is wrong for new CWP version
Title: Re: CentOS6 Upgrade
Post by: Darkroom on March 30, 2017, 06:23:47 PM
Any updates on apache not starting after mod_security is installed?
Title: Re: CentOS6 Upgrade
Post by: Koevoet on March 30, 2017, 06:33:21 PM
Any updates on apache not starting after mod_security is installed?

I have looked at your previous posts on your issue and you had the same error as myself , look here

http://forum.centos-webpanel.com/centos-webpanel-bugs/bugs-in-cwppro-version-0-9-8-197/

Post #3 see if you have the same and if so you can resolve it as i did
Title: Re: CentOS6 Upgrade
Post by: Igor S. on March 31, 2017, 05:15:22 AM
Any updates on apache not starting after mod_security is installed?

Hi, backup configuration and try:
Code: [Select]
yum -y reinstall cwp-httpd
Title: Re: CentOS6 Upgrade
Post by: Dan11 on April 02, 2017, 11:06:28 AM
I upgraded CPW to the latest version, following the steps above and fixed some modules issues like ModSecurity (http://forum.centos-webpanel.com/apache/apache-failed-to-start-unable-to-load-modulesmod_security2-so/msg9882/#msg9882 (http://forum.centos-webpanel.com/apache/apache-failed-to-start-unable-to-load-modulesmod_security2-so/msg9882/#msg9882)) and cloudflare but now I'm getting this error when I try to start Apache:

Quote
Starting httpd: AH00526: Syntax error on line 66 of /usr/local/apache/conf/httpd.conf:
Invalid command 'User', perhaps misspelled or defined by a module not included in the server configuration
At line 66 in httpd.conf: User nobody

Any ideas?
Title: Re: CentOS6 Upgrade
Post by: Dan11 on April 02, 2017, 11:39:59 AM
Solved by:
yum remove cwp-httpd
yum install cwp-httpd
Title: Re: CentOS6 Upgrade
Post by: mrr-r on April 05, 2017, 12:01:41 PM
after update:

Stopping httpd: [FAILED]
Starting httpd: httpd: Syntax error on line 507 of /usr/local/apache/conf/httpd.conf: Syntax error on line 2 of /usr/local/apache/conf.d/rpaf.conf: Cannot load modules/mod_rpaf.so into server: /usr/local/apache/modules/mod_rpaf.so: undefined symbol: ap_log_rerror
[FAILED]

please help me!
Title: Re: CentOS6 Upgrade
Post by: Administrator on April 05, 2017, 01:03:06 PM
have you disabled ngxin and installed apache only before this ?
You can try by deleting /usr/local/apache/conf.d/rpaf.conf file
Title: Re: CentOS6 Upgrade
Post by: fandi_mlg on April 05, 2017, 01:40:24 PM
It's working. The question is, why now we lost the default url/webmail access, and why this is not communicated out?
Becuase now we using again a non-standart port. So, if the firewall/proxy is blocking every port and only 80/443 available, now the users can't use the webmail.
I will solve this in vhosts i think, but the questions are open :)

We'll think about it. But at the time should be used port 2030.
Thanks.

Hi CWP Team,

I have the same problem too. Is there any solution without using port?

Thanks in advance  ;)
Title: Re: CentOS6 Upgrade
Post by: mrr-r on April 05, 2017, 01:46:35 PM
have you disabled ngxin and installed apache only before this ?
You can try by deleting /usr/local/apache/conf.d/rpaf.conf file


have you disabled ngxin and installed apache only before this ?yes
You can try by deleting /usr/local/apache/conf.d/rpaf.conf file   ...  but after removing :
Stopping httpd: [FAILED]
Starting httpd: AH00548: NameVirtualHost has no effect and will be removed in the next release /usr/local/apache/conf/sharedip.conf:1
AH00526: Syntax error on line 2 of /usr/local/apache/conf.d/ssl.conf:
Invalid command 'SSLProtocol', perhaps misspelled or defined by a module not included in the server configuration
[FAILED]
Title: Re: CentOS6 Upgrade
Post by: ida on April 05, 2017, 03:59:58 PM
Hi,

After the upgrade the system wasn't working. 404 error on the panel / server.

i did the restore, now i have the following error: Impossible to start httpd server

Stopping httpd: [FAILED]
Starting httpd: httpd: Syntax error on line 419 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: ap_log_error
[FAILED]

Title: Re: CentOS6 Upgrade
Post by: fredo on April 05, 2017, 04:09:44 PM
Almost a tragedy...

Before I made any upgrade, I´ve checked everything that it was suggested on the tutorial..
then..
I´ve upgraded cwp with the script provided...and it really went ok..
then.. I´ve did the same with apache... but there...all the problems started...

1st of all i´ve got an "Unexpected EOF while looking for matching on apache.sh line 137
then in line 144 got Unexpected token " " in conditional command on apache.sh
then in line 146, syntax error: unexpected end of file..

there the script dies..

first I thought that it had to do with the download of the script..so I´ve downloaded againg..and started all over..
but with same result..
and for the worst..apache was down.. each time I´ve started I got this error..
"Starting httpd: AH0526: Syntax error in line 66 /usr/local/apache/conf/httpd.conf "
" invalid command 'User', perhaps misspeled or defined blah bla.."

so I´ve made sh apache.sh restore...

once it finished... apache was running againg.. but when i´ve tried to check my webpage... got a 500 error :- (
checked apache error log...
it said " Couldn´t create child process /usr/local/sbin/suphp for /home/mywebsite/public_html/index.php

then it added a Warning: SuexecUserGroup directive requires SUEXEC Wrapper..

so, the apache restore was not totally successfull

looked for a solution on google.. but it was useless..

I´ve entered cwp panel on port 2030
went to apache rebuild... and then I saw that I could try for an Apache/2.4.25 rebuild..
did that..
and fortunatelly it went ok..
once it finished check my domain again...
and.. ooooppss Error 500 once more...
checked againg apache error logs...
the error changed...it says "[ core:alert] [pid xxxxx:xxxxxx] [client xxxxxxx:xxxx] /home/mywebsite/public_html/.htaccess Unknown filter provider DEFLATE

well that was not totally a disaster... went back to CWP to apache configuration
looked for mod_deflate
found it! it was commented. so took out the #
save the config..

although it showed that apache was restated.. my website still showed error 500...
so, once more checked the apache error log, it showed the same..
so using ssh I´ve restarted apache..
and Finally got my webpage back!!

So, I´ve made this thread to show you that there is a problem with the apache.sh file.. hopefully CWP staff can fix it..
also the restore for apache...

so hope this helps..

regards
Title: Re: CentOS6 Upgrade
Post by: ida on April 05, 2017, 06:20:31 PM
Starting httpd: /bin/bash: /usr/local/apache/bin/httpd: No such file or directory

Please help !
Title: Re: CentOS6 Upgrade
Post by: y0us3f on April 06, 2017, 12:05:22 AM
Updating Apache causes problems

apache.sh: line 137: unexpected EOF while looking for matching ``'
apache.sh: line 146: unexpected token `▒' in conditional command
apache.sh: line 146: syntax error: unexpected end of file
[root@server src]#

Starting httpd: httpd: Syntax error on line 54 of /usr/local/apache/conf/httpd.conf: Cannot load modules/mod_antiloris.so into server: /usr/local/apache/modules/mod_antiloris.so: undefined symbol: ap_log_error
[FAILED]

Restored apache, kept CWP
Title: Re: CentOS6 Upgrade
Post by: westcoastradio on April 06, 2017, 05:38:58 AM
Hi Igor

I'm about to upgrade, but want to clarify something.

On the 15th of March you said:

Hello.

MySQL does NOT require upgrade if it higher 5.1!

Do you mean 5.1 or 5.5, I'm confused. My version is 5.1.73 so is that OK to use?

Thank you.

Nick
Title: Re: CentOS6 Upgrade
Post by: sulthonzh on April 06, 2017, 05:57:36 AM
hi every body, i got new version : :D CWP version: 0.9.8.201 [Get CWPpro]
Title: Re: CentOS6 Upgrade
Post by: zakrpa on April 06, 2017, 06:06:52 AM
Must be 5.5 mysql version...
Title: Re: CentOS6 Upgrade
Post by: asterix99 on April 06, 2017, 07:29:40 AM
Updating Apache causes problems

apache.sh: line 137: unexpected EOF while looking for matching ``'
apache.sh: line 146: unexpected token `▒' in conditional command
apache.sh: line 146: syntax error: unexpected end of file
[root@server src]#

Starting httpd: httpd: Syntax error on line 54 of /usr/local/apache/conf/httpd.conf: Cannot load modules/mod_antiloris.so into server: /usr/local/apache/modules/mod_antiloris.so: undefined symbol: ap_log_error
[FAILED]



Same here... after upgrade httpd can't start and got the error...

"Starting httpd: httpd: Syntax error on line 54 of /usr/local/apache/conf/httpd.conf: Cannot load modules/mod_antiloris.so into server: /usr/local/apache/modules/mod_antiloris.so: undefined symbol: ap_log_error"

Any help ?
Thanks
Title: Re: CentOS6 Upgrade
Post by: Administrator on April 06, 2017, 07:30:50 AM
delete line matching mod_antiloris.so from /usr/local/apache/conf/httpd.conf
you can use this command
Code: [Select]
sed -i '/mod_antiloris/d' /usr/local/apache/conf/httpd.conf
Title: Re: CentOS6 Upgrade
Post by: ida on April 06, 2017, 07:34:50 AM
Stopping httpd: [FAILED]
Starting httpd: httpd: Syntax error on line 430 of /usr/local/apache/conf/httpd.conf: Syntax error on line 1 of /usr/local/apache/conf.d/ssl.conf: module ssl_module is built-in and can't be loaded
[FAILED]
Title: Re: CentOS6 Upgrade
Post by: Administrator on April 06, 2017, 10:32:58 AM
delete that file and if you use ssl then just install ssl for any domain and it should be fixed.
Code: [Select]
rm -f /usr/local/apache/conf.d/ssl.conf
Title: Re: CentOS6 Upgrade
Post by: ida on April 06, 2017, 10:38:46 AM
Thanks, it worked. After restarting, and adding cwpro

Warning: [obfuscated](): (HY000/2002): No such file or directory in /usr/local/cwpsrv/htdocs/admin/admin/index.php on line 0

Warning: [obfuscated](): (HY000/2002): No such file or directory in /usr/local/cwpsrv/htdocs/admin/admin/index.php on line 0
**Check your MySQL root password in: /usr/local/cwpsrv/htdocs/resources/admin/include/db_conn.php and /root/.my.cnf


Warning: [obfuscated]() expects exactly 1 parameter, 0 given in /usr/local/cwpsrv/htdocs/admin/admin/index.php on line 0
Could not connect:

And on the login page:2030/login.php 404 error
Title: Re: CentOS6 Upgrade
Post by: triscele on April 06, 2017, 02:29:29 PM
Hello,

The update was partially unsuccessful.

I had to restore a backup of my server because the CWP restore also did not work.

CWP update was successfull, but the apache not.

I have this for every domains and subdomains:

Forbidden
You don't have permission to access / on this server.

Apache with a lot "Internal Server Error" errors.
Title: Re: CentOS6 Upgrade
Post by: fredo on April 06, 2017, 05:09:25 PM
another server..another problem... this is really a mess!!
mysql 5.6.30 was installed.. now when I ran the cwp update script..it shows this...

  inflating: phpMyAdmin-4.6.6-all-languages/themes/pmahomme/jquery/images/ui-icons_888888_256x240.png
  inflating: phpMyAdmin-4.6.6-all-languages/themes/pmahomme/jquery/images/ui-icons_cd0a0a_256x240.png
  inflating: phpMyAdmin-4.6.6-all-languages/themes/pmahomme/jquery/jquery-ui-1.11.4.css
  inflating: phpMyAdmin-4.6.6-all-languages/themes/pmahomme/layout.inc.php
 extracting: phpMyAdmin-4.6.6-all-languages/themes/pmahomme/screen.png
  inflating: phpMyAdmin-4.6.6-all-languages/themes/pmahomme/sprites.lib.php
  inflating: phpMyAdmin-4.6.6-all-languages/themes/sprites.css.php
  inflating: phpMyAdmin-4.6.6-all-languages/themes/svg_gradient.php
  inflating: phpMyAdmin-4.6.6-all-languages/transformation_overview.php
  inflating: phpMyAdmin-4.6.6-all-languages/transformation_wrapper.php
  inflating: phpMyAdmin-4.6.6-all-languages/url.php
  inflating: phpMyAdmin-4.6.6-all-languages/user_password.php
  inflating: phpMyAdmin-4.6.6-all-languages/version_check.php
  inflating: phpMyAdmin-4.6.6-all-languages/view_create.php
  inflating: phpMyAdmin-4.6.6-all-languages/view_operations.php

Seems like something went wrong
If you have problem with CWP try run cwpsrv.sh.1 restore

I Ran cwpsrv.sh.1 restore

Removed:
  cwpphp.x86_64 0:7.0.17-1               cwpsrv.x86_64 0:1.10.2-4

Complete!
Stopping cwpsrvd:                                          [FAILED]
Starting cwpsrvd: (98)Address already in use: make_sock: could not bind to address [::]:2030
(98)Address already in use: make_sock: could not bind to address 0.0.0.0:2030
no listening sockets available, shutting down
Unable to open logs
                                                           [FAILED]

What now???
any ideas?
Title: Re: CentOS6 Upgrade
Post by: fredo on April 06, 2017, 06:15:14 PM
Well.. I´ve got lucky..

As mentioned before, I couldn´t do a cwpserver restore after I tried to update my cwp 0.0.8.14 to newer version..
so after severall atempts to make it work.. I decide an extreme mesure..
made another backup of DDBB of my domains, and domains and copy on another directory..
then... I made a "clean" install using sh cwa-latest

It worked out! I thought I had to reinstall mysql and recreate domains and stuff.. but to my surprise..everything was there...
working..and with CWP version: 0.9.8.17 ! (i had 0.9.8.14)

guess I´ve been lucky..

 



Title: Re: CentOS6 Upgrade
Post by: Administrator on April 06, 2017, 08:27:49 PM
And on the login page:2030/login.php 404 error

new url is page:2030/index.php

Forbidden
You don't have permission to access / on this server.

Apache with a lot "Internal Server Error" errors.

You can check for all errors in the log files and rebuild vhosts or apache depending on the issue.


Stopping cwpsrvd:                                          [FAILED]
Starting cwpsrvd: (98)Address already in use: make_sock: could not bind to address [::]:2030
(98)Address already in use: make_sock: could not bind to address 0.0.0.0:2030
no listening sockets available, shutting down
Unable to open logs
                                                           [FAILED]

What now???
any ideas?

have you tried to kill the process and/or do a simple reboot of the server ?

For all
All issues you are reporting can be done by running rebuild of the cwp-httpd and rebuild of the vhosts from cwp, all you need is to read logs.
http://wiki.centos-webpanel.com/service-log-paths
Title: Re: CentOS6 Upgrade
Post by: fredo on April 06, 2017, 10:28:50 PM
And on the login page:2030/login.php 404 error

Stopping cwpsrvd:                                          [FAILED]
Starting cwpsrvd: (98)Address already in use: make_sock: could not bind to address [::]:2030
(98)Address already in use: make_sock: could not bind to address 0.0.0.0:2030
no listening sockets available, shutting down
Unable to open logs
                                                           [FAILED]

What now???
any ideas?

have you tried to kill the process and/or do a simple reboot of the server ?

Yes! i did it several times, but the pid for cwp was always running... only rebooting the server stoped it!

For all
All issues you are reporting can be done by running rebuild of the cwp-httpd and rebuild of the vhosts from cwp, all you need is to read logs.
http://wiki.centos-webpanel.com/service-log-paths

at that moment could´t get cwp to work and all the sites where down logically.. tried restore and didn't work out..
thats why did a "clean" install..
Title: Re: CentOS6 Upgrade
Post by: Gogo on April 07, 2017, 01:34:56 AM
After running CWP Upgrade script I got this error:
Code: [Select]
Starting cwpsrv: cwpsrv: [emerg] SL_CTX_use_PrivateKey_file("/etc/pki/tls/private/hostname.key") failed (SSL: error:0B080074:x509 certificate routines:X509_check_private_key:key values mismatch) [FAILED]
Title: Re: CentOS6 Upgrade
Post by: ida on April 07, 2017, 06:17:08 AM
Thanks Administrator, but i have always this error:

Warning: [obfuscated](): (HY000/2002): No such file or directory in /usr/local/cwpsrv/htdocs/admin/admin/index.php on line 0

Warning: [obfuscated](): (HY000/2002): No such file or directory in /usr/local/cwpsrv/htdocs/admin/admin/index.php on line 0
**Check your MySQL root password in: /usr/local/cwpsrv/htdocs/resources/admin/include/db_conn.php and /root/.my.cnf


Warning: [obfuscated]() expects exactly 1 parameter, 0 given in /usr/local/cwpsrv/htdocs/admin/admin/index.php on line 0
Could not connect:
Title: Re: CentOS6 Upgrade
Post by: ida on April 07, 2017, 06:36:22 AM
solved with:

service mysqld start

thanks.
Title: Re: CentOS6 Upgrade
Post by: TheRavenKing on April 07, 2017, 04:52:57 PM
After fixing many issue I am only left with the https [letsencrypt] for the server not working.

All 3 ssl checkers say it is all fine, but I can't login with https.

Any one any ideas?

Thanks

Title: Re: CentOS6 Upgrade
Post by: lrdmafia on April 07, 2017, 05:23:22 PM
not work ... http://ip:2030/softaculous/
404 Not Found
cwpsrv

why ? :(
Title: Re: CentOS6 Upgrade
Post by: gunix on April 07, 2017, 06:50:04 PM
Hi All,

I just upgraded a server that had existing SSL certs from CWP 0.9.8.153 to CWP6 0.9.8.197 using the scripts provided by the OP.

All went well except Apache wouldn't start one completed. So I rebuild Apache via CWP, it still wouldn't start and was receiving an error that suggested a spelling error or unknown character on line 2 of  /usr/local/apache/conf.d/ssl.conf - I compared this file with CWP7 server I have and saw it was some missing some lines. Added them and Apache now starts and runs fine.

Lines I added to the ssl.conf file are listed below (first 3 lines in file) should anyone experience same error.

<IfModule !ssl_module>
LoadModule ssl_module modules/mod_ssl.so
</IfModule>

 :)

Thank you, inserting this code to
Code: [Select]
/usr/local/apache/conf.d/ssl.conf solved my apache problems.

Code: [Select]
<IfModule !ssl_module>
LoadModule ssl_module modules/mod_ssl.so
</IfModule>
Title: Re: CentOS6 Upgrade
Post by: TheRavenKing on April 07, 2017, 06:58:56 PM
@gunix,  thanks I found your previous remark and that made it for all 'normal' domains working, but the server ssl is just not working.

Step 3 in http://wiki.centos-webpanel.com/hostname-ssl-with-letsencrypt

I had to remove that file otherwise it generates following error:

service cwpsrv restart
Stopping cwpsrv:                                           [  OK  ]
Starting cwpsrv: cwpsrv: [emerg] nexpected end of file, expecting ";" or "}" in /usr/local/cwpsrv/conf.d/cwp-ssl.conf:9
                                                           [FAILED]

*** Triple checked that files with several editors and can't find anything wrong ***

CWP are talking about a new feature, but can't find that either...

Version 0.9.8.184 – 0.9.8.196 (released 01-22/03/2017)
- [New Feature] AutoSSL for Hostname

Now when I use Konqueror browser I get following error:

SSL version TLS v1.2, Encryption and details are empty, but Organisation and unit are CentOS Web Panel, Country HR, State Zagreb, City HR, ????
I was not aware CWP is from Hungary... weirdo....

Trusted: NO there where errors The certificate is not signed by any trusted certificate authority...

But when checking with the 3 test websites in the letsencrypt section all 3 show everything is fine....
Title: Re: CentOS6 Upgrade
Post by: lrdmafia on April 07, 2017, 07:06:34 PM
When I access this link domain.com/webmail  I get the error  :

DATABASE ERROR: CONNECTION FAILED!

Unable to connect to the database!
Please contact your server-administrator.

and i access link domain.com:2030/webamil
works, why ? :( please help me
Title: Re: CentOS6 Upgrade
Post by: javid on April 07, 2017, 09:30:50 PM
after upgrade deluge stop working and not connect to daemon :/
Title: Re: CentOS6 Upgrade
Post by: mmsingh62 on April 09, 2017, 03:57:48 AM
How to rebuild conf file like httpd.conf and httpd-userdir.conf.
because there is a lot of errors showing one by one after upgrade.
Title: Re: CentOS6 Upgrade
Post by: ZeoN on April 10, 2017, 06:47:28 AM
Hello.

I made the update after the warning that came up.
But unfortunately I encounter this error:

Code: [Select]
Starting named:
Error in named configuration:
zone localhost.localdomain/IN: loaded serial 0
zone localhost/IN: loaded serial 0
zone 1.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.ip6.arpa/IN: loaded serial 0
zone 1.0.0.127.in-addr.arpa/IN: loaded serial 0
zone 0.in-addr.arpa/IN: loaded serial 0
zone ns3.ec-marcom.com/IN: loaded serial 2013071600
zone ns4.ec-marcom.com/IN: loaded serial 2013071600
zone ec-marcom.com/IN: loaded serial 2013071601
dns_rdata_fromtext: /var/named/sempatiotomasyon.com.db:30: syntax error
/var/named/sempatiotomasyon.com.db:34: file does not end with newline
zone sempatiotomasyon.com/IN: loading from master file /var/named/sempatiotomasyon.com.db failed: syntax error
zone sempatiotomasyon.com/IN: not loaded due to errors.
_default/sempatiotomasyon.com/IN: syntax error
dns_rdata_fromtext: /var/named/www.sempatiotomasyon.com.db:24: syntax error
zone www.sempatiotomasyon.com/IN: loading from master file /var/named/www.sempatiotomasyon.com.db failed: syntax error
zone www.sempatiotomasyon.com/IN: not loaded due to errors.
_default/www.sempatiotomasyon.com/IN: syntax error
zone hatch.ec-marcom.com/IN: loaded serial 2013071601
zone crm.sempatiotomasyon.com/IN: loaded serial 2013071600
[BAŞARISIZ]

When I did my checks, I could not find an error in conf files.
I need urgent help.
The company's sites and mails are not working.  :(
Title: Re: CentOS6 Upgrade
Post by: zakrpa on April 10, 2017, 07:15:49 AM
/var/named/sempatiotomasyon.com.db:34: file does not end with newline

there is problem maybe

did you try to use tool named-checkconf? and got this info?
Title: Re: CentOS6 Upgrade
Post by: LiXuS on April 10, 2017, 07:18:16 PM
Hi,

After the upgrade the system wasn't working. 404 error on the panel / server.

i did the restore, now i have the following error: Impossible to start httpd server

Stopping httpd: [FAILED]
Starting httpd: httpd: Syntax error on line 419 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: ap_log_error
[FAILED]
hello,
i start the Apache...after...manny hours ......i have a brain damage !  :D :D :D
at /usr/local/apache/conf.d/ i renamed this 2 files :

rpaf.conf to rpaf.conf_renamed
ssl.conf to ssl.conf_rename
after i restarted the apache...
Stopping httpd: [  OK  ]
[  OK  ]
Title: Re: CentOS6 Upgrade
Post by: botonakis on April 10, 2017, 11:21:49 PM
After upgrade from xxxxx.154 you will need to remove mod_rpaf from loading just because is not ... there!

Then go to httpd.conf and uncomment modules: mod_ssl, mod_rewrite, mod_expires, mod_deflate

If you have Apache in port 80 save and restart apache.
If not, for example you have nginx 80 and apache 8181, find line: Listen 80 and change it according your port. Save and restart apache.

These install guidelines are ... not guidelines. Thank god we know and we are fixing the problems...
Title: Re: CentOS6 Upgrade
Post by: vegonri on April 11, 2017, 08:02:30 PM
Hi,

i did the update and get now this error

Starting httpd: AH00526: Syntax error on line 66 of /usr/local/apache/conf/httpd.conf:
Invalid command 'User', perhaps misspelled or defined by a module not included in the server configuration
[FAILED]

Restoring of Apache does not work
getting now following error log
Warning: SuexecUserGroup directive requires SUEXEC wrapper.

PHP causes an 500 ERROR
Title: Re: CentOS6 Upgrade
Post by: Administrator on April 11, 2017, 10:26:20 PM
Hi,

i did the update and get now this error

Starting httpd: AH00526: Syntax error on line 66 of /usr/local/apache/conf/httpd.conf:
Invalid command 'User', perhaps misspelled or defined by a module not included in the server configuration
[FAILED]

Restoring of Apache does not work
getting now following error log
Warning: SuexecUserGroup directive requires SUEXEC wrapper.

PHP causes an 500 ERROR

Please read instructions!

If something goes wrong with you apache try also this command
Code: [Select]
yum reinstall cwp-httpd cwp-suphp
Title: Re: CentOS6 Upgrade
Post by: johnhelmer on April 12, 2017, 03:07:36 AM
i am little confused here. I paid for CWPRO. Why do I need to do the upgrade when it should be handled as part of my CWPRO? >:(
Title: Re: CentOS6 Upgrade
Post by: darkmesaia on April 12, 2017, 08:43:29 AM
Hi,

i have upgrade cwp but after that apache not start

i get this error

Starting httpd: httpd: Syntax error on line 497 of /usr/local/apache/conf/httpd.conf: Syntax error on line 2 of /usr/local/apache/conf.d/rpaf.conf: Cannot load modules/mod_rpaf.so into server: /usr/local/apache/modules/mod_rpaf.so: undefined symbol: ap_log_rerror
[FAILED]

I have read all post about that but without lucky about result


Any help welcome
Title: Re: CentOS6 Upgrade
Post by: vegonri on April 12, 2017, 10:33:38 AM
Hi,

i did the update and get now this error

Starting httpd: AH00526: Syntax error on line 66 of /usr/local/apache/conf/httpd.conf:
Invalid command 'User', perhaps misspelled or defined by a module not included in the server configuration
[FAILED]

Restoring of Apache does not work
getting now following error log
Warning: SuexecUserGroup directive requires SUEXEC wrapper.

PHP causes an 500 ERROR

Please read instructions!

If something goes wrong with you apache try also this command
Code: [Select]
yum reinstall cwp-httpd cwp-suphp

I did the reinstall, but that was not working also.

I installed this morning manually  cwp-httpd and cwp-suphp >> Apache works again
in the Dashboard shows it now Apache 2.4.25 but when i check in PHP info it shows me 2.2.27 This ok ?
Title: Re: CentOS6 Upgrade
Post by: Igor S. on April 13, 2017, 09:57:50 AM
When I access this link domain.com/webmail  I get the error  :
DATABASE ERROR: CONNECTION FAILED!

In new CWP link was changed. Try open webmail and PhpMyAdmin from CWP please.
Title: Re: CentOS6 Upgrade
Post by: Igor S. on April 13, 2017, 09:59:47 AM
Hello.

I made the update after the warning that came up.
But unfortunately I encounter this error:

When I did my checks, I could not find an error in conf files.
I need urgent help.
The company's sites and mails are not working.  :(

Hi, upgrade has no affect with DNS. Check file  /var/named/www.sempatiotomasyon.com.db for errors
Title: Re: CentOS6 Upgrade
Post by: Igor S. on April 13, 2017, 10:01:15 AM
I installed this morning manually  cwp-httpd and cwp-suphp >> Apache works again
in the Dashboard shows it now Apache 2.4.25 but when i check in PHP info it shows me 2.2.27 This ok ?

Hi, no it is not okay :) check
Code: [Select]
/usr/local/apache/bin/httpd -v
Title: Re: CentOS6 Upgrade
Post by: ramazan42 on April 14, 2017, 11:24:45 AM
l update but now working :S  Management panel does not open.  :2030  not working  :2030/login   not working  :2030/index.php , login.php not working :S please help me.
Title: Re: CentOS6 Upgrade
Post by: Administrator on April 14, 2017, 07:57:29 PM
try rebooting server and check if cwpsrv works
Title: Re: CentOS6 Upgrade
Post by: deco on April 14, 2017, 08:41:09 PM
letting know that the installation went without any problems :)
Apache got it's User error, as mentioned before in this topic.. but just following the instructions and all went well.
Updated MySQL, PHPMyAdmin, CWP panel.. need to check several things, but i've good hope.
My platform is still working as a beast, no worries so far.
Title: Re: CentOS6 Upgrade
Post by: shally87 on April 16, 2017, 11:59:19 AM
Hi,

I tried to upgrade mysql first (even tho I am on 5.1 (getting new version is good)) and i got this;

Code: [Select]
[root@lucky src]# sh mysql.sh
Traceback (most recent call last):
  File "/usr/bin/yum", line 29, in <module>
    yummain.user_main(sys.argv[1:], exit_code=True)
  File "/usr/share/yum-cli/yummain.py", line 298, in user_main
    errcode = main(args)
  File "/usr/share/yum-cli/yummain.py", line 115, in main
    base.getOptionsConfig(args)
  File "/usr/share/yum-cli/cli.py", line 229, in getOptionsConfig
    self.conf
  File "/usr/lib/python2.6/site-packages/yum/__init__.py", line 911, in <lambda>
    conf = property(fget=lambda self: self._getConfig(),
  File "/usr/lib/python2.6/site-packages/yum/__init__.py", line 300, in _getConf                                                                                        ig
    startupconf = config.readStartupConfig(fn, root)
  File "/usr/lib/python2.6/site-packages/yum/config.py", line 896, in readStartu                                                                                        pConfig
    startupconf.releasever = _getsysver(startupconf.installroot, startupconf.dis                                                                                        troverpkg)
  File "/usr/lib/python2.6/site-packages/yum/config.py", line 1047, in _getsysve                                                                                        r
    hdr = idx.next()
StopIteration
mkdir: cannot create directory `/home/backup': File exists
-- Warning: Skipping the data of table mysql.event. Specify the --events option                                                                                         explicitly.
Stopping mysqld:                                           [  OK  ]
Retrieving http://mirror.webtatic.com/yum/el6/latest.rpm
warning: /var/tmp/rpm-tmp.UUfq6b: Header V4 DSA/SHA1 Signature, key ID cf4c4ff9:                                                                                         NOKEY
error: Failed dependencies:
        redhat-release >= 6 is needed by webtatic-release-6-9.noarch
Traceback (most recent call last):
  File "/usr/bin/yum", line 29, in <module>
    yummain.user_main(sys.argv[1:], exit_code=True)
  File "/usr/share/yum-cli/yummain.py", line 298, in user_main
    errcode = main(args)
  File "/usr/share/yum-cli/yummain.py", line 115, in main
    base.getOptionsConfig(args)
  File "/usr/share/yum-cli/cli.py", line 229, in getOptionsConfig
    self.conf
  File "/usr/lib/python2.6/site-packages/yum/__init__.py", line 911, in <lambda>
    conf = property(fget=lambda self: self._getConfig(),
  File "/usr/lib/python2.6/site-packages/yum/__init__.py", line 300, in _getConf                                                                                        ig
    startupconf = config.readStartupConfig(fn, root)
  File "/usr/lib/python2.6/site-packages/yum/config.py", line 896, in readStartu                                                                                        pConfig
    startupconf.releasever = _getsysver(startupconf.installroot, startupconf.dis                                                                                        troverpkg)
  File "/usr/lib/python2.6/site-packages/yum/config.py", line 1047, in _getsysve                                                                                        r
    hdr = idx.next()
StopIteration
Traceback (most recent call last):
  File "/usr/bin/yum", line 29, in <module>
    yummain.user_main(sys.argv[1:], exit_code=True)
  File "/usr/share/yum-cli/yummain.py", line 298, in user_main
    errcode = main(args)
  File "/usr/share/yum-cli/yummain.py", line 115, in main
    base.getOptionsConfig(args)
  File "/usr/share/yum-cli/cli.py", line 229, in getOptionsConfig
    self.conf
  File "/usr/lib/python2.6/site-packages/yum/__init__.py", line 911, in <lambda>
    conf = property(fget=lambda self: self._getConfig(),
  File "/usr/lib/python2.6/site-packages/yum/__init__.py", line 300, in _getConf                                                                                        ig
    startupconf = config.readStartupConfig(fn, root)
  File "/usr/lib/python2.6/site-packages/yum/config.py", line 896, in readStartu                                                                                        pConfig
    startupconf.releasever = _getsysver(startupconf.installroot, startupconf.dis                                                                                        troverpkg)
  File "/usr/lib/python2.6/site-packages/yum/config.py", line 1047, in _getsysve                                                                                        r
    hdr = idx.next()
StopIteration
/bin/sed: can't read /etc/yum.repos.d/webtatic.repo: No such file or directory
Stopping mysqld:                                           [  OK  ]
Starting mysqld:                                           [  OK  ]
mysql_upgrade: unknown option '--upgrade-system-tables'
MySQL has been upgraded
MySQL backup can be found in /home/backup/

Now whenever I tried to upgrade CWP and Apache this thing keep coming out;
Code: [Select]
Traceback (most recent call last):
  File "/usr/bin/yum", line 29, in <module>
    yummain.user_main(sys.argv[1:], exit_code=True)
  File "/usr/share/yum-cli/yummain.py", line 298, in user_main
    errcode = main(args)
  File "/usr/share/yum-cli/yummain.py", line 115, in main
    base.getOptionsConfig(args)
  File "/usr/share/yum-cli/cli.py", line 229, in getOptionsConfig
    self.conf
  File "/usr/lib/python2.6/site-packages/yum/__init__.py", line 911, in <lambda>
    conf = property(fget=lambda self: self._getConfig(),
  File "/usr/lib/python2.6/site-packages/yum/__init__.py", line 300, in _getConf                                                                                        ig
    startupconf = config.readStartupConfig(fn, root)
  File "/usr/lib/python2.6/site-packages/yum/config.py", line 896, in readStartu                                                                                        pConfig
    startupconf.releasever = _getsysver(startupconf.installroot, startupconf.dis                                                                                        troverpkg)
  File "/usr/lib/python2.6/site-packages/yum/config.py", line 1047, in _getsysve                                                                                        r
    hdr = idx.next()
StopIteration

Thus making my upgrade unsuccessful.
Tried yum clean all but the same thing came out..
Thank you in advance..

Leo
Title: Re: CentOS6 Upgrade
Post by: tristar78 on April 17, 2017, 07:46:33 PM
Hi, roundcube database connection error. get the fix myself.

find and change old password within this file.
Code: [Select]
/usr/local/cwpsrv/var/services/roundcube/config.inc.php
it seems roundcube path changed.
old one was here i think,
Code: [Select]
/usr/local/apache/htdocs/roundcube/config/config.inc.php

best wishes..

Title: Re: CentOS6 Upgrade
Post by: je2u on April 20, 2017, 07:19:52 PM
Does the new CWP version works fine with apache 2.2 or cwp upgrade must be done with apache upgrade to 2.4?
I would like to make first, CWP upgrade, deal with problems and then, after few weekes, if I decide it is stable, I could upgrade apache.
Title: Re: CentOS6 Upgrade
Post by: Administrator on April 21, 2017, 05:15:52 AM
Does the new CWP version works fine with apache 2.2 or cwp upgrade must be done with apache upgrade to 2.4?
I would like to make first, CWP upgrade, deal with problems and then, after few weekes, if I decide it is stable, I could upgrade apache.

apache 2.4 is now default and we have it working for a very long time now.
Title: Re: CentOS6 Upgrade
Post by: syeds786 on April 21, 2017, 12:06:13 PM
Hi i have an issue with the client side file manager after upgrading to the newer version of cwp on centos 6

CWP version: 0.9.8.222

Checking the apache log gives the error below

No user or group set - set suPHP_UserGroup

URL: http://cwpserver/webftp_simple/
Also tried
URL: http://cwpserver:2030/webftp_simple/

Any assistance would be appreciated.

Thanks

Title: Re: CentOS6 Upgrade
Post by: Matias on April 22, 2017, 08:57:36 PM
Hi all after upgrade all the services are running but i receive some warning from mysql]:

Warning: Error while sending QUERY packet. PID=8293 in /usr/local/cwpsrv/htdocs/resources/admin/include/functions.php on line 0

Warning: [obfuscated]() expects exactly 1 parameter, 0 given in /usr/local/cwpsrv/htdocs/resources/admin/include/functions.php on line 0

Warning: [obfuscated]() expects parameter 1 to be mysqli_result, boolean given in /usr/local/cwpsrv/htdocs/resources/admin/include/functions.php on line 0

and also if i want to enter phpmyadmin (roundcube too) receive error 404.

this is the error log:

2017/04/22 21:02:18 [error] 1948#0: *123 FastCGI sent in stderr: "PHP message: PHP Warning:  Error while sending QUERY packet. PID=2256 in /usr/local/cwpsrv/htdocs/resources/admin/include/functions.php on line 0
PHP message: PHP Warning:  [obfuscated]() expects exactly 1 parameter, 0 given in /usr/local/cwpsrv/htdocs/resources/admin/include/functions.php on line 0
PHP message: PHP Warning:  [obfuscated]() expects parameter 1 to be mysqli_result, boolean given in /usr/local/cwpsrv/htdocs/resources/admin/include/functions.php on line 0" while reading upstream, client: 186.133.39.152, server: localhost, request: "GET /admin/index.php?service_restart=mysqld HTTP/1.1", upstream: "fastcgi://unix:/usr/local/cwp/php71/var/sockets/cwpsrv.sock:", host: "softwareisla.com:2030", referrer: "http://softwareisla.com:2030/admin/index.php?load=update"
2017/04/22 21:09:43 [error] 1948#0: *123 open() "/usr/local/cwpsrv/var/services/pma" failed (2: No such file or directory), client: 186.133.39.152, server: localhost, request: "GET /pma HTTP/1.1", host: "softwareisla.com:2030", referrer: "http://softwareisla.com:2030/admin/index.php?service_restart=mysqld"


please could you helpme to fix this.


im already fix this!! with the restore and re install.

Regards.
Title: Re: CentOS6 Upgrade
Post by: Yun on April 24, 2017, 01:54:12 PM
After Upgrade i have Uninstalled Mod security because of problems.
I try the some solutions but not worked for me.
Any good news about this problem? Maybe i have missed solution replies...
Title: Re: CentOS6 Upgrade
Post by: dice on April 24, 2017, 04:41:13 PM
First Post:

Thanks for all you do!

Config:
CWP version: 0.9.8.188
Apache version: Apache/2.4.25
PHP version: 5.6.29
MySQL version: 5.5.54
FTP version: 1.0.36
CentOS release 6.8
Running Apache Only webserver

My Problem after the upgrade:
RAM Usage is maxed out
[root@vps ~]# free -m
             total       used       free     shared    buffers     cached
Mem:     6144       5992        151          5          0       4884
cache:    1107       5036
Swap:            0          0          0

I was running Varnish and Apache before the upgrade and then switched right before the upgrade per the upgrade documentation.

What do you all think?  Server seems to be running fine just want to make sure it is ok before it would only go to 2GBs now it is at 6GBs
Title: Re: CentOS6 Upgrade
Post by: dice on April 24, 2017, 07:50:01 PM
First Post:

Thanks for all you do!

Config:
CWP version: 0.9.8.188
Apache version: Apache/2.4.25
PHP version: 5.6.29
MySQL version: 5.5.54
FTP version: 1.0.36
CentOS release 6.8
Running Apache Only webserver

My Problem after the upgrade:
RAM Usage is maxed out
[root@vps ~]# free -m
             total       used       free     shared    buffers     cached
Mem:     6144       5992        151          5          0       4884
cache:    1107       5036
Swap:            0          0          0

I was running Varnish and Apache before the upgrade and then switched right before the upgrade per the upgrade documentation.

What do you all think?  Server seems to be running fine just want to make sure it is ok before it would only go to 2GBs now it is at 6GBs

Cant edit my post. But now all is back to normal using less than 1GBs
Title: Re: CentOS6 Upgrade
Post by: AmarBunty on April 28, 2017, 07:27:52 PM
Everything went fine according to instructions,

But Varnish Server not working in Combinations (Apache + Varnish Server) and  (Apache + ngix +Varnish Server)

Only Apache or Apache + ngix working.

After changing default Web Servers Vhost is rebuilded.

But Varnish is not installing

Loaded plugins: fastestmirror
Setting up Remove Process
Loading mirror speeds from cached hostfile
 * base: repos.mia.quadranet.com
 * extras: repos.mia.quadranet.com
 * remi-safe: repo1.ash.innoscale.net
 * rpmforge: mirror.teklinks.com
 * updates: repos.mia.quadranet.com
No Packages marked for removal
Detected operating system as centos/6.
Checking for curl...
Detected curl...
Downloading repository file: https://packagecloud.io/install/repositories/varnishcache/varnish5/config_file.repo?os=centos&dist=6&source=script
done.
Installing pygpgme to verify GPG signatures...
Loaded plugins: fastestmirror
Setting up Install Process
Loading mirror speeds from cached hostfile
 * base: repos.mia.quadranet.com
 * extras: repos.mia.quadranet.com
 * remi-safe: repo1.ash.innoscale.net
 * rpmforge: mirror.teklinks.com
 * updates: repos.mia.quadranet.com
Package pygpgme-0.1-18.20090824bzr68.el6.x86_64 already installed and latest version
Nothing to do
Installing yum-utils...
Loaded plugins: fastestmirror
Setting up Install Process
Loading mirror speeds from cached hostfile
 * base: mirror.confluxtech.com
 * extras: mirror.confluxtech.com
 * remi-safe: repo1.ash.innoscale.net
 * rpmforge: mirror.teklinks.com
 * updates: mirror.confluxtech.com
Package yum-utils-1.1.30-40.el6.noarch already installed and latest version
Nothing to do
Generating yum cache for varnishcache_varnish5...

The repository is setup! You can now install packages.
Loaded plugins: fastestmirror
Setting up Install Process
Loading mirror speeds from cached hostfile
 * base: mirror.confluxtech.com
 * extras: mirror.confluxtech.com
 * remi-safe: repo1.ash.innoscale.net
 * rpmforge: mirror.teklinks.com
 * updates: mirror.confluxtech.com
Resolving Dependencies
--> Running transaction check
---> Package varnish.x86_64 0:5.1.2-1.el6 will be installed
--> Processing Dependency: jemalloc for package: varnish-5.1.2-1.el6.x86_64
--> Processing Dependency: libjemalloc.so.1()(64bit) for package: varnish-5.1.2-1.el6.x86_64
--> Finished Dependency Resolution
 You could try using --skip-broken to work around the problem
 You could try running: rpm -Va --nofiles --nodigest
*** Rebuild All Virtual Hosts ***
Setup default Web Servers

New LiteSpeed Enterprise WebServer (30 Day Free Trial!)
Don't forget to rebuild Virtual Hosts if you make changes here.

Netstat info
tcp        0      0 :::443                      :::*                        LISTEN      29842/httpd         
tcp        0      0 :::80                       :::*                        LISTEN      29842/httpd         


Select Default Web Servers which you want to use:
 Apache Only
 LiteSpeed Enterprise (Free for 30days, get license here)
 Apache & Nginx Reverse Proxy (Nginx on port 80 and apache on port 8181)
 Apache & Varnish Cache (Varnish on port 80 and apache on port 8181 [Varnish Conf])
* Apache & Varnish Cache & Nginx Reverse Proxy (Varnish on port 80, Nginx on port 82 and apache on port 8181 [Varnish Conf])

Save & Rebuild Configuration
Title: Re: CentOS6 Upgrade
Post by: turkoy on April 28, 2017, 09:10:15 PM
It restarts but it is giving an error.
MYSQL Restart and REsult ?

Code: [Select]
Warning: Error while sending QUERY packet. PID=7614 in /usr/local/cwpsrv/htdocs/resources/admin/include/functions.php on line 0

Warning: [obfuscated]() expects exactly 1 parameter, 0 given in /usr/local/cwpsrv/htdocs/resources/admin/include/functions.php on line 0

Warning: [obfuscated]() expects parameter 1 to be mysqli_result, boolean given in /usr/local/cwpsrv/htdocs/resources/admin/include/functions.php on line 0



I made an update and I did not receive any errors.

When I just want to do "Apache & Varnish Cache" after updating, do not install varnish? Is it just running Apache?
Title: Re: CentOS6 Upgrade
Post by: gosha on April 29, 2017, 01:19:28 PM
I have the same problem

SSL: error:0B080074:x509 certificate routines:X509_check_private_key:key values mismatch

Please advice which mismatch could cause this error?
Title: Re: CentOS6 Upgrade
Post by: mrr-r on May 01, 2017, 05:33:15 AM
Everything went fine according to instructions,

But Varnish Server not working in Combinations (Apache + Varnish Server) and  (Apache + ngix +Varnish Server)

Only Apache or Apache + ngix working.

After changing default Web Servers Vhost is rebuilded.

But Varnish is not installing

Loaded plugins: fastestmirror
Setting up Remove Process
Loading mirror speeds from cached hostfile
 * base: repos.mia.quadranet.com
 * extras: repos.mia.quadranet.com
 * remi-safe: repo1.ash.innoscale.net
 * rpmforge: mirror.teklinks.com
 * updates: repos.mia.quadranet.com
No Packages marked for removal
Detected operating system as centos/6.
Checking for curl...
Detected curl...
Downloading repository file: https://packagecloud.io/install/repositories/varnishcache/varnish5/config_file.repo?os=centos&dist=6&source=script
done.
Installing pygpgme to verify GPG signatures...
Loaded plugins: fastestmirror
Setting up Install Process
Loading mirror speeds from cached hostfile
 * base: repos.mia.quadranet.com
 * extras: repos.mia.quadranet.com
 * remi-safe: repo1.ash.innoscale.net
 * rpmforge: mirror.teklinks.com
 * updates: repos.mia.quadranet.com
Package pygpgme-0.1-18.20090824bzr68.el6.x86_64 already installed and latest version
Nothing to do
Installing yum-utils...
Loaded plugins: fastestmirror
Setting up Install Process
Loading mirror speeds from cached hostfile
 * base: mirror.confluxtech.com
 * extras: mirror.confluxtech.com
 * remi-safe: repo1.ash.innoscale.net
 * rpmforge: mirror.teklinks.com
 * updates: mirror.confluxtech.com
Package yum-utils-1.1.30-40.el6.noarch already installed and latest version
Nothing to do
Generating yum cache for varnishcache_varnish5...

The repository is setup! You can now install packages.
Loaded plugins: fastestmirror
Setting up Install Process
Loading mirror speeds from cached hostfile
 * base: mirror.confluxtech.com
 * extras: mirror.confluxtech.com
 * remi-safe: repo1.ash.innoscale.net
 * rpmforge: mirror.teklinks.com
 * updates: mirror.confluxtech.com
Resolving Dependencies
--> Running transaction check
---> Package varnish.x86_64 0:5.1.2-1.el6 will be installed
--> Processing Dependency: jemalloc for package: varnish-5.1.2-1.el6.x86_64
--> Processing Dependency: libjemalloc.so.1()(64bit) for package: varnish-5.1.2-1.el6.x86_64
--> Finished Dependency Resolution
 You could try using --skip-broken to work around the problem
 You could try running: rpm -Va --nofiles --nodigest
*** Rebuild All Virtual Hosts ***
Setup default Web Servers

New LiteSpeed Enterprise WebServer (30 Day Free Trial!)
Don't forget to rebuild Virtual Hosts if you make changes here.

Netstat info
tcp        0      0 :::443                      :::*                        LISTEN      29842/httpd         
tcp        0      0 :::80                       :::*                        LISTEN      29842/httpd         


Select Default Web Servers which you want to use:
 Apache Only
 LiteSpeed Enterprise (Free for 30days, get license here)
 Apache & Nginx Reverse Proxy (Nginx on port 80 and apache on port 8181)
 Apache & Varnish Cache (Varnish on port 80 and apache on port 8181 [Varnish Conf])
* Apache & Varnish Cache & Nginx Reverse Proxy (Varnish on port 80, Nginx on port 82 and apache on port 8181 [Varnish Conf])

Save & Rebuild Configuration


Hi,
I have this problem too.
Title: Re: CentOS6 Upgrade
Post by: Administrator on May 09, 2017, 07:57:29 PM
I have the same problem

SSL: error:0B080074:x509 certificate routines:X509_check_private_key:key values mismatch

Please advice which mismatch could cause this error?

try to update your hostname from cwp, just like you would change it.
Varnish issue is related with yum repository issue so you need to check you update on your server.
Title: Re: CentOS6 Upgrade
Post by: indepmo on May 16, 2017, 11:44:07 PM
This is all I did and it fixed the problem.

[root@NS1 logs]# yum install cwp-suphp.x86_64
Loaded plugins: fastestmirror, replace
Setting up Install Process
Loading mirror speeds from cached hostfile
 * base: mirror.tzulo.com
 * extras: mirror.genesisadaptive.com
 * nux-dextop: mirror.li.nux.ro
 * rpmforge: mirror.team-cymru.org
 * updates: mirrors.gigenet.com
Resolving Dependencies
--> Running transaction check
---> Package cwp-suphp.x86_64 0:0.7.2-3 will be installed
--> Finished Dependency Resolution

Dependencies Resolved

============================================================================================================================
 Package                         Arch                         Version                       Repository                 Size
============================================================================================================================
Installing:
 cwp-suphp                       x86_64                       0.7.2-3                       cwp                        71 k

Transaction Summary
============================================================================================================================
Install       1 Package(s)

Total download size: 71 k
Installed size: 192 k
Is this ok [y/N]: y
Downloading Packages:
cwp-suphp-0.7.2-3.x86_64.rpm                                                                         |  71 kB     00:00     
Running rpm_check_debug
Running Transaction Test
Transaction Test Succeeded
Running Transaction
  Installing : cwp-suphp-0.7.2-3.x86_64                                                                                 1/1
  Verifying  : cwp-suphp-0.7.2-3.x86_64                                                                                 1/1

Installed:
  cwp-suphp.x86_64 0:0.7.2-3                                                                                               

Complete!

Title: Re: CentOS6 Upgrade
Post by: apsuva on May 17, 2017, 09:41:11 PM
can you help me please?

Code: [Select]
Starting httpd: AH00548: NameVirtualHost has no effect and will be removed in the next release /usr/local/apache/conf/sharedip.conf:1
AH00526: Syntax error on line 9 of /usr/local/apache/conf.d/webmail.conf:
Invalid command 'ProxyPass', perhaps misspelled or defined by a module not included in the server configuration
                                                           [FAILED]
Title: Re: CentOS6 Upgrade
Post by: gosha on May 27, 2017, 06:17:32 AM
I have the same problem

SSL: error:0B080074:x509 certificate routines:X509_check_private_key:key values mismatch

Please advice which mismatch could cause this error?

try to update your hostname from cwp, just like you would change it.
Varnish issue is related with yum repository issue so you need to check you update on your server.


The hostname is not cwp, or which hostname we talking about?


[root@vps04002 ~]# more /etc/hosts
127.0.0.1   localhost localhost.localdomain localhost4 localhost4.localdomain4
::1         localhost localhost.localdomain localhost6 localhost6.localdomain6
127.0.0.1 vps04002.net.xxx.xx
127.0.0.1 autoreply.vps04002.net.xxx.xx
xx.xxx.xx.76   vps04002.net.xxx.xx


Should I change some hostname in CWP settings?
Title: Re: CentOS6 Upgrade
Post by: Igor S. on May 30, 2017, 06:48:49 AM
The hostname is not cwp, or which hostname we talking about?
[root@vps04002 ~]# more /etc/hosts
127.0.0.1   localhost localhost.localdomain localhost4 localhost4.localdomain4
::1         localhost localhost.localdomain localhost6 localhost6.localdomain6
127.0.0.1 vps04002.net.xxx.xx
127.0.0.1 autoreply.vps04002.net.xxx.xx
xx.xxx.xx.76   vps04002.net.xxx.xx


Should I change some hostname in CWP settings?

Hi, check if the hostname is reachable from world and install SSL via CWP => Server setting => Change hostname
Title: Re: CentOS6 Upgrade
Post by: Darkroom on June 07, 2017, 02:19:30 AM
FYI this worked I got apache with mod_sec playing nicely again. Now it seems my server is stuck at CWP version: 0.9.8.188? Is this right?

Any updates on apache not starting after mod_security is installed?

Hi, backup configuration and try:
Code: [Select]
yum -y reinstall cwp-httpd
Title: CentOS6 Upgrade , help!!!!!!!!!
Post by: diwebcol on June 10, 2017, 06:37:38 AM
Hi, update according to the instructions in this post, until I get to Apache Upgrade script, from that point I no longer work anything, appeared 500 error, try
 Sh apache.sh restore
But the problem continues and httpd does not start. The following error appears:

 Service httpd restart
Stopping httpd: [OK]
Starting httpd: Warning: SuexecUserGroup directive requires SUEXEC wrapper.
Warning: SuexecUserGroup directive requires SUEXEC wrapper.
Warning: SuexecUserGroup directive requires SUEXEC wrapper.

And when executing:

Yum reinstall cwp-httpd cwp-suphp

Loaded plugins: fastestmirror, replace
Setting up Reinstall Process
No Match for argument: cwp-httpd
Loading mirror speeds from cached hostfile
 * Base: mirrors.coreix.net
 * Extras: mirror.vorboss.net
 * Rpmforge: ftp.nluug.nl
 * Updates: mirrors.coreix.net
Package (s) cwp-httpd available, but not installed.
No Match for argument: cwp-suphp
Package (s) cwp-suphp available, but not installed.
Error: Nothing to do


On the other hand, when entering CWP

Warning: main (../../ resources / admin / include / db_conn.php): failed to open stream: No such file or directory in /usr/local/cwpsrv/htdocs/admin/admin/index.php on line 0

Warning: main (../../ resources / admin / include / db_conn.php): failed to open stream: No such file or directory in /usr/local/cwpsrv/htdocs/admin/admin/index.php on line 0

Warning: main (): Failed opening '../resources/admin/include/db_conn.php' for inclusion (include_path = '.: / Usr / local / cwp / php71 / lib / php') in / usr /local/cwpsrv/htdocs/admin/admin/index.php on line 0

Warning: main (../../ resources / admin / include / postfix.php): failed to open stream: No such file or directory in /usr/local/cwpsrv/htdocs/admin/admin/index.php on line 0

Warning: main (../../ resources / admin / include / postfix.php): failed to open stream: No such file or directory in /usr/local/cwpsrv/htdocs/admin/admin/index.php on line 0

Warning: main (): Failed opening '../resources/admin/include/postfix.php' for inclusion (include_path = '.: / Usr / local / cwp / php71 / lib / php') in / usr /local/cwpsrv/htdocs/admin/admin/index.php on line 0

Notice: Undefined variable: db_host_postfix in /usr/local/cwpsrv/htdocs/admin/admin/index.php on line 0

Notice: Undefined variable: db_user_postfix in /usr/local/cwpsrv/htdocs/admin/admin/index.php on line 0

Notice: Undefined variable: db_pass_postfix in /usr/local/cwpsrv/htdocs/admin/admin/index.php on line 0

Notice: Undefined variable: db_name_postfix in /usr/local/cwpsrv/htdocs/admin/admin/index.php on line 0

Warning: [obfuscated] (): (HY000 / 1045): Access denied for user '' @ 'localhost' (using password: NO) in /usr/local/cwpsrv/htdocs/admin/admin/index.php on line 0

Notice: Undefined variable: db_host in /usr/local/cwpsrv/htdocs/admin/admin/index.php on line 0

Notice: Undefined variable: db_user in /usr/local/cwpsrv/htdocs/admin/admin/index.php on line 0

Notice: Undefined variable: db_pass in /usr/local/cwpsrv/htdocs/admin/admin/index.php on line 0

Notice: Undefined variable: db_name in /usr/local/cwpsrv/htdocs/admin/admin/index.php on line 0

Warning: [obfuscated] (): (HY000 / 1045): Access denied for user '' @ 'localhost' (using password: NO) in /usr/local/cwpsrv/htdocs/admin/admin/index.php on line 0
** Check your MySQL root password in: /usr/local/cwpsrv/htdocs/resources/admin/include/db_conn.php and /root/.my.cnf


Warning: [obfuscated] () expects exactly 1 parameter, 0 given in /usr/local/cwpsrv/htdocs/admin/admin/index.php on line 0
Could not connect:
Title: Re: CentOS6 Upgrade
Post by: grevilla on June 17, 2017, 06:25:27 PM
Hi all!

I have upgrade everything but now the Mysql doesn't start. Apache and CWP apparently are ok but MySql doesn't.

How can I repair the Mysql?

Thanks in advance,

Gustavo
Title: Re: CentOS6 Upgrade
Post by: Administrator on June 28, 2017, 12:13:45 PM
you need to check mysql logs for issues with mysql.
Title: Re: CentOS6 Upgrade
Post by: Darkroom on June 30, 2017, 02:09:56 AM
My panel seems stuck at CWP version: 0.9.8.188, is that the max for Centos 6?
Title: Re: CentOS6 Upgrade
Post by: Administrator on June 30, 2017, 09:09:55 AM
My panel seems stuck at CWP version: 0.9.8.188, is that the max for Centos 6?

run this for manual update
Code: [Select]
sh /scripts/update_cwp
Title: Re: CentOS6 Upgrade
Post by: joaolm on July 18, 2017, 12:43:20 PM
Hi, I did the update but apache does not start... I'll explain.

1. After "sh apache.sh" i got:
Code: [Select]
Stopping httpd:                                            [FAILED]
Starting httpd: AH00526: Syntax error on line 66 of /usr/local/apache/conf/httpd.conf:
Invalid command 'User', perhaps misspelled or defined by a module not included in the server configuration
                                                                 [FAILED]
Apache has been upgraded

Solution to the above error...
I edited the file '/usr/local/apache/conf/httpd.conf' and added the line below:
Code: [Select]
LoadModule unixd_module modules/mod_unixd.so
2. I tried to start Apache again and I got...
Code: [Select]
AH00526: Syntax error on line 119 of /usr/local/apache/conf/httpd.conf:
Invalid command 'Order', perhaps misspelled or defined by a module not included in the server configuration

Solution to the above error...
Code: [Select]
LoadModule access_compat_module modules/mod_access_compat.so
3. Third try to start Apache and I got...
Code: [Select]
Tue Jul 18 09:13:18.217682 2017] [core:warn] [pid 24901:tid 139660178646784] AH00117: Ignoring deprecated use of DefaultType in line 286 of /usr/local/apache/conf/httpd.conf.
AH00526: Syntax error on line 10 of /usr/local/apache/conf/extra/httpd-userdir.conf:
Invalid command 'UserDir', perhaps misspelled or defined by a module not included in the server configuration

Solution to the above error...
Code: [Select]
LoadModule mod_userdir modules/mod_userdir.so
4. Fourth attempt to start Apache...
Code: [Select]
httpd: Syntax error on line 57 of /usr/local/apache/conf/httpd.conf: Can't locate API module structure `mod_userdir' in file /usr/local/apache/modules/mod_userdir.so: /usr/local/apache/modules/mod_userdir.so: undefined symbol: mod_userdir
I'm doing something wrong?

Info:
SO: CentOS 6.8
CWP previous version: 0.9.8.154
CWP after update: cwpsrv-1.10.2-4.x86_64
ApacheServer version: Apache/2.4.26 (Unix) / Server built: Jun 30 2017 03:36:15
MySQL: mysql  Ver 14.14 Distrib 5.7.18, for Linux (x86_64) using  EditLine wrapper
PHP: PHP 5.6.24 (cli) (built: Jul 14 2017 15:04:39)
Title: Re: CentOS6 Upgrade
Post by: Administrator on July 18, 2017, 06:45:15 PM
try checking your httpd.conf file, maybe you have some double include values
Title: Re: CentOS6 Upgrade
Post by: joaolm on July 18, 2017, 07:48:05 PM
try checking your httpd.conf file, maybe you have some double include values
We have 2 servers with the old CWP version (0.9.8.154).

Before doing the update on the production server, I created a virtual machine and installed CWP 0.9.8.154 to test ...

This a clean install of CWP version 0.9.8.154. the only thing I did before updating, was to create some users ( CWP.admin > User Accounts > New Account ).

Is there anything else I can do to try to solve the problem?
Title: Re: CentOS6 Upgrade
Post by: Administrator on July 19, 2017, 06:47:02 AM
you can contact our support to check this for you since we can't know exact issue without checking your server.
Title: Re: CentOS6 Upgrade
Post by: joaolm on July 19, 2017, 03:24:40 PM
 :(
The journey continues...

Apache started after rebuilding it to version 2.4.25.
CWP6.admin > Apache Settings > Apache Re-Build > Apache 2.4.25 & suPHP 0.7.2

I found that httpd.conf in use after the rebuild was similar to the httpd.conf.rpmnew created on the manual update.

It looks like apache.sh is messing up the httpd.conf, in the manual update...

To make things worse... when a go to User Accounts > List Accounts a got the error below...
(http://imgur.com/a/zEJZw)

Edit: i tried to put an image with tool for images, but it didn't show... here is the link
http://imgur.com/a/zEJZw






Title: Re: CentOS6 Upgrade
Post by: studio4host on July 21, 2017, 06:50:43 AM
you can delete your default httpd.conf and then reinstall httpd server (it will create new conf file)

Code: [Select]
yum reinstall cwp-httpd
yum reinstall cwp-suphp

also check this for issue with datatables
http://forum.centos-webpanel.com/centos-6-problems/can't-list-user-accounts-after-mysql-update/msg12630/?topicseen#msg12630
Title: Re: CentOS6 Upgrade
Post by: shashank on August 18, 2017, 02:28:15 AM
Unable to upgrade MySQL version: 5.1.73 Getting the following error:
mkdir: cannot create directory `/home/backup': File exists
-- Warning: Skipping the data of table mysql.event. Specify the --events option explicitly.
Stopping mysqld:                                           [  OK  ]
curl: (7) couldn't connect to host
error: https://mirror.webtatic.com/yum/RPM-GPG-KEY-webtatic-andy: import read failed(2).
Retrieving http://mirror.webtatic.com/yum/el6/latest.rpm
warning: /var/tmp/rpm-tmp.zlyRQZ: Header V4 DSA/SHA1 Signature, key ID cf4c4ff9: NOKEY
Preparing...                ########################################### [100%]
   package webtatic-release-6-9.noarch is already installed
Loaded plugins: fastestmirror
Loading mirror speeds from cached hostfile
 * base: mirror.solarvps.com
 * extras: bay.uchicago.edu
 * rpmforge: repoforge.mirror.constant.com
 * updates: mirrors.centos.webair.com
Setting up Install Process
No package yum-plugin-replace available.
Error: Nothing to do
Loaded plugins: fastestmirror
Usage: yum [options] COMMAND

List of Commands:

check          Check for problems in the rpmdb
check-update   Check for available package updates
clean          Remove cached data
deplist        List a package's dependencies
distribution-synchronization Synchronize installed packages to the latest available versions
downgrade      downgrade a package
erase          Remove a package or packages from your system
groupinfo      Display details about a package group
groupinstall   Install the packages in a group on your system
grouplist      List available package groups
groupremove    Remove the packages in a group from your system
help           Display a helpful usage message
history        Display, or use, the transaction history
info           Display details about a package or group of packages
install        Install a package or packages on your system
list           List a package or groups of packages
load-transaction load a saved transaction from filename
makecache      Generate the metadata cache
provides       Find what package provides the given value
reinstall      reinstall a package
repolist       Display the configured software repositories
resolvedep     Determine which package provides the given dependency
search         Search package details for the given string
shell          Run an interactive yum shell
update         Update a package or packages on your system
upgrade        Update packages taking obsoletes into account
version        Display a version for the machine and/or available repos.


Command line error: no such option: --replace-with
Title: Re: CentOS6 Upgrade
Post by: kajlaajay on August 28, 2017, 06:25:19 AM
Hello Admin

my cwp version is little then this you mentioned

CWP version: 0.9.8.155

so can i use the same procedure to upgrade or something else
Title: Re: CentOS6 Upgrade
Post by: studio4host on August 28, 2017, 10:01:43 PM
shashank
- you should disable webtatic repo in your yum configuration probably in the folder /etc/yum.repos.d/ and then check your yum again

kajlaajay
- that is an very old version of cwp, latest for centos 6 is 0.9.8.267 (currently by checking latest installer) so you should proceed with an update :)

Title: Re: CentOS6 Upgrade
Post by: sgel on September 05, 2017, 08:10:44 PM
I cannot get past the following when upgrading from 0.9.8.155

Code: [Select]
extracting: phpMyAdmin-4.6.6-all-languages/themes/pmahomme/screen.png
  inflating: phpMyAdmin-4.6.6-all-languages/themes/pmahomme/sprites.lib.php
  inflating: phpMyAdmin-4.6.6-all-languages/themes/sprites.css.php
  inflating: phpMyAdmin-4.6.6-all-languages/themes/svg_gradient.php
  inflating: phpMyAdmin-4.6.6-all-languages/transformation_overview.php
  inflating: phpMyAdmin-4.6.6-all-languages/transformation_wrapper.php
  inflating: phpMyAdmin-4.6.6-all-languages/url.php
  inflating: phpMyAdmin-4.6.6-all-languages/user_password.php
  inflating: phpMyAdmin-4.6.6-all-languages/version_check.php
  inflating: phpMyAdmin-4.6.6-all-languages/view_create.php
  inflating: phpMyAdmin-4.6.6-all-languages/view_operations.php
Seems like something went wrong
If you have problem with CWP try run cwpsrv.sh restore

Restore is also not working... Where should I start looking to resolve this problem?
Title: Re: CentOS6 Upgrade
Post by: studio4host on September 06, 2017, 07:43:31 AM
this is too short log info to know any details but you can send what exactly doesn't work now.
Title: Re: CentOS6 Upgrade
Post by: sgel on September 06, 2017, 12:05:24 PM
So, this was just the CWP part of the upgrade.  I did not have to update mysql because I already have MariaDB, and I did not do the apache upgrade yet because the cwp porition failed.

What log should I look at to give you more information?

I simply cannot get back into the CWP interface.  The upgrade seems to have not completed.
Title: Re: CentOS6 Upgrade
Post by: TheEAK on September 08, 2017, 12:42:44 AM
Hi,
My cwp version is  0.9.8.155
trying  upgrade  cwp but not working.

Code: [Select]
extracting: phpMyAdmin-4.6.6-all-languages/themes/pmahomme/screen.png
  inflating: phpMyAdmin-4.6.6-all-languages/themes/pmahomme/sprites.lib.php
  inflating: phpMyAdmin-4.6.6-all-languages/themes/sprites.css.php
  inflating: phpMyAdmin-4.6.6-all-languages/themes/svg_gradient.php
  inflating: phpMyAdmin-4.6.6-all-languages/transformation_overview.php
  inflating: phpMyAdmin-4.6.6-all-languages/transformation_wrapper.php
  inflating: phpMyAdmin-4.6.6-all-languages/url.php
  inflating: phpMyAdmin-4.6.6-all-languages/user_password.php
  inflating: phpMyAdmin-4.6.6-all-languages/version_check.php
  inflating: phpMyAdmin-4.6.6-all-languages/view_create.php
  inflating: phpMyAdmin-4.6.6-all-languages/view_operations.php
Seems like something went wrong
If you have problem with CWP try run cwpsrv.sh restore

Then, http://xxx.xxx.xxx.xxx:2030 is white screen.

i dont upgrade cwp , try , try agin. but not upgrade.
Title: Re: CentOS6 Upgrade
Post by: art on September 09, 2017, 02:17:10 AM
Hi
I got same error: Seems like something went wrong If you have problem with CWP try run cwpsrv.sh restore
after "sh cwpsrv.sh"
and panel stopped working.

cwp version is  0.9.8.155, mysql - 5.5.50, Apache/2.4.18, PHP 5.6.29, CentOS release 6.9 (Final)

In /usr/local/cwpsrv/logs/error_log
2017/09/09 03:48:15 [error] 2629#0: *1 FastCGI sent in stderr: "PHP message: PHP Fatal error:  <br>The encoded file <b>/usr/local/cwpsrv/htdocs/admin/index.php</b> has expired. in Unknown on line 0" while reading response header from upstream, client: Y.Y.Y.Y, server: localhost, request: "GET / HTTP/1.1", upstream: "fastcgi://unix:/usr/local/cwp/php71/var/sockets/cwpsrv.sock:", host: "X.X.X.X:2030"
2017/09/09 03:48:18 [error] 2629#0: *1 FastCGI sent in stderr: "PHP message: PHP Fatal error:  <br>The encoded file <b>/usr/local/cwpsrv/htdocs/admin/index.php</b> has expired. in Unknown on line 0" while reading response header from upstream, client: Y.Y.Y.Y, server: localhost, request: "GET / HTTP/1.1", upstream: "fastcgi://unix:/usr/local/cwp/php71/var/sockets/cwpsrv.sock:", host: "X.X.X.X:2030"

In /usr/local/cwp/php71/var/log/php-fpm.log
[09-Sep-2017 03:48:15] WARNING: [pool cwpsrv] child 2653 said into stderr: "NOTICE: PHP message: PHP Fatal error:  <br>The encoded file <b>/usr/local/cwpsrv/htdocs/admin/index.php</b> has expired. in Unknown on line 0"
[09-Sep-2017 03:48:18] WARNING: [pool cwpsrv] child 2653 said into stderr: "NOTICE: PHP message: PHP Fatal error:  <br>The encoded file <b>/usr/local/cwpsrv/htdocs/admin/index.php</b> has expired. in Unknown on line 0"

(for now server works fine - was restored from backup)
Title: Re: CentOS6 Upgrade
Post by: studio4host on September 11, 2017, 12:27:52 PM
the best would be to run upgrade scripts and if they fail to check them manually and see what exactly failed on your server.
Don't forget that you need to have apache only webserver when running upgrade.
Title: Re: CentOS6 Upgrade
Post by: alja on September 21, 2017, 12:18:30 AM
Hi, I have tried to upgrade with no success. Seems that CWP did upgrade but my apache didn't do it fine. After running the script to rescue the apache I get the "Warning: SuexecUserGroup directive requires SUEXEC wrapper." error everytime httpd is started and also all my php pages show "internal server error"

Apache version: Apache/2.2.27
PHP version: 5.4.45 [PHP Switcher]
MySQL version: 5.5.56
FTP version: 1.0.36
CWP version: 0.9.8.270

I apreciate any help or guidance to resolve this

Thanks,

AJ.
Title: Re: CentOS6 Upgrade
Post by: studio4host on September 21, 2017, 12:11:01 PM
be sure that you have followed instructions and this part :

If something goes wrong with you apache try also this command
Code: [Select]
yum reinstall cwp-httpd cwp-suphp
Title: Re: CentOS6 Upgrade
Post by: alja on September 21, 2017, 11:37:43 PM
Thanks for the reply. I did followed the instructions as indicated in the post, and even tried the yum reinstall command but this is what I got "
Package(s) cwp-httpd available, but not installed.
No Match for argument: cwp-suphp
Package(s) cwp-suphp available, but not installed.
Error: Nothing to do
"
I've managed to get back apache but php is down all my php pages show "Internal Serve Error" 500.
Title: Re: CentOS6 Upgrade
Post by: studio4host on September 22, 2017, 12:57:30 PM
then something failed during your upgrade

try running this one by one line
Code: [Select]
yum install cwp-httpd
yum install cwp-suphp
yum install cwp-php

sh /scripts/restart_cwpsrv
Title: Re: CentOS6 Upgrade
Post by: alja on September 23, 2017, 01:06:13 AM
I have done line by line and when installing cwp_php I got this

Quote
Installing : cwp-php-5.6.30-1.i686                                        1/1
Stopping httpd: [  OK  ]
Starting httpd: httpd: Syntax error on line 419 of /usr/local/apache/conf/httpd.conf: Syntax error on line 3 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: ap_log_error
[FAILED]
warning: %post(cwp-php-5.6.30-1.i686) scriptlet failed, exit status 1
Non-fatal POSTIN scriptlet failure in rpm package cwp-php-5.6.30-1.i686
  Verifying  : cwp-php-5.6.30-1.i686                                        1/1

Installed:
  cwp-php.i686 0:5.6.30-1

Complete!
Title: Re: CentOS6 Upgrade
Post by: studio4host on September 25, 2017, 01:20:39 PM
oh you have 32bit system, it's recommend to have 64bit system...however, try this
rm -f /usr/local/apache/conf.d/mod_security.conf

then try to install modsecurity again if that fails then build apache & suphp from source from cwp and then again install modsecurity.
Title: Re: CentOS6 Upgrade
Post by: Ravi on October 15, 2017, 10:23:56 AM
Hello Support,

I wanted to update the CWP version and I went ahead and upgraded the MySQL first, following below KB.

http://forum.centos-webpanel.com/centos-6-problems/centos6-upgrade/

I applied following commands.

cd /usr/local/src
wget http://dl1.centos-webpanel.com/files/el6/cwpupgrade/mysql.sh
sh mysql.sh

Code: [Select]

[root@www src]# sh mysql.sh
Loaded plugins: fastestmirror, replace
Loading mirror speeds from cached hostfile
 * base: mirror.gpmidi.net
 * extras: mirror.calgah.com
 * rpmforge: mirror.us.leaseweb.net
 * updates: centos.zswap.net
 * webtatic: us-east.repo.webtatic.com
repo id                                  repo name                                                        status
base                                     CentOS-6 - Base                                                  6706
extras                                   CentOS-6 - Extras                                                  46
rpmforge                                 RHEL 6 - RPMforge.net - dag                                      4718
updates                                  CentOS-6 - Updates                                                722
webtatic                                 Webtatic Repository EL6 - x86_64                                  362


After this MYSQL server stopped with following error.

Code: [Select]
[root@www src]# service mysqld start
MySQL Daemon failed to start.
Starting mysqld:                                           [FAILED]


I went ahead and checked the  yum history, and noticed that there are 2 versions of MySQL.

Code: [Select]

Warning: RPMDB altered outside of yum.
** Found 2 pre-existing rpmdb problem(s), 'yum check' output follows:
mysql55w-5.5.57-1.w6.x86_64 has installed conflicts mysql < ('0', '5.5', None): mysql-5.1.73-8.el6_8.x86_64
mysql55w-libs-5.5.57-1.w6.x86_64 has installed conflicts mysql-libs < ('0', '5.5', None): mysql-libs-5.1.73-8.el6_8.x86_64


and MySQL version shows the following output.

Code: [Select]
[root@www src]# mysql --version
mysql  Ver 14.14 Distrib 5.5.57, for Linux (x86_64) using readline 5.1


I checked the MYSQL logs and it gave following output.

Code: [Select]
171015  5:41:01 [Note] /usr/libexec/mysqld: Normal shutdown

171015  5:41:01 [Note] Event Scheduler: Killing the scheduler thread, thread id 1
171015  5:41:01 [Note] Event Scheduler: Waiting for the scheduler thread to reply
171015  5:41:01 [Note] Event Scheduler: Stopped
171015  5:41:01 [Note] Event Scheduler: Purging the queue. 1 events
171015  5:41:01  InnoDB: Starting shutdown...
171015  5:41:22  InnoDB: Shutdown completed; log sequence number 1 2391391413
171015  5:41:22 [Note] /usr/libexec/mysqld: Shutdown complete

171015 05:41:22 mysqld_safe mysqld from pid file /var/run/mysqld/mysqld.pid ended

MySQL upgrade also failed with the error.

Code: [Select]
[root@www log]# mysql_upgrade -u roor -p
Enter password:
Looking for 'mysql' as: mysql
Looking for 'mysqlcheck' as: mysqlcheck
Error: Failed while fetching Server version! Could be due to unauthorized access.
FATAL ERROR: Upgrade failed

I am stuck with the stopped MySQL serer.

Please assist.
Title: Re: CentOS6 Upgrade
Post by: vox on December 01, 2017, 01:39:12 AM
Solved by:
yum remove cwp-httpd
yum install cwp-httpd

Thanks! This fixed my issue with apache
Title: Re: CentOS6 Upgrade
Post by: pingvin1991 on February 22, 2018, 03:59:14 AM
WHAT the f****


This server needs to be upgraded by using this instruction!
http://forum.centos-webpanel.com/centos-6-problems/centos6-upgrade/

For assistance, you can contact our support at:
http://centos-webpanel.com/contact

I DONT WONT UPDATE
Title: Re: CentOS6 Upgrade
Post by: Luca2186 on February 22, 2018, 12:25:36 PM
WHAT the f****


This server needs to be upgraded by using this instruction!
http://forum.centos-webpanel.com/centos-6-problems/centos6-upgrade/

For assistance, you can contact our support at:
http://centos-webpanel.com/contact

I DONT WONT UPDATE

As a workaround you can go to /usr/local/cwpsrv/htdocs/ and swap the 'admin' and 'admin_disabled' folder names.
Do a backup of entire htdocs before doing this
Title: Re: CentOS6 Upgrade
Post by: sal on February 22, 2018, 01:23:01 PM
this morning my customers started asking why they can't login to the panel and why they see a message about upgrading, this is not something to be shown to everybody, but server admin.
I have not upgraded yet due to several problems happened after i tried it some months ago and i have had to restore the server from a backup.
I also subscribed for the pro service to avoid problems like this,but it happened anyway without any previous communication.

If you are in the same boat as me and want to re-enable the cwp login, follow these instructions:

1. login to your shell
2. cd /usr/local/cwpsrv/
3. cp -r htdocs htdocs_backup
4. cd htdocs
5. mv admin admin_backup
6. mv admin_disabled admin

now you should be able to login again

if something goes wrong you can restore to the previous state by

1. rm -rf /usr/local/cwpsrv/htdocs

2. mv /usr/local/cwpsrv/htdocs_backup /usr/local/cwpsrv/htdocs

i'm not saying that users must not upgrade to new version, but at the moment it looks very dangerous doing it on a live server without having issues to be solved later.



WHAT the f****


This server needs to be upgraded by using this instruction!
http://forum.centos-webpanel.com/centos-6-problems/centos6-upgrade/

For assistance, you can contact our support at:
http://centos-webpanel.com/contact

I DONT WONT UPDATE

As a workaround you can go to /usr/local/cwpsrv/htdocs/ and swap the 'admin' and 'admin_disabled' folder names.
Do a backup of entire htdocs before doing this
Title: Re: CentOS6 Upgrade
Post by: Administrator on February 22, 2018, 02:44:56 PM
you have the notification in cwp.admin in "red alert" box more than a few months now.

You need to do this upgrade as version 0.9.8.15x is very old and has security issues which were fixed a long time ago.
Also, each cwp version has expire date so you can't run it forever as it will be unusable soon and then you will have an error and no notification about upgrade needed.
Title: Re: CentOS6 Upgrade
Post by: Luca2186 on February 23, 2018, 08:48:59 AM
The problem is that the upgrade procedure doesn't work.
I had to restore the vm from a snapshopshot to rollback.
Tried on two servers a lot of time ago. I will try again when I can.

However I think it is not a right choice to disable the control panel, the servers are not yours.

you have the notification in cwp.admin in "red alert" box more than a few months now.

You need to do this upgrade as version 0.9.8.15x is very old and has security issues which were fixed a long time ago.
Also, each cwp version has expire date so you can't run it forever as it will be unusable soon and then you will have an error and no notification about upgrade needed.
Title: Re: CentOS6 Upgrade
Post by: Administrator on February 23, 2018, 09:07:31 AM
and in case that your server got hacked then you would say that this is cwp issue even you have ignored security notification for more than few months?

Anyway, it would be better to specify the exact issue and not only "upgrade procedure doesn't work", which upgrade procedure?
You have few scripts for the upgrade, which has an issue, what is the issue?

You need to specify detailed info if you want that someone can answer/assist you.
Title: Re: CentOS6 Upgrade
Post by: Luca2186 on February 23, 2018, 09:55:33 AM
If the server will be hacked obviously it's my fault
If the update procedure does not work it's your fault
The update procedure is the one described on the first page of this thread
I have not reported the exact problem because I do not remember it exactly
If I will try the update again I will report the error here.
The problem is that I'm on a production server. I can not leave it offline for too long or put it offline too often
Title: Re: CentOS6 Upgrade
Post by: sal on February 23, 2018, 04:27:00 PM
thank you for the information, is it reported elsewhere what are the security issues?
The problems i have encountered after the upgrade are mostly related to messed up server configuration, messed up firewall, messed up apache configuration, messed up mail server, so it requires big time updating on a production server and trying to restore configuration.
Possibly if i'll keep using cwp, i'll install the new version on a fresh server and will import the cwp users and web sites on it, this is at the moment the most safe procedure i can think of.
About the warning message inside the control panel, i have seen it, this is another thing that looked a bit unprofessional, because it is visible by all users and it never stated that the panel will be unavailable soon, sorry but this is not a good behavior in my opinion.
I don't have updated because there is not a working script and the manual procedure doesn't work right.
If the security issues are serious and update doesn't work, then i'll have to switch to a different panel.

you have the notification in cwp.admin in "red alert" box more than a few months now.

You need to do this upgrade as version 0.9.8.15x is very old and has security issues which were fixed a long time ago.
Also, each cwp version has expire date so you can't run it forever as it will be unusable soon and then you will have an error and no notification about upgrade needed.
Title: Re: CentOS6 Upgrade
Post by: Administrator on February 23, 2018, 08:44:41 PM
you should check the upgrade scripts, this is a big upgrade and this can go wrong as in the new version and all new software is installed and you could have issues with website down if this would be automated, taking all that into consideration the best and securest way is to do update manually when you have a free time to do that and deal with possible issues.

As said before notification about security issues and urgent upgrade requirement is more than a few months "flashing RED" as a critical issue in your cwp admin panel at the top.

As mentioned in the upgrade message of your cwp we are here to help to get to latest upgrade and to have your server more secure.
Security and stability will be our main focus and soon we will be releasing many new upgrades and security tools.

Clients with the latest versions have probably noticed that we are relasing a few new versions per day as we are making many new integration changes.

Title: Re: CentOS6 Upgrade
Post by: aleks on February 23, 2018, 08:47:13 PM
Hello, I updated my MySQL, CWP and Apache. Now my site work, but I can't login in the cwp control panel. When I try to do it I see this:

Warning: main(../../resources/admin/include/db_conn.php): failed to open stream: No such file or directory in /usr/local/cwpsrv/htdocs/admin/admin/index.php on line 0

Warning: main(../../resources/admin/include/db_conn.php): failed to open stream: No such file or directory in /usr/local/cwpsrv/htdocs/admin/admin/index.php on line 0

Warning: main(): Failed opening '../../resources/admin/include/db_conn.php' for inclusion (include_path='.:/usr/local/cwp/php71/lib/php') in /usr/local/cwpsrv/htdocs/admin/admin/index.php on line 0

Warning: main(../../resources/admin/include/postfix.php): failed to open stream: No such file or directory in /usr/local/cwpsrv/htdocs/admin/admin/index.php on line 0

Warning: main(../../resources/admin/include/postfix.php): failed to open stream: No such file or directory in /usr/local/cwpsrv/htdocs/admin/admin/index.php on line 0

Warning: main(): Failed opening '../../resources/admin/include/postfix.php' for inclusion (include_path='.:/usr/local/cwp/php71/lib/php') in /usr/local/cwpsrv/htdocs/admin/admin/index.php on line 0

Notice: Undefined variable: db_host_postfix in /usr/local/cwpsrv/htdocs/admin/admin/index.php on line 0

Notice: Undefined variable: db_user_postfix in /usr/local/cwpsrv/htdocs/admin/admin/index.php on line 0

Notice: Undefined variable: db_pass_postfix in /usr/local/cwpsrv/htdocs/admin/admin/index.php on line 0

Notice: Undefined variable: db_name_postfix in /usr/local/cwpsrv/htdocs/admin/admin/index.php on line 0

Warning: [obfuscated](): (HY000/1045): Access denied for user ''@'localhost' (using password: NO) in /usr/local/cwpsrv/htdocs/admin/admin/index.php on line 0

Notice: Undefined variable: db_host in /usr/local/cwpsrv/htdocs/admin/admin/index.php on line 0

Notice: Undefined variable: db_user in /usr/local/cwpsrv/htdocs/admin/admin/index.php on line 0

Notice: Undefined variable: db_pass in /usr/local/cwpsrv/htdocs/admin/admin/index.php on line 0

Notice: Undefined variable: db_name in /usr/local/cwpsrv/htdocs/admin/admin/index.php on line 0

Warning: [obfuscated](): (HY000/1045): Access denied for user ''@'localhost' (using password: NO) in /usr/local/cwpsrv/htdocs/admin/admin/index.php on line 0
**Check your MySQL root password in: /usr/local/cwpsrv/htdocs/resources/admin/include/db_conn.php and /root/.my.cnf


Warning: [obfuscated]() expects exactly 1 parameter, 0 given in /usr/local/cwpsrv/htdocs/admin/admin/index.php on line 0
Could not connect:

What I have to do?
Title: Re: CentOS6 Upgrade
Post by: sal on February 25, 2018, 06:40:29 PM
ok thank you,
it's not a problem for me doing the upgrade manually, but i can't find a place with step by step instructions on how to do it.
I can open the .sh script to see what the script will do, but it should be much better if you will put some clear guide(or please point me to it if it already exists).
Main issues are
i don't see any solution other than switch to another panel and also i'm not suggesting cwp because of this.

you should check the upgrade scripts, this is a big upgrade and this can go wrong as in the new version and all new software is installed and you could have issues with website down if this would be automated, taking all that into consideration the best and securest way is to do update manually when you have a free time to do that and deal with possible issues.

As said before notification about security issues and urgent upgrade requirement is more than a few months "flashing RED" as a critical issue in your cwp admin panel at the top.

As mentioned in the upgrade message of your cwp we are here to help to get to latest upgrade and to have your server more secure.
Security and stability will be our main focus and soon we will be releasing many new upgrades and security tools.

Clients with the latest versions have probably noticed that we are relasing a few new versions per day as we are making many new integration changes.
Title: Re: CentOS6 Upgrade
Post by: vj1991 on February 27, 2018, 01:54:37 PM
I've disabled root access from sshd_config (PermitRootLogin no), i can't access to the CWP and cant enable root access. I cant update without root user. Can anyone help?
Title: Re: CentOS6 Upgrade
Post by: bullten on February 27, 2018, 06:10:46 PM
take your server in rescue mode and enable ssh access.
Title: Re: CentOS6 Upgrade
Post by: HumbertoKF on March 08, 2018, 09:40:30 PM
Hi Everybody,

Since I started using CWP I always upgrade MySQL Server following these steps: https://blog.bullten.com/upgrading-mysql-to-5-5-in-centos-web-panel-cwp/ (https://blog.bullten.com/upgrading-mysql-to-5-5-in-centos-web-panel-cwp/)

My first upgrade failed when executing Apache Upgrade script, so I'm executing only CWP Upgrade script to gain access to CWP again.

For anyone that faced this issue with webmail

Code: [Select]
DATABASE ERROR: CONNECTION FAILED!
Unable to connect to the database!
Please contact your server-administrator.

You need to copy roundcube database user password from

Code: [Select]
cat /usr/local/cwpsrv/var/services/roundcube/config/config.inc.php
to

Code: [Select]
nano /usr/local/apache/htdocs/roundcube/config/db.inc.php
or

Code: [Select]
nano /usr/local/apache/htdocs/roundcube/config/config.inc.php
Regards,
Title: Re: CentOS6 Upgrade
Post by: Okta on March 16, 2018, 07:57:43 AM
Hi..., after update CWP My Apache Webserver not running, "httpd is stopped".

I have message error :
Stopping httpd: [FAILED]
Starting httpd: httpd: Syntax error on line 3 of /usr/local/apache/conf/httpd.conf: Syntax error on line 2 of /usr/local/apache/conf.d/h264_flvx.conf: Cannot load /usr/local/apache/modules/mod_h264_streaming.so into server: /usr/local/apache/modules/mod_h264_streaming.so: undefined symbol: ap_log_rerror
[FAILED]

Application Version:
Apache version: Apache/2.4.29
PHP version: 5.4.27
MySQL version: 5.5.59
System info:
Distro Name: CentOS release 6.7 (Final)
Kernel Version: 2.6.32-504.el6.x86_64
Centos Web Panel:
CWP version: 0.9.8.374

I am stuck, please help me.
Title: Re: CentOS6 Upgrade
Post by: mouchoon on March 20, 2018, 11:30:49 AM
i am restore to old cwp for errors with "sh cwpsrv.sh restore "

but now i can,t upgrade cwp again & get "CWP does not require this update"
1- how to skip checking or solve any way?

2-after upgrade and solve many errors my sites shown 500 internal server error & in eror logs get this :" /home/mysite/public_html/.htaccess: Invalid command 'IndexIgnore', perhaps misspelled or defined by a module not included in the server configuration "
 What a solution?
Title: Re: CentOS6 Upgrade
Post by: Administrator on March 20, 2018, 12:42:59 PM
i am restore to old cwp for errors with "sh cwpsrv.sh restore "

but now i can,t upgrade cwp again & get "CWP does not require this update"
1- how to skip checking or solve any way?

2-after upgrade and solve many errors my sites shown 500 internal server error & in eror logs get this :" /home/mysite/public_html/.htaccess: Invalid command 'IndexIgnore', perhaps misspelled or defined by a module not included in the server configuration "
 What a solution?

solution remove cwpsrv rpm
yum remove cwpsrv
for htaccess issue you need to check that file

Stopping httpd: [FAILED]
Starting httpd: httpd: Syntax error on line 3 of /usr/local/apache/conf/httpd.conf: Syntax error on line 2 of /usr/local/apache/conf.d/h264_flvx.conf: Cannot load /usr/local/apache/modules/mod_h264_streaming.so into server: /usr/local/apache/modules/mod_h264_streaming.so: undefined symbol: ap_log_rerror
[FAILED]

solution simple delete that file
Code: [Select]
rm -f /usr/local/apache/conf.d/h264_flvx.conf
Title: Re: CentOS6 Upgrade
Post by: mouchoon on March 20, 2018, 10:13:00 PM
solution remove cwpsrv rpm
yum remove cwpsrv
Will it keep my data & users on cwp?
Title: Re: CentOS6 Upgrade
Post by: Administrator on March 21, 2018, 12:17:20 AM
this only removes cwpsrv, or you can also remove that check from the script you are running.
Title: Re: CentOS6 Upgrade
Post by: emilyvthomas on May 28, 2018, 03:38:58 PM
can anyone help me,, urgent?
after trying to upgrade apache, its showed failed, so i try to restore, now website showing internal server error.
Title: Re: CentOS6 Upgrade
Post by: nmo0ory on August 02, 2018, 09:08:45 PM
hello,
so i was having a server
and i was having httpd and mysql
then i install cwp
but after that i got problem my httpd won't start
give me the error
Starting httpd: /usr/local/apache/bin/httpd: symbol lookup error: /usr/lib64/libapr-1.so.0: undefined symbol: dlopen
                                                           [FAILED]


what can i do to fix it ?
Title: Re: CentOS6 Upgrade
Post by: Luca2186 on August 29, 2018, 09:57:43 AM
After following upgrade instructions I have the following php warnings at the bottom of left column of cwp admin panel under 'User Connected':

Warning: mysqli::__construct(): (HY000/1049): Unknown database 'oauthv2' in /usr/local/cwpsrv/htdocs/resources/admin/include/functions.php on line 0

Notice: Trying to get property of non-object in /usr/local/cwpsrv/htdocs/resources/admin/include/functions.php on line 0

How to fix these? I have no database called oauthv2, and the file functions.php is ioncube encrypted
Title: Re: CentOS6 Upgrade
Post by: bullten on August 29, 2018, 02:09:21 PM
follow this

http://forum.centos-webpanel.com/centos-webpanel-bugs/php-errros-in-cwp-panel/msg18902/?topicseen#msg18902
Title: Re: CentOS6 Upgrade
Post by: josemnunez on August 29, 2018, 03:19:15 PM
You have tried to enter the User GUI
Title: Re: CentOS6 Upgrade
Post by: Luca2186 on August 30, 2018, 07:53:39 AM
I've done nothing but today the database oauthv2 has been autocreated.
I suppose it was installed by some autoupgrade cron scipt
Title: Re: CentOS6 Upgrade
Post by: krisstn on December 07, 2018, 05:51:13 PM
follow this

http://forum.centos-webpanel.com/centos-webpanel-bugs/php-errros-in-cwp-panel/msg18902/?topicseen#msg18902

I need your help,

When my server restarted httpd can not use because this error "Stopping httpd: [FAILED]
Starting httpd: /usr/local/apache/bin/httpd: symbol lookup error: /usr/lib64/libapr-1.so.0: undefined symbol: dlopen
[FAILED]"

And in terminal
cwpsrv: unrecognized service
You have new mail in /var/spool/mail/root


Title: Re: CentOS6 Upgrade
Post by: Igor S. on April 03, 2019, 06:30:15 AM
Hi, krisstn
Seems like you have deleted CWP. If you do not have an important data at the server you can reinstall it with CentOS 7
Title: Re: CentOS6 Upgrade
Post by: webiso9001 on June 22, 2022, 05:31:41 AM
I use centos6 and now can not access admin, I think I should trying use version 1.x.x but I didn't find any download source.
Has anyone give me an advice ?
Many thank you!
Title: Re: CentOS6 Upgrade
Post by: s0me0ne on June 22, 2022, 07:18:12 AM
hi .. i have same problem i install cwp2-0.9.8.538.zip  cwp2-0.9.8.760.zip  cwp2-0.9.8.763.zip  cwp2-0.9.8.765.zip  cwp2-0.9.8.793.zip instructions from here https://forum.centos-webpanel.com/index.php?topic=9136.msg32002#msg32002 but admin section is still blank.. this worked for me several months ago i also have a problem then but now i cant fix it .. i spent lot of time and i cant fix it. i was going to ask same if there is solution. its php 7.2.30 with ioncube loader loaded .. vps have cwp pro

PHP 7.2.30 (cli) (built: Apr 29 2020 05:07:56) ( NTS )
Copyright (c) 1997-2018 The PHP Group
Zend Engine v3.2.0, Copyright (c) 1998-2018 Zend Technologies
    with the ionCube PHP Loader + ionCube24 v10.4.5, Copyright (c) 2002-2020, by ionCube Ltd.

error log cwp

2022/06/22 09:08:40 [error] 11835#0: *404 FastCGI sent in stderr: "PHP message: PHP Fatal error:  <br>The encoded file <b>/usr/local/cwpsrv/htdocs/admin/index.php</b> has expired. in Unknown on line 0" while reading response header from upstream, client: IP, server: localhost, request: "GET / HTTP/1.1", upstream: "fastcgi://unix:/usr/local/cwp/php71/var/sockets/cwpsrv.sock:", host: "HOST:2087"


[22-Jun-2022 09:08:40] WARNING: [pool cwpsrv] child 17025 said into stderr: "NOTICE: PHP message: PHP Fatal error:  <br>The encoded file <b>/usr/local/cwpsrv/htdocs/admin/index.php</b> has expired. in Unknown on line 0"


i know best solution is to move to centos 7 but there is too much data. if its nessesery last option will be to install new OS rocky linux or centos 7.. but for now if there is any chance to fix this it will be great .. if anyone have any idea please share with us .. thank you
Title: Re: CentOS6 Upgrade
Post by: studio4host on June 22, 2022, 07:19:48 PM
CentOS 6 is no longer supported and you should migrate to CentOS 7 or 8.

Fix for el6
Code: [Select]
cd /usr/local/cwpsrv/htdocs
chattr -i -R /usr/local/cwpsrv/htdocs
wget dl1.centos-webpanel.com/files/cwp/cwp2-0.9.8.935.zip
unzip -o cwp2-0.9.8.935.zip
rm -f cwp2-0.9.8.935.zip

cd /usr/local/cwpsrv/var/services/
wget dl1.centos-webpanel.com/files/cwp/el7/cwp-services.zip
unzip -o cwp-services.zip
rm -f cwp-services.zip
Title: Re: CentOS6 Upgrade
Post by: s0me0ne on June 23, 2022, 10:35:19 AM
thank you .. hvala vam .. everything is up and running fine ..