FATAL Installation failed: 0

I am replacing one server for new hardware. (CentOS6.2 minimal) I am getting the following error no matter what i try now.. Please advise ASAP (Im at the data center) Thanks..

Transaction Summary

Install 30 Package(s)

Total download size: 74 M Installed size: 122 M Downloading Packages: Setting up and reading Presto delta metadata Processing delta metadata

Package(s) data still to download: 74 M

Total 4.8 MB/s | 74 MB 00:15 Retrieving key from file:///etc/pki/rpm-gpg/RPM-GPG-KEY-virtualmin FATAL - 2012-01-20 07:31:10 - Fatal Error Occurred: Installation failed: 0 FATAL - 2012-01-20 07:31:10 - Cannot continue installation. FATAL - 2012-01-20 07:31:10 - Attempting to remove virtualmin repository configuration, so the installation can be FATAL - 2012-01-20 07:31:10 - re-attempted after any problems have been resolved. FATAL - 2012-01-20 07:31:11 - Removing temporary directory and files. FATAL - 2012-01-20 07:31:11 - If you are unsure of what went wrong, you may wish to review the log FATAL - 2012-01-20 07:31:11 - in /root/virtualmin-install.log

Status: 
Active

Comments

I also ran yum manually per Eric's post in forum for similar issue, no help though..

Thanks

[root@host01 ~]# /usr/bin/yum install bind bind-utils caching-nameserver httpd postfix bind spamassassin procmail perl-DBD-Pg perl-DBD-MySQL quota iptables openssl python mailman subversion mysql mysql-server mysql-devel postgresql postgresql-server rh-postgresql rh-postgresql-server logrotate webalizer php php-domxl php-gd php-imap php-mysql php-odbc php-pear php-pgsql php-snmp php-xmlrpc php-mbstring mod_perl mod_python cyrus-sasl dovecot spamassassin mod_dav_svn cyrus-sasl-gssapi mod_ssl ruby ruby-devel rubygems perl-XML-Simple perl-Crypt-SSLeay
Loaded plugins: fastestmirror, presto
Loading mirror speeds from cached hostfile
* base: mirror.lug.udel.edu
* extras: centos.mirror.netriplex.com
* updates: mirror.symnds.com
Setting up Install Process
Package 32:bind-9.7.3-8.P3.el6_2.2.x86_64 already installed and latest version
Package 32:bind-utils-9.7.3-8.P3.el6_2.2.x86_64 already installed and latest version
Package 32:bind-9.7.3-8.P3.el6_2.2.x86_64 already installed and latest version
Package matching httpd-2.2.15-15.el6.centos.x86_64 already installed. Checking for update.
Package 2:postfix-2.6.6-2.2.el6_1.x86_64 already installed and latest version
Package 32:bind-9.7.3-8.P3.el6_2.2.x86_64 already installed and latest version
Package spamassassin-3.3.1-2.el6.x86_64 already installed and latest version
Package procmail-3.22-25.1.el6.x86_64 already installed and latest version
Package perl-DBD-Pg-2.15.1-3.el6.x86_64 already installed and latest version
Package perl-DBD-MySQL-4.013-3.el6.x86_64 already installed and latest version
Package 1:quota-3.17-16.el6.x86_64 already installed and latest version
Package iptables-1.4.7-4.el6.x86_64 already installed and latest version
Package openssl-1.0.0-20.el6.x86_64 already installed and latest version
Package python-2.6.6-29.el6.x86_64 already installed and latest version
Package 3:mailman-2.1.12-17.el6.x86_64 already installed and latest version
Package subversion-1.6.11-2.el6_1.4.x86_64 already installed and latest version
Package mysql-5.1.52-1.el6_0.1.x86_64 already installed and latest version
Package mysql-server-5.1.52-1.el6_0.1.x86_64 already installed and latest version
Package mysql-devel-5.1.52-1.el6_0.1.x86_64 already installed and latest version
Package postgresql-8.4.9-1.el6_1.1.x86_64 already installed and latest version
Package postgresql-server-8.4.9-1.el6_1.1.x86_64 already installed and latest version
No package rh-postgresql available.
No package rh-postgresql-server available.
Package logrotate-3.7.8-12.el6_0.1.x86_64 already installed and latest version
Package webalizer-2.21_02-3.3.el6.x86_64 already installed and latest version
Package php-5.3.3-3.el6_2.5.x86_64 already installed and latest version
No package php-domxl available.
Package php-gd-5.3.3-3.el6_2.5.x86_64 already installed and latest version
Package php-imap-5.3.3-3.el6_2.5.x86_64 already installed and latest version
Package php-mysql-5.3.3-3.el6_2.5.x86_64 already installed and latest version
Package php-odbc-5.3.3-3.el6_2.5.x86_64 already installed and latest version
Package 1:php-pear-1.9.4-4.el6.noarch already installed and latest version
Package php-pgsql-5.3.3-3.el6_2.5.x86_64 already installed and latest version
Package php-snmp-5.3.3-3.el6_2.5.x86_64 already installed and latest version
Package php-xmlrpc-5.3.3-3.el6_2.5.x86_64 already installed and latest version
Package php-mbstring-5.3.3-3.el6_2.5.x86_64 already installed and latest version
Package mod_perl-2.0.4-10.el6.x86_64 already installed and latest version
No package mod_python available.
Package cyrus-sasl-2.1.23-13.el6.x86_64 already installed and latest version
Package 1:dovecot-2.0.9-2.el6_1.1.x86_64 already installed and latest version
Package spamassassin-3.3.1-2.el6.x86_64 already installed and latest version
Package mod_dav_svn-1.6.11-2.el6_1.4.x86_64 already installed and latest version
Package cyrus-sasl-gssapi-2.1.23-13.el6.x86_64 already installed and latest version
Package matching 1:mod_ssl-2.2.15-15.el6.centos.x86_64 already installed. Checking for update.
Package ruby-1.8.7.352-3.el6.x86_64 already installed and latest version
Package ruby-devel-1.8.7.352-3.el6.x86_64 already installed and latest version
Package rubygems-1.3.7-1.el6.noarch already installed and latest version
Package perl-XML-Simple-2.18-6.el6.noarch already installed and latest version
Package perl-Crypt-SSLeay-0.57-16.el6.x86_64 already installed and latest version
Nothing to do

There's a log mentioned in the output you shared, "/root/virtualmin-install.log", can you attach that to this request? That may contain more information regarding what's going on.

Also, if you run the command "yum update", do you get any errors, or does it complete successfully?

Yes, yum update updated everything successfully...

Wait - i just tried again and it worked and completed successfully.

I see the problem - i was originally trying to install pro and it looks like the license was rejected (until i completed downgrading the old server to gpl )

It seems to be ok now..

We are good - Sorry, my bad!

The status of your system is being checked to ensure that all enabled features are available, that the mail server is properly configured, and that quotas are active .. Your system has 23.46 GB of memory, which is at or above the Virtualmin recommended minimum of 256 MB. BIND DNS server is installed, and the system is configured to use it.

Mail server Postfix is installed and configured.

Apache is installed.

Webalizer is installed.

Apache is configured to host SSL websites.

MySQL is installed and running.

ProFTPd is installed.

Logrotate is installed.

SpamAssassin and Procmail are installed and configured for use.

ClamAV is installed and running.

Plugin DAV Login is installed OK.

Plugin AWstats reporting is installed OK.

Plugin Mailman is installed OK.

Plugin Protected web directories is installed OK.

Using network interface eth0 for virtual IPs.

IPv6 addresses are available, using interface eth0.

Default IP address for virtual servers is 98.142.218.15.

Default IP address is set to 98.142.218.15, which matches the detected external address.

Both user and group quotas are enabled for home and email directories.

All commands needed to create and restore backups are installed.

The selected package management and update systems are installed OK.

.. your system is ready for use by Virtualmin. Updating all Webmin users with new settings.. .. done

Updating status collection job .. .. done

Re-loading Webmin .. .. done

Although - now i am getting

.. a problem was detected : Your serial number is licensed for only 1 servers, but is being used on 3.

The one server was downgraded to gpl. the new one is replacing it completely. Is this an update needed on your end?

Thx.

Well, it should allow you to install your Virtualmin license on two systems -- as that's somethings it would allow in the case of a backup or hot spare.

Perhaps another problem occurred, such as a temporary network issue, or maybe one of the repositories was having a problem.

In regards to the warning you're seeing now -- that'll go away after a few days. Once the Virtualmin license manager no longer sees Virtualmin installed on a given IP address, it'll clear out after a few days.

OK great - thanks a lot.

Quick question - I restoring the domains from backups now. after it is complete i want to change the main server IP to what it was prior. is there a way to do this in vmin or do i just need to do it via command line in centos? Thx.

You would need to do two things; you'd first need to change the server's IP. You'd then need to change the IP that your various Virtual Servers are using.

To change your server's IP, you can go into Webmin -> Networking -> Network Interfaces, and change the IP(s) you see in there.

To change the IP's your various Virtual Servers are using, you can go into Virtualmin -> Addresses and Networking -> Change IP Addresses.

ahh, sweet. thats great.. i looked everywhere BUT there apparently.. :)

The most confusing part about vmin / webmin is just that. its like it is two separate systems.. i'm used to cpanel so it is hard to remember where things are at.. getting there though..

Thanks again..!

Scott

Hey again,

I am not sure what is going on... but i have a problem with this new box. The new server is crawling when delivering webpages. (only one website with wordpress on it now) I dont see any apache errors or ddos attacks or anything like that... BUT - What I do see is the # of processes running is 431!

I have another server also running pro and one with gpl - they both have the same CentOS 6.2 and the latest 3.89 vmin setup.. those servers are only running 148 processes on one and 150 processes on the other... These both run great..

Also, for reference this server has two quad-core procs and 24GB of RAM with 10000rpm HDDs..

I restored this domain from a backup from the old box.. if this matters.? Here are some logs if they help...

Any ideas? Thanks.. (and i thought i was done! argh..)

[Fri Jan 20 14:22:55 2012] [warn] [client 98.142.218.20] mod_fcgid: read data timeout in 31 seconds
[Fri Jan 20 14:22:55 2012] [warn] [client 24.98.50.18] mod_fcgid: read data timeout in 31 seconds
[Fri Jan 20 14:22:55 2012] [error] [client 98.142.218.20] Premature end of script headers: wp-cron.php
[Fri Jan 20 14:22:55 2012] [error] [client 24.98.50.18] Premature end of script headers: index.php
[Fri Jan 20 14:37:17 2012] [warn] RSA server certificate is a CA certificate (BasicConstraints: CA == TRUE !?)
[Fri Jan 20 14:37:17 2012] [warn] RSA server certificate wildcard CommonName (CN) `*.ripelocaldeals.com' does NOT match server name!?
[Fri Jan 20 14:37:23 2012] [warn] RSA server certificate is a CA certificate (BasicConstraints: CA == TRUE !?)
[Fri Jan 20 14:37:23 2012] [warn] RSA server certificate wildcard CommonName (CN) `*.ripelocaldeals.com' does NOT match server name!?
[Fri Jan 20 14:37:31 2012] [warn] RSA server certificate is a CA certificate (BasicConstraints: CA == TRUE !?)
[Fri Jan 20 14:37:31 2012] [warn] RSA server certificate wildcard CommonName (CN) `*.ripelocaldeals.com' does NOT match server name!?
[Fri Jan 20 14:37:33 2012] [warn] RSA server certificate is a CA certificate (BasicConstraints: CA == TRUE !?)
[Fri Jan 20 14:37:33 2012] [warn] RSA server certificate wildcard CommonName (CN) `*.ripelocaldeals.com' does NOT match server name!?
[Fri Jan 20 14:23:52 2012] [warn] mod_fcgid: process 4517 graceful kill fail, sending SIGKILL
No log handling enabled - turning on stderr logging
Created directory: /var/lib/net-snmp/mib_indexes
No log handling enabled - turning on stderr logging
Created directory: /var/lib/net-snmp/mib_indexes
No log handling enabled - turning on stderr logging
Created directory: /var/lib/net-snmp/mib_indexes
No log handling enabled - turning on stderr logging
Created directory: /var/lib/net-snmp/mib_indexes
No log handling enabled - turning on stderr logging
Created directory: /var/lib/net-snmp/mib_indexes
No log handling enabled - turning on stderr logging
Created directory: /var/lib/net-snmp/mib_indexes
No log handling enabled - turning on stderr logging
Created directory: /var/lib/net-snmp/mib_indexes
No log handling enabled - turning on stderr logging
Created directory: /var/lib/net-snmp/mib_indexes
No log handling enabled - turning on stderr logging
Created directory: /var/lib/net-snmp/mib_indexes
No log handling enabled - turning on stderr logging
Created directory: /var/lib/net-snmp/mib_indexes
No log handling enabled - turning on stderr logging
Created directory: /var/lib/net-snmp/mib_indexes
[Fri Jan 20 14:37:11 2012] [notice] caught SIGTERM, shutting down
No log handling enabled - turning on stderr logging
Created directory: /var/lib/net-snmp/mib_indexes
No log handling enabled - turning on stderr logging
Created directory: /var/lib/net-snmp/mib_indexes
[Fri Jan 20 14:37:17 2012] [notice] SELinux policy enabled; httpd running as context unconfined_u:system_r:httpd_t:s0
[Fri Jan 20 14:37:17 2012] [notice] suEXEC mechanism enabled (wrapper: /usr/sbin/suexec)
[Fri Jan 20 14:37:23 2012] [notice] Digest: generating secret for digest authentication ...
[Fri Jan 20 14:37:23 2012] [notice] Digest: done
[Fri Jan 20 14:37:23 2012] [notice] Apache/2.2.15 (Unix) DAV/2 mod_fcgid/2.3.6 PHP/5.3.3 mod_ssl/2.2.15 OpenSSL/1.0.0-fips SVN/1.6.11 mod_perl/2.0.4 Perl/v5.10.1 configured -- resuming normal operations
[Fri Jan 20 14:37:26 2012] [notice] caught SIGTERM, shutting down
[Fri Jan 20 14:37:31 2012] [notice] SELinux policy enabled; httpd running as context unconfined_u:system_r:httpd_t:s0
[Fri Jan 20 14:37:31 2012] [notice] suEXEC mechanism enabled (wrapper: /usr/sbin/suexec)
[Fri Jan 20 14:37:33 2012] [notice] Digest: generating secret for digest authentication ...
[Fri Jan 20 14:37:33 2012] [notice] Digest: done
[Fri Jan 20 14:37:33 2012] [notice] Apache/2.2.15 (Unix) DAV/2 mod_fcgid/2.3.6 PHP/5.3.3 mod_ssl/2.2.15 OpenSSL/1.0.0-fips SVN/1.6.11 mod_perl/2.0.4 Perl/v5.10.1 configured -- resuming normal operations

Well, it's difficult to determine the problem from your log files, but you could run these commands, and post the output here:

  1. uptime

  2. free -m

  3. mailq | tail -1

  4. ps auxw (and then, for this one, rather than pasting the output, you could attach it as a file to this request)

Sure, no problem at all. This is my critical box too so I appreciate it very much. I owe you a few beers.. :) at least!

[root@host01 /]# uptime
15:37:47 up  8:57,  1 user,  load average: 0.03, 0.01, 0.00
[root@host01 /]#


[root@host01 /]# free -m
             total       used       free     shared    buffers     cached
Mem:         24020       3255      20765          0         90       2084
-/+ buffers/cache:       1080      22939
Swap:        26207          0      26207
[root@host01 /]#


[root@host01 /]# mailq | tail -1
Mail queue is empty
[root@host01 /]#

Hmm, well, I unfortunately don't see anything unusual there. You've got lots of free RAM, your system's load average is low meaning you have plenty of available CPU and disk IO, and the processes running there all look normal -- you do have a lot of kernel processes running, but that's okay, I don't see anything out of the ordinary.

Sometimes, slow response is due to a lot of email in the mail queue, but you don't have any messages in your mail queue.

That likely means the problem is related to your specific application.

I see a lot a few errors along the lines of "read data timeout in 31 seconds" in your Apache error logs above -- that may mean your web application is taking longer than 31 seconds to complete.

I'm not sure why that would be the case, but that may be a place to look -- trying to troubleshoot your application.

You could always go into Server Configuration -> Website Options, and set the PHP Execution Mode to "CGI", just to rule out a problem with FCGID.

You could also try creating a file in your public_html directory named "test.php", with the following contents:

<div class="codeblock"><pre><code><span style="color: #000000"><span style="color: #0000BB">&lt;?php<br />&nbsp;phpinfo</span><span style="color: #007700">(); <br /></span><span style="color: #0000BB">?&gt;</span></span></code></pre></div>

And then the question is, does that test.php file load quickly? Or does it take a long time to load?

OK, this is strange. I will do the things you suggested and let you know.

I did just try to re-install the wordpress through its auto update in the dashboard. It always works but this time i got an resolve error.

Downloading update from http://wordpress.org/wordpress-3.3.1-no-content.zip… Download failed.: Couldn't resolve host 'wordpress.org' Installation Failed

So then i looked at the dns and host. I dont know...? I thought something had to be in hosts file?

[root@host01 ~]# cat /etc/hosts
127.0.0.1   localhost localhost.localdomain localhost4 localhost4.localdomain4
::1         localhost localhost.localdomain localhost6 localhost6.localdomain6
[root@host01 ~]#

[root@host01 etc]# hostname
host01.dealbent.net
[root@host01 etc]#



$ttl 3600
@ IN SOA ns1.dealbent.net. root.ns1.dealbent.net. (
1327065636
10800
3600
604800
38400 )
dealbent.net. IN A 98.142.218.20
www.dealbent.net. IN A 98.142.218.20
ftp.dealbent.net. IN A 98.142.218.20
m.dealbent.net. IN A 98.142.218.20
localhost.dealbent.net. IN A 127.0.0.1
webmail.dealbent.net. IN A 98.142.218.20
admin.dealbent.net. IN A 98.142.218.20
mail.dealbent.net. IN A 98.142.218.20
dealbent.net. IN MX 5 mail.dealbent.net.
dealbent.net. IN TXT "v=spf1 a mx a:host01.dealbent.net ip4:98.142.218.20 include:spf.mailjet.com ?all"
ns1.dealbent.net. IN A 98.142.218.20
ns1.targetmyad.net. IN A 98.142.218.10
ns2.targetmyad.net. IN A 98.142.218.20
host01.dealbent.net. IN A 98.142.218.20
mail01.targetmyad.net. IN A 98.142.218.10
_domainkey.dealbent.net. IN TXT "t=y; o=-;"
2012._domainkey.dealbent.net. IN TXT "k=rsa; t=y; p=MIGfMA0GCSqGSIb3DQEBAQUAA4GNADCBiQKBgQC3uFOyz1FclbegTzRUzTE6WsJi6u2HBNACa99OahM9G1j39Cb0SuiA2/MbpKH/gY+DNi/6HcIONbY6K0WQeMfddDw0BSP3NUfH69zfgud+Y/GXYjaoDfD3aMTbhCQDP0/CUdAyYywMLWOdFOxXDs+3W1ZKZm5jHOZfz/NNfCbLdwIDAQAB"
mailjet._domainkey.dealbent.net. IN TXT "k=rsa; p=MIGfMA0GCSqGSIb3DQEBAQUAA4GNADCBiQKBgQCmBNjQ6QiC8ZZU7W9/ymiwkn/c+U4WOC1wmzmEVqWC1JPcpv8sxeVMSpmcQw5AeBTUsxlXnMqdpBMYM/UrEsoZtQQDo62RY2ZfsPHGkXx6DN3XmflynZdcejgiv+bujq7W0kX1AFMbpnAZtD2Bvx9iQW+4XAyT4PlP7M+tMn+SowIDAQAB"
dealbent.net. IN NS ns1.dealbent.net.
host02.dealbent.net. IN A 98.142.218.15 ;Dev Server

---------ripelocaldeals is where the site is.

$ttl 38400
@ IN SOA ns1.dealbent.net. root.ns1.dealbent.net. (
1327066705
10800
3600
604800
38400 )
ripelocaldeals.com. IN A 98.142.218.20
www.ripelocaldeals.com. IN A 98.142.218.20
ftp.ripelocaldeals.com. IN A 98.142.218.20
m.ripelocaldeals.com. IN A 98.142.218.20
localhost.ripelocaldeals.com. IN A 127.0.0.1
webmail.ripelocaldeals.com. IN A 98.142.218.20
admin.ripelocaldeals.com. IN A 98.142.218.20
mail.ripelocaldeals.com. IN A 98.142.218.20
ripelocaldeals.com. IN MX 5 mail.ripelocaldeals.com.
ripelocaldeals.com. IN TXT "v=spf1 a mx a:ripelocaldeals.com ip4:98.142.218.20 include:spf.mailjet.com ?all"
mailjet._domainkey.ripelocaldeals.com. IN TXT "k=rsa; p=MIGfMA0GCSqGSIb3DQEBAQUAA4GNADCBiQKBgQCeiXeP26B2x/j16aLV+j+l9Pd2U8rU/MCFnxwrfxVhYiMWn+QjyjlPZbKgn4LWJD6dlG2EchQc3hk6Vl1Pstt9oti2DCVr/Xx2BGvOEUHSGdIcTIsCrTSyuqNOGA0lKp7plDOcz2xHASxhBPEZ8aUBzXaUYxGofanPv0NNOAXUgQIDAQAB"
_domainkey.ripelocaldeals.com. IN TXT "t=y; o=-;"
2012._domainkey.ripelocaldeals.com. IN TXT "k=rsa; t=y; p=MIGfMA0GCSqGSIb3DQEBAQUAA4GNADCBiQKBgQC3uFOyz1FclbegTzRUzTE6WsJi6u2HBNACa99OahM9G1j39Cb0SuiA2/MbpKH/gY+DNi/6HcIONbY6K0WQeMfddDw0BSP3NUfH69zfgud+Y/GXYjaoDfD3aMTbhCQDP0/CUdAyYywMLWOdFOxXDs+3W1ZKZm5jHOZfz/NNfCbLdwIDAQAB"
ripelocaldeals.com. IN NS ns1.dealbent.net.

Thanks!

Not being able to resolve domain names suggests that your nameservers may not be setup correctly... those are in /etc/resolv.conf.

You should also have your public IP address and hostname listed in /etc/hosts, that's typically setup for you during the installation of your OS.

You may want to log into Virtualmin, and click System Settings -> Re-Check Config, just to make sure it doesn't notice anything out of the ordinary.

setting the PHP Execution Mode to "CGI" did not change anything...

the php info page is lightning fast... I added the entry to /etc/hosts... I will see about re-installing the app. hopefully its just screwed up.. Thanks, i will let you know..

So do you think the 400+ running processes is normal though?

Well, there are deeper problems that the script.

I am having all sorts of issues... I dont even know where the ip below is coming from... its not the one on this box? fresh install of wordpress flies but wont resolve to anything outside either...

[Sat Jan 21 05:43:45 2012] [notice] Graceful restart requested, doing restart [Sat Jan 21 05:43:46 2012] [warn] NameVirtualHost 98.142.218.15:80 has no VirtualHosts [Sat Jan 21 05:43:46 2012] [warn] NameVirtualHost 98.142.218.15:443 has no VirtualHosts [Sat Jan 21 05:43:46 2012] [notice] Digest: generating secret for digest authentication ... [Sat Jan 21 05:43:46 2012] [notice] Digest: done [Sat Jan 21 05:43:46 2012] [notice] Apache/2.2.15 (Unix) DAV/2 mod_fcgid/2.3.6 PHP/5.3.3 mod_ssl/2.2.15 OpenSSL/1.0.0-fips SVN/1.6.11 mod_perl/2.0.4 Perl/v5.10.1 configured -- resuming normal operations [Sat Jan 21 06:24:57 2012] [notice] Graceful restart requested, doing restart [Sat Jan 21 06:24:57 2012] [warn] NameVirtualHost 98.142.218.15:80 has no VirtualHosts [Sat Jan 21 06:24:57 2012] [warn] NameVirtualHost 98.142.218.15:443 has no VirtualHosts [Sat Jan 21 06:24:57 2012] [notice] Digest: generating secret for digest authentication ... [Sat Jan 21 06:24:57 2012] [notice] Digest: done

I think i am going to uninstall and re-install virtualmin from scratch.. What is the best way to do this to be sure all is wiped w/o having to do the entire OS? Any other ideas?

This is very strange...

Thanks

The number of running processes isn't significant; what you should be concerned about is what processes are running.

In your case, you have a lot of kernel processes such as "process_name/N" running -- but you'll have one of those for each CPU core on your system.

So if this is a quad CPU and quad core system, you'd have 16 versions of each of those kernel processes running. And that would quickly give you more running processes, but only because you have more CPUs and cores.

I'm not seeing anything unusual with your server itself -- the load looks fine and the processes look normal.

ha we must have been typing at same time..

Could you maybe peek at this thing and see if you find anything that i am just missing before i try to re-install? I will enable the remote support thing.. if you need anything else let me know too..

PS: the new / clean install of wordpress on a different domain wont see the wordpress.org servers either... i put it here to test.. http://dealbent.com/wordpress/ And this is in the dashboard for some of their stuff: WP HTTP Error: Couldn't resolve host 'wordpress.org'

Thanks please advise.

Update: I will have to send creds to you apparently: "Failed to enable remote login : Remote login access cannot be scheduled for disabling, as the at command is not installed on your system"

Well, reinstalling isn't likely to solve any problems unless you know what to do differently :-)

And it's not possible to wipe all the configs and start from scratch unless you were to start with a new distro install. You can uninstall Virtualmin with "./install.sh -u", but that only uninstalls the application, it doesn't undo all the config changes that have occurred so far.

However, the warning you're seeing in your logs isn't significant; since your test.php script worked, your Apache setup seems fine. You're getting this warning here:

NameVirtualHost 98.142.218.15:80 has no VirtualHosts

All that means is that Apache has a line in it that tells it to serve requests for the IP 98.142.218.15, but that IP doesn't have any domains setup on it.

If your domain is serving any requests at all, that means the Apache config isn't the problem here. Because your test.php script works, that means your problem is likely related to either your application, or your database.

It also wouldn't hurt to make sure it's resolving DNS requests, and the /etc/resolv.conf is setup correctly. I'd also recommend running System Settings -> Re-Check Config.

PS: the new / clean install of wordpress on a different domain wont see the wordpress.org servers either... i put it here to test.

Well, did you look into the /etc/resolv.conf and System Settings -> Re-Check Config fixes I mentioned in comment #16 above?

If you look into and correct those issues, that should fix the problem in resolving domains.

I believe this is right...?

[root@host01 /]# cat /etc/resolv.conf
nameserver 127.0.0.1
nameserver 8.8.8.8
nameserver 4.2.2.2
# Generated by NetworkManager
[root@host01 /]#

As for as it being the database, it was clean too on this new domain i set up for testing. The new website browses fast including the WP admin panel.. For some reason it doesn't want to see outside... Are there other files that could have been affected from the backup restore (if it was corrupted) that i can manually edit possibly?

Make sense?

Thx

System Settings -> Re-Check Config no issues there..

Checking Configuration
The status of your system is being checked to ensure that all enabled features are available, that the mail server is properly configured, and that quotas are active ..
Your system has 23.46 GB of memory, which is at or above the Virtualmin recommended minimum of 256 MB.
BIND DNS server is installed, and the system is configured to use it.

Mail server Postfix is installed and configured.

Apache is installed.

Webalizer is installed.

Apache is configured to host SSL websites.

MySQL is installed and running.

ProFTPd is installed.

Logrotate is installed.

SpamAssassin and Procmail are installed and configured for use.

ClamAV is installed and assumed to be running.

Plugin DAV Login is installed OK.

Plugin AWstats reporting is installed OK.

Plugin Mailman is installed OK.

Plugin Protected web directories is installed OK.

Plugin Additional content styles is installed OK.

Plugin Additional content styles from OpenWebDesign.org is installed OK.

Plugin Virtualmin Support Links is installed OK.

Using network interface eth0 for virtual IPs.

IPv6 addresses are available, using interface eth0.

Default IP address for virtual servers is 98.142.218.20.

Both user and group quotas are enabled for home and email directories.

All commands needed to create and restore backups are installed.

Resource limits are supported and configured correctly.

The selected package management and update systems are installed OK.

.. your system is ready for use by Virtualmin.

In your /etc/resolv.conf file, I would comment out all the lines except for this one:

nameserver 127.0.0.1

Once you do that, run this command:

host google.com

Does that command show Google's IP addresses?

So I did that as follows:

[root@host01 etc]# cat /etc/resolv.conf
nameserver 127.0.0.1
#nameserver 8.8.8.8
#nameserver 4.2.2.2
# Generated by NetworkManager
[root@host01 etc]#

And no connection...

[root@host01 etc]# host google.com ;; connection timed out; no servers could be reached [root@host01 etc]#

Is BIND running, and listening on localhost?

You can determine that by running this command:

netstat -an | grep :53

Appears to be...

[root@host01 etc]# netstat -an | grep :53
tcp        0      0 98.142.218.20:53            0.0.0.0:*                   LISTEN
tcp        0      0 127.0.0.1:53                0.0.0.0:*                   LISTEN
tcp        0      0 98.142.218.20:10000         24.98.50.18:53394           TIME_WAIT
tcp        0      0 98.142.218.20:10000         24.98.50.18:53398           ESTABLISHED
tcp        0      0 98.142.218.20:10000         24.98.50.18:53390           TIME_WAIT
tcp        0      0 98.142.218.20:10000         24.98.50.18:53397           ESTABLISHED
tcp        0      0 98.142.218.20:10000         24.98.50.18:53393           ESTABLISHED
tcp        0      0 98.142.218.20:10000         24.98.50.18:53387           TIME_WAIT
tcp        0      0 98.142.218.20:10000         24.98.50.18:53386           TIME_WAIT
tcp        0      0 98.142.218.20:10000         24.98.50.18:53388           TIME_WAIT
tcp        0      0 :::53                       :::*                        LISTEN
udp        0      0 98.142.218.20:53            0.0.0.0:*                      
udp        0      0 127.0.0.1:53                0.0.0.0:*                      
udp        0      0 :::53                       :::*                           
[root@host01 etc]#

That does indeed appear to be listening. However, it's not answering queries, so some other problem is preventing BIND from working.

Can you post the contents of your less /etc/named.conf file?

[root@host01 etc]# cat /etc/named.conf
//
// named.conf
//
// Provided by Red Hat bind package to configure the ISC BIND named(8) DNS
// server as a caching only nameserver (as a localhost DNS resolver only).
//
// See /usr/share/doc/bind*/sample/ for example named configuration files.
//

options {
        listen-on port 53 {
                any;
                };
        listen-on-v6 port 53 {
                any;
                };
        directory       "/var/named";
        dump-file       "/var/named/data/cache_dump.db";
        statistics-file "/var/named/data/named_stats.txt";
        memstatistics-file "/var/named/data/named_mem_stats.txt";
        recursion yes;
allow-recursion { localnets; };

        dnssec-enable yes;
        dnssec-validation yes;
        dnssec-lookaside auto;

        /* Path to ISC DLV key */
        bindkeys-file "/etc/named.iscdlv.key";
};

logging {
        channel default_debug {
                file "data/named.run";
                severity dynamic;
        };
};

zone "." IN {
        type hint;
        file "named.ca";
};

include "/etc/named.rfc1912.zones";

zone "dealbent.net" {
        type master;
        file "/var/named/dealbent.net.hosts";
        allow-transfer {
                127.0.0.1;
                localnets;
                };
        };
zone "ripelocaldeals.com" {
        type master;
        file "/var/named/ripelocaldeals.com.hosts";
        allow-transfer {
                127.0.0.1;
                localnets;
                };
        };
zone "dealbent.com" {
        type master;
        file "/var/named/dealbent.com.hosts";
        allow-transfer {
                127.0.0.1;
                localnets;
                };
        };
[root@host01 etc]#

should those lines with "localnets;" be there? I dont recall ever seeing this before...

Also for reference: ran test at intodns.com and got this :

ERROR: One or more of your nameservers did not respond: The ones that did not respond are: 98.142.218.21

But, i believe this is right now:

$ttl 38400 @ IN SOA ns1.dealbent.net. root.ns1.dealbent.net. ( 1327142625 10800 3600 604800 38400 ) @ IN NS ns1.dealbent.net. @ IN NS ns2.dealbent.net. dealbent.net. IN A 98.142.218.20 www.dealbent.net. IN A 98.142.218.20 ftp.dealbent.net. IN A 98.142.218.20 m.dealbent.net. IN A 98.142.218.20 ns1.dealbent.net. IN A 98.142.218.20 localhost.dealbent.net. IN A 127.0.0.1 webmail.dealbent.net. IN A 98.142.218.20 admin.dealbent.net. IN A 98.142.218.20 mail.dealbent.net. IN A 98.142.218.20 dealbent.net. IN MX 5 mail.dealbent.net. dealbent.net. IN TXT "v=spf1 a mx a:dealbent.net ip4:98.142.218.20 ?all" ns1.dealbent.net. 3600s IN A 98.142.218.20 ns2.dealbent.net. 3600s IN A 98.142.218.21 <code>

I think i am going to do to the datacenter tonight and wipe the box and do a fresh OS install and start over.

Maybe when vmin intalled at first something got screwed up with the initial errors i saw...?

Then i will re-build the domain and files manually instead of restoring a backup.

Hopefully it will go well this time..

Okay, sounds good, let us know how that goes!

If you have problems, let's start fresh in a new request, and we'll figure out what's going on there.

Hey Eric,

Well, newly installed and all went well. I wish i knew what happened before.. that was frustrating.. Thanks for your help!

Scott