Page 1 of 1

Installation in OSS 10.1 vserver

Posted: Mon Jun 04, 2007 7:16 am
by martin.zeug
Hi everybody,
I have a scalix 11.0.1 running in OSS 10.1 now I would like to update to 11.0.4. But while installation checks the system I get:

Code: Select all

Network check failed -- (1, 'Operation not permitted')


The debug logfile shows:

Code: Select all

2007-06-04 13:16:22,051 INFO Network interface is eth0:scalix
2007-06-04 13:16:22,053 DEBUG Checking DHCP for interface eth0:scalix
2007-06-04 13:16:22,232 DEBUG Found IPs: ['192.168.100.12'] (scalix.domain.local)
2007-06-04 13:16:22,234 ERROR Operation failed: Network check failed -- (1, 'Operation not permitted')


In this forum I found this code:

Code: Select all

import socket

s = socket.socket(socket.AF_PACKET,socket.SOCK_RAW)
s.bind(("eth0:scal", 9999))
mac = s.getsockname()[-1]
s.close()
print ":".join(["%02x" % ord(x) for x in mac])

which should be the code used for this check. and by running this code with

Code: Select all

 python test.py
with this code inside I get the same Error.
But I don't have any idea how to solve this problem.

Has anybody an idea how to solve it?

Many thanks

Martin

Posted: Mon Jun 04, 2007 8:49 am
by ScalixSupport
Hi Martin!

Can you look at the file /opt/scalix/global/config and, in particular, the OMHOSTNAME value.

You need to be able to do a lookup on that hostname as it stands for things to work
successfully. If you can't do a lookup on it, replace it with the FQDN of the server and
restart Scalix.

Hope this helps.

Thanks,
Subir

Posted: Mon Jun 04, 2007 10:02 am
by martin.zeug
Hi I found the config file:

Code: Select all

OMNAME=scalix
OMHOSTNAME=scalix.domain.local
OMDATADIR=/var/opt/scalix/sx/s
OMAUTOSTART=TRUE


and the nslookup:

Code: Select all

scalix:/opt/scalix/global # nslookup scalix.domain.local
Server:         192.168.100.1
Address:        192.168.100.1#53

Name:   scalix.domain.local
Address: 192.168.100.12


this works great, so everything should work. I think the reason is the virtual network interface used from vserver.

Martin

Posted: Tue Jun 05, 2007 1:52 am
by ScalixSupport
Hi Martin!

For Virtual network interface to be used with Scalix, see if the following post helps and if
you get some hints:
http://www.scalix.com/forums/viewtopic.php?t=1170&highlight=virtual+network+interface

Keep me posted.

Thanks,
Subir