English   German
  #1  
Old 11-10-2002, 23:44
GreyStork GreyStork is offline
-= TeamSpeak User =-
 
Join Date: Oct 2002
Location: USA
Posts: 6
GreyStork is on a distinguished road
Question PID file not created under FreeBSD 4.3

As the heading indicates, the TeamSpeak Linux server fails to create a PID file on startup. Does that work under Linux? Here's my startup script (I've changed the executable file name and stufff)

#! /bin/sh

case "$1" in
start)
[ -x /usr/bin/tss2 ] && /usr/bin/tss2 -PID=/var/run/tss2.pid > /dev/null && echo 'Starting TeamSpeak 2 Server Daemon'
;;
stop)
[ -r /var/run/tss2.pid ] && kill `cat /var/run/tss2.pid` && echo 'Stopping TeamSpeak Server Daemon'
;;
restart)
$0 stop && $0 start
;;
*)
echo "Usage: `basename $0` {start|stop|restart}" >&2
;;
esac
Reply With Quote
  #2  
Old 12-10-2002, 08:52
FloorPie's Avatar
FloorPie FloorPie is offline
-= TeamSpeak Addict =-
 
Join Date: Sep 2002
Location: Colorado, USA
Posts: 103
FloorPie is on a distinguished road
Does the user you're running as have write-access to /var/run/ ?
On my system, only root has read/write access to that directory.
Reply With Quote
  #3  
Old 12-10-2002, 10:12
GreyStork GreyStork is offline
-= TeamSpeak User =-
 
Join Date: Oct 2002
Location: USA
Posts: 6
GreyStork is on a distinguished road
Yes, I'm presently running the server as root. An excerpt from "ps -aux":

root 872 0.0 6.0 20756 7668 v0 S 1:20PM 0:03.48 /usr/bin/tss2 -PID=/var/run/tss2.pid
Reply With Quote
  #4  
Old 19-10-2002, 02:24
DaneWeasel
Guest
 
Posts: n/a
I got the same problem as GreyStork...
The only diff from him to me is that i use FreeBSD 4.6

Any chance this will be fix'ed
Reply With Quote
  #5  
Old 14-08-2003, 05:08
mjmaltese mjmaltese is offline
-= TeamSpeak User =-
 
Join Date: Aug 2003
Location: SoCal
Posts: 9
mjmaltese is on a distinguished road
I know this is a bit late, but on FreeBSD the pid file is created in /usr/compat/linux/var/run if you've specified -PID=/var/run as the directory.
Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Forum Jump


All times are GMT +1. The time now is 04:10.


Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
Add to Bookmarks   |   Printview   |   Contact Us   |   Legal Notices