Forum Home
Press F1
 
Thread ID: 46362 2004-06-21 07:05:00 Fedora C1 Telnet Server Setup Growly (6) Press F1
Post ID Timestamp Content User
246550 2004-06-22 13:24:00 > > You mean I can do nothing but cry about it?
>
> Yes, you can investigate why your app is segfaulting.
> :)

Wasn't me, honest!

Try checking the logs. That may tell you why its crashing.
segfault (655)
246551 2004-06-22 13:39:00 > you can only login as root on the box.
>
> if you telnet in you cant login as root, this is a
> security thing.
>
> login as your normal user and the SU up to root.
>

You can enable this feature, but it's extremely poor security practice. Even SSH as root isn't good.
whiskeytangofoxtrot (438)
246552 2004-06-22 23:53:00 Actually, Ive got a box that I only use as a server, and its got no other User logins except root (And the ftp, jabberd etc logins).

For day-to-day use, sure its bad practise to stay as root, but for a server you should technically have a "user' with root powers and then disable the root account.

Look into ssh, rather than telnet. Its more secure (But if its just over a LAN there's not much to worry about) and you can do things like X forwarding!

Run:
service sshd start
to start sshd

Then goto Google and search for:
Putty download

Get Putty.exe (Its a telnet client as well as an ssh client!) and use it to ssh into your Fedora box :-)

And anyways, to check the logs, try this after the app has just segfaulted:
tail -n 20 /var/log/messages

Hope this helps


Chill.
Chilling_Silence (9)
246553 2004-06-23 09:37:00 Hey eveyone...

Thanks WTF and Chill, I remember that IT tech of ours using putty....

And where are these logs?
Growly (6)
246554 2004-06-23 09:38:00 Uh - scratch that - sorry chill, you told me exactly where the logs where...

*Embarassed*
Growly (6)
246555 2004-06-23 09:48:00 Ok putty is awesome.

But Uh the log thing doesnt show me any problems that I can see.

I ran the program (which happens to be hlds_l_3111_full.bin , the Valve Steam dedicated server), and straight after the problem came up, I checked the logs.

Here they are :D

[root@homeless root]# ./hlds_l_3111_full.bin
Segmentation fault
[root@homeless root]# tail -n 20 /var/log/messages
Jun 23 17:58:02 homeless kernel: PCI: Assigned IRQ 5 for device 00:07.5
Jun 23 17:58:02 homeless kernel: ac97_codec: AC97 Audio codec, id: VIA97 (Unknown)
Jun 23 17:58:02 homeless kernel: via82cxxx: board #1 at 0xDC00, IRQ 5
Jun 23 17:58:02 homeless modprobe: modprobe: Can't locate module sound-service-0-0
Jun 23 18:02:15 homeless pure-ftpd: (?@?) [WARNING] Unknown run-time option
Jun 23 18:02:20 homeless pure-ftpd: (?@?) [WARNING] Unknown run-time option
Jun 23 18:02:29 homeless su(pam_unix)[2608]: session closed for user root
Jun 23 18:02:29 homeless login(pam_unix)[2566]: session closed for user fedora
Jun 23 18:06:01 homeless pure-ftpd: (?@?) [WARNING] Unknown run-time option
Jun 23 18:06:18 homeless last message repeated 3 times
Jun 23 18:06:18 homeless pure-ftpd: (?@?) [ERROR] Configuration error: Illegal trusted gid for chroot: rt
Jun 23 18:08:37 homeless pure-ftpd: (?@192.168.0.50) [INFO] New connection from 192.168.0.50
Jun 23 18:08:37 homeless pure-ftpd: (?@192.168.0.50) [INFO] root is now logged in
Jun 23 18:09:35 homeless pure-ftpd: (?@192.168.0.50) [INFO] New connection from 192.168.0.50
Jun 23 18:09:35 homeless pure-ftpd: (?@192.168.0.50) [INFO] root is now logged in
Jun 23 18:10:40 homeless pure-ftpd: (root@192.168.0.50) [INFO] Logout.
Jun 23 18:10:40 homeless pure-ftpd: (root@192.168.0.50) [INFO] Logout.
Jun 23 20:38:04 homeless sshd: succeeded
Jun 23 20:42:00 homeless sshd(pam_unix)[2896]: session opened for user root by (uid=0)
[root@homeless root]#
Growly (6)
246556 2004-06-23 13:49:00 LMAO - If its HLDS then there's a known bug in it and you have to put in folder XYZ... Have a google on the subject and it'll tell you where to put the file to get it to work :-) Chilling_Silence (9)
246557 2004-06-24 07:16:00 Bloody steam.... Growly (6)
1 2