[Kamailio-Devel] [ openser-Documentation-2096577 ] openserctl adding users problem
SourceForge.net
noreply at sourceforge.net
Fri Sep 12 11:20:12 CEST 2008
Documentation item #2096577, was opened at 2008-09-06 08:15
Message generated for change (Comment added) made by henningw
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=782960&aid=2096577&group_id=139143
Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
>Category: None
>Group: ver 1.3.x
Status: Open
Resolution: None
Priority: 5
Private: No
Submitted By: Muhammad Akl (m-akl)
Assigned to: Nobody/Anonymous (nobody)
Summary: openserctl adding users problem
Initial Comment:
bug found in openser 1.2.2, 1.3.3 OS : Solaris 10
problem1 :
when adding users tho the database using openserctl add feature there is an incompatibility issues with tail command specifically with gnu tail and the following message will appear at adding user time :
usage: tail [+/-[n][lbc][f]] [file]
tail [+/-[n][l][r|f]] [file]
is_user: user counter=
Error : user 'zzzz' already exist
solution :
for Solairs users , they have to use Solaris tail instead of gnu tail, it can be found in Solaris 10 installation DVD or CDS at name :SUNWxcu4
install it as following :
# cd /path/to/installation-DVD/Solaris_10/Product
# pkgadd -d . SUNWxcu4
finally add the package's path to $PATH variable
e.g /usr/xpg4/bin:
note : you must add xcu4 path before this one /usr/bin
or you will still have the same problem
Problem2:
this problem belongs to md5sum command, the problem comes from when adding users using openserctl add it will complains that the command is not found which is not installed by default with Solairs installation you may in face this message
in version 1.2.2 : md5sum command not found
in version 1.3.3 :
//lib/openser/openserctl/openserctl.base: line 592 : md5sum : command not found
//lib/openser/openserctl/openserctl.base: line 603 : md5sum : command not found
Solution :
first download the package contains md5sum command in any directory :
# wget http://dlc.sun.com/osol/companion/downloads/current/pkgs/i386/SFWcoreu.pkg.bz2
And then extract the package and install it as following :
bash-3.00# bunzip2 SFWcoreu.pkg.bz2
bash-3.00# pkgadd -d SFWcoreu.pkg
finally put the path /opt/sfw/bin in ur $PATH variable
regards
Muhammad
----------------------------------------------------------------------
>Comment By: Henning Westerholt (henningw)
Date: 2008-09-12 09:20
Message:
Documentation issue, move this to docs section
----------------------------------------------------------------------
Comment By: Muhammad Akl (m-akl)
Date: 2008-09-11 16:44
Message:
Hi Miconda
ok , i try soon adding a simplified howto install for both versions of
openser
and after finishing will document them in great details
BR
Muhammad
----------------------------------------------------------------------
Comment By: Daniel-Constantin Mierla (miconda)
Date: 2008-09-11 15:50
Message:
Hi Muhammad, perhaps you can start a page on dokuwiki for Solaris specific
actions:
http://www.kamailio.org/dokuwiki/
so it can be referred easier.
----------------------------------------------------------------------
Comment By: Muhammad Akl (m-akl)
Date: 2008-09-11 13:58
Message:
hi henning ,
yeah, as you said the solution of these problems depends primarily on
those packages , if they were installed everything will be fine
----------------------------------------------------------------------
Comment By: Henning Westerholt (henningw)
Date: 2008-09-11 13:47
Message:
Hi Muhammad,
thanks for the report. Do i understand it correctly, all this issues can
be fixed with installing the appropriate sun solaris packages?
Cheers,
Henning
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=782960&aid=2096577&group_id=139143
More information about the Devel
mailing list