[Serusers] Problem starting SER with Presence support

Vaclav Kubart vaclav.kubart at iptel.org
Thu Mar 16 10:01:43 CET 2006


I'm not sure. I don't know much about python. On my Debian I have
installed python-mysqldb, python2.3-mysqldb and this is probably enough.
Maybe, you can find something in documentation for serctl.
	Vaclav

On Thu, Mar 16, 2006 at 10:25:31AM +0200, ?lker Aktuna (Koç.net) wrote:
> Hi,
> 
> Thanks for the files. When I run the initdb script I have the following errors.
> I guess that I need python-mysqldb. Where can I find this ?
> (I never used python before)
> 
> Is that package the required one : MySQL-python 0.9.1-6.i386 ?
> 
> # ./initdb.sh
> ser_domain: No module named MySQLdb: ImportError
> ser_user: No module named MySQLdb: ImportError
> ser_user: No module named MySQLdb: ImportError
> ser_user: No module named MySQLdb: ImportError
> ser_user: No module named MySQLdb: ImportError
> ser_user: No module named MySQLdb: ImportError
> ser_user: No module named MySQLdb: ImportError
> ser_uri: No module named MySQLdb: ImportError
> ser_uri: No module named MySQLdb: ImportError
> ser_uri: No module named MySQLdb: ImportError
> ser_uri: No module named MySQLdb: ImportError
> 
> Thanks,
> ilker
> 
> -----Original Message-----
> From: Vaclav Kubart [mailto:vaclav.kubart at iptel.org]
> Sent: Thursday, March 16, 2006 9:45 AM
> To: ?lker Aktuna (Koç.net)
> Cc: serusers at lists.iptel.org
> Subject: Re: [Serusers] Problem starting SER with Presence support
> 
> There is my testing config file. It needs to have some users stored in database (I attach my script which adds initialization data using serctl). You can try to look on it and modify it according your needs (change paths to modules, ...)
> 
>         Vaclav
> 
> 
> On Thu, Mar 16, 2006 at 09:30:23AM +0200, ?lker Aktuna (Koç.net) wrote:
> > Hi,
> >
> > Is there any working configuration sample for Ser with presence ?
> > I understand that handbook is out of date but if my problem is just the fifo line, may I see a working example ?
> >
> > Thanks,
> > ilker
> >
> > -----Original Message-----
> > From: Vaclav Kubart [mailto:vaclav.kubart at iptel.org]
> > Sent: Wednesday, March 15, 2006 6:11 PM
> > To: ?lker Aktuna (Koç.net)
> > Cc: serusers at lists.iptel.org
> > Subject: Re: [Serusers] Problem starting SER with Presence support
> >
> > Hello,
> > mysql tables can be created using script scripts/mysql/ser_mysql.sh in source tree (CVS version).
> >
> > Presence handbook is a bit out of date, but in few days there will be new version - please be patient.
> >
> >         Vaclav
> >
> > On Wed, Mar 15, 2006 at 05:57:07PM +0200, ?lker Aktuna (Koç.net) wrote:
> > > Hi,
> > >
> > > Thanks for the presence book. I am reading it now. But I think I
> > > also need scripts for creating needed tables in Mysql. I couldn't
> > > find anywhere scripts for mysql.  There is a "make dbinstall"
> > > command in cvs release but that didn't produce the expected result.
> > >
> > > Btw, I just compiled cvs version again and tried the cfg file
> > > example in the presence book at
> > > ftp://ftp.iptel.org/pub/ser/presence/ This cfg example still has the
> > > fifo="/tmp/ser_fifo" in it and I still get the same parse error.
> > >
> > > Any help on this ?
> > >
> > > Thanks,
> > > ilker
> > >
> > > -----Original Message-----
> > > From: Vaclav Kubart [mailto:vaclav.kubart at iptel.org]
> > > Sent: Wednesday, March 15, 2006 8:37 AM
> > > To: ?lker Aktuna (Koç.net)
> > > Cc: serusers at lists.iptel.org
> > > Subject: Re: [Serusers] Problem starting SER with Presence support
> > >
> > > Hi,
> > > I am responsible for presence server in ser.
> > >
> > > In few days, there will be new version of presence snapshot with new version of "presence handbook" (actualized documentation and configuration samples). Last versions of them are available on ftp://ftp.iptel.org/pub/ser/presence.
> > >
> > > Try to read the "presence handbook", all things needed for presence setup should be written there. Let me know if you miss something in it.
> > >
> > >         Vaclav
> > >
> > > P.S. Old configuration files will probably NOT work with new version of ser (like your fifo problems).
> > >
> > > On Tue, Mar 14, 2006 at 05:50:27PM +0200, ?lker Aktuna (Koç.net) wrote:
> > > > Hi again,
> > > >
> > > > isn't there anyone who uses the development SER version ? Anyone using/testing presence server ?
> > > > How can I contact the developers ? (serdev at lists.iptel.org does not
> > > > accept my emails)
> > > >
> > > > Maybe someone could point me to another presence server. Is there any presence server available for trying ?
> > > >
> > > > I am desperately trying to build some presence server. Please help me...
> > > >
> > > > Thanks,
> > > > ilker
> > > >
> > > >
> > > > ________________________________
> > > >
> > > > From: serusers-bounces at lists.iptel.org
> > > > [mailto:serusers-bounces at lists.iptel.org]
> > > > On Behalf Of ?lker Aktuna (Koç.net)
> > > > Sent: Tuesday, March 14, 2006 9:12 AM
> > > > To: serusers at lists.iptel.org
> > > > Subject: [Serusers] Problem starting SER with Presence support
> > > >
> > > >
> > > > Hi everyone,
> > > >
> > > > I am trying to run SER with presence server support. That's why I'm downloading the development sources with command:
> > > > cvs -d :pserver:anonymous at cvs.berlios.de:/cvsroot/ser checkout
> > > > sip_router
> > > >
> > > > I have libxml2 installed and the sources compile fine.
> > > > After that I try to start ser with attached config file "ser1.cfg". Actually, it is the simple config from the gettingstarted guide hello world part.
> > > >
> > > > Unfortunately ser does not start with the following error:
> > > >
> > > > # <mailto:ot at asterisk1>  /root/ser/sbin/ser -c -f
> > > > /root/ser/etc/ser/ser.cfg
> > > >  0(28118) parse error (11,1-5): syntax error
> > > >  0(28118) parse error (11,1-5):
> > > > ERROR: bad config file (2 errors)
> > > >
> > > > Line 11 has the "fifo" file definition. My /tmp folder settings seem ok :
> > > >
> > > > # ls -adl /tmp/
> > > > drwxrwxrwt   14 root     root         4096 Mar 13 09:25 /tmp/
> > > >
> > > > If I remove fifo line from the config (as in ser2.cfg) , ser starts but I guess that's not the right way. Because that time I can't register any clients and "serctl" command gives following error:
> > > >
> > > > Error opening ser's FIFO /tmp/ser_fifo Make sure you have line
> > > > fifo=/tmp/ser_fifo in your config
> > > >
> > > > By any chance, is there any user/developer who may have dealt with thşs problem before ?
> > > >
> > > > Thanks,
> > > > ilker
> > > >
> > > >
> > > > __________________________________________________________________
> > > > __
> > > > __
> > > > __________________________________________________________________
> > > > __ __ _ Bu e-posta mesaji kisiye ozel olup, gizli bilgiler
> > > > iceriyor olabilir. Eger bu e-posta mesaji size yanlislikla
> > > > ulasmissa,  icerigini hic bir sekilde kullanmayiniz ve ekli dosyalari acmayiniz. Bu durumda lutfen e-posta mesajini kullaniciya hemen geri gonderiniz  ve  tum kopyalarini mesaj kutunuzdan siliniz. Bu e-posta mesaji, hic bir sekilde, herhangi bir amac icin cogaltilamaz, yayinlanamaz ve para karsiligi satilamaz.  Bu e-posta mesaji viruslere karsi anti-virus sistemleri tarafindan taranmistir. Ancak yollayici, bu e-posta mesajinin - virus koruma sistemleri ile kontrol ediliyor olsa bile - virus icermedigini garanti etmez ve meydana gelebilecek zararlardan dogacak hicbir sorumlulugu kabul etmez.
> > > > This message is intended solely for the use of the individual or entity to whom it is addressed , and may contain confidential  information. If you are not the intended recipient of this message or you receive this mail in error, you should refrain from making any use of the contents and from opening any attachment. In that case, please notify the sender immediately and return the message to the sender, then, delete and destroy all copies. This e-mail message, can not be copied, published or sold for any reason. This e-mail message has been swept by anti-virus systems for the presence of computer viruses. In doing so, however,  sender  cannot warrant that virus or other forms of data corruption may not be present and do not take any responsibility in any occurrence.
> > > > __________________________________________________________________
> > > > __
> > > > __
> > > > __________________________________________________________________
> > > > __
> > > > __
> > > > _
> > > >
> > > >
> > > >
> > > > <http://271570.sigclick.mailinfo.com/sigclick/03060301/0E014E0E/09
> > > > 01
> > > > 4E
> > > > 06/91124912.jpg>
> > > > __________________________________________________________________
> > > > __
> > > > __
> > > > __________________________________________________________________
> > > > __ __ _ Bu e-posta mesaji kisiye ozel olup, gizli bilgiler
> > > > iceriyor olabilir. Eger bu e-posta mesaji size yanlislikla
> > > > ulasmissa,  icerigini hic bir sekilde kullanmayiniz ve ekli dosyalari acmayiniz. Bu durumda lutfen e-posta mesajini kullaniciya hemen geri gonderiniz  ve  tum kopyalarini mesaj kutunuzdan siliniz. Bu e-posta mesaji, hic bir sekilde, herhangi bir amac icin cogaltilamaz, yayinlanamaz ve para karsiligi satilamaz.  Bu e-posta mesaji viruslere karsi anti-virus sistemleri tarafindan taranmistir. Ancak yollayici, bu e-posta mesajinin - virus koruma sistemleri ile kontrol ediliyor olsa bile - virus icermedigini garanti etmez ve meydana gelebilecek zararlardan dogacak hicbir sorumlulugu kabul etmez.
> > > > This message is intended solely for the use of the individual or entity to whom it is addressed , and may contain confidential  information. If you are not the intended recipient of this message or you receive this mail in error, you should refrain from making any use of the contents and from opening any attachment. In that case, please notify the sender immediately and return the message to the sender, then, delete and destroy all copies. This e-mail message, can not be copied, published or sold for any reason. This e-mail message has been swept by anti-virus systems for the presence of computer viruses. In doing so, however,  sender  cannot warrant that virus or other forms of data corruption may not be present and do not take any responsibility in any occurrence.
> > > > __________________________________________________________________
> > > > __
> > > > __
> > > > __________________________________________________________________
> > > > __
> > > > __
> > > > _
> > >
> > > > _______________________________________________
> > > > Serusers mailing list
> > > > serusers at lists.iptel.org
> > > > http://lists.iptel.org/mailman/listinfo/serusers
> > >
> > >
> > >
> > >
> > >
> > >
> > > <http://271570.sigclick.mailinfo.com/sigclick/06050304/01044D03/0D06
> > > 4E
> > > 03/44221641.jpg>
> > > ____________________________________________________________________
> > > __
> > > ____________________________________________________________________
> > > __ _ Bu e-posta mesaji kisiye ozel olup, gizli bilgiler iceriyor
> > > olabilir. Eger bu e-posta mesaji size yanlislikla ulasmissa,  icerigini hic bir sekilde kullanmayiniz ve ekli dosyalari acmayiniz. Bu durumda lutfen e-posta mesajini kullaniciya hemen geri gonderiniz  ve  tum kopyalarini mesaj kutunuzdan siliniz. Bu e-posta mesaji, hic bir sekilde, herhangi bir amac icin cogaltilamaz, yayinlanamaz ve para karsiligi satilamaz.  Bu e-posta mesaji viruslere karsi anti-virus sistemleri tarafindan taranmistir. Ancak yollayici, bu e-posta mesajinin - virus koruma sistemleri ile kontrol ediliyor olsa bile - virus icermedigini garanti etmez ve meydana gelebilecek zararlardan dogacak hicbir sorumlulugu kabul etmez.
> > > This message is intended solely for the use of the individual or entity to whom it is addressed , and may contain confidential  information. If you are not the intended recipient of this message or you receive this mail in error, you should refrain from making any use of the contents and from opening any attachment. In that case, please notify the sender immediately and return the message to the sender, then, delete and destroy all copies. This e-mail message, can not be copied, published or sold for any reason. This e-mail message has been swept by anti-virus systems for the presence of computer viruses. In doing so, however,  sender  cannot warrant that virus or other forms of data corruption may not be present and do not take any responsibility in any occurrence.
> > > ____________________________________________________________________
> > > __
> > > ____________________________________________________________________
> > > __
> > > _
> >
> >
> >
> >
> > 
> > <http://271570.sigclick.mailinfo.com/sigclick/0605030D/06094A05/0D044E
> > 0A/24228196.jpg>
> > ______________________________________________________________________
> > ______________________________________________________________________
> > _ Bu e-posta mesaji kisiye ozel olup, gizli bilgiler iceriyor
> > olabilir. Eger bu e-posta mesaji size yanlislikla ulasmissa,  icerigini hic bir sekilde kullanmayiniz ve ekli dosyalari acmayiniz. Bu durumda lutfen e-posta mesajini kullaniciya hemen geri gonderiniz  ve  tum kopyalarini mesaj kutunuzdan siliniz. Bu e-posta mesaji, hic bir sekilde, herhangi bir amac icin cogaltilamaz, yayinlanamaz ve para karsiligi satilamaz.  Bu e-posta mesaji viruslere karsi anti-virus sistemleri tarafindan taranmistir. Ancak yollayici, bu e-posta mesajinin - virus koruma sistemleri ile kontrol ediliyor olsa bile - virus icermedigini garanti etmez ve meydana gelebilecek zararlardan dogacak hicbir sorumlulugu kabul etmez.
> > This message is intended solely for the use of the individual or entity to whom it is addressed , and may contain confidential  information. If you are not the intended recipient of this message or you receive this mail in error, you should refrain from making any use of the contents and from opening any attachment. In that case, please notify the sender immediately and return the message to the sender, then, delete and destroy all copies. This e-mail message, can not be copied, published or sold for any reason. This e-mail message has been swept by anti-virus systems for the presence of computer viruses. In doing so, however,  sender  cannot warrant that virus or other forms of data corruption may not be present and do not take any responsibility in any occurrence.
> > ______________________________________________________________________
> > ______________________________________________________________________
> > _
> 
> 
> 
> 
>  <http://271570.sigclick.mailinfo.com/sigclick/05070306/05044D09/07004E01/17023241.jpg>
> _____________________________________________________________________________________________________________________________________________
> Bu e-posta mesaji kisiye ozel olup, gizli bilgiler iceriyor olabilir. Eger bu e-posta mesaji size yanlislikla ulasmissa,  icerigini hic bir sekilde kullanmayiniz ve ekli dosyalari acmayiniz. Bu durumda lutfen e-posta mesajini kullaniciya hemen geri gonderiniz  ve  tum kopyalarini mesaj kutunuzdan siliniz. Bu e-posta mesaji, hic bir sekilde, herhangi bir amac icin cogaltilamaz, yayinlanamaz ve para karsiligi satilamaz.  Bu e-posta mesaji viruslere karsi anti-virus sistemleri tarafindan taranmistir. Ancak yollayici, bu e-posta mesajinin - virus koruma sistemleri ile kontrol ediliyor olsa bile - virus icermedigini garanti etmez ve meydana gelebilecek zararlardan dogacak hicbir sorumlulugu kabul etmez. 
> This message is intended solely for the use of the individual or entity to whom it is addressed , and may contain confidential  information. If you are not the intended recipient of this message or you receive this mail in error, you should refrain from making any use of the contents and from opening any attachment. In that case, please notify the sender immediately and return the message to the sender, then, delete and destroy all copies. This e-mail message, can not be copied, published or sold for any reason. This e-mail message has been swept by anti-virus systems for the presence of computer viruses. In doing so, however,  sender  cannot warrant that virus or other forms of data corruption may not be present and do not take any responsibility in any occurrence.
> _____________________________________________________________________________________________________________________________________________




More information about the sr-users mailing list