Server code 00000000

   17176   10   0
User Avatar
Member
5 posts
Joined: 2月 2008
Offline
Hi,
after installation I cannot install licence.
secictrl -n returns always server code 00000000 what, I think, is reason to this.

On eth0 is wifi, and on eth1 there is cable adapter which I use.

I use gentoo linux 2.6.23-gentoo-r8, Houdini build - 9.1.164.
This print is for 9.1.124, but now, on 9.1.164, there is the same problem.

Diagnostic Output:
==================
If you are having licensing problems, please save this information and email it
to support@sidefx.com.

License Administrator output:
=============================
Generated on: Sun Feb 24 11:24:57 2008
Local host name: ppp-n
Local server code: 00000000
Local ip address: 127.0.0.1
Number of servers: 1
License server name: ppp-n (localhost)
License server server code: 00000000
Server ip address: 127.0.0.1
License server is running: Yes
May read licenses from server: Yes
Has SERVER license: No
License server version: 9.1.124
May modify server from this machine: Yes
Redundant server keys: 1
Name Code Redundant Connected Transmission OK
—- —- ——— ——— —————
piotrek-lap c4fc0000 no - -
License Administrator version: 9.1.124
Http proxy host: (none)
Can retrieve http://license.sidefx.com/index.php: [license.sidefx.com] Yes

Installed licenses:
LicID Platform Product Ver Avail Expiry
—– ——– ——- — —– ——
a81617eb Generic Houdini-Master-NonCommercial 9.1 0/0 25-mar-2008
+.+.+.+ ppp-n (license known to: ppp-n)
461c8c10 Generic Render-NonCommercial 9.1 0/0 25-mar-2008
+.+.+.+ ppp-n (license known to: ppp-n)

sesictrl -i output:
===================
—– SERVER ppp-n ——–

*** WARNING *** - No valid server lines found

Lic a81617eb: 0 “Houdini-Master-NonCommercial 9.1” Generic 25-mar-2008 +.+.+.+ ppp-n

Lic 461c8c10: 0 “Render-NonCommercial 9.1” Generic 25-mar-2008 +.+.+.+ ppp-n
Serv ppp-n c4fc0000
redundant: no
connected: no
transmission successful: no



hserver -l output:
==================
Hostname: ppp-n
Uptime: 0:13:56
License Server: ppp-n
Server Version: sesinetd9.1.124
Version: Houdini9.1.124
ReadAccess: +.+.+.*
WriteAccess: +.+.+.*

71 of 439 Mb available
CPU Usage: 50% load
0 active tasks (1 slots)



licenses file:
==============
## Side Effects Software License File
#
# For license information, please contact:
# Side Effects Software Inc.
# 123 Front St. West, Suite 1401
# Toronto, Ontario, Canada
# M2J 2M2
# licensemanager@sidefx.com
# http://www.sidefx.com [sidefx.com]
#
# NOTE: This file may be modified by the licensee
#

# Key installed 11:24:44 02/24/08
SERVER ppp-n c4fc0000 f81d3e4cbfac1ecb7e1764371ef29f3416982f1ecd4b51

# Key installed 11:24:45 02/24/08
LICENSE Generic Render-NonCommercial 9.1 1 25-mar-2008 +.+.+.+ ppp-n \
461c8c10 P1DneqBy6pYB7U9@a33C1IDu4ShiRZ6utTN2AFKwZRtheoXLNEaUzm3

# Key installed 11:24:47 02/24/08
LICENSE Generic Houdini-Master-NonCommercial 9.1 1 25-mar-2008 +.+.+.+ \
ppp-n a81617eb \
lfL01ZPh4StokeaFEOBxCI7nT+0qb9ASGjUT16xz1KjCDZ9gBefWWT2
User Avatar
Member
1145 posts
Joined: 7月 2005
Offline
Once you are logged in try restarting the license server, as root or sudo.
I'm on Ubuntu so I would do this;

sudo /etc/init.d/sesinetd restart
“gravity is not a force, it is a boundary layer”
“everything is coincident”
“Love; the state of suspended anticipation.”
User Avatar
Member
5 posts
Joined: 2月 2008
Offline
It doesn't help.

I always manualy start sesnetd after my system started.
User Avatar
スタッフ
1454 posts
Joined: 7月 2005
Offline
indeed the issue is the fact that the server code is zero.

currently, the server code is computed based on the MAC address, and that information is collected with the if_nameindex() function call. The MAC address of the first non-loopback network interface is used for the server code.

It is hard to say what exactly is failing… you may try playing around with the network configuration, perhaps trying to get the cable connector to be eth0 and wireless to be eth1. Also you may try disable wireless and see if that gets your server code back.

Rafal
User Avatar
Member
5 posts
Joined: 2月 2008
Offline
That function looks for some config files of network interfaces?
Maybe those files in gentoo don't exsists, what causes problems…

I usually have disabled eth0.
I have unloaded modules for that card and still doesn't work.
User Avatar
スタッフ
1454 posts
Joined: 7月 2005
Offline
the if_nameindex() is as standard C library function. You can read more about it in the manual pages (“man if_nameindex” in the shell). This is really a system API function used in source code, but I think it reports the same interfaces as the command line utility “ifconfig”. What does “ifconfig -a” print on your machine?
User Avatar
Member
5 posts
Joined: 2月 2008
Offline
eth0 Link encap:Ethernet HWaddr 00:1B:FC:27:9AE
BROADCAST MULTICAST MTU:1500 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:53 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:0 (0.0 b) TX bytes:2226 (2.1 Kb)
Interrupt:16 Base address:0x8000

eth1 Link encap:Ethernet HWaddr 00:1B:FCE:4F:3D
inet addr:192.168.0.2 Bcast:192.168.0.255 Mask:255.255.255.0
inet6 addr: fe80::21b:fcff:fede:4f3d/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:78935 errors:0 dropped:0 overruns:0 frame:0
TX packets:63424 errors:0 dropped:0 overruns:0 carrier:2
collisions:0 txqueuelen:1000
RX bytes:92903284 (88.5 Mb) TX bytes:0 (0.0 b)
Memory:feac0000-feb00000

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:3552 errors:0 dropped:0 overruns:0 frame:0
TX packets:3552 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:239379 (233.7 Kb) TX bytes:239379 (233.7 Kb)

sit0 Link encap:IPv6-in-IPv4
NOARP MTU:1480 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:0
RX bytes:0 (0.0 b) TX bytes:0 (0.0 b)

eth0 is down, not in use. If I assign IP and netmask to eth0, there is still server code 00000000.


EDIT.

I wrote small progam, which prints output of function if_nameindex():
1: lo
2: sit0
3: eth0
4: eth1
It's means that computed server code is for sit0 (I don't know what device it is)?
How can I change it?
User Avatar
スタッフ
1454 posts
Joined: 7月 2005
Offline
yes, indeed, it looks like the server code is computed based on the sit0 interface, which probably does not have a MAC address, and therefore the server code is zero.

I don't know what this device is, either. Hmm, and I am not sure how this list is sorted. Whether there is any config file or they are all in order of their load sequence. Let me ask around..
User Avatar
Member
1145 posts
Joined: 7月 2005
Offline
From what I understand “sit0” is a pseudo device that acts as a bridge between ipv4 and ipv6.

Here's a simple thing to try. Turn off the computer and then unplug it. Wait a few minutes to let the residual charge drain off and then turn the computer back on. The Wake-on-Lan function may not be releasing your NIC.

If that doesn't work;

Take a look at the “ifup” command.

run “ifup -help” to see the functions.

You are likely looking to do something like this, provided you are running dhcp.
“ifup eth0 ”

You can do a test run of this without actually changing anything with a “-n” at the end, like this.
“ifup eth0 -n”

Any sys. admins out there look at this and make sure I'm not misdirecting?
“gravity is not a force, it is a boundary layer”
“everything is coincident”
“Love; the state of suspended anticipation.”
User Avatar
スタッフ
1454 posts
Joined: 7月 2005
Offline
i have talked to my colleague and he just committed a fix for this bug. You can download and install tomorrow's Houdini daily build, which will be, I think, 9.1.165 (you can obtain it from the download page once you log in to the download services in Support > Download on this website. The daily builds section is just below production builds)

Meanwhile, if you don't need the IPv6 over IPv4, he suggested to run ‘rmmod sit’ to remove this interface.
User Avatar
Member
5 posts
Joined: 2月 2008
Offline
I have recompiled my kernel and remove from config that ipv4-ipv6. There is no longer sit0 device and everything works fine.


Thanks.
  • Quick Links