Installation error on centos 6.2 and 6.3 newly installed 08/08/2012

27 posts / 0 new
Last post
#1 Wed, 08/08/2012 - 14:05
rechy2k

Installation error on centos 6.2 and 6.3 newly installed 08/08/2012

Newly installed centos 6.2 and can not install Virtualmin. Try now with CentOS 6.3 and Virtualmin install nor can I see the log and in both cases is the same error:

rh-postgresql package not available No package rh-postgresql-server available

And I do not find these packages in any repository In fact it seems that these packages do not exist

I think it's a bug in Virtualmin http://software.virtualmin.com/gpl/rhel/6/x86_64/virtualmin-release-late... on 08/08/2012

Wed, 08/08/2012 - 14:42
andreychek

Howdy,

The package not found notices aren't fatal errors... can you grab your /root/virtualmin-install.log file, and attach that to this post? That may offer some additional insight into what's going on.

Thanks!

-Eric

Wed, 08/08/2012 - 14:53 (Reply to #2)
rechy2k

Newly installed Centos 6.2, no ftp, how I can go down /root/virtualmin-install.log to paste the file here?

-Stuart

Wed, 08/08/2012 - 15:06
andreychek

You can use a tool that downloads the file over SSH/SCP/SFTP.

One example is Putty's command line pscp or psftp programs:

http://www.chiark.greenend.org.uk/~sgtatham/putty/download.html

Another option is to use the GUI WinSCP program:

http://winscp.net/eng/download.php

Wed, 08/08/2012 - 15:16 (Reply to #4)
rechy2k

Now, which is the command to download the file?

Wed, 08/08/2012 - 15:33 (Reply to #5)
rechy2k

log is it

-Stuart

Wed, 08/08/2012 - 17:11
andreychek

Howdy,

Are you using a VPS there? Or is that a dedicated server?

If it's a VPS, what type of VPS is it?

I see two errors in your log that are likely related -- one is a problem disabling SELinux. and the other is an issue installing the "virtualmin-release-latest.noarch.rpm" package.

What output do you receive if you run these two commands as root:

wget http://software.virtualmin.com/gpl/rhel/6/x86_64/virtualmin-release-latest.noarch.rpm

rpm -ivh virtualmin-release-latest.noarch.rpm

Wed, 08/08/2012 - 19:00 (Reply to #7)
rechy2k

it´s a dedicated server, clean install of centos 6

-Stuart

Wed, 08/08/2012 - 19:10 (Reply to #8)
rechy2k

Resolvin software.vrtualmin.com... 108.60.199.107 Connecting to software.virtualmin.com 108.60.199.107 :80... connected. HTTP request sent, awaiting response... 404 Not Found 2012-08-09 03:00:10 ERROR 404: Not Found.

error: open of virtualmin-release-latest.noarch.rpm failed: No such file or directory

Wed, 08/08/2012 - 22:06
andreychek

The forum here shortened the URL I put in there... I tweaked it so that it wraps, rather than being cut off... I did verify that the above command works.

Try that wget command again, using the edited version of the post above -- and let's see what happens there :-)

-Eric

Wed, 08/08/2012 - 23:44
rechy2k

rpm -ivh virtualmin-release-latest.noarch.rpm

Preparing... ############## 100% 1:virtualmin-release ############## 100% Running updatedb so locate works...this will take a little while. /var/tmp/rpm.y6w5mq: line 12: updatedb:command not found Attempting to import various system RPM-GPG-KEY files...Errors may occur, if you´ve already import them. It is safe ti ignore these errors. /var/tmp/rpm-tmp.y6w5mq: line39: locate command not found

Thu, 08/09/2012 - 00:32
rechy2k

So lacks

No package rh-postgresql available.

No package rh-postgresql-server available.

No package php-domxl available.

No package mod_python available.

Thu, 08/09/2012 - 08:40
andreychek

Aha, that error installing virtualmin-release-latest.noarch.rpm shows the problem... the locate command is missing.

Try running this command:

yum install mlocate

And then run the installer again.

-Eric

Thu, 08/09/2012 - 12:10 (Reply to #13)
rechy2k

I installed mlocate but still missing the following files:

No package rh-postgresql available.

No package rh-postgresql-server available.

Thu, 08/09/2012 - 13:05
andreychek

Well, as I mentioned above -- those are warnings, not fatal errors... those won't cause the installation to fail.

Those two packages aren't available on newer CentOS installs, only older ones -- but that doesn't prevent Virtualmin from installing, it just generates those warnings while doing so.

So the issue you're seeing isn't related to that, it's something else :-)

Can you post the current virtualmin-install.log from your latest install attempt?

Thanks!

-Eric

Thu, 08/09/2012 - 13:30 (Reply to #15)
rechy2k

Here is the new log

Thu, 08/09/2012 - 14:03
andreychek

Okay, so it's still the virtualmin-release-latest.noarch.rpm package that's failing to install... that's the one you manually downloaded above.

What happens if you try installing that again:

rpm -ivh virtualmin-release-latest.noarch.rpm

Thu, 08/09/2012 - 14:37 (Reply to #17)
rechy2k

rpm -ivh virtualmin-release-latest.noarch.rpm

Preparing... ############## 100% 1:virtualmin-release ############## 100% Running updatedb so locate works...this will take a little while. Attempting to import various system RPM-GPG-KEY files...Errors may occur, if you´ve already import them. It is safe to ignore these errors.

Thu, 08/09/2012 - 15:03
andreychek

So that's good -- that means virtualmin-release-latest.noarch.rpm installed properly, which it didn't do last time, according to the logs.

Can you run the install.sh again, and if it doesn't work, attach the most recent log?

Thanks!

-Eric

Thu, 08/09/2012 - 22:28 (Reply to #19)
rechy2k

new log Thanks

Mon, 09/10/2012 - 00:57 (Reply to #20)
aegrant00

So I had been having the same problems as Eric, and I came across this thread and did what was recommended.

Having the same problems, and my log (tail for last install) is attached.

May as well attach the full install the most recent time as well.

Sat, 08/11/2012 - 00:27
rechy2k

Virtualmin installation was correct but http://x.x.x.x: 10000 fails http://ns1.mydomain.com:10000 fails http://mydomain.com fails I thought why not installed

https solution https://x. x. x. x.: 10000

Sun, 09/09/2012 - 22:34
aegrant00

SO I have done everything above and still get the fatal errors. please look at my attached logs above.

Sun, 09/09/2012 - 22:43
andreychek

Howdy,

We're happy to help, but you didn't mention the problems that you run into while performing all the steps I mentioned above.

What happens if you manually wget the file that failed, and then install it:

wget http://software.virtualmin.com/gpl/rhel/6/i386/virtualmin-release-latest.noarch.rpm
rpm -ivh virtualmin-release-latest.noarch.rpm

Do you get an error? Or does it install properly?

If it installs properly without an error, try re-running the install.sh. If you get an error, let us know what that is. Thanks!

-Eric

Mon, 09/10/2012 - 00:56 (Reply to #24)
aegrant00

So although I had done the wget and rpm previously with a failed install, I did them again.

the wget retrieved the file, the rpm setup the repository as done above

/bin/sh install.sh with and without --skip-broken failed.

log tail attached.

Mon, 09/10/2012 - 00:56
aegrant00

SO I did as he suggested, and still no joy.

screen scrape and log tail attached.

From: "Jamie Cameron" jcameron@webmin.com Subject: Re: [webmin-l] Problem installing Virtualmin Date: September 9, 2012 10:22:13 PM MDT To: Webmin users list webadmin-list@lists.sourceforge.net Reply-To: Webmin users list webadmin-list@lists.sourceforge.net

Try manually installing the dependencies that failed with the command : /usr/bin/yum -y -d 2 install bind bind-utils caching-nameserver httpd postfix 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-xml 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

If that also fails, I would be interested to see the error message ..

Mon, 09/10/2012 - 00:59
aegrant00

So Jamie suggested something that worked...

P.S. I removed my logs from the listing.

Begin forwarded message:

From: "Jamie Cameron" Date: September 9, 2012 11:32:32 PM MDT

One thing you could try is first removing the httpd-manual package - we've seen a few cases in which this has unusual dependencies that break the install process.

This can be done with the command :

rpm -e httpd-manual