[Users] Error REGISTERing and adding users to OpenSER 1.1.0 on Solaris
Daniel-Constantin Mierla
daniel at voice-system.ro
Tue Aug 15 14:44:29 CEST 2006
Hello,
On 08/14/06 20:08, peter.3.edwards at bt.com wrote:
>> Hello,
>>
>> you need a tool called md5sum. On Linux/Debian it comes with
>> coreutils
>> package. It computes the md5 of a string and it used mainly
>> to check the
>> files if they were corrupted after a download. Maybe it exists under
>> other name in solaris, although nobody reported so far.
>>
>> For solaris 8 I found the following:
>> http://www.sun.com/software/solaris/freeware/pkgs_download.xml#md5sum
>>
>> Hope it helps.
>>
>> Cheers,
>> Daniel
>>
>
> Thanks, Daniel.
>
> I was skipping over the md5sum errors (I already had it installed, but
> under Solaris it becomes gmd5sum - a quick symlink sorted it out)
> because I thought the awk errors were quite serious.
>
> Should've looked a bit closer before posting because it turns out,
> again, to be another Linux-biased script ...
>
> Lines 135 and 136 in /usr/local/lib64/openser/openserctl/openserctl.base
> need the space removing before the @ sign. Solaris awk does not allow
> whitespace before the parameter.
>
yes, it was fixed in the past, but I reintroduced by mistake with the
new version of openserctl. It was reported on bug tracker as well and it
is now fixed on CVS (both head and rel_1_1_0 branches).
> After sorting that out and symlinking gmd5sum, the add user script
> worked and I can now register a SIP User Agent - which is a great leap
> fwd ...
>
You can use the /usr/local/etc/openser/openserctlrc (or ~/.openserctlrc)
to set the AWK variable to the appropriate path to gmd5sum. Most of the
tool used inside openserctl can be set via env variables.
Cheers,
Daniel
> Many thanks,
>
> Peter.
>
>
More information about the Users
mailing list