I am not entirely sure, but I think SER has a problem creating ser_fifo for some reason. Your directory settings are fine too.
I think you should not use CVS to install SER. Those sources are most probably under development and are being changed constantly. So, instead, download a stable SER version (I would suggest using 0.9.6, which is the latest) from iptel.org and install it right upon your existing version (read INSTALL file first on how to specify the installation directory). If you have a way to remove previous installation first, that would be even better.
Best of luck :)
On 3/13/06, İlker Aktuna (Koç. net ) ilkera@koc.net wrote:
Hi,
I downloaded the ser sources with cvs (following command): cvs -d :pserver:anonymous@cvs.berlios.de:/cvsroot/ser checkout sip_router
I am not sure of the version. How can I check that ?
If I use the "serctl ul show" command , I get this response: Error opening ser's FIFO /tmp/ser_fifo Make sure you have line fifo=/tmp/ser_fifo in your config
My /tmp/ folder permissions: # ls -adl /tmp/ drwxrwxrwt 14 root root 4096 Mar 13 09:25 /tmp/
In messages file I get these: Mar 13 08:24:02 asterisk1 /root/ser/sbin/ser[15292]: ERROR: receive_fd: EOF on 21 Mar 13 08:24:02 asterisk1 /root/ser/sbin/ser[15292]: ERROR: receive_fd: EOF on 22 Mar 13 08:45:46 asterisk1 ser: parse error (12,1-5): syntax error Mar 13 08:45:46 asterisk1 ser: parse error (12,1-5): Mar 13 08:53:05 asterisk1 ser: parse error (12,1-5): syntax error Mar 13 08:53:05 asterisk1 ser: parse error (12,1-5): Mar 13 08:57:15 asterisk1 ser: parse error (12,1-5): syntax error
so what should I do ?
*From:* Andrey Kouprianov [mailto:andrey.kouprianov@gmail.com] *Sent:* Monday, March 13, 2006 6:03 PM
*To:* İlker Aktuna (Koç.net http://koç.net/) *Subject:* Re: [Serusers] mysql configuration and serctl
Very strange... I just tested your file with my server (ser1.cfg)... It works fine and my eyeBeam registers w/o any problem and I can even use "serctl ul show" command to check for registrations, which are there.
I have a couple of questions though:
- What version of SER are you using?
- Are your /tmp directory permissions set right?
- What does /var/log/messages show? (you can check with "tail -n 20
/var/log/messages")
On 3/13/06, İlker Aktuna (Koç. net ) ilkera@koc.net wrote:
Hi,
I've attached 2 config files. ser1.cfg does not start ser (gives the parse error) ser2.cfg starts ser (only difference is fifo line) But after ser starts with ser2.cfg, and try to register a SIP softphone (Xten Eyebeam), it doesn't get registered (timeouts) When I check the sip packets with tcpdump I see that Ser daemon responds to every REGISTER packet that my client sends with "SIP 200 ok" but the client doesn't get registered. The config file is the standart hello world cfg file from the GettingStarted guide. So I think it should register all clients, is that wrong ?
Thanks, ilker
*From:* serusers-bounces@iptel.org [mailto: serusers-bounces@iptel.org] *On Behalf Of *Andrey Kouprianov *Sent:* Monday, March 13, 2006 4:46 PM *To:* serusers@iptel.org
*Subject:* Re: [Serusers] mysql configuration and serctl
can u also attach you ser.cfg? it's impossible to tell like this.
On 3/13/06, İlker Aktuna (Koç. net) <ilkera@koc.net > wrote:
Thanks. I just tried the gettingstarted config; and I have a problem.
I didn't change anything except the IP address in the cfg file. But when starting SER, I receive the following error:
# ot@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)
If I comment out the line (fifo="/tmp/ser_fifo") in cfg file, SER starts successfully. Why can't it parse that line ?
Thanks, ilker
*From:* Andrey Kouprianov [mailto:andrey.kouprianov@gmail.com] *Sent:* Monday, March 13, 2006 3:38 PM
*To:* İlker Aktuna (Koç.net http://koç.net/) *Subject:* Re: [Serusers] mysql configuration and serctl
it might be... anyway im attaching one copy to this email. enjoy :))
On 3/13/06, İlker Aktuna (Koç. net) < ilkera@koc.net> wrote:
Is this user manual "not available" from the Iptel.orghttp://iptel.org/site ?
Google search produces too many results.
-----Original Message----- From: mkumar@mantragroup.com [ mailto:mkumar@mantragroup.commkumar@mantragroup.com ] Sent: Monday, March 13, 2006 3:23 PM To: İlker Aktuna (Koç.net http://koç.net/) Cc: serusers@iptel.org Subject: Re: [Serusers] mysql configuration and serctl
Try searching for ser user manual on google, it will have all the information.
Quoting "?lker Aktuna (Koç.net http://koç.net/)" < ilkera@koc.net>:
Hi everyone,
I am trying to use Ser for the first time. I finally compiled it and it is running with the default configuration. But I don't know the needed mysql tables/users/databases. Where can
I
find this information ?
In fact, I didn't want to use mysql for first tests but serctl
command
requires it. Is there another way of adding users ?
Btw, with no user I tried to register a sip softphone. ser responses
with "200 ok" but the phone does not get registered. What am I doing wrong ?
Simply, I need basic configuration information to register my first
sip user.
Thanks for your help, ilker
<http://271570.sigclick.mailinfo.com/sigclick/0A060704/06024D06/0E004A
03/18161121.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/0706040C/05014906/0303490B/15159215.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@iptel.org http://mail.iptel.org/mailman/listinfo/serusers
http://271570.sigclick.mailinfo.com/sigclick/0B050504/01014D07/0F014803/09241611.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@iptel.org http://mail.iptel.org/mailman/listinfo/serusers
http://271570.sigclick.mailinfo.com/sigclick/0705050C/06084D06/0304480B/15249181.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/0002070D/03014A05/040D4A0A/22568416.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.
I am not entirely sure, but I think SER has a problem creating ser_fifo for some reason. Your directory settings are fine too.
I think you should not use CVS to install SER. Those sources are most probably under development and are being changed constantly. So, instead, download a stable SER version (I would suggest using 0.9.6, which is the latest) from iptel.org and install it right upon your existing version (read INSTALL file first on how to specify the installation directory). If you have a way to remove previous installation first, that would be even better.
Best of luck :)
On 3/13/06, İlker Aktuna (Koç. net ) ilkera@koc.net wrote:
Hi,
I downloaded the ser sources with cvs (following command): cvs -d :pserver:anonymous@cvs.berlios.de:/cvsroot/ser checkout sip_router
I am not sure of the version. How can I check that ?
If I use the "serctl ul show" command , I get this response: Error opening ser's FIFO /tmp/ser_fifo Make sure you have line fifo=/tmp/ser_fifo in your config
My /tmp/ folder permissions: # ls -adl /tmp/ drwxrwxrwt 14 root root 4096 Mar 13 09:25 /tmp/
In messages file I get these: Mar 13 08:24:02 asterisk1 /root/ser/sbin/ser[15292]: ERROR: receive_fd: EOF on 21 Mar 13 08:24:02 asterisk1 /root/ser/sbin/ser[15292]: ERROR: receive_fd: EOF on 22 Mar 13 08:45:46 asterisk1 ser: parse error (12,1-5): syntax error Mar 13 08:45:46 asterisk1 ser: parse error (12,1-5): Mar 13 08:53:05 asterisk1 ser: parse error (12,1-5): syntax error Mar 13 08:53:05 asterisk1 ser: parse error (12,1-5): Mar 13 08:57:15 asterisk1 ser: parse error (12,1-5): syntax error
so what should I do ?