No more licenses problem

After a restore on a Mac OSX Server 10.2.8 and restarting Servoy server manually I have been unable to start clients anymore.
Message on the client is “No more client licenses or trial licenses left. Exiting”

Server runs R2 2.1 build 310

Administrator says there are 5 licenses.

I remember having had this before when a Workstation crashed on regular basis leaving the client open. It was then solved by closing the clients in Administrator.

This time I have no active clients I can see in Admin, I flushed everything with no result.

Any suggestions ?

Client licences are different from the developer licence and can only be entered using the server admin pages.

patrick:
Client licences are different from the developer licence and can only be entered using the server admin pages.

Yes but here the client licenses show in admin pages.

Must be another problem somewhere.

By starting the server ‘Manually’ i mean starting a Developper first to start Sybase, closing Developper and then starting servoy_server.sh shell.
Console log says the server started correctly
Admin pages are OK and show 5 users.

Probably some incorrect data from the server trips the message on the client . Is it something in the servoy.properties file ?

Discovered that the client runs with no problem on the server
I checked the firewall settings but this has not solved the problem

Has anyone had this before ?

Or what am i doing wrong ?

are you sure all ports are open on the firewall?
1099 (the rmi port, the one specified in admin)
8080 (the http server port, but this you have open, if not you couldn’t start anything)

Do the clients run on the same network?

To make sure look if 2 way socket in enabled and that the rmi hostname is 127.0.0.1

(admin pages/network)

jcompagner:
are you sure all ports are open on the firewall?
1099 (the rmi port, the one specified in admin)
8080 (the http server port, but this you have open, if not you couldn’t start anything)

Do the clients run on the same network?

To make sure look if 2 way socket in enabled and that the rmi hostname is 127.0.0.1

Yes to all questions, same issue after restarting
I am pretty sure the damn thing worked before
The restore is a image copy of the the failed system after a disk crash

Should I try to reinstall Servoy, or is it just some file the client cannot access (unix permission problem) ?

OK I tried all the tricks of my bag, but still no solution to that problem

Has something to do with the server but Unix permissions and firewall were set as they suppose to be set.

Client works on the server (OS X Server 10.2.8)

But not (anymore) from the remote clients on the same network.

Any other clue about what i should check

BTW I tried to install a new server (RC 2.2) on a Tiger Server (10.4.1) and gave up after errors but this is another story.

janber:
OK I tried all the tricks of my bag, but still no solution to that problem

Has something to do with the server but Unix permissions and firewall were set as they suppose to be set.

Client works on the server (OS X Server 10.2.8)

But not (anymore) from the remote clients on the same network.

Any other clue about what i should check

Does it work if you turn the firewall off? We have quite a few customers running on OS X servers without problems, so my first suspicion is that there is something wrong in your firewall config.

janber:
BTW I tried to install a new server (RC 2.2) on a Tiger Server (10.4.1) and gave up after errors but this is another story.

What problems do you have? There was a error in one of the earlier builds that would give an error on a chmod command, this has been fixed in later builds (that are now online).

Actually the problem dissapeared and i am not really sure why

in the servoy.properties file i found this :

servoy.rmiStartPort=1099

and a bit lower

usedRMIRegistryPort=1100

After i changed the latter to 1099 everything seemed to work again.

I have no further explanation, was that the problem that triggered the “No more licence …” message ?

then you have started 2 servoy instances and then the 1099 is already in use so it will walk until it finds a good where he can bind on.

And we are always when we are starting up the server starting from the rmiStartPort. So it shouldn’t matter what that property is in the properties file.
(that one is used and calculated are runtime, startup from the servoy server)