[Serusers] Problem starting SER with Presence support

İlker Aktuna (Koç.net) ilkera at koc.net
Thu Mar 16 14:40:00 CET 2006


Should I register users on ser ? Can I register them on another server ?
I didn't understand this:
is the config file for only presence ? is it not enabling sip registers and/or users to have audio conversation ?

What configuration should I make on the client to use your sample config ?

Username, password , domain (sip proxy), subscribe to contact list address ?

Thanks,
ilker

-----Original Message-----
From: Vaclav Kubart [mailto:vaclav.kubart at iptel.org]
Sent: Thursday, March 16, 2006 3:23 PM
To: İlker Aktuna (Koç.net)
Cc: serusers at lists.iptel.org
Subject: Re: [Serusers] Problem starting SER with Presence support

Do you register users for test-domain.com and use SER machine as outgoing proxy? As I said, this was only testing config file (for playing with presence).

I think, that they have no passwords. You can set them using serctl (see help for serctl).
        Vaclav

On Thu, Mar 16, 2006 at 03:03:01PM +0200, ?lker Aktuna (Koç.net) wrote:
> Hi,
>
> I get the following results with your suggested commands:
> mysql> GRANT ALL ON ser.* TO 'ser'@'127.0.0.1' IDENTIFIED BY 'heslo';
> Query OK, 0 rows affected (0.00 sec)
>
> mysql> GRANT ALL ON ser.* TO 'ser'@'localhost' IDENTIFIED BY 'heslo';
> Query OK, 0 rows affected (0.00 sec)
>
> So no rows are affected ?
>
> Btw, if I change all 127.0.0.1 with "localhost" on cfg file, Ser starts successfully.
>
> This time I couldn't register my client. When I get tcpdump traces I see the error 483 "too many hops"
> Btw, which password should I use with my users ?
> Your dbinit script creates some users but what are their passwords ?
>
> Thanks,
> ilker
>
> -----Original Message-----
> From: Vaclav Kubart [mailto:vaclav.kubart at iptel.org]
> Sent: Thursday, March 16, 2006 2:42 PM
> To: ?lker Aktuna (Koç.net)
> Cc: serusers at lists.iptel.org
> Subject: Re: [Serusers] Problem starting SER with Presence support
>
> You have probably badly set privileges in database. Try to tun
>
> GRANT ALL ON ser.* TO 'ser'@'localhost' IDENTIFIED BY 'heslo';
>
> or
>
> GRANT ALL ON ser.* TO 'ser'@'127.0.0.1' IDENTIFIED BY 'heslo';
>
> or something like that in mysql (you must be root for that) and try it again.
>
>         Vaclav
>
> On Thu, Mar 16, 2006 at 02:13:35PM +0200, ?lker Aktuna (Koç.net) wrote:
> > I can login with:
> > # mysql  -P 3306 -user -pheslo ser
> >
> > but I can't login with:
> > # mysql -h 127.0.0.1 -P 3306 -user -pheslo ser
> >
> > ________________________________
> >
> > From: ?lker Aktuna (Koç.net)
> > Sent: Thursday, March 16, 2006 2:11 PM
> > To: 'Vaclav Kubart'
> > Cc: serusers at lists.iptel.org
> > Subject: RE: [Serusers] Problem starting SER with Presence support
> >
> >
> >
> > I got the folowing error:
> >
> > # mysql -h 127.0.0.1 -P 3306 -user -pheslo ser ERROR 1045: Access
> > denied for user: 'ser at asterisk1.local' (Using password: YES)
> >
> >
> > -----Original Message-----
> > From: Vaclav Kubart [mailto:vaclav.kubart at iptel.org]
> > Sent: Thursday, March 16, 2006 1:58 PM
> > To: ?lker Aktuna (Koç.net)
> > Cc: serusers at lists.iptel.org
> > Subject: Re: [Serusers] Problem starting SER with Presence support
> >
> > Are you able to work with ser database using mysql like this?
> >
> > mysql -h 127.0.0.1 -P 3306 -user -pheslo ser
> >
> > You can try to increase debug level in SER's config file (debug=4) and see messages in log.
> >
> >         Vaclav
> >
> >
> > On Thu, Mar 16, 2006 at 01:36:20PM +0200, ?lker Aktuna (Koç.net) wrote:
> > > Hi,
> > >
> > > Thanks; I did it that way and now the server starts but then exits.
> > > I see the following lines in my /var/log/messages file:
> > >
> > > Mar 16 13:26:33 asterisk1 ./ser[19374]: new_connection: Access
> > > denied for user: 'ser at asterisk1.local' (Using password: YES) Mar
> > > 16
> > > 13:26:33
> > > asterisk1 ./ser[19374]: uri_db:mod_init: Unable to open database
> > > connection Mar 16 13:26:33 asterisk1 ./ser[19374]: init_mod():
> > > Error while initializing module uri_db
> > >
> > > However, I can login to mysql db by user ser/heslo.
> > > Where might be the problem ?
> > >
> > > Thanks,
> > > ilker




 <http://271570.sigclick.mailinfo.com/sigclick/0701000C/06094B0A/04064D0B/25619197.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.
_____________________________________________________________________________________________________________________________________________
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.sip-router.org/pipermail/sr-users/attachments/20060316/6067e632/attachment.htm>


More information about the sr-users mailing list