LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

tcp open connection works only if root

It worked on RedHat 8. It doesn't work on RedHat 9. Anyone experienced the same problem?
0 Kudos
Message 1 of 5
(2,905 Views)
This is normal default for linux. You may want to set the SUID bit on the tcp/ip open connection.

Eric
Eric P. Nichols
P.O. Box 56235
North Pole, AK 99705
0 Kudos
Message 2 of 5
(2,905 Views)
.... mmmm .... so why is it working on redhat 8.0?
BTW what do you mean exactly with "set SUID"? on a labview function???
0 Kudos
Message 3 of 5
(2,905 Views)
Greetings again!

SUID isn't a Labview function; it's simply a file permission function in Linux. You might want to find the actual executable that opens when you request a tcp/ip, and see what the permissions are. Did you install Labview as root or as a user? This could determine how the default permissions were set.
Just a few things to check. If it Does work as root, then it's almost certainly a permissions issue.

Eric
Eric P. Nichols
P.O. Box 56235
North Pole, AK 99705
0 Kudos
Message 4 of 5
(2,905 Views)
Hi,
thanks for the answers but I found the solution and I can say that it has been a real hassle. The problem is due to the new POSIX thread library implementation that comes with redhat 9: users should disable the new NPTL implementation by issuing
export LD_ASSUME_KERNEL=2.4.1
prior of executing labview. The strange thing is that RH9 and LabView 6.0i works even with NPTL support enabled.
0 Kudos
Message 5 of 5
(2,905 Views)