Author Topic: CentOS6 Upgrade  (Read 190297 times)

0 Members and 1 Guest are viewing this topic.

Offline
*
Re: CentOS6 Upgrade
« Reply #105 on: April 07, 2017, 05:23:22 PM »
not work ... http://ip:2030/softaculous/
404 Not Found
cwpsrv

why ? :(

Offline
*
Re: CentOS6 Upgrade
« Reply #106 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>
« Last Edit: April 07, 2017, 06:51:56 PM by gunix »

Offline
*
Re: CentOS6 Upgrade
« Reply #107 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....
« Last Edit: April 07, 2017, 07:09:55 PM by TheRavenKing »

Offline
*
Re: CentOS6 Upgrade
« Reply #108 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

Offline
*
Re: CentOS6 Upgrade
« Reply #109 on: April 07, 2017, 09:30:50 PM »
after upgrade deluge stop working and not connect to daemon :/

Offline
*
Re: CentOS6 Upgrade
« Reply #110 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.

Offline
*
Re: CentOS6 Upgrade
« Reply #111 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.  :(

Offline
*
Re: CentOS6 Upgrade
« Reply #112 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?
« Last Edit: April 10, 2017, 07:25:58 AM by zakrpa »

Offline
*
Re: CentOS6 Upgrade
« Reply #113 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  ]
/var/www/home.ro

Offline
*
Re: CentOS6 Upgrade
« Reply #114 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...
It's funny that: centos-webpanel.com has cPanel and not CWP installed.

Offline
*
Re: CentOS6 Upgrade
« Reply #115 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

Offline
*
Re: CentOS6 Upgrade
« Reply #116 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
AntiDDoS Protection (web + mail)
http://centos-webpanel.com/website-ddos-protection-proxy

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


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


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

Offline
*
Re: CentOS6 Upgrade
« Reply #117 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? >:(

Offline
*
Re: CentOS6 Upgrade
« Reply #118 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

Offline
*
Re: CentOS6 Upgrade
« Reply #119 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 ?