CentOS6 Upgrade

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

Previous topic - Next topic

lrdmafia

not work ... http://ip:2030/softaculous/
404 Not Found
cwpsrv

why ? :(

gunix

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

:)

Thank you, inserting this code to /usr/local/apache/conf.d/ssl.conf solved my apache problems.

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

TheRavenKing

#107
@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....

lrdmafia

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

javid

after upgrade deluge stop working and not connect to daemon :/

mmsingh62

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.

ZeoN

Hello.

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

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

zakrpa

#112
/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?

LiXuS

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

botonakis

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.

vegonri

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

Administrator

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

Please read instructions!

If something goes wrong with you apache try also this command
yum reinstall cwp-httpd cwp-suphp

johnhelmer

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? >:(

darkmesaia

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

vegonri

Quote from: Administrator on April 11, 2017, 10:26:20 PM
Quote from: 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

Please read instructions!

If something goes wrong with you apache try also this command
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 ?