These forums are locked and archived, but all topics have been migrated to the new forum. You can search for this topic on the new forum: Search for Installation error on centos 6.2 and 6.3 newly installed 08/08/2012 on the new forum.
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
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
Newly installed Centos 6.2, no ftp, how I can go down /root/virtualmin-install.log to paste the file here?
-Stuart
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
Now, which is the command to download the file?
log is it
-Stuart
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
it´s a dedicated server, clean install of centos 6
-Stuart
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
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
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
So lacks
No package rh-postgresql available.
No package rh-postgresql-server available.
No package php-domxl available.
No package mod_python available.
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
I installed mlocate but still missing the following files:
No package rh-postgresql available.
No package rh-postgresql-server available.
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
Here is the new log
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
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.
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
new log Thanks
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.
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
SO I have done everything above and still get the fatal errors. please look at my attached logs above.
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
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.
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 ..
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