[OpenSIPS-Users] Core Dump

Nathaniel L Keeling III keeling at akan-tech.com
Thu Feb 25 09:02:19 CET 2010


Hello Bogdan,

Opensips compiled ok but when I executed opensips, the modules could not 
be found. The modules were expected to be in the lib64 directory and not 
the lib directory of opensips. I have included a sample of the output.
# make clean
# make prefix=/usr/local/opensips-1.6.1 all
# make prefix=/usr/local/opensips-1.6.1 install

# /usr/local/opensips-1.6.1/sbin/opensips
Feb 25 01:51:21 [6370] ERROR:core:yyparse: module 'signaling.so' not 
found in '/usr/local/opensips-1.6.1/lib64/opensips/modules/'
Feb 25 01:51:21 [6370] CRITICAL:core:yyerror: parse error in config 
file, line 78, column 13-14: failed to load module
Feb 25 01:51:21 [6370] DBG:core:yyparse: loading module 
/usr/local/opensips-1.6.1/lib64/opensips/modules/
Feb 25 01:51:21 [6370] ERROR:core:sr_load_module: could not open module 
</usr/local/opensips-1.6.1/lib64/opensips/modules/>: ld.so.1: opensips: 
fatal: /usr/local/opensips-1.6.1/lib64/opensips/modules/: open failed: 
No such file or directory
Feb 25 01:51:21 [6370] CRITICAL:core:yyerror: parse error in config 
file, line 78, column 13-14: failed to load module
Feb 25 01:51:21 [6370] ERROR:core:yyparse: module 'sl.so' not found in 
'/usr/local/opensips-1.6.1/lib64/opensips/modules/'
Feb 25 01:51:21 [6370] CRITICAL:core:yyerror: parse error in config 
file, line 79, column 13-14: failed to load module
Feb 25 01:51:21 [6370] DBG:core:yyparse: loading module 
/usr/local/opensips-1.6.1/lib64/opensips/modules/
Feb 25 01:51:21 [6370] ERROR:core:sr_load_module: could not open module 
</usr/local/opensips-1.6.1/lib64/opensips/modules/>: ld.so.1: opensips: 
fatal: /usr/local/opensips-1.6.1/lib64/opensips/modules/: open failed: 
No such file or directory

Feb 25 01:42:20 [6368] CRITICAL:core:yyerror: parse error in config 
file, line 81, column 13-14: failed to load module
Feb 25 01:42:20 [6368] ERROR:core:yyparse: module 'maxfwd.so' not found 
in '/usr/local/opensips-1.6.1/lib64/opensips/modules/'
Feb 25 01:42:20 [6368] CRITICAL:core:yyerror: parse error in config 
file, line 82, column 13-14: failed to load module
Feb 25 01:42:20 [6368] DBG:core:yyparse: loading module 
/usr/local/opensips-1.6.1/lib64/opensips/modules/
Feb 25 01:42:20 [6368] ERROR:core:sr_load_module: could not open module 
</usr/local/opensips-1.6.1/lib64/opensips/modules/>: ld.so.1: opensips: 
fatal: /usr/local/opensips-1.6.1/lib64/opensips/modules/: open failed: 
No such file or directory
Feb 25 01:42:20 [6368] CRITICAL:core:yyerror: parse error in config 
file, line 82, column 13-14: failed to load module
Feb 25 01:42:20 [6368] ERROR:core:yyparse: module 'textops.so' not found 
in '/usr/local/opensips-1.6.1/lib64/opensips/modules/'
Feb 25 01:42:20 [6368] CRITICAL:core:yyerror: parse error in config 
file, line 83, column 13-14: failed to load module
Feb 25 01:42:20 [6368] DBG:core:yyparse: loading module 
/usr/local/opensips-1.6.1/lib64/opensips/modules/
Feb 25 01:42:20 [6368] ERROR:core:sr_load_module: could not open module 
</usr/local/opensips-1.6.1/lib64/opensips/modules/>: ld.so.1: opensips: 
fatal: /usr/local/opensips-1.6.1/lib64/opensips/modules/: open failed: 
No such file or directory


Thanks

Nathaniel

Bogdan-Andrei Iancu wrote:

>Hi Nathaniel,
>
>Ah, interesting....first reports non-64 sparc, second does :P....
>
>Please try to comment in Makefile.defs (around line 87) the block (whole 
>block):
># fix sparc -> sparc64
>ifeq ($(ARCH),sparc)
>    ifeq ($(shell uname -m),sun4u)
>        ARCH := sparc64
>    endif
>    ifeq ($(shell uname -m),sun4v)
>        ARCH := sparc64
>    endif
>endif
>
>and recompile the whole stuff.
>
>Thanks and regards,
>Bogdan
>
>Nathaniel L Keeling III wrote:
>  
>
>>Here is the output from the commands:
>>
>># uname -p
>>sparc
>># uname -m
>>sun4u
>>#
>>
>>Thanks
>>
>>Nathaniel
>>
>>Bogdan-Andrei Iancu wrote:
>>
>>  
>>    
>>
>>>Please run in shell "uname -p" and "uname -m" and post here the output.
>>>
>>>Thanks and regards,
>>>Bogdan
>>>
>>>Nathaniel L Keeling III wrote:
>>> 
>>>
>>>    
>>>      
>>>
>>>>Bogdan,
>>>>
>>>>this is the error that I get when I do not add that option:
>>>>
>>>>gcc  -g -O9 -funroll-loops   -Wall      -DNAME='"opensips"' 
>>>>-DVERSION='"1.6.1-notls"' -DARCH='"sparc64"' -DOS='"solaris"' -DCOMPILE
>>>>R='"gcc 3.4.6"' -D__CPU_sparc64 -D__OS_solaris -D__SMP_yes 
>>>>-DCFG_DIR='"/usr/local/opensips-1.6.1/etc/opensips/"' -DPKG_MALLOC -DSHM
>>>>_MEM  -DSHM_MMAP -DUSE_IPV6 -DUSE_MCAST -DUSE_TCP -DDISABLE_NAGLE 
>>>>-DHAVE_RESOLV_RES -DSTATISTICS -DCHANGEABLE_DEBUG_LEVEL -DF_MALLO
>>>>C  -DFAST_LOCK -DADAPTIVE_WAIT -DADAPTIVE_WAIT_LOOPS=1024  
>>>>-DHAVE_GETIPNODEBYNAME -DHAVE_SYS_SOCKIO_H -DHAVE_SCHED_YIELD -DHAVE_ALL
>>>>OCA_H -DUSE_SIGACTION -D_POSIX_PTHREAD_SEMANTICS -DHAVE_DEVPOLL 
>>>>-DHAVE_SELECT -c blacklists.c -o blacklists.o
>>>>*/usr/ccs/bin/as: "/var/tmp//ccww7Koi.s", line 223: error: cannot use 
>>>>v8plus instructions in a non-v8plus target binary
>>>>/usr/ccs/bin/as: "/var/tmp//ccww7Koi.s", line 243: error: cannot use 
>>>>v8plus instructions in a non-v8plus target binary*
>>>>
>>>>I get the same error when compiling opensips 1.5
>>>>
>>>>
>>>>Thanks
>>>>
>>>>Nathaniel
>>>>
>>>>Bogdan-Andrei Iancu wrote:
>>>>
>>>> 
>>>>   
>>>>
>>>>      
>>>>        
>>>>
>>>>>Hi Brian,
>>>>>
>>>>>opensipslist at encambio.com wrote:
>>>>>
>>>>>
>>>>>   
>>>>>     
>>>>>
>>>>>        
>>>>>          
>>>>>
>>>>>>Hello Nathaniel,
>>>>>>
>>>>>>An jeu., févr 18, 2010, Nathaniel L Keeling schrieb:
>>>>>>
>>>>>>  
>>>>>>
>>>>>>     
>>>>>>       
>>>>>>
>>>>>>          
>>>>>>            
>>>>>>
>>>>>>>I have compiled opensips 1.6.1 on Solaris Sparc 10. I was able to
>>>>>>>compile successfully by adding the parameter "-mcpu=ultrasparc" to
>>>>>>>the "DEFS" compile time options in Makefile.defs, but when I
>>>>>>>execute opensips, it will die with a core dump. It does thru the
>>>>>>>loading of the modules ok but dies later.
>>>>>>>
>>>>>>>  
>>>>>>>    
>>>>>>>
>>>>>>>       
>>>>>>>         
>>>>>>>
>>>>>>>            
>>>>>>>              
>>>>>>>
>>>>>>Both Solaris 10 Sparc or Solaris 11 x86 do core dump when trying
>>>>>>to use OpenSIPS 1.6.1. Nobody has seem to be able to diagnose this
>>>>>>correctly much less repair the problem.
>>>>>>
>>>>>>  
>>>>>>
>>>>>>     
>>>>>>       
>>>>>>
>>>>>>          
>>>>>>            
>>>>>>
>>>>>How comes ? I know people using 1.6 on sparc + Solaris  :P....
>>>>>
>>>>>
>>>>>   
>>>>>     
>>>>>
>>>>>        
>>>>>          
>>>>>
>>>>>>If you try the same build parameters to compile 1.6.0 you will
>>>>>>probably find that it not only compiles correctly but runs without
>>>>>>core dumping as well. So much for the
>>>>>>
>>>>>>  'it is recommended to upgrade, as it provides important
>>>>>>   stability improvements'
>>>>>>
>>>>>>that they write about the 1.6.1 release on the website.
>>>>>>
>>>>>>  
>>>>>>
>>>>>>     
>>>>>>       
>>>>>>
>>>>>>          
>>>>>>            
>>>>>>
>>>>>hmmm...if you see the compiling as stability, maybe you are right....
>>>>>
>>>>>Now, getting serious....the problem is that since SF trashed the 
>>>>>compiled farm, we (or at least I) do not have any sparc / solaris 
>>>>>platform were to test the makefile options or the code....
>>>>>
>>>>>Regards,
>>>>>Bogdan
>>>>>
>>>>>
>>>>>
>>>>>   
>>>>>     
>>>>>
>>>>>        
>>>>>          
>>>>>
>>>>_______________________________________________
>>>>Users mailing list
>>>>Users at lists.opensips.org
>>>>http://lists.opensips.org/cgi-bin/mailman/listinfo/users
>>>>
>>>> 
>>>>   
>>>>
>>>>      
>>>>        
>>>>
>>> 
>>>
>>>    
>>>      
>>>
>>_______________________________________________
>>Users mailing list
>>Users at lists.opensips.org
>>http://lists.opensips.org/cgi-bin/mailman/listinfo/users
>>
>>  
>>    
>>
>
>
>  
>



More information about the Users mailing list