Control Web Panel

WebPanel => CentOS-WebPanel Bugs => Topic started by: necmo on November 03, 2020, 04:56:26 PM

Title: Cant restart centos after i bought pro and ran sh /scripts/update_cwp
Post by: necmo on November 03, 2020, 04:56:26 PM
i Can't restart centos after i bought pro and ran sh /scripts/update_cwp Centos panel have a lot of isue.

[root@server ~]# sh /scripts/update_cwp


====================================================
============= CentOS Web Panel Cron ================
====================================================


###########################
Firewall Flush Daily Blocks
###########################


######################
Update Server Packages
######################
cwpsrv: [emerg] annot load certificate "/etc/pki/tls/certs/hostname.crt": BIO_new_file() failed (SSL: error:02001002:system library:fopen:No such file or directory:fopen('/etc/pki/tls/certs/hostname.crt','r') error:2006D080:BIO routines:BIO_new_file:no such file)
AH00526: Syntax error on line 13 of /usr/local/apache/conf/sharedip.conf:
Invalid command 'RewriteEngine', perhaps misspelled or defined by a module not included in the server configuration
Title: Re: Cant restart centos after i bought pro and ran sh /scripts/update_cwp
Post by: cinique on November 03, 2020, 05:06:35 PM
Centos panel have a lot of isue.
So you didn't try it out extensively or read the forum, before paying for Pro?  :-\
You give so little meaningful information yet expected answers?
Server at home in your bedroom/basement? NAT environment? CentOS version? DNS properly resolving? The list goes on..
Title: Re: Cant restart centos after i bought pro and ran sh /scripts/update_cwp
Post by: necmo on November 03, 2020, 06:20:39 PM
Ok. Solved by create new certificate running;

Code: [Select]
openssl req -x509 -nodes -days 365 -newkey rsa:2048 -keyout /etc/pki/tls/private/hostname.key -out /etc/pki/tls/certs/hostname.crtthanx for reply
Title: Re: Cant restart centos after i bought pro and ran sh /scripts/update_cwp
Post by: cinique on November 03, 2020, 11:39:42 PM
Well done on getting it working. Few folks that venture here use the command line to sort themselves out. ;)