<html><head><style type="text/css"><!-- DIV {margin:0px;} --></style></head><body><div style="font-family:arial, helvetica, sans-serif;font-size:10pt"><DIV>
<DIV>Hi Edson, </DIV>
<DIV>&nbsp;</DIV>
<DIV>Please check the tomcat logs. They can be found at /usr/local/tomcat6/logs. When tomcat6 don't start, usually is a typo in the configuration files. </DIV>
<DIV>&nbsp;</DIV>
<DIV>Best regards, </DIV>
<DIV>&nbsp;</DIV>
<DIV>Flavio E. Goncalves<BR><BR></DIV></DIV>
<DIV style="FONT-SIZE: 10pt; FONT-FAMILY: arial, helvetica, sans-serif"><BR>
<DIV style="FONT-SIZE: 13px; FONT-FAMILY: arial, helvetica, sans-serif">----- Mensagem original ----<BR>De: Edson - Listas &lt;4lists@gmail.com&gt;<BR>Para: Flavio Goncalves &lt;flavio@asteriskguide.com&gt;<BR>Cc: Asim Riaz &lt;ariaz78@gmail.com&gt;; users &lt;users@lists.kamailio.org&gt;<BR>Enviadas: Quinta-feira, 21 de Agosto de 2008 14:05:27<BR>Assunto: Re: [Kamailio-Users] Res: Help with SerMyAdmin<BR><BR>Yesterday, we faced a similar/related problem, but because Tomcat<BR>process was killed. When we try to run it again, SerMyAdmin refuse to<BR>start, altought all configurations and DB definitions where there...<BR><BR>Any ideas on how to restore it?<BR><BR>Edson.<BR><BR>Flavio Goncalves escreveu:<BR>&gt; Hi Assim,<BR>&gt;&nbsp; <BR>&gt; I'm glad it is working. SerMyAdmin creates the database fields during<BR>&gt; the first run, that's why it worked after restarting the tomcat. The sql<BR>&gt; file creates the required users. I'm working to have a
 debian package<BR>&gt; for SerMyAdmin soon.<BR>&gt;&nbsp; <BR>&gt; Regards,<BR>&gt;&nbsp; <BR>&gt; Flavio E. Goncalves<BR>&gt; <BR>&gt; ----- Mensagem original ----<BR>&gt; De: Asim Riaz &lt;<A href="mailto:ariaz78@gmail.com" ymailto="mailto:ariaz78@gmail.com">ariaz78@gmail.com</A>&gt;<BR>&gt; Para: users &lt;<A href="mailto:users@lists.kamailio.org" ymailto="mailto:users@lists.kamailio.org">users@lists.kamailio.org</A>&gt;<BR>&gt; Enviadas: Quinta-feira, 21 de Agosto de 2008 12:02:50<BR>&gt; Assunto: Re: [Kamailio-Users] Help with SerMyAdmin<BR>&gt; <BR>&gt; Its working thanks for the help.<BR>&gt; I removed my existing serMyAdmin directory from tomcat, restarted the<BR>&gt; tomcat and run the script mysql -u root -p openser &lt;openser.sql<BR>&gt; <BR>&gt; regards<BR>&gt; Asim Riaz<BR>&gt; <BR>&gt; On Thu, Aug 21, 2008 at 3:46 PM, Nuno Marques &lt;<A href="mailto:yangsengopenser@gmail.com"
 ymailto="mailto:yangsengopenser@gmail.com">yangsengopenser@gmail.com</A><BR>&gt; &lt;mailto:<A href="mailto:yangsengopenser@gmail.com" ymailto="mailto:yangsengopenser@gmail.com">yangsengopenser@gmail.com</A>&gt;&gt; wrote:<BR>&gt; <BR>&gt;&nbsp; &nbsp; How did you add the user? With openserctl or with sermyadmin?<BR>&gt;&nbsp; &nbsp; Note that you have to use the same login/pass that are on the sql<BR>&gt;&nbsp; &nbsp; script - admin@setup for login and secret for pass.<BR>&gt; <BR>&gt; <BR>&gt;&nbsp; &nbsp; 2008/8/21 Asim Riaz &lt;<A href="mailto:ariaz78@gmail.com" ymailto="mailto:ariaz78@gmail.com">ariaz78@gmail.com</A> &lt;mailto:<A href="mailto:ariaz78@gmail.com" ymailto="mailto:ariaz78@gmail.com">ariaz78@gmail.com</A>&gt;&gt;<BR>&gt; <BR>&gt;&nbsp; &nbsp; &nbsp; &nbsp; When I am adding a user i am getting<BR>&gt;&nbsp; &nbsp; &nbsp; &nbsp; java.lang.NullPointerException;<BR>&gt; <BR>&gt;&nbsp; &nbsp; &nbsp; &nbsp; also I cant login using admin
 username.<BR>&gt; <BR>&gt;&nbsp; &nbsp; &nbsp; &nbsp; On Thu, Aug 21, 2008 at 3:06 PM, Nuno Marques<BR>&gt;&nbsp; &nbsp; &nbsp; &nbsp; &lt;<A href="mailto:yangsengopenser@gmail.com" ymailto="mailto:yangsengopenser@gmail.com">yangsengopenser@gmail.com</A> &lt;mailto:<A href="mailto:yangsengopenser@gmail.com" ymailto="mailto:yangsengopenser@gmail.com">yangsengopenser@gmail.com</A>&gt;&gt;<BR>&gt;&nbsp; &nbsp; &nbsp; &nbsp; wrote:<BR>&gt; <BR>&gt;&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; Hi again,<BR>&gt; <BR>&gt;&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; I was looking at the database schema of openser and i<BR>&gt;&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; noticed that the subscriber table only has 12 columns till rpid.<BR>&gt;&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; Looking at the openser.sql script, it has more than 12<BR>&gt;&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; columns (including the 'version' column...).<BR>&gt;&nbsp;
 &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; What is wrong? Should SerMyAdmin add this columns to the<BR>&gt;&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; subscriber table?<BR>&gt;&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; Is it lacking me something in the database subscribet table?<BR>&gt;&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; Any help with this?<BR>&gt; <BR>&gt;&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; Thanks in advance,<BR>&gt; <BR>&gt;&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; Nuno<BR>&gt; <BR>&gt;&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; 2008/8/20 muhammad akl &lt;<A href="mailto:muhammad.akl@gmail.com" ymailto="mailto:muhammad.akl@gmail.com">muhammad.akl@gmail.com</A><BR>&gt;&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;mailto:<A href="mailto:muhammad.akl@gmail.com" ymailto="mailto:muhammad.akl@gmail.com">muhammad.akl@gmail.com</A>&gt;&gt;<BR>&gt; <BR>&gt; <BR>&gt; <BR>&gt;&nbsp; &nbsp; &nbsp;
 &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; Hi Nuno<BR>&gt; <BR>&gt;&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; i faced some problems your already facing and succeeded<BR>&gt;&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; to solve them so i'd like to as you<BR>&gt; <BR>&gt;&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; did you install SERweb tables ?<BR>&gt; <BR>&gt;&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; if though the problems come from there especially the<BR>&gt;&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; phplib_id field a duplication happened between it and<BR>&gt;&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; the "id" filed so you have to remove SERweb tables and<BR>&gt;&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; all thing will go smoothly without any errors<BR>&gt; <BR>&gt;&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; p.s i recommend you to remove the whole database
 e.g<BR>&gt;&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; openser and install it again using openser_mysql.sh script<BR>&gt; <BR>&gt;&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; e.g /path/to/openser_mysql.sh create<BR>&gt; <BR>&gt;&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; press yes for presence and that stuff but for SERweb no<BR>&gt; <BR>&gt;&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; try and tell me what you get<BR>&gt; <BR>&gt;&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; BR<BR>&gt; <BR>&gt;&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; Muhammad<BR>&gt; <BR>&gt; <BR>&gt; <BR>&gt;&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; _______________________________________________<BR>&gt;&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; Users mailing list<BR>&gt;&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <A href="mailto:Users@lists.kamailio.org"
 ymailto="mailto:Users@lists.kamailio.org">Users@lists.kamailio.org</A> &lt;mailto:<A href="mailto:Users@lists.kamailio.org" ymailto="mailto:Users@lists.kamailio.org">Users@lists.kamailio.org</A>&gt;<BR>&gt;&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <A href="http://lists.kamailio.org/cgi-bin/mailman/listinfo/users" target=_blank>http://lists.kamailio.org/cgi-bin/mailman/listinfo/users</A><BR>&gt; <BR>&gt; <BR>&gt; <BR>&gt;&nbsp; &nbsp; &nbsp; &nbsp; _______________________________________________<BR>&gt;&nbsp; &nbsp; &nbsp; &nbsp; Users mailing list<BR>&gt;&nbsp; &nbsp; &nbsp; &nbsp; <A href="mailto:Users@lists.kamailio.org" ymailto="mailto:Users@lists.kamailio.org">Users@lists.kamailio.org</A> &lt;mailto:<A href="mailto:Users@lists.kamailio.org" ymailto="mailto:Users@lists.kamailio.org">Users@lists.kamailio.org</A>&gt;<BR>&gt;&nbsp; &nbsp; &nbsp; &nbsp; <A href="http://lists.kamailio.org/cgi-bin/mailman/listinfo/users"
 target=_blank>http://lists.kamailio.org/cgi-bin/mailman/listinfo/users</A><BR>&gt; <BR>&gt; <BR>&gt; <BR>&gt; <BR>&gt; ------------------------------------------------------------------------<BR>&gt; <BR>&gt; _______________________________________________<BR>&gt; Users mailing list<BR>&gt; <A href="mailto:Users@lists.kamailio.org" ymailto="mailto:Users@lists.kamailio.org">Users@lists.kamailio.org</A><BR>&gt; <A href="http://lists.kamailio.org/cgi-bin/mailman/listinfo/users" target=_blank>http://lists.kamailio.org/cgi-bin/mailman/listinfo/users</A><BR><BR></DIV></DIV></div></body></html>