Hi Jiri,
it works! But I think in line 697 "echo -n ..." the option "-n" should be removed. Otherwise this will be displayed in output. If I find further errors I'll let you know.
Regards
Yang
----- Original Message ----- From: "Jiri Kuthan" jiri@iptel.org To: "Yang Xiang" yang.xiang@iitb.fraunhofer.de; blairs@isc.upenn.edu Cc: pelinescu-onciul@fokus.fraunhofer.de; serusers@lists.iptel.org Sent: Thursday, April 03, 2003 12:12 PM Subject: Re: [Serusers] SER on FreeBSD Question
I think that the portabilitity issues should have been fixed in serctl version 1.45. (except you need to change SUBSCRIBER_COLUMN back to user_id as CVS relates to updated database structures).
http://cvs.berlios.de/cgi-bin/viewcvs.cgi/ser/sip_router/scripts/sc.diff?r1= 1.37&r2=1.45
let me know if it works for you.
-Jiri
At 09:59 AM 4/3/2003, Yang Xiang wrote:
Hi,
we are suffering the same problem. The serctl script was originally
written
for Linux and is a little incompatible with other systems. Even if you change the shell from sh to bash there are still some utilities like
"tail"
which has a diffirent syntax than from Linux.
I am porting this script to solaris for our systems where no bash is available. If this is also useful for you I can send you later.
Regards
Yang
On Apr 02, 2003 at 08:26, Steve Blair blairs@isc.upenn.edu wrote:
Hello:
I'm just getting started with my implementation of SER on FreeBSD 4.7-RELEASE. I've read the documentation, installed Apache and mySQL and would like to add users for my domain.
I've tried adding an administrative user using serctl however this script fails for reason I cannot explain. Here is what I did:
serctl add user1 password1 email1@mydomain.com read: Illegal option -s
read: Illegal option -s
Try changing the first line of the script form #!/bin/sh to #!/bin/bash (the read in sh does not support the -s option). BTW: this is fixed on CVS for the new version (but don't try the CVS code until next week, we're commiting a lot of changes right now).
Andrei
Serusers mailing list serusers@lists.iptel.org http://lists.iptel.org/mailman/listinfo/serusers
-- Jiri Kuthan http://iptel.org/~jiri/