Koozali.org: home of the SME Server
Legacy Forums => Experienced User Forum => Topic started by: Tivon on September 04, 2003, 03:21:51 AM
-
Hi,
I have recently installed an JVM Application on a 5.6 U4 machine,
I installed the same j2se - 1.4.1 that Cyrus Bharda has in his netprobe inststall
http://mirror.contribs.org/smeserver/contribs/cbharda/howto/netprobe-howto.htm
The program runs fine as a trial version, but when I try to put in the paid licence it is meant to check on the local network with a broadcast, I have check with the developer of the software and he has never had this problem on any other linux box before.
I'm just wondering if anyone has ever seen an error like the following before or if anyone has any ideas of what may cause it and if anyone can come up with any suggestions on how i might be able to go about fixing it.
Checking for network licenses in use...Please wait...
java.io.IOException: Operation not permitted
Network error (java.io.IOException: Operation not permitted).
Thanks in advance
Tivon
-
Hi Tivon - I am thinking this has something to do with the lack (or disabling ) of multicast support. I do not know e-smith and have no idea whether this is related to e-smith or the LAN (routers in use etc.)
Does e-smith do anything to disable or limit multicast (and/or broadcast)?
If not, this could well be a problem with older (or purposefully disabled) support for multicast on/in the LAN itself. Multicast support is not mandatory in IPv4 but is in IPv6 -- and Linux is, full Level-2 Multicast-Compliant - but I guess some LAN devices could cause problems.
Anyone else have some input? -- some e-smith specifics or insight?
Tivon wrote:
>
> Hi,
>
> I have recently installed an JVM Application on a 5.6 U4
> machine,
> I installed the same j2se - 1.4.1 that Cyrus Bharda has in
> his netprobe inststall
> http://mirror.contribs.org/smeserver/contribs/cbharda/howto/netprobe-howto.htm
>
> The program runs fine as a trial version, but when I try to
> put in the paid licence it is meant to check on the local
> network with a broadcast, I have check with the developer of
> the software and he has never had this problem on any other
> linux box before.
>
> I'm just wondering if anyone has ever seen an error like the
> following before or if anyone has any ideas of what may cause
> it and if anyone can come up with any suggestions on how i
> might be able to go about fixing it.
>
> Checking for network licenses in use...Please wait...
> java.io.IOException: Operation not permitted
> Network error (java.io.IOException: Operation not permitted).
>
> Thanks in advance
> Tivon
-
Tivon wrote:
>
>
> Checking for network licenses in use...Please wait...
> java.io.IOException: Operation not permitted
> Network error (java.io.IOException: Operation not permitted).
>
> Thanks in advance
> Tivon
This sounds like a security issue.
Be sure to check the chmod of
the file and the owner. Look
in the documentation. Actually,
compare the chmod and file ownership
of the sample licencs and the paid
for license. They should be set the
same.
Scott.
-
> > Checking for network licenses in use...Please wait...
> > java.io.IOException: Operation not permitted
> > Network error (java.io.IOException: Operation not permitted).
>
> This sounds like a security issue.
> Be sure to check the chmod of
> the file and the owner. Look
> in the documentation. Actually,
> compare the chmod and file ownership
> of the sample licencs and the paid
> for license. They should be set the
> same.
>
> Scott.
Thats what I thought as well or something to do with java not having permissions to execute certain networking tasks ... I've checked the licence key ownerships and permissions and it all looks the same can't see anything different... any other suggestions? :)
Tivon
-
Tivon wrote:
>
> Thats what I thought as well or something to do with java not
> having permissions to execute certain networking tasks ...
> I've checked the licence key ownerships and permissions and
> it all looks the same can't see anything different... any
> other suggestions? :)
>
> Tivon
Since you are trying to install a paid for license,
I would contact the vendor at this point and
see if there is anything that they know. It may
be a bug inthe license file itself. I realy doubt
that your the first one to encounter such an
issue.
Something just occurd to me:
While doing so, did you download the license
to a windows box and transfer it over to the
server via samba? Windows does some screwing things
with text that linux doesn't like when using samba.
If so, try transfering it over via ftp as opposed to
the network. I have found that this can resolve
certain issues when dealing with ascii/text files.
One example of this is I downloaded a tar.gz file
with an iso image in it. Windows could not untar
the file due to errors in it. I then had the my sme5.6
server download the file. and gunzipped and untarred it
on the sme5.6 box. Then I used the samba connection
to tranfer the resulting iso image over to my windows
machine to burn it to the cd. More steps than I would
have liked to take, but it worked. By ftping the license
file over to the sme server, the ftp software will be sure
to transfer the file in ascii mode which I beleive the license
files are in. Try the ftp trick first, and if this doesn't work,
call the vendor, your file may be corrupted in some way.
Scott.
-
> Since you are trying to install a paid for license,
> I would contact the vendor at this point and
> see if there is anything that they know. It may
> be a bug inthe license file itself. I realy doubt
> that your the first one to encounter such an
> issue.
>
> Something just occurd to me:
> While doing so, did you download the license
> to a windows box and transfer it over to the
> server via samba? Windows does some screwing things
> with text that linux doesn't like when using samba.
> If so, try transfering it over via ftp as opposed to
> the network. I have found that this can resolve
> certain issues when dealing with ascii/text files.
>
> One example of this is I downloaded a tar.gz file
> with an iso image in it. Windows could not untar
> the file due to errors in it. I then had the my sme5.6
> server download the file. and gunzipped and untarred it
> on the sme5.6 box. Then I used the samba connection
> to tranfer the resulting iso image over to my windows
> machine to burn it to the cd. More steps than I would
> have liked to take, but it worked. By ftping the license
> file over to the sme server, the ftp software will be sure
> to transfer the file in ascii mode which I beleive the license
> files are in. Try the ftp trick first, and if this doesn't
> work,
> call the vendor, your file may be corrupted in some way.
>
> Scott.
Hi Scott thanks for your comments, I have been working in with the vendor in fact he’s Horace (the person who made the second quote here). The key is actually a string of text which is entered with a java command creating a .licence directory, Horace gave me a temporary key which created the directory and worked fine, it was only the full key which didn't work.
We just solved the problem today, in the end we went back to using an older version of the software which doesn't multicast just broadcasts, it seems to have solved it, but its interesting that it wouldn't allow multicasting...more interesting this is the only time Horace has encountered this problems with linux when running his software…which makes us both wonder if there is anything that could be blocking it on esmith.
Not to worry now because we have found a work-around but its still interesting to know that there could be an issue here.