Author Topic: Couldn't resolve host 'centos-webpanel.com'  (Read 16029 times)

0 Members and 1 Guest are viewing this topic.

Offline
*
Couldn't resolve host 'centos-webpanel.com'
« on: May 04, 2015, 09:00:00 AM »
Hello,

I'm trying to install CWP on CentOS 6.6 minimal (did a fresh install of CentOS).
During installation of CWP it gives me "Couldn't resolve host 'centos-webpanel.com'" at some point. Below is part of the output I cought.

Installer doen't it's thing OK before the following (this is he output of CWP instalation on top of failed installation, but a fresh one gives the same main error):
...
#########################################################
          CentOS Web Panel MailServer Installer
#########################################################

visit for help: www.centos-webpanel.com

Password OK!!

curl: (6) Couldn't resolve host 'centos-webpanel.com'
Loaded plugins: fastestmirror, security
Setting up Remove Process
No Match for argument: sendmail
Determining fastest mirrors
Could not retrieve mirrorlist http://mirrorlist.centos.org/?release=6&arch=x86_64&repo=os&infra=stock error was
14: PYCURL ERROR 6 - "Couldn't resolve host 'mirrorlist.centos.org'"
Error: Cannot find a valid baseurl for repo: base
Loaded plugins: fastestmirror, security
Setting up Install Process
Loading mirror speeds from cached hostfile
Could not retrieve mirrorlist http://mirrorlist.centos.org/?release=6&arch=x86_64&repo=os&infra=stock error was
14: PYCURL ERROR 6 - "Couldn't resolve host 'mirrorlist.centos.org'"
Error: Cannot find a valid baseurl for repo: base
Loaded plugins: fastestmirror, security
Setting up Install Process
Loading mirror speeds from cached hostfile
Could not retrieve mirrorlist http://mirrorlist.centos.org/?release=6&arch=x86_64&repo=os&infra=stock error was
14: PYCURL ERROR 6 - "Couldn't resolve host 'mirrorlist.centos.org'"
Error: Cannot find a valid baseurl for repo: base
Loaded plugins: fastestmirror, security
Setting up Install Process
Loading mirror speeds from cached hostfile
Could not retrieve mirrorlist http://mirrorlist.centos.org/?release=6&arch=x86_64&repo=os&infra=stock error was
14: PYCURL ERROR 6 - "Couldn't resolve host 'mirrorlist.centos.org'"
Error: Cannot find a valid baseurl for repo: base
Loaded plugins: fastestmirror, security
Setting up Install Process
Loading mirror speeds from cached hostfile
Could not retrieve mirrorlist http://mirrorlist.centos.org/?release=6&arch=x86_64&repo=os&infra=stock error was
14: PYCURL ERROR 6 - "Couldn't resolve host 'mirrorlist.centos.org'"
Error: Cannot find a valid baseurl for repo: base
Loaded plugins: fastestmirror, security


Error getting repository data for rpmforge-webpanel, repository not found

unzip:  cannot find or open /mail_server.zip, /mail_server.zip.zip or /mail_server.zip.ZIP.
mkdir: cannot create directory `/var/vmail': File exists
useradd: user 'vmail' already exists
useradd: user 'vacation' already exists
mkdir: cannot create directory `/var/spool/vacation': File exists
ln: creating symbolic link `/var/spool/vacation/vacation.php': File exists
chmod: cannot access `/etc/postfix/vacation.php': No such file or directory
cwp-latest: line 569: freshclam: command not found
clamd: unrecognized service
Generating RSA private key, 2048 bit long modulus
..........................................................................+++
..........................................+++
e is 65537 (0x10001)
writing RSA key
Signature ok
subject=/C=HR/ST=Zagreb/O=CentOS Web Panel/L=HR/CN=srv1.verny.kz/OU=CentOS Web Panel/emailAddress=info@studio4host.com
Getting Private key
sed: can't read /etc/postfix/mysql-relay_domains_maps.cf: No such file or directory
sed: can't read /etc/postfix/mysql-virtual_alias_maps.cf: No such file or directory
sed: can't read /etc/postfix/mysql-virtual_domains_maps.cf: No such file or directory
sed: can't read /etc/postfix/mysql-virtual_mailbox_limit_maps.cf: No such file or directory
sed: can't read /etc/postfix/mysql-virtual_mailbox_maps.cf: No such file or directory
mv: cannot stat `main.php?dl=postfix.txt': No such file or directory
sed: can't read /usr/local/cwpsrv/htdocs/resources/admin/include/postfix.php: No such file or directory
chmod: cannot access `/usr/local/cwpsrv/htdocs/resources/admin/include/postfix.php': No such file or directory
sed: can't read /etc/postfix/vacation.conf: No such file or directory
sed: can't read /etc/postfix/vacation.conf: No such file or directory
sed: can't read /etc/dovecot/dovecot-dict-quota.conf: No such file or directory
sed: can't read /etc/dovecot/dovecot-mysql.conf: No such file or directory
--2015-05-04 04:54:52--  http://dl1.centos-webpanel.com/files/mail/roundcubemail-0.8.5.tar.gz
Resolving dl1.centos-webpanel.com... failed: Temporary failure in name resolution.
wget: unable to resolve host address “dl1.centos-webpanel.com”
tar (child): /usr/local/apache/htdocs/roundcubemail-*.tar.gz: Cannot open: No such file or directory
tar (child): Error is not recoverable: exiting now
tar: Child returned status 2
tar: Error is not recoverable: exiting now
mv: cannot stat `/usr/local/apache/htdocs/roundcubemail-*': No such file or directory
chown: cannot access `/usr/local/apache/htdocs/roundcube': No such file or directory
chmod: cannot access `/usr/local/apache/htdocs/roundcube/temp/': No such file or directory
chmod: cannot access `/usr/local/apache/htdocs/roundcube/logs/': No such file or directory
ERROR 1396 (HY000) at line 2: Operation CREATE USER failed for 'roundcube'@'localhost'
cwp-latest: line 694: /usr/local/apache/htdocs/roundcube/SQL/mysql.initial.sql: No such file or directory
cp: cannot stat `/usr/local/apache/htdocs/roundcube/config/main.inc.php.dist': No such file or directory
sed: can't read /usr/local/apache/htdocs/roundcube/config/main.inc.php: No such file or directory
sed: can't read /usr/local/apache/htdocs/roundcube/config/main.inc.php: No such file or directory
sed: can't read /usr/local/apache/htdocs/roundcube/config/main.inc.php: No such file or directory
sed: can't read /usr/local/apache/htdocs/roundcube/config/main.inc.php: No such file or directory
sed: can't read /usr/local/apache/htdocs/roundcube/config/main.inc.php: No such file or directory
sed: can't read /usr/local/apache/htdocs/roundcube/config/main.inc.php: No such file or directory
sed: can't read /usr/local/apache/htdocs/roundcube/config/main.inc.php: No such file or directory
sed: can't read /usr/local/apache/htdocs/roundcube/config/main.inc.php: No such file or directory
sed: can't read /usr/local/apache/htdocs/roundcube/config/main.inc.php: No such file or directory
sed: can't read /usr/local/apache/htdocs/roundcube/config/main.inc.php: No such file or directory
sed: can't read /usr/local/apache/htdocs/roundcube/config/main.inc.php: No such file or directory
sed: can't read /usr/local/apache/htdocs/roundcube/config/main.inc.php: No such file or directory
cp: cannot stat `/usr/local/apache/htdocs/roundcube/config/db.inc.php.dist': No such file or directory
sed: can't read /usr/local/apache/htdocs/roundcube/config/db.inc.php: No such file or directory
chown: cannot access `/usr/local/apache/htdocs/roundcube': No such file or directory
Loaded plugins: fastestmirror, security
Setting up Remove Process
No Match for argument: httpd
Loading mirror speeds from cached hostfile
Could not retrieve mirrorlist http://mirrorlist.centos.org/?release=6&arch=x86_64&repo=os&infra=stock error was
14: PYCURL ERROR 6 - "Couldn't resolve host 'mirrorlist.centos.org'"
Error: Cannot find a valid baseurl for repo: base
chmod: cannot access `/etc/init.d/httpd': No such file or directory
...

Below is my "yum repolist":

Loaded plugins: fastestmirror, security
Loading mirror speeds from cached hostfile
epel/metalink                                                                                              | 4.1 kB     00:00
 * base: mirror.neolabs.kz
 * epel: epel.mirror.srv.co.ge
 * extras: mirror.neolabs.kz
 * rpmforge: ftp.colocall.net
 * updates: mirror.neolabs.kz
base                                                                                                       | 3.7 kB     00:00
base/primary_db                                                                                            | 4.6 MB     00:05
epel                                                                                                       | 4.4 kB     00:00
epel/primary_db                                                                                            | 6.5 MB     00:22
extras                                                                                                     | 3.4 kB     00:00
extras/primary_db                                                                                          |  30 kB     00:00
rpmforge                                                                                                   | 1.9 kB     00:00
rpmforge/primary_db                                                                                        | 2.7 MB     00:03
updates                                                                                                    | 3.4 kB     00:00
updates/primary_db                                                                                         | 3.2 MB     00:04
repo id                                    repo name                                                                        status
base                                       CentOS-6 - Base                                                                   6,518
epel                                       Extra Packages for Enterprise Linux 6 - x86_64                                   11,386
extras                                     CentOS-6 - Extras                                                                    37
rpmforge                                   RHEL 6 - RPMforge.net - dag                                                       4,718
updates                                    CentOS-6 - Updates                                                                1,044
repolist: 23,703


here is my /etc/resolv.conf

nameserver 8.8.8.8
nameserver 8.8.4.4

Re: Couldn't resolve host 'centos-webpanel.com'
« Reply #1 on: May 04, 2015, 10:02:49 AM »
Check your network configuration......

Offline
*
Re: Couldn't resolve host 'centos-webpanel.com'
« Reply #2 on: May 04, 2015, 11:27:23 AM »
Check your network configuration......

[root@srv1 ~]# wget centos-webpanel.com
--2015-05-04 06:53:13--  http://centos-webpanel.com/
Resolving centos-webpanel.com... 37.187.72.216
Connecting to centos-webpanel.com|37.187.72.216|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 25285 (25K) [text/html]
Saving to: “index.html”

100%[========================================================================================>] 25,285      --.-K/s   in 0.1s

2015-05-04 06:53:14 (170 KB/s) - “index.html” saved [25285/25285]

Nothing is blocking I guess, how can I check?
Also, I'm installing in test environment, using internal IP address (not external)

Re: Couldn't resolve host 'centos-webpanel.com'
« Reply #3 on: May 04, 2015, 12:01:55 PM »
I didnt say your resolver is missing. You need to take closer look to your network configuration.

Offline
*
Re: Couldn't resolve host 'centos-webpanel.com'
« Reply #4 on: May 05, 2015, 02:36:09 PM »
I didnt say your resolver is missing. You need to take closer look to your network configuration.
Yep....it was a network firewall....