SWAT Installation problems

Hi,

I have been trying to install SWAT on redhat 6 for samba4. The samba server was installed by another administrator but not swat. Please find output of yum install samba-swat in the attached file

It appears you have samba-3.6.23 installed but you are trying to install samba4-swat.

Have you tried clearing all your repo caches?

# yum clean all

I have found the correct rpm and managed to install it successfully. Now i have another issue.

Swat works only if i enter 127.0.0.1:901 not localhost:901

If i enter netstat -ntlp | grep :901 i get ontly the ip for for ipv6 not ipv4 ( 0.0.0.0 )

Any ideas what might cause the issue?

Note that if i enter localhost:631 for cups it works fine.