Unable to install CWP on Cent OS 7

Started by gajula_vijay, September 09, 2017, 10:22:35 AM

Previous topic - Next topic

gajula_vijay

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

24x7servermanagement

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
https://www.24x7servermanagement.com/
Server Management, Server Security, Server Monitoring.
India's Leading Managed Service Provider !!

gajula_vijay

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.

studio4host

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
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
dig a centos-webpanel.com @8.8.8.8 +short
37.187.72.216

For dig command its required to have installed bind-utils
yum -y install bind-utils

VPS & Dedicated server provider with included FREE Managed support for CWP.
http://www.studio4host.com/

*** Don't allow that your server or website is down, choose hosting provider with included expert managed support for your CWP.

gajula_vijay

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
#


gajula_vijay

Able to install it after changing the DNS address to local DNS in Script.

Thanks

24x7servermanagement

Glad to hear your issue has been resolved. :)
https://www.24x7servermanagement.com/
Server Management, Server Security, Server Monitoring.
India's Leading Managed Service Provider !!