Hi!
I did it and it works
here is what I did maybe someone will use it:)

1) creat the ser-0.9.x directory and ser-0.10.x each for one ser instance
2) in each directory:
lrwxrwxrwx 1 ser ser    32 2006-12-21 14:39 ser -> /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
3) modify the ser.cfg file by directing the module to modole sources generated by make (..) all. For instance
loadmodule "/path_to_source_direcotry/modules/mysql/mysql.so"
* in case of different release of ser one need to update the database url as well, in order to connect to the right one

4) make a copy of the serctl file and place it in the needed directory

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
and modify the start section by adding a -P option to use that pointed file. example
# 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
...
if [ $SYSLOG = 1 ] ; then
	$SERBIN -f $CFG_FILE -P $PID_FILE $STARTOPTIONS 2>$LOG_FILE 1>$LOG_FILE
else
	$SERBIN -f $CFG_FILE -P $PID_FILE -E $STARTOPTIONS
fi
Works just fine :)
Bests
Tomasz Zieleniewski

tzieleniewski napisaƂ(a):
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 
  
TZieleniewski wrote:
    
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 :)
      
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

    

_______________________________________________
Serusers mailing list
Serusers@lists.iptel.org
http://lists.iptel.org/mailman/listinfo/serusers