<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
  <meta content="text/html;charset=UTF-8" http-equiv="Content-Type">
  <title></title>
</head>
<body bgcolor="#ffffff" text="#000000">
Hi!<br>
I did it and it works <br>
here is what I did maybe someone will use it:)<br>
<br>
1) creat the ser-0.9.x directory and ser-0.10.x each for one ser
instance<br>
2) in each directory:<br>
<pre wrap="">lrwxrwxrwx 1 ser ser    32 2006-12-21 14:39 ser -&gt; /home/ser/src/ser-0.9.7-pre1/ser
-rw-r--r-- 1 ser ser 15614 2006-12-21 15:20 ser.cfg
-rwxr-xr-x 1 ser ser 21894 2006-12-21 15:27 serctl</pre>
3) modify the ser.cfg file by directing the module to modole sources
generated by make (..) all. For instance<br>
loadmodule "/path_to_source_direcotry/modules/mysql/mysql.so"<br>
* in case of different release of ser one need to update the database
url as well, in order to connect to the right one <br>
<br>
4) make a copy of the serctl file and place it in the needed directory<br>
<br>
5) modify the serctl script in order to point to the ser.cfg in the
current (or other) directory as well as the pid.file<br>
and modify the start section by adding a -P option to use that pointed
file. example<br>
<pre wrap=""># configuration for starting/stopping ser
SER_DIR=/home/ser/serc/ser-0.9.7
PID_FILE=$SER_DIR/ser.pid
CFG_FILE=$SER_DIR/ser.cfg
SYSLOG=1 # 0=output to console, 1=output to syslog
STARTOPTIONS= # for example -dddd
DIR=$SER_DIR #`dirname $0`
SERBIN=$DIR/ser
AWK=awk
# logfile update
LOG_DIR=/home/ser/traces
LOG_FILE_NAME=ser.trace.`date +%Y%m%d`
LOG_FILE=$LOG_DIR/$LOG_FILE_NAME</pre>
...<br>
<pre wrap="">if [ $SYSLOG = 1 ] ; then
        $SERBIN -f $CFG_FILE -P $PID_FILE $STARTOPTIONS 2&gt;$LOG_FILE 1&gt;$LOG_FILE
else
        $SERBIN -f $CFG_FILE -P $PID_FILE -E $STARTOPTIONS
fi</pre>
Works just fine :)<br>
Bests<br>
Tomasz Zieleniewski<br>
<br>
tzieleniewski napisaƂ(a):
<blockquote cite="mid5578d71e.5e688497.458a6ab7.e57b2@o2.pl" type="cite">
  <pre wrap="">Thank U!!
And in order to use the serctl script I need to change first of all the DIR parameter and some other database ones and etc? will it work too?

Bests 
Tomasz 
  </pre>
  <blockquote type="cite">
    <pre wrap="">TZieleniewski wrote:
    </pre>
    <blockquote type="cite">
      <pre wrap="">Hi ALL!!

Is it possible to have to different releases of ser on the same machine?
Have any one tired that? I couldn't find any info the web, please help :)
      </pre>
    </blockquote>
    <pre wrap="">it is possible. but you can not use the precompiled packages (rpm, 
debian). E.g. just download the source code, compile it (make), but do 
NOT install it (no make install).

Then start ser from the source code directory. use -f to specify the 
location of the ser.cfg file and adopt the location of the modules in 
ser.cfg

Also make sure to not listen on the same ports and use different FIFOs 
and pid files.

regards
klaus



-- 
Klaus Darilion
nic.at

    </pre>
  </blockquote>
  <pre wrap=""><!---->
_______________________________________________
Serusers mailing list
<a class="moz-txt-link-abbreviated" href="mailto:Serusers@lists.iptel.org">Serusers@lists.iptel.org</a>
<a class="moz-txt-link-freetext" href="http://lists.iptel.org/mailman/listinfo/serusers">http://lists.iptel.org/mailman/listinfo/serusers</a>


  </pre>
</blockquote>
<br>
</body>
</html>