[OpenSIPS-Users] Error starting opensips 1.8.1

Jared Biel jared.biel at bolderthinking.com
Thu Aug 30 22:29:15 CEST 2012


Also, don't forget to update your memory settings in
/etc/default/opensips. It now uses a different format. With that
configuration opensips will default to 32MB of both shared and private
memory. It should look something like this:

S_MEMORY=128
P_MEMORY=4

-Jared

On Thu, Aug 30, 2012 at 3:43 PM, Odin Gremaud <odin.gremaud at nexcom.fr> wrote:
> Hi,
>
> You should add the 'sipmsgops' module to use the 'is_method' function. The
> function was originally in the 'textops' module, which was split into
> 'textops' and 'sipmsgops'. This should solve your issue.
>
> Hope this helps.
>
> Regards,
>
> Odin
>
>
>
> On Thu, 30 Aug 2012 17:35:28 +0200, Shimon Mishal <shimon.mishal at telrad.com>
> wrote:
>
>>
>> Hi list,
>>
>> I've just install the 1.8.1 version.
>> But I get the following:
>> Could you please advise?
>>
>>
>> 1.  [ec2-user at ip-10-128-35-32 opensips-1.8.1-tls]$ opensipsctl start
>>
>> INFO: Starting OpenSIPS :
>>
>> ERROR: PID file /var/run/opensips.pid does not exist -- OpenSIPS start
>> failed
>> [ec2-user at ip-10-128-35-32 opensips-1.8.1-tls]$ sudo tail /var/log/messages
>> Aug 30 14:49:48 ip-10-128-35-32 opensips: CRITICAL:core:yyerror: parse
>> error in config file, line 193, column 18-19: unknown command <is_method>,
>> missing loadmodule?
>> Aug 30 14:49:48 ip-10-128-35-32 opensips: CRITICAL:core:yyerror: parse
>> error in config file, line 202, column 21-22: unknown command <is_method>,
>> missing loadmodule?
>> Aug 30 14:49:48 ip-10-128-35-32 opensips: CRITICAL:core:yyerror: parse
>> error in config file, line 223, column 20-21: unknown command <is_method>,
>> missing loadmodule?
>> Aug 30 14:49:48 ip-10-128-35-32 opensips: CRITICAL:core:yyerror: parse
>> error in config file, line 229, column 19-20: unknown command <is_method>,
>> missing loadmodule?
>> Aug 30 14:49:48 ip-10-128-35-32 opensips: CRITICAL:core:yyerror: parse
>> error in config file, line 233, column 18-19: unknown command <is_method>,
>> missing loadmodule?
>> Aug 30 14:49:48 ip-10-128-35-32 opensips: CRITICAL:core:yyerror: parse
>> error in config file, line 240, column 19-20: unknown command <append_hf>,
>> missing loadmodule?
>> Aug 30 14:49:48 ip-10-128-35-32 opensips: CRITICAL:core:yyerror: parse
>> error in config file, line 247, column 18-19: unknown command <is_method>,
>> missing loadmodule?
>> Aug 30 14:49:48 ip-10-128-35-32 opensips: CRITICAL:core:yyerror: parse
>> error in config file, line 253, column 18-19: unknown command <is_method>,
>> missing loadmodule?
>> Aug 30 14:49:48 ip-10-128-35-32 opensips: CRITICAL:core:yyerror: parse
>> error in config file, line 296, column 18-19: unknown command <is_method>,
>> missing loadmodule?
>> Aug 30 14:49:48 ip-10-128-35-32 opensips: ERROR:core:main: bad config file
>> (14 errors)
>> [ec2-user at ip-10-128-35-32 opensips-1.8.1-tls]$
>>
>> ----------------------------------------------------------------------------------------------
>>
>> 2.     [ec2-user at ip-10-128-35-32 opensips-1.8.1-tls]$ sudo opensipsdbctl
>> create
>> ERROR: database engine not specified, please setup one in the config
>> script
>>
>>
>> ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
>> 3.[ec2-user at ip-10-128-35-32 opensips-1.8.1-tls]$ cat /etc/default/opensips
>> #
>> # OpenSIPS startup options
>> #
>>
>> # Set to yes to enable opensips, once configured properly.
>> RUN_OPENSIPS=yes
>>
>> # User to run as
>> USER=opensips
>>
>> # Group to run as
>> GROUP=opensips
>>
>> # Amount of memory to allocate for the running OpenSIPS server (in Mb)
>> MEMORY=128
>>
>> # Enable the server to leave a core file when it crashes.
>> # Set this to 'yes' to enable OpenSIPS to leave a core file when it
>> crashes
>> # or 'no' to disable this feature. This option is case sensitive and only
>> # accepts 'yes' and 'no' and only in lowercase letters.
>> # On some systems (e.g. Ubuntu 6.10, Debian 4.0) it is necessary to
>> specify
>> # a directory for the core files to get a dump. Look into the opensips
>> # init file for an example configuration.
>> DUMP_CORE=no
>> [ec2-user at ip-10-128-35-32 opensips-1.8.1-tls]$
>>
>>
>>
>>
>>
>>
>> ************************************************************************************
>> This footnote confirms that this email message has been scanned by
>> PineApp Mail-SeCure for the presence of malicious code, vandals & computer
>> viruses.
>>
>> ************************************************************************************
>>
>>
>
> _______________________________________________
> Users mailing list
> Users at lists.opensips.org
> http://lists.opensips.org/cgi-bin/mailman/listinfo/users



More information about the Users mailing list