Trying to install for testing

Discuss installation of Scalix software

Moderators: ScalixSupport, admin

ph1949rst
Posts: 23
Joined: Sat Oct 04, 2008 5:10 am

Trying to install for testing

Postby ph1949rst » Tue Oct 28, 2008 10:04 am

I'm trying to install the Community Edition on a test machine (Fedora 9) to do some evaluation. It keeps failing the 'Network Check', and I'd like guidance on the simplest way to get it to install. I'm not running 'bind' or equivalent: can I not use file-based resolution ? If so, can someone suggest the basic set of configuration files I need to set ?
Or do I really need to install 'bind' ?
PH

xtype
Posts: 62
Joined: Thu Jul 10, 2008 9:48 am

Postby xtype » Tue Oct 28, 2008 11:23 am

Can you plz post your /etc/hosts and /etc/resolv.conf

schmoe90
Scalix
Scalix
Posts: 900
Joined: Mon May 07, 2007 11:51 am

Postby schmoe90 » Tue Oct 28, 2008 3:25 pm

Make sure your /etc/hosts file is correct, ie:

127.0.0.1 localhost.localdomain localhost
<your IP> <your FQDN> <your server's shortname>

eg:
127.0.0.1 localhost.localdomain localhost
192.168.1.1 scalix.scalix.com scalix

ph1949rst
Posts: 23
Joined: Sat Oct 04, 2008 5:10 am

Postby ph1949rst » Wed Oct 29, 2008 3:41 am

/etc/hosts:

# Do not remove the following line, or various programs
# that require network functionality will fail.
127.0.0.1 localhost.localdomain localhost
# 192.168.0.3 pca.7home.com pca
192.168.0.3 pca.7home.com pca


/etc/resolv.conf:

# generated by NetworkManager, do not edit!

nameserver 192.168.0.3

Error from Scalix installer: Could not determine network interface configuration for wlan0

I can change the nameserver to 192.168.0.1 (my Netgear Router), but I get the same error message.
192.168.0.3 is the PC's IP address.

xtype
Posts: 62
Joined: Thu Jul 10, 2008 9:48 am

Postby xtype » Wed Oct 29, 2008 4:22 am

described by schmoe90 your /etc/hosts file must be shown as followed (for example)

[root@scalix]# cat /etc/hosts
# Do not remove the following line, or various programs
# that require network functionality will fail.
127.0.0.1 localhost.localdomain localhost
172.21.3.3 scalix.test.local scalix
::1 localhost6.localdomain6 localhost6

(last line could be various, depends on enabled ip v6 support)

i think its better to use non public domain names like pca.test.local intead of pca.7home.com, unless your server is an public/internethosted server located at 7home.com

For passing network check, dns lookup and reverse lookup must point to your machine. so you should check nslookup results.

in the resolv.conf the netgear router schould be shown instead of your scalix server, unless you running a well configured DNS Server on your Scalix machine.

PS: how is your scalix server Connected? Per Wired ethernet or WLAN. The Error shows wlan0 as error interface!

ph1949rst
Posts: 23
Joined: Sat Oct 04, 2008 5:10 am

Postby ph1949rst » Wed Oct 29, 2008 9:47 am

Thanks...done that.
> nslookup pca now says
'Server: 192.168.0.1
Address: 192.168.0.1#53
Can't find pca

Does this depend on the 'pca' (the PC) being logged onto the router with the name 'pca' ? For some reason it is registered on the Router as 'UNKNOWN'; I can probably fix that, but I'm not sure if that would make nslookup work - I thought it was file-based ?

Yes, the PC is connected to the Router, and can connect either to the internet or to another PC. For testing Scalix, I was going to try it out standalone first, then perhaps install it on the other PC as well.

xtype
Posts: 62
Joined: Thu Jul 10, 2008 9:48 am

Postby xtype » Wed Oct 29, 2008 10:27 am

plz try:

ping pca

and

ping pca.(FQDN)

be sure thats mit 7home.com .... it shoud be 7home.local or equal

ph1949rst
Posts: 23
Joined: Sat Oct 04, 2008 5:10 am

Postby ph1949rst » Wed Oct 29, 2008 10:54 am

$ ping pca
PING pca.test.local (192.168.0.3) 56(84) bytes of data.
64 bytes from pca.test.local (192.168.0.3): icmp_seq=1 ttl=64 time=0.106 ms
64 bytes from pca.test.local (192.168.0.3): icmp_seq=2 ttl=64 time=0.076 ms
64 bytes from pca.test.local (192.168.0.3): icmp_seq=3 ttl=64 time=0.077 ms

$ ping pca.test.local
PING pca.test.local (192.168.0.3) 56(84) bytes of data.
64 bytes from pca.test.local (192.168.0.3): icmp_seq=1 ttl=64 time=0.077 ms
64 bytes from pca.test.local (192.168.0.3): icmp_seq=2 ttl=64 time=0.078 ms
64 bytes from pca.test.local (192.168.0.3): icmp_seq=3 ttl=64 time=0.076 ms

As you can see, I have switched to using 'pca.test.local' for the full name.

xtype
Posts: 62
Joined: Thu Jul 10, 2008 9:48 am

Postby xtype » Wed Oct 29, 2008 11:11 am

resolving hostname works fine so he could ping a name/FQDN

an during the installation the error still appears?
How is the PC connected to the Router? LAN or WLAN?
pls post ifconfig results!

ph1949rst
Posts: 23
Joined: Sat Oct 04, 2008 5:10 am

Postby ph1949rst » Wed Oct 29, 2008 11:17 am

PC is connected to the router by WLAN (Netgear radio link). The PC does have an Ethernet card but I'm not using it now.

$ /sbin/ifconfig
lo Link encap:Local Loopback
inet addr:127.0.0.1 Mask:255.0.0.0
inet6 addr: ::1/128 Scope:Host
UP LOOPBACK RUNNING MTU:16436 Metric:1
RX packets:3360 errors:0 dropped:0 overruns:0 frame:0
TX packets:3360 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:169316 (165.3 KiB) TX bytes:169316 (165.3 KiB)

wlan0 Link encap:Ethernet HWaddr 00:18:4D:ED:6C:FA
inet addr:192.168.0.3 Bcast:192.168.0.255 Mask:255.255.255.0
inet6 addr: fe80::218:4dff:feed:6cfa/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:4322 errors:0 dropped:0 overruns:0 frame:0
TX packets:4145 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:4471954 (4.2 MiB) TX bytes:802213 (783.4 KiB)

wmaster0 Link encap:UNSPEC HWaddr 00-18-4D-ED-6C-FA-F4-FF-00-00-00-00-00-00-00-00
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:0 (0.0 b) TX bytes:0 (0.0 b)

xtype
Posts: 62
Joined: Thu Jul 10, 2008 9:48 am

Postby xtype » Wed Oct 29, 2008 11:22 am

any entries in the install log which normally can be found in /var/log/scalix-installer-[date]?

ph1949rst
Posts: 23
Joined: Sat Oct 04, 2008 5:10 am

Postby ph1949rst » Wed Oct 29, 2008 11:39 am

There's quite a lot of info in the log, but most of it looks routine. It says 'INFO Tomcat was running when we started: FALSE'. Is that a problem ? I can check.
After that it lists all the components it is trying to install, and then the fact that the Network check failed - reason as before.
No other oddities that I can spot.

xtype
Posts: 62
Joined: Thu Jul 10, 2008 9:48 am

Postby xtype » Wed Oct 29, 2008 11:51 am

For some reason it is registered on the Router as 'UNKNOWN'; I can probably fix that, but I'm not sure if that would make nslookup work - I thought it was file-based ?


have you tried this?

I thought the installer tried to lookup your hostname! if it fails, the networt check fail!
pc already restartet?

in the past i had nearly the same error with other distributions. I get an error though the config was ok .... (SUSE and scalix 11.2 ?!) so i use centos 5.2 now ....

ph1949rst
Posts: 23
Joined: Sat Oct 04, 2008 5:10 am

Postby ph1949rst » Wed Oct 29, 2008 12:19 pm

No, I'll have to remember how to change it so it logs on as 'PCA' on the Router. Any tips ?

I did try CENTOS the other day, but it could not figure out the Netgear wlan interface, so it didn't really work, (I mean it installed and worked, but with no network interface it's not much use, and wouldn't even let me update from the DVD...) and I didn't want to fiddle around installing drivers etc, even if I knew how to go about it. Ubuntu and Fedora 9 'just work'. Why doesn't CENTOS ?

xtype
Posts: 62
Joined: Thu Jul 10, 2008 9:48 am

Postby xtype » Thu Oct 30, 2008 6:00 am

i dont say it gladly, but have yout tried suse?
normally they have a good wlan support!


Return to “Installation”



Who is online

Users browsing this forum: No registered users and 4 guests