<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=iso-8859-1">
<META content="MSHTML 6.00.2900.2873" name=GENERATOR></HEAD>
<BODY bgColor=#ffffff>
<DIV><FONT face=Arial size=2>Hi,</FONT></DIV>
<DIV><FONT face=Arial size=2>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; I 
have openser working now. i have installed it from src yesterday after manually 
deleting all the files installed from binaries. i have added database support 
and now it is working fine with authentication. i have tried openserctl start 
and stop and the first time they worked fine. but now if i type openserctl 
start, it either tells me no /var/run/openser.pid file&nbsp; found or it shows 
starting openser and then the cursor keeps blinking but i dont see the pid 
number of openser. but registrations keep happening . pls let me know what to 
do..</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV>
<DIV><FONT face=Arial size=2>Thanks a lot for all the help.</FONT></DIV>
<DIV><FONT face=Arial size=2>Regards,</FONT></DIV>
<DIV><FONT face=Arial size=2>Padmaja</FONT></DIV>
<DIV>----- Original Message ----- </DIV>
<BLOCKQUOTE 
style="PADDING-RIGHT: 0px; PADDING-LEFT: 5px; MARGIN-LEFT: 5px; BORDER-LEFT: #000000 2px solid; MARGIN-RIGHT: 0px">
  <DIV 
  style="BACKGROUND: #e4e4e4; FONT: 10pt arial; font-color: black"><B>From:</B> 
  <A title=voip_freak@yahoo.co.in href="mailto:voip_freak@yahoo.co.in">Jayesh 
  Nambiar</A> </DIV>
  <DIV style="FONT: 10pt arial"><B>To:</B> <A title=padmaja.rv@vodcalabs.com 
  href="mailto:padmaja.rv@vodcalabs.com">Padmaja RV</A> </DIV>
  <DIV style="FONT: 10pt arial"><B>Sent:</B> Thursday, June 01, 2006 1:29 
  PM</DIV>
  <DIV style="FONT: 10pt arial"><B>Subject:</B> Re: [Users] Re: how to run 
  openser through monit daemon?</DIV>
  <DIV><BR></DIV>Hi,<BR>Sorry, but I never tried installing it from binaries. So 
  i have no idea about whether installing it from src will overwrite or not. But 
  I guess, it should overwrite. But not very sure.<BR>Another long way to delete 
  is only locating the openser files and removing it 
  mannually.<BR>w/regards,<BR>Jayesh<BR><BR><B><I>Padmaja RV &lt;<A 
  href="mailto:padmaja.rv@vodcalabs.com">padmaja.rv@vodcalabs.com</A>&gt;</I></B> 
  wrote: 
  <BLOCKQUOTE class=replbq 
  style="PADDING-LEFT: 5px; MARGIN-LEFT: 5px; BORDER-LEFT: rgb(16,16,255) 2px solid">
    <META content="MSHTML 6.00.2900.2873" name=GENERATOR>
    <STYLE></STYLE>

    <DIV><FONT face=Arial size=2>Hi Jayesh,</FONT></DIV>
    <DIV><FONT face=Arial size=2>I think you were mentioning about 
    openser-1.0.1_src.tar.gz (that is from src directory of openser download) 
    and i installed from bin directory of openser download area. The bin's tar 
    ball is openser-1.0.1_linux_i386.tar.gz. and when that is installed, it does 
    not show any openser-1.0.1 directory. it automatically loads various modules 
    at their respective places and there is no Makefile i could see in it to 
    edit it for mysql support. I have now openser from src. it is exactly as u 
    mentioned.... this i have downloaded and installed as a user and not as root 
    just to verify the directory structure of openser. i guess it is the right 
    way to do and now i want to install it as root. should i delete the previous 
    openser installations in that path and then install or when i install the 
    src, it will automatically overwrite the existing onces? i am asking 
    this&nbsp;because as root if i delete them it might damage the file system. 
    again thanks so much....pls help me out!</FONT></DIV>
    <DIV><FONT face=Arial size=2>Thanks and Regards,</FONT></DIV>
    <DIV><FONT face=Arial size=2>Padmaja</FONT></DIV>
    <BLOCKQUOTE 
    style="PADDING-RIGHT: 0px; PADDING-LEFT: 5px; MARGIN-LEFT: 5px; BORDER-LEFT: rgb(0,0,0) 2px solid; MARGIN-RIGHT: 0px">
      <DIV 
      style="FONT: 10pt arial; font-size-adjust: none; font-stretch: normal">----- 
      Original Message ----- </DIV>
      <DIV 
      style="BACKGROUND: rgb(228,228,228) 0% 50%; FONT: 10pt arial; font-size-adjust: none; font-stretch: normal; moz-background-clip: -moz-initial; moz-background-origin: -moz-initial; moz-background-inline-policy: -moz-initial"><B>From:</B> 
      <A title=voip_freak@yahoo.co.in 
      href="mailto:voip_freak@yahoo.co.in">Jayesh Nambiar</A> </DIV>
      <DIV 
      style="FONT: 10pt arial; font-size-adjust: none; font-stretch: normal"><B>To:</B> 
      <A title=users@openser.org 
      href="mailto:users@openser.org">users@openser.org</A> </DIV>
      <DIV 
      style="FONT: 10pt arial; font-size-adjust: none; font-stretch: normal"><B>Cc:</B> 
      <A title=padmaja.rv@vodcalabs.com 
      href="mailto:padmaja.rv@vodcalabs.com">padmaja.rv@vodcalabs.com</A> </DIV>
      <DIV 
      style="FONT: 10pt arial; font-size-adjust: none; font-stretch: normal"><B>Sent:</B> 
      Wednesday, May 31, 2006 3:42 PM</DIV>
      <DIV 
      style="FONT: 10pt arial; font-size-adjust: none; font-stretch: normal"><B>Subject:</B> 
      [Users] Re: how to run openser through monit daemon?</DIV>
      <DIV><BR></DIV>
      <BLOCKQUOTE class=replbq 
      style="PADDING-LEFT: 5px; MARGIN-LEFT: 5px; BORDER-LEFT: rgb(16,16,255) 2px solid">
        <DIV>Hi padmaja,</DIV>
        <DIV>I guess there should have been a standalone directory called 
        openser1.0.1 after you untar the .tar.gz file using tar -xzvf. In that 
        directory itself there is file called Makefile in which the mysql module 
        is excluded by default.</DIV>
        <DIV>Did you also check the logs in /var/log/messages about what is the 
        error. Those messages are helpful to debug.</DIV>
        <DIV>You dont always need to go to sbin to start openser, there is a 
        command called openserctl start to start it.</DIV>
        <DIV>I have a suggestion for you. Please visit onsip.org and register on 
        that site. They have very good getting started documents which will help 
        you.</DIV>
        <DIV>You can then structure your openser.cfg the way you want.</DIV>
        <DIV>&nbsp;</DIV>
        <DIV>w/regards,</DIV>
        <DIV>Jayesh.</DIV>
        <DIV>&nbsp;</DIV>
        <DIV><BR>Hi Jayesh,<BR>Thank you so much for the reply. I have 
        downloaded the version openser-1.0.1 from cvs. I thought that is a 
        stable release and no changes are going to be made to it. Do i have to 
        again revert to the tar.gx version? Also please look at what happened 
        when i previously installed the .tar.gz version of openser before doing 
        the cvs<BR><BR><BR>1. downloaded openser-1.0.1-linux_i386.tar.gz version 
        as root.<BR>2. It is now under / (the root directory). after that i did 
        unzip and untar on that. <BR>3. the file and modules are loaded into the 
        subdirectories of the /usr directory.I could not anywhere find a 
        standalone directory called openser-1.0.1 with the directory sip-server 
        in it. also there is no makefile here.... (All these i see when i 
        download it thru CVS in the /usr/local/src directory.)<BR>4. I tried to 
        see through the list for the module mysql.so but i could not find 
        it....and so for uri_db module also. these modules are present when i 
        install openser thru cvs<BR>5. i did not do any make on it. I thought it 
        is precompiled version and will automatically get installed when i do 
        the untar and unzip. please correct me if the tar version also has to go 
        thru make<BR>6. i ran openser through /usr/local/sbin/openser start. and 
        it ran successfully... it showd the tcp and udp ports on which it is 
        running..i could register my sip UA without authentication.<BR>7. then i 
        wanted to set it up for mysql support. i edited the config file and 
        uncommented the necessary modules and tried to create the openser 
        databse in mysql. here it failed stating ha1 calculation failed.. also 
        it states there is no mysql.so module which is true. <BR><BR>Please let 
        me know if I have made any mistakes in the installation process.... I am 
        new to openser.. now if i want to revert to .tar.gz version, will all 
        the openser modules and config files from the cvs be replaced by the 
        tar.gz version? or will there be duplicate entries left? <BR><BR>Thanks 
        again<BR>Regards,<BR>Padmaja<BR>----- Original Message ----- <BR>From: 
        Jayesh Nambiar <BR>To: users@openser.org <BR>Cc: 
        padmaja.rv@vodcalabs.com <BR>Sent: Wednesday, May 31, 2006 12:08 
        PM<BR>Subject: [Users] Re: how to run openser through monit 
        daemon?<BR><BR><BR>Hi padmaja,<BR>Running openser from cvs would not 
        solve your problem. Openser from cvs is the development version which 
        will be released after final testing is done.<BR>To be safe, its better 
        if you use .tar.gz file to install. For enabling mysql, go to the 
        openser directory and you'll find a makefile. In the makefile there is a 
        line exclude_modules?= somewhere around line no.49. From there just 
        remove mysql and recompile it again.<BR>You can start openser using 
        openserctl start from the command line.<BR>To check for some errors you 
        can set debug=9 in the openser.cfg file.<BR>Normally the logs are stored 
        into /var/log/messages. You can check for errors in this 
        file.<BR><BR>Hi!<BR>there is something I need to mention here with 
        respect to openser not <BR>working.....<BR><BR>Initially I had openser 
        installed from .tar.gz and i could run it from 
        <BR>/usr/local/sbin/openser. It worked fine that way without any 
        authentication. <BR>I could see local registration of my sip UAs with 
        the openser being <BR>successful. then i set up mysql. It too started 
        successfulyy thru webmin. <BR>next I tried to create the openser 
        database in mysql from <BR>/usr/sbin/openser_mysql.sh create. It 
        prompted me for the root password of <BR>mysql, the domain name and then 
        failed stating that the Ha1 calculation <BR>failed. also when i tried to 
        modify the openser.cfg file to support mysql <BR>database i found that 
        there is no mysql.so module in the <BR>/usr/local/lib/openser/modules/ 
        path.<BR><BR>Because of the above problems, I tried installing openser 
        from CVS and here <BR>all the modules and configuration files are 
        present in the respective <BR>locations as mentioned in the web link for 
        installing openser. I could even <BR>create the openser database 
        structures in mysql. i tried uncommenting the <BR>needed modules for 
        database suppport. now when i try to run openser thru <BR>monit, there 
        is absolutely no response and openser does not look like 
        <BR>running............<BR><BR>I am a newbie at openser......please help 
        me which way i should run <BR>openser.....<BR><BR>thanks and 
        regards,<BR>Padmaja<BR><BR><BR><BR></DIV></BLOCKQUOTE>
      <DIV></DIV>
      <HR SIZE=1>
      Yahoo! India Answers: Share what you know. Learn something new <A 
      href="http://us.rd.yahoo.com/mail/in/mailanswersshare/*http://in.answers.yahoo.com/">Click 
      here</A><BR>Send free SMS to your Friends on Mobile from your Yahoo! 
      Messenger <A 
      href="http://us.rd.yahoo.com/mail/in/freesms/*http://messenger.yahoo.com/download.php">Download 
      now</A></BLOCKQUOTE></BLOCKQUOTE><BR>
  <P>
  <HR SIZE=1>
  </HR>Yahoo! India Answers: Share what you know. Learn something new <A 
  href="http://us.rd.yahoo.com/mail/in/mailanswersshare/*http://in.answers.yahoo.com/">Click 
  here</A><BR>Send free SMS to your Friends on Mobile from your Yahoo! Messenger 
  <A 
  href="http://us.rd.yahoo.com/mail/in/freesms/*http://messenger.yahoo.com/download.php">Download 
  now</A></BLOCKQUOTE></BODY></HTML>