Ventrilo Tech Support  

Go Back   Ventrilo Tech Support > Main Category > Server

Reply
 
Thread Tools Display Modes
Old 10-22-2007, 02:09 PM   #1
halabit
Junior Member
 
Join Date: Oct 2007
Posts: 3
Default Does Ventrilo support CentOS ?

Does Ventrilo support CentOS ?

Thx in advance for answer , Alex
halabit is offline   Reply With Quote
Old 10-22-2007, 02:24 PM   #2
joethesysadmin
Junior Member
 
Join Date: Oct 2007
Posts: 3
Default Does it support it? Or, does it run on CentOS?

Does it support it? Or, does it run on CentOS?

Does Flagship support it -- I don't know.

Does Ventrilo Server run on CentOS? Yes. I just installed it on CentOS 5 this morning.

FYI, the init script that is available on the downloads page doesn't work on RedHat/CentOS 5. I rewrote it this morning. Feel free to add this init script to the downloads section -- it should work on CentOS 4.x and 5.x (as well as probably working on all Red Hat, Fedora and Mandriva distributions)

Quote:
#!/bin/bash
#
# Ventrilo Startup script for the Ventrilo Server
#
# chkconfig: - 85 15
# description: Ventrilo Surround Sound Voice Communication Software

# Source function library.
. /etc/rc.d/init.d/functions

# Replace the values of VENPATH and VENSRV with your ventrilo path and server name.
# Replace the value of VENUSER with the account name that ventrilo runs under.
VENPATH=/home/ventrilo/bin
VENSRV=$VENPATH/ventrilo_srv
VENUSER=ventrilo
PORT=3784
PIDFILE=${PIDFILE-$VENPATH/ventrilo.pid}
LOCKFILE=${LOCKFILE-$VENPATH/ventrilo.lock}
RETVAL=0


if [ ! -f $VENPATH/$PORT.ini ]; then
echo "INI file '$VENPATH/$PORT.ini' not found. Exiting"
exit 1
fi

if [ ! -f $VENSRV ]; then
echo "Ventrilo Server executable '$VENSRV' not found. Exiting"
exit 1
fi



start() {
echo -n $"Starting $0: "
su $VENUSER -c "$VENSRV -f$VENPATH/$PORT -d"
RETVAL=$?
echo
[ $RETVAL = 0 ] && touch ${LOCKFILE}
return $RETVAL
}

stop() {
echo -n $"Stopping $0: "
killproc -d 10 $VENSRV
RETVAL=$?
echo
[ $RETVAL = 0 ] && rm -f ${LOCKFILE} ${PIDFILE}
}

# See how we were called.
case "$1" in
start)
start
;;
stop)
stop
;;
status)
status $VENSRV
RETVAL=$?
;;
restart)
stop
start
;;
condrestart)
if [ -f ${PIDFILE} ] ; then
stop
start
fi
;;
*)
echo $"Usage: $0 {start|stop|restart|condrestart|status|help}"
exit 1
esac

exit $RETVAL
joethesysadmin is offline   Reply With Quote
Old 10-22-2007, 02:33 PM   #3
halabit
Junior Member
 
Join Date: Oct 2007
Posts: 3
Default

Thx for script !

So you just make a file with that source and with archive ( from download section ) you upload it and start file with your source code ?

Last edited by halabit; 10-22-2007 at 02:36 PM.
halabit is offline   Reply With Quote
Old 10-22-2007, 03:15 PM   #4
halabit
Junior Member
 
Join Date: Oct 2007
Posts: 3
Default

Please can anyone explain me how to do this step by step , i'm little new in this .

Thanks in advance ! Alex
halabit is offline   Reply With Quote
Old 10-22-2007, 06:21 PM   #5
joethesysadmin
Junior Member
 
Join Date: Oct 2007
Posts: 3
Default I did the following:

  1. Install CentOS 5.
  2. Bring OS up to current patch level
  3. Get the package from the Downloads section
  4. Make a ventrilo user
    Code:
    /usr/sbin/useradd ventrilo
  5. Lock the ventrilo user's password
    Code:
    /usr/bin/passwd -l ventrilo
  6. Make a ~user/bin directory
    Code:
    mkdir /home/ventrilo/bin
  7. Unpack the archive to the ~user/bin directory
    Code:
    tar -xzf ventrilo_srv-2.3.1-Linux-i386.tar.gz -C /home/ventrilo/bin/
  8. Copy the example configuration file
    Code:
    cp ventrilo_srv.ini 3784.ini
  9. Edit the config file
    Code:
    vi /home/ventrilo/bin/3784.ini
  10. Edit the init script (supplied above)
    Code:
    vi /etc/init.d/ventrilo
  11. chown everything to the ventrilo user
    Code:
    chown -R ventrilo:ventrilo /home/ventrilo/bin
  12. chmod the init script to be executable
    Code:
    chmod 0755 /etc/init.d/ventrilo
  13. chkconfig the init script so that it starts at boot time (part 1)
    Code:
    /sbin/chkconfig --add ventrilo
  14. chkconfig the init script so that it starts at boot time (part 2)
    Code:
    /sbin/chkconfig --level 354 ventrilo on
  15. Open the port (3784, by default) on the firewall
    Code:
    vi /etc/sysconfig/iptables
  16. Restart iptables
    Code:
    /etc/init.d/iptables restart
  17. Start the Ventrilo server
    Code:
    /etc/init.d/ventrilo start
That should do it. That's just off the top of my head, so you'll have to fill in the gaps.
joethesysadmin is offline   Reply With Quote
Old 01-22-2010, 04:49 AM   #6
panaceya
Junior Member
 
Join Date: Jan 2010
Posts: 1
Default

Hello. I installed vetrillo on CentOS 5.3


Attempts to connect the client to the server fail. Nmap says about open port 3784.
Code:
nmap server
Starting Nmap 5.00 ( http://nmap.org ) at 2010-01-22 11:46 ╘шэы*эфш* (чшьр)
Interesting ports on server (server):
Not shown: 982 closed ports
PORT     STATE    SERVICE
 *** deleted ***
3784/tcp open     unknown

Nmap done: 1 IP address (1 host up) scanned in 4.58 seconds
The configuration file was copied from a running server on FreeBSD (ventrilo was installed from ports). iptables are configured ok.

Sanks.
panaceya is offline   Reply With Quote
Reply

Thread Tools
Display Modes

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 On
HTML code is On

Forum Jump


All times are GMT -5. The time now is 06:28 AM.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2019, vBulletin Solutions, Inc.