[OpenSIPS-Users] OpenSIPS installation problem

Sandeep Sharma sandeep.s at imimobile.com
Wed Sep 17 14:31:09 CEST 2014


Hi Liviu,

Please to have your feedback for trailing mail...
Thanks in advance

Thanks & Regards
Sandeep Sharma
IMImobile Plot 770, Rd. 44 Jubilee Hills, Hyderabad - 500033.
T +91 9912244250 - Ext: 251
www.imimobile.com 

From: Sandeep Sharma 
Sent: Wednesday, September 17, 2014 3:57 PM
To: users at lists.opensips.org 
Subject: Re: [OpenSIPS-Users] OpenSIPS installation problem

Hi Liviu,

Thanks after modifying quote trailing mail error is not coming but while start opensips script from /etc/init.d attached var/log error is displayed also 5060 port used for UDP/TCP is not displayed.

[root at linux init.d]# ./opensips start
Starting opensips: 
[root at linux init.d]# netstat -ulpn | grep -i opensips
[root at linux init.d]# netstat -tlpn | grep -i opensips

Thanks & Regards
Sandeep Sharma
IMImobile Plot 770, Rd. 44 Jubilee Hills, Hyderabad - 500033.
T +91 9912244250 - Ext: 251
www.imimobile.com 

From: Liviu Chircu 
Sent: Wednesday, September 17, 2014 2:56 PM
To: users at lists.opensips.org 
Subject: Re: [OpenSIPS-Users] OpenSIPS installation problem

Hello Sandeem,

You have an error in your code. A bad placed quote "

OPTIONS="-P $PID_FILE -m $S_MEMORY -M $P_MEMORY -u $USER -g $GROUP" -f /usr/local/opensips_proxy/etc/opensips

your shell is trying to run:
-f /usr/local....

hence the obvious shell error: "command not found"

Best regards,

Liviu Chircu
OpenSIPS Developer
http://www.opensips-solutions.comOn 09/16/2014 08:45 PM, Sandeep Sharma wrote:

  Hi,

  After reinstalling different version of mysql devlopment package problem sorted out & below are o/p:-
  [root at linux rpm]# mysql_config --libs
  -rdynamic -L/usr/lib64/mysql -lmysqlclient -lz -lcrypt -lnsl -lm -L/usr/lib64 -lssl –lcrypto

  But while starting opensips scripts from /etc/init.d its giving below error

  root at linux init.d]# ./opensips start
  ./opensips: line 96: -f: command not found
  Starting opensips: 

  Seems –f command in PTIONS="-P $PID_FILE -m $S_MEMORY -M $P_MEMORY -u $USER -g $GROUP" -f /usr/local/opensips_proxy/etc/opensips/opensips_residential_2014-9-16_19:54:59.cfg is not working.

  Please to have your attention and thanks in advance.

  Thanks & Regards
  Sandeep Sharma
  IMImobile Plot 770, Rd. 44 Jubilee Hills, Hyderabad - 500033.
  T +91 9912244250 - Ext: 251
  www.imimobile.com 

  From: Sandeep Sharma 
  Sent: Tuesday, September 16, 2014 3:55 PM
  To: Bogdan-Andrei Iancu ; OpenSIPS users mailling list 
  Subject: Re: [OpenSIPS-Users] OpenSIPS installation problem

  Hi,

  Can you please confirm whether to install mysql 32 bit or 64 package on CentOS 5.8 64 bit machine also is there any mysql version dependencies for open SIP (right now 5.5.39 is installed).

  Thanks & Regards
  Sandeep Sharma
  IMImobile Plot 770, Rd. 44 Jubilee Hills, Hyderabad - 500033.
  T +91 9912244250 - Ext: 251
  www.imimobile.com 

  From: Bogdan-Andrei Iancu 
  Sent: Tuesday, September 16, 2014 2:44 PM
  To: Sandeep Sharma ; OpenSIPS users mailling list 
  Subject: Re: [OpenSIPS-Users] OpenSIPS installation problem

  Funny, the mysql_config should report the /usr/lib64/mysql/ dir and not /usr/lib64 ... Looks like a problem with your mysqlclient package...

  Regards,

Bogdan-Andrei Iancu
OpenSIPS Founder and Developer
http://www.opensips-solutions.comOn 16.09.2014 11:59, Sandeep Sharma wrote:

    Hi,

    I can locate libmysqlclient.so in /usr/lib64/mysql50/mysql/ and /usr/lib/mysql50/mysql/ folder as per below o/p:-


    [root at linux lib64]# locate libmysqlclient.so
    /usr/lib/mysql/libmysqlclient.so.15
    /usr/lib/mysql/libmysqlclient.so.15.0.0
    /usr/lib/mysql/libmysqlclient.so.16
    /usr/lib/mysql/libmysqlclient.so.16.0.0
    /usr/lib/mysql50/mysql/libmysqlclient.so
    /usr/lib/mysql50/mysql/libmysqlclient.so.15
    /usr/lib/mysql50/mysql/libmysqlclient.so.15.0.0
    /usr/lib/mysql51/mysql/libmysqlclient.so
    /usr/lib/mysql51/mysql/libmysqlclient.so.16
    /usr/lib/mysql51/mysql/libmysqlclient.so.16.0.0
    /usr/lib64/mysql/libmysqlclient.so.15
    /usr/lib64/mysql/libmysqlclient.so.15.0.0
    /usr/lib64/mysql/libmysqlclient.so.16
    /usr/lib64/mysql/libmysqlclient.so.16.0.0
    /usr/lib64/mysql50/mysql/libmysqlclient.so
    /usr/lib64/mysql50/mysql/libmysqlclient.so.15
    /usr/lib64/mysql50/mysql/libmysqlclient.so.15.0.0
    /usr/lib64/mysql51/mysql/libmysqlclient.so
    /usr/lib64/mysql51/mysql/libmysqlclient.so.16
    /usr/lib64/mysql51/mysql/libmysqlclient.so.16.0.0

    Thanks & Regards
    Sandeep Sharma


    From: Bogdan-Andrei Iancu 
    Sent: Tuesday, September 16, 2014 1:19 PM
    To: Sandeep Sharma ; OpenSIPS users mailling list 
    Subject: Re: [OpenSIPS-Users] OpenSIPS installation problem

    According to "mysql_config", the libmysqlclient library should be under "/usr/lib64". Do you have an "libmysqlclient.so" in there ?

    Regards,

Bogdan-Andrei Iancu
OpenSIPS Founder and Developer
http://www.opensips-solutions.comOn 16.09.2014 10:45, Sandeep Sharma wrote:

      Hi,

      Below are o/p (I am unable to locate lmysqlclient in my system but all mysql related rpm are installed).

      [root at linux db_mysql]# mysql_config --libs
      -L/usr/lib64 -lmysqlclient -lpthread -lm -lrt -ldl

      [root at linux db_mysql]# locate lmysqlclient

      Thanks & Regards
      Sandeep Sharma
      IMImobile Plot 770, Rd. 44 Jubilee Hills, Hyderabad - 500033.
      T +91 9912244250 - Ext: 251
      www.imimobile.com 

      From: Bogdan-Andrei Iancu 
      Sent: Tuesday, September 16, 2014 1:02 PM
      To: Sandeep Sharma ; OpenSIPS users mailling list 
      Subject: Re: [OpenSIPS-Users] OpenSIPS installation problem

      As it got the linking part, I suppose you have the mysql devel header files. But the linking failed as the mysqlclient library was not found.
      Could you check where that lib is located on your system ?

      Also, do you have "mysql_config" installed on your system ? if yes, what is the output of "mysql_config --libs"

      Regards,

Bogdan-Andrei Iancu
OpenSIPS Founder and Developer
http://www.opensips-solutions.comOn 16.09.2014 10:24, Sandeep Sharma wrote:

        Hi,

        Below are error if make modules is executed:-

        [root at linux opensips-1.11.2-tls]# make modules
        which: no lynx in (/usr/lib64/qt-3.3/bin:/usr/kerberos/sbin:/usr/kerberos/bin:/usr/dialogic/bin:/usr/java/jdk1.6.0_43/bin:/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin:/root/bin)


        make[1]: Entering directory `/home/san/opensip/opensips-1.11.2-tls/modules/db_mysql'
        Linking db_mysql.so
        /usr/bin/ld: cannot find -lmysqlclient
        collect2: ld returned 1 exit status
        make[1]: *** [db_mysql.so] Error 1
        make[1]: Leaving directory `/home/san/opensip/opensips-1.11.2-tls/modules/db_mysql'
        make: *** [modules] Error 2

        Thanks & Regards
        Sandeep Sharma
        IMImobile Plot 770, Rd. 44 Jubilee Hills, Hyderabad - 500033.
        T +91 9912244250 - Ext: 251
        www.imimobile.com 

        From: Bogdan-Andrei Iancu 
        Sent: Tuesday, September 16, 2014 12:44 PM
        To: OpenSIPS users mailling list ; sandeep.s at imimobile.com 
        Subject: Re: [OpenSIPS-Users] OpenSIPS installation problem

        Hi,

        And what happens if you run "make modules" from command line ?

        Regards,

Bogdan-Andrei Iancu
OpenSIPS Founder and Developer
http://www.opensips-solutions.comOn 16.09.2014 07:10, Sandeep Sharma wrote:

          Hi Team,

          I am facing necessary library generation problem while compiling & below are detail:-

          Opensips version used: opensips-1.11.2-tls
          OS: CentOS 5.8 64 bit

          While Compile And Install OpenSIPS through make menuconfig no files are generated in module folder.

          /usr/local/opensips_proxy/lib64/opensips/modules
          [root at linux modules]# ll
          total 0

          Thanks in advance

          Thanks & Regards
          Sandeep Sharma


           

_______________________________________________
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




--------------------------------------------------------------------------------
_______________________________________________
Users mailing list
Users at lists.opensips.org
http://lists.opensips.org/cgi-bin/mailman/listinfo/users
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.opensips.org/pipermail/users/attachments/20140917/cc3320df/attachment-0001.htm>


More information about the Users mailing list