Control Web Panel

WebPanel => Installation => Topic started by: gajula_vijay on September 09, 2017, 10:22:35 AM

Title: Unable to install CWP on Cent OS 7
Post by: gajula_vijay on September 09, 2017, 10:22:35 AM
I am unable to install CWP on Cent OS7, Getting below error. I tried in Cent OS 6.9 as well, Getting the same error, Please see below error..

Cannot find a valid baseurl for repo: base/7/x86_64
touch: cannot touch ‘/etc/pure-ftpd/pure-ftpd.passwd’: No such file or directory
cwp-el7-latest: line 579: pure-pw: command not found
Installation FAILED at pure-ftpd
Can any one help me in this?

Thanks
Title: Re: Unable to install CWP on Cent OS 7
Post by: 24x7servermanagement on September 09, 2017, 09:29:25 PM
It seems to be DNS issue on your VPS.

Try yum update command if same error then try below fix.

/etc/resolv.conf

and insert

nameserver 8.8.8.8
nameserver 8.8.4.4
Title: Re: Unable to install CWP on Cent OS 7
Post by: gajula_vijay on September 11, 2017, 04:38:41 AM
Thanks For Quick response, I did as you said but no use, I am getting the same error while installing CWP, Where as i am not getting at yum -y update.

Please advise if any.
Title: Re: Unable to install CWP on Cent OS 7
Post by: studio4host on September 11, 2017, 12:06:47 PM
If you have dns resolvers added in the /etc/resolv.con then you need to test them to be working before running any installer script

You can use ping for simple dns testing
Code: [Select]
ping google.com
Maybe your server has some kind of firewall and you don't have access to the google dns servers 8.8.8.8 and 8.8.4.4 so you need to ask your provider to unblock it, dns servers are using port 53 TCP/UDP.

Here is the simple google dns test, you should get the ip listed bellow
Code: [Select]
dig a centos-webpanel.com @8.8.8.8 +short
37.187.72.216
For dig command its required to have installed bind-utils
Code: [Select]
yum -y install bind-utils
Title: Re: Unable to install CWP on Cent OS 7
Post by: gajula_vijay on September 12, 2017, 08:45:47 AM
Thanks for the reply, we are using internal DNS Server.. Please see below for your reference.

# dig a centos-webpanel.com @8.8.8.8 +short

; <<>> DiG 9.9.4-RedHat-9.9.4-50.el7_3.1 <<>> a centos-webpanel.com @8.8.8.8 +short
;; global options: +cmd
;; connection timed out; no servers could be reached
# dig a centos-webpanel.com @100.50.25.8 +short
37.187.72.216
#

Title: Re: Unable to install CWP on Cent OS 7
Post by: gajula_vijay on September 12, 2017, 12:36:50 PM
Able to install it after changing the DNS address to local DNS in Script.

Thanks
Title: Re: Unable to install CWP on Cent OS 7
Post by: 24x7servermanagement on September 13, 2017, 09:01:54 AM
Glad to hear your issue has been resolved. :)