[Users] Error REGISTERing and adding users to OpenSER 1.1.0 on Solaris

peter.3.edwards at bt.com peter.3.edwards at bt.com
Mon Aug 14 17:46:41 CEST 2006


Hi,

I'm trying to install OpenSER 1.1.0 (rel_1_1_0 checked out from CVS) on
SPARC/Solaris 9.

I'm dutifully following a combination of the wiki instructions:

Install And Maintain OpenSER From CVS
http://www.openser.org/dokuwiki/doku.php?id=install_and_maintain_openser
_from_cvs

and section D) OpenSER with Persistent Data Storage from the Install
page of the main site.

I've installed OpenSER with MySQL / Auth support correctly at each
stage, as far as I can tell, and it is now running (can be seen with "ps
-ef | grep openser").

My first attempt at running "openserctl moni" failed because of line 119
in /usr/local/lib64/openser/openserctl/openserctl.fifo:

attempt=$(($attempt + 1))

So I changed this to to the more Solaris-friendly:

attempt=`expr $attempt + 1`

which seems to work.

However, I'm unable to REGISTER the admin:openserrw user with my eyeBeam
SIP user agent (#401 Unauthorised), and when I try to add a new user I
get the following error:

# openserctl add testuser 1234 test at mydomain.org
awk: syntax error near line 1
awk: bailing out near line 1
awk: syntax error near line 1
awk: bailing out near line 1
/usr/local/sbin/openserctl: md5sum: not found
/usr/local/sbin/openserctl: md5sum: not found
awk: syntax error near line 1
awk: bailing out near line 1
awk: syntax error near line 1
awk: bailing out near line 1
awk: syntax error near line 1
awk: bailing out near line 1
awk: syntax error near line 1
awk: bailing out near line 1
/usr/local/sbin/openserctl: md5sum: not found
MySql password for user 'openser at localhost':
ERROR 1062 (23000) at line 1: Duplicate entry '' for key 2
-e \E[37;31mERROR: introducing the new user 'testuser' to the database
failed

I'm running out of ideas, now.  Can anyone give me some pointers?  Has
anyone compiled from src with Solaris and got this working?

I think this looks like there maybe a MySQL interop issue in openserctl?

Any help appreciated,

Peter.

-- 
Peter

This Personal email contains my own opinions, sent In
Confidence and does not represent the views of British
Telecommunications plc.

__________________________________________________________________ 

British Telecommunications plc
Registered office: 81 Newgate Street London EC1A 7AJ
Registered in England no. 1800000 

This electronic message contains information from British
Telecommunications plc which may be privileged and
confidential. The information is intended to be for the use of
the individual(s) or entity named above. If you are not the
intended recipient, be aware that any disclosure, copying,
distribution or use of the contents of this information is
prohibited. If you have received this electronic message in
error, please notify us by telephone or email (to the number
or address above) immediately. 

Activity and use of the British Telecommunications plc
email system is monitored to secure its effective operation
and for other lawful business purposes. Communications using
this system will also be monitored and may be recorded to
secure effective operation and for other lawful business purposes. 





More information about the sr-users mailing list