Install problems on CentOS 3.5

5 posts / 0 new
Last post
#1 Fri, 10/28/2005 - 08:56
MikeBratton

Install problems on CentOS 3.5

Joe,

I have a Xen VPS that I installed a fresh CentOS 3.5 on then ran yum update and then ran the Virtualmin Pro script and got the following error:

Enabling MySQL and PostgreSQL sh: -c: line 1: syntax error near unexpected token )' sh: -c: line 1:()]/tmp/.webmin/189230_2_virtualmin_base.pl 2>&1' cat: /tmp/.webmin/189230_2_virtualmin_base.pl: No such file or directory Failed to setup PostgreSQL! Enabling Apache

Any idea what's going wrong?

Fri, 10/28/2005 - 13:29
Joe
Joe's picture

This is a new one on me. Nearly all of my CentOS 3.5 testing happens in a Xen and I'm not seeing this. But the virtualmin-base package might have broken in the recent split to support SUSE and Mandrake. I'm looking into it.

In the meantime can you send the full output of the installation script to me at joe at virtualmin . com? There might be something else going amiss earlier that would lead up to this.

--

Check out the forum guidelines!

Fri, 10/28/2005 - 21:26
FaisalMehmood

I am having a similar Error. Please check the Bugtracker.

Sat, 10/29/2005 - 09:10
FaisalMehmood

Mike you may want to do this. Try running these commands.

Back up your old file.
cp /etc/centos-release /etc/centos-release.bak

(If no file exists it may give error - i guess thas fine)

Copy this file to this location.

cp /etc/redhat-release /etc/centos-release

Run the Virtualmin Uniinstaller From this location

http://software.virtualmin.com/lib/virtualmin-uninstall.sh

(You'll probably have to copy it using SCP or whatever and then chmod +x it.)

./virtualmin-uninstall.sh

and then try running the installer again.
./install.sh
----------

I know this works for CENTOS 4.2 so i cant assure you anything. But i was having the exact same error as yours and this fixed it. Give it a try you can always revert back your backup.

Thanks.

Faisal.

Mon, 10/31/2005 - 01:20
Joe
Joe's picture

I've just run the current installer version successfully on two versions of RHEL 3.5 (with a couple of minor issues I'll fix shortly on one of them), so it seems it is specific to the CentOS rebuild. I am installing a fresh CentOS 3.5 now to check up on this.

It could very well be something related to the existence of /etc/redhat-release and /etc/centos-release as Faisal pointed out. The CentOS folks can't seem to make up their mind about what ought to exist...since we have to detect versions to get <i>anything</i> right in the installer, this file moving around is a big problem that I need to deal with. If we detect the OS incorrectly, it is almost certain that nothing will work. It makes it look like the installer is on crack and not worth the bits to download it...which is obviously not what we're after.

I'll let you know what I figure out. Any further details are welcome, of course.

Oh, yeah, if the problem is the one Faisal pointed out for 4.2, it is resolved in Webmin 1.241, which I've just rolled into the repository--but I don't think it will effect 3.5. I may be wholly wrong, though.

--

Check out the forum guidelines!

Topic locked