CentOS6 Upgrade

Started by Administrator, March 14, 2017, 08:24:48 PM

Previous topic - Next topic

Igor S.

Quote from: 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!

In new CWP link was changed. Try open webmail and PhpMyAdmin from CWP please.



You can ask me to solve any problem with your server for some money in pm  ;)






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


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

Installation Instructions
http://centos-webpanel.com/installation-instructions

Get Fast Support Here
http://centos-webpanel.com/support-services

Igor S.

Quote from: 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:

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



You can ask me to solve any problem with your server for some money in pm  ;)






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


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

Installation Instructions
http://centos-webpanel.com/installation-instructions

Get Fast Support Here
http://centos-webpanel.com/support-services

Igor S.

Quote from: vegonri on April 12, 2017, 10:33:38 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 /usr/local/apache/bin/httpd -v



You can ask me to solve any problem with your server for some money in pm  ;)






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


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

Installation Instructions
http://centos-webpanel.com/installation-instructions

Get Fast Support Here
http://centos-webpanel.com/support-services

ramazan42

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.

Administrator

try rebooting server and check if cwpsrv works

deco

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.

shally87

Hi,

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

[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;
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

tristar78

#127
Hi, roundcube database connection error. get the fix myself.

find and change old password within this file.
/usr/local/cwpsrv/var/services/roundcube/config.inc.php

it seems roundcube path changed.
old one was here i think, /usr/local/apache/htdocs/roundcube/config/config.inc.php


best wishes..


je2u

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.

Administrator

Quote from: 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.

apache 2.4 is now default and we have it working for a very long time now.

syeds786

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


Matias

#131
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.

Yun

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

dice

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

dice

Quote from: 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

Cant edit my post. But now all is back to normal using less than 1GBs