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:
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=...
let me know if it works for you.
-Jiri
At 09:59 AM 4/3/2003, Yang Xiang wrote:
-- Jiri Kuthan http://iptel.org/~jiri/
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
http://cvs.berlios.de/cgi-bin/viewcvs.cgi/ser/sip_router/scripts/sc.diff?r1= 1.37&r2=1.45
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"
thanks for letting me now. all occurences of "echo -n" are now removed from CVS.
-jiri
At 04:30 PM 4/3/2003, Yang Xiang wrote:
-- Jiri Kuthan http://iptel.org/~jiri/