5 posts / 0 new
Last post
#1 Tue, 03/11/2008 - 16:49
Baldrick2

IPTables

Hi

I'm very nervous about posting this, so if I've been an absolute dummy please be gentle!

Running Centos5.1. Clean install this weekend (low level format etc), used the same Centos DVD that I've used before, with which there were no probs with the Vitualmin GPL install.sh script (brilliant btw!). CentOS installed in linux text mode with just the 'Server' option starred (have to use the acpi=off switch as well otherwise it just hangs).

I can wget the install script, run it just fine from either putty or console (2 comps). No errors during the install.

My problem is I cant connect to webmin/virtualmin without 'turning off' iptables. The rules just don't seem to be being written as they were before.

With iptables disabled I can connect just fine.

This isn't my first install of Virtualmin, both using the script or config'd by hand (that was a learning curve!) but I've never come across this problem before.

The reason I'm nervous....is this a bug in something??

Damn fine proggy though! Thanks Joe

Regards

Balders

Tue, 03/11/2008 - 17:19
Joe
Joe's picture

Yes, you're probbaly being bitten by the same stupid bug that popped up in virtualmin-base on most platforms over the past few days. Should be fixed now. I hope.

Try this:

rpm -e virtualmin-base
yum install virtualmin-base

This is, of course, assuming, you haven't actually put anything into service yet. This should never be run on a production machine, as there is potential for breakage.

--

Check out the forum guidelines!

Tue, 03/11/2008 - 17:19 (Reply to #2)
Joe
Joe's picture

Oh, yeah...watch for errors! Post any that you run into.

--

Check out the forum guidelines!

Tue, 03/11/2008 - 17:47
Baldrick2

Hi Joe

Well, was just going to bed but thought I'd have a go!

Only two errors I think

Starting saslauthd: saslauthd[16064] :detach_tty : Cannot start saslauthd
saslauthd[16064] :detach_tty : Another instance of saslauthd is currently r unning
[FAILED]

and

convertquota: Quota file not found or has wrong format.
convertquota: Can't open old format file for users on /
Configuring firewall rules
Allowing traffic on TCP port: ssh
Allowing traffic on TCP port: smtp
Allowing traffic on TCP port: domain
Allowing traffic on TCP port: ftp
Allowing traffic on TCP port: ftp-data
Allowing traffic on TCP port: pop3
Allowing traffic on TCP port: pop3s
Allowing traffic on TCP port: imap
Allowing traffic on TCP port: imaps
Allowing traffic on TCP port: http
Allowing traffic on TCP port: https
Allowing traffic on TCP port: 10000
Allowing traffic on TCP port: 20000
Allowing traffic on UDP port: domain
Allowing traffic on UDP port: ftp
Allowing traffic on UDP port: ftp-data

Installed: virtualmin-base.noarch 0:1.0-56.rh
Complete!

But firewall from that looks to be top banana!

You really are a genius!

Thank you very much.

Just so I know where I am, if I reinstall CentOS again and use the install.sh everything will be as above yes? (since I knew it wasn't working correctly I haven't actually put any backups on there yet)

Thanks again

Balders

Tue, 03/11/2008 - 18:01 (Reply to #4)
Joe
Joe's picture

That does indeed look "top banana"! The two errors you see are expected and harmless...one because saslauthd was already running from previous install, and the second because the quota stuff on Linux just always says stupid things, even when they're working fine. ;-)

--

Check out the forum guidelines!

Topic locked