PDA

View Full Version : more problems with TS2 server under FreeBSD


segger
17-09-2002, 14:56
Does anything special need to be done to run the TS2 linux server under FreeBSD?

I'm running FreeBSD 4.6 and believe I have linux compatibility installed. When I try to run TS2 server as a normal user, the server starts then a few seconds later aborts. If I run it as root, the same happens but after the loading aborts, the system completely dies and requires a reboot.

Output:

cmos# ./server_linux &
[1] 186

cmos# ps
PID TT STAT TIME COMMAND
159 p0 Is 0:00.05 login -h willro -p
161 p0 S 0:00.20 -su (csh)
186 p0 S 0:00.07 ./server_linux
187 p0 R 0:02.24 ./server_linux
188 p0 S 0:00.00 ./server_linux
189 p0 S 0:00.00 ./server_linux
190 p0 S 0:00.00 ./server_linux
191 p0 S 0:00.00 ./server_linux
192 p0 R+ 0:00.00 ps
151 v0 Is+ 0:00.01 /usr/libexec/getty Pc ttyv0
152 v1 Is+ 0:00.01 /usr/libexec/getty Pc ttyv1
153 v2 Is+ 0:00.01 /usr/libexec/getty Pc ttyv2
cmos# Error stating daemon. Aborted

[1] Exit 2 ./server_linux
cmos#

LDD output:

cmos# ldd ./server_linux
./server_linux:
/lib/libNoVersion.so.1 => /lib/libNoVersion.so.1 (0x280c2000)
libpthread.so.0 => /lib/libpthread.so.0 (0x280c7000)
libdl.so.2 => /lib/libdl.so.2 (0x280d8000)
libc.so.6 => /lib/libc.so.6 (0x280db000)
/lib/ld-linux.so.2 => /lib/ld-linux.so.2 (0x280af000)

Any ideas, people? I'd love to get this working.

segger
18-09-2002, 06:16
After messing with the permissions on the various TS2 files, it now works when run as a normal user. When the extra daemons spawn they actually stay running and the server appears to be fully functional including the web interface, maintenance of channels and user registrations and logging.

I still, however, get the 'aborted' message even though the server works. This is quite odd.

When I run the server as root it still causes the entire system to stop responding.

For the moment I'll just ignore the abort message, run it as a normal user and be happy.