Hi,<br><br>You will need to tell auth_import_mysql.php where Ninja is installed when you run it, like this:<br><br>./install_scripts/auth_import_mysql.php /usr/local/nagios/addons/ninja<br><br>Normally auth_import_mysql.php is run by ninja_init_db.sh which takes care of that for you, but if you run the import script alone you&#39;ll need to give it a path.<br>
<br>/Martin<br><br><div class="gmail_quote">On Wed, Oct 7, 2009 at 1:49 AM, Michael Saville <span dir="ltr">&lt;<a href="mailto:michaelsaville@gmail.com">michaelsaville@gmail.com</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<div>Tom, </div><div>Still get the same error, even tried running it from the cli-helpers directory. </div><div><br></div><div>[root@localhost ninja]# ./install_scripts/auth_import.php</div><div>[root@localhost ninja]# ./install_scripts/auth_import_mysql.php</div>
<div class="im">
<div>Unable to find htpasswd-import class so this script will now terminate</div></div><div>[root@localhost ninja]# find ./ -name htpasswd-import.php</div><div class="im"><div>./cli-helpers/htpasswd-import.php</div></div>
<div>[root@localhost ninja]#</div>
<div><br></div>Thanks -Michael<div><br><div class="gmail_quote">On Tue, Oct 6, 2009 at 6:59 PM, Thomas Hudson <span dir="ltr">&lt;<a href="mailto:tom.hudson@isotoma.com" target="_blank">tom.hudson@isotoma.com</a>&gt;</span> wrote:<br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
cd into your ninja directory, try running it from there (it may be a<br>
relative/absolute path issue).<br>
If that&#39;s not it, in that directory run:<br>
<br>
find ./ -name htpasswd-import.php<br>
<br>
and let me know what it tells you.<br>
<br>
Tom Hudson<br>
isotoma<div class="im"><br>
<div><br>
<br>
Michael Saville wrote:<br>
&gt; Ok, i modified the files as posted above (the auth_import_mysql.php)<br>
&gt; and now when i try to run the script i get : &quot;Unable to find<br>
&gt; htpasswd-import class so this script will now terminate&quot; I did verify<br>
&gt; that awk was installed. Also checked the database.php and found all<br>
&gt; correct data there. Thanks -Michael<br>
&gt;<br>
&gt; On Tue, Oct 6, 2009 at 4:10 PM, Lino Eduardo Avila<br>
</div></div><div class="im"><div>&gt; &lt;<a href="mailto:lino.avila@gmail.com" target="_blank">lino.avila@gmail.com</a> &lt;mailto:<a href="mailto:lino.avila@gmail.com" target="_blank">lino.avila@gmail.com</a>&gt;&gt; wrote:<br>

&gt;<br>
&gt;     finally. Thank you very much Tom!<br>
&gt;<br>
&gt;     The installation guide should have these settings at least for CentOS.<br>
&gt;<br>
&gt;     import.php and database.php<br>
&gt;<br>
&gt;<br>
&gt;<br>
&gt;     On Tue, Oct 6, 2009 at 3:05 PM, Thomas Hudson<br>
</div></div><div class="im"><div>&gt;     &lt;<a href="mailto:tom.hudson@isotoma.com" target="_blank">tom.hudson@isotoma.com</a> &lt;mailto:<a href="mailto:tom.hudson@isotoma.com" target="_blank">tom.hudson@isotoma.com</a>&gt;&gt; wrote:<br>

&gt;     &gt; Lino,<br>
&gt;     &gt;<br>
&gt;     &gt; Try changing the password in<br>
&gt;     ninja/application/config/database.php as well.<br>
&gt;     &gt;<br>
&gt;     &gt; Tom Hudson<br>
&gt;     &gt; isotoma<br>
&gt;     &gt;<br>
&gt;     &gt;<br>
&gt;     &gt; Lino Eduardo Avila wrote:<br>
&gt;     &gt;&gt; that did the trick thanks Tom!.... now... when logging into<br>
&gt;     ninja in<br>
&gt;     &gt;&gt; the web interface  I get the following message:<br>
&gt;     &gt;&gt;<br>
&gt;     &gt;&gt; Warning Message<br>
&gt;     &gt;&gt;<br>
&gt;     &gt;&gt; An error was detected which prevented the loading of this page. If<br>
&gt;     &gt;&gt; this problem persists, please contact the website administrator.<br>
&gt;     &gt;&gt;<br>
&gt;     &gt;&gt; system/libraries/drivers/Database/Mysql.php [61]:<br>
&gt;     &gt;&gt;<br>
&gt;     &gt;&gt; mysql_connect() [function.mysql-connect]: Access denied for user<br>
&gt;     &gt;&gt; &#39;merlin&#39;@&#39;localhost&#39; (using password: YES)<br>
&gt;     &gt;&gt;<br>
&gt;     &gt;&gt;<br>
&gt;     &gt;&gt;<br>
&gt;     &gt;&gt; I believe this has to do with the ninja configuration... Does<br>
&gt;     anyone<br>
&gt;     &gt;&gt; knows where is stored this info?<br>
&gt;     &gt;&gt;<br>
&gt;     &gt;&gt;<br>
&gt;     &gt;&gt; Best Regards,<br>
&gt;     &gt;&gt;<br>
&gt;     &gt;&gt;<br>
&gt;     &gt;&gt; On Tue, Oct 6, 2009 at 2:17 PM, Thomas Hudson<br>
</div></div><div><div></div><div class="h5"><div><div></div><div>&gt;     &lt;<a href="mailto:tom.hudson@isotoma.com" target="_blank">tom.hudson@isotoma.com</a> &lt;mailto:<a href="mailto:tom.hudson@isotoma.com" target="_blank">tom.hudson@isotoma.com</a>&gt;&gt; wrote:<br>

&gt;     &gt;&gt;<br>
&gt;     &gt;&gt;&gt; Lino,<br>
&gt;     &gt;&gt;&gt;<br>
&gt;     &gt;&gt;&gt; Have you changed the merlin database user password?<br>
&gt;     &gt;&gt;&gt; It&#39;s the only thing I can think of right now.<br>
&gt;     &gt;&gt;&gt;<br>
&gt;     &gt;&gt;&gt; If you have, you should change it in import.php in the merlin root<br>
&gt;     &gt;&gt;&gt; directory:<br>
&gt;     &gt;&gt;&gt; $imp-&gt;db_pass = &#39;merlin&#39;;<br>
&gt;     &gt;&gt;&gt;<br>
&gt;     &gt;&gt;&gt; If not, let me know and I&#39;ll have another look at it.<br>
&gt;     &gt;&gt;&gt;<br>
&gt;     &gt;&gt;&gt; Hope that helps,<br>
&gt;     &gt;&gt;&gt;<br>
&gt;     &gt;&gt;&gt; Tom Hudson<br>
&gt;     &gt;&gt;&gt; isotoma<br>
&gt;     &gt;&gt;&gt;<br>
&gt;     &gt;&gt;&gt; Lino Eduardo Avila wrote:<br>
&gt;     &gt;&gt;&gt;<br>
&gt;     &gt;&gt;&gt;&gt; Thanks for your help Tom it already imported the users but still<br>
&gt;     &gt;&gt;&gt;&gt; getting some errors<br>
&gt;     &gt;&gt;&gt;&gt;<br>
&gt;     &gt;&gt;&gt;&gt; [root@nagios-centOS install_scripts]# ./ninja_db_init.sh<br>
&gt;     &gt;&gt;&gt;&gt; /usr/local/nagios/addons/ninja<br>
&gt;     &gt;&gt;&gt;&gt; Enter password:<br>
&gt;     &gt;&gt;&gt;&gt; Importing users from cgi.cfg<br>
&gt;     &gt;&gt;&gt;&gt; PHP Warning:  mysql_connect(): Access denied for user<br>
&gt;     &gt;&gt;&gt;&gt; &#39;merlin&#39;@&#39;localhost&#39; (using password: YES) in<br>
&gt;     &gt;&gt;&gt;&gt;<br>
&gt;     /usr/local/nagios/addons/ninja/install_scripts/auth_import_mysql.php<br>
&gt;     &gt;&gt;&gt;&gt; on line 99<br>
&gt;     &gt;&gt;&gt;&gt; PHP Fatal error:  Call to undefined method<br>
&gt;     &gt;&gt;&gt;&gt; ninja_auth_import::gui_db_connect() in<br>
&gt;     &gt;&gt;&gt;&gt;<br>
&gt;     /usr/local/nagios/addons/ninja/install_scripts/auth_import_mysql.php<br>
&gt;     &gt;&gt;&gt;&gt; on line 137<br>
&gt;     &gt;&gt;&gt;&gt;<br>
&gt;     &gt;&gt;&gt;&gt;<br>
&gt;     &gt;&gt;&gt;&gt; Regards,<br>
&gt;     &gt;&gt;&gt;&gt;<br>
&gt;     &gt;&gt;&gt;&gt;<br>
&gt;     &gt;&gt;&gt;&gt; On Tue, Oct 6, 2009 at 12:33 PM, Thomas Hudson<br>
</div></div></div></div><div><div></div><div class="h5"><div><div></div><div>&gt;     &lt;<a href="mailto:tom.hudson@isotoma.com" target="_blank">tom.hudson@isotoma.com</a> &lt;mailto:<a href="mailto:tom.hudson@isotoma.com" target="_blank">tom.hudson@isotoma.com</a>&gt;&gt; wrote:<br>


&gt;     &gt;&gt;&gt;&gt;<br>
&gt;     &gt;&gt;&gt;&gt;<br>
&gt;     &gt;&gt;&gt;&gt;&gt; Lino Eduardo Avila wrote:<br>
&gt;     &gt;&gt;&gt;&gt;&gt;<br>
&gt;     &gt;&gt;&gt;&gt;&gt;<br>
&gt;     &gt;&gt;&gt;&gt;&gt;&gt; I have the same issue in CentOS 5 with nagios 3.2, ninja 0.3.2<br>
&gt;     &gt;&gt;&gt;&gt;&gt;&gt;<br>
&gt;     &gt;&gt;&gt;&gt;&gt;&gt; [root@nagios-centOS ninja]# install_scripts/ninja_db_init.sh<br>
&gt;     &gt;&gt;&gt;&gt;&gt;&gt; /usr/local/nagios/addons/ninja<br>
&gt;     &gt;&gt;&gt;&gt;&gt;&gt; Importing users from cgi.cfg<br>
&gt;     &gt;&gt;&gt;&gt;&gt;&gt; PHP Warning:  mysql_connect(): Access denied for user<br>
&gt;     &gt;&gt;&gt;&gt;&gt;&gt; &#39;merlin&#39;@&#39;localhost&#39; (using password: YES) in<br>
&gt;     &gt;&gt;&gt;&gt;&gt;&gt;<br>
&gt;     /usr/local/nagios/addons/ninja/install_scripts/auth_import_mysql.php<br>
&gt;     &gt;&gt;&gt;&gt;&gt;&gt; on line 99<br>
&gt;     &gt;&gt;&gt;&gt;&gt;&gt; PHP Warning:  mysql_connect(): Access denied for user<br>
&gt;     &gt;&gt;&gt;&gt;&gt;&gt; &#39;merlin&#39;@&#39;localhost&#39; (using password: YES) in<br>
&gt;     &gt;&gt;&gt;&gt;&gt;&gt;<br>
&gt;     /usr/local/nagios/addons/ninja/cli-helpers/htpasswd-import.php on line<br>
&gt;     &gt;&gt;&gt;&gt;&gt;&gt; 34<br>
&gt;     &gt;&gt;&gt;&gt;&gt;&gt; PHP Warning:  mysql_select_db(): Access denied for user<br>
&gt;     &gt;&gt;&gt;&gt;&gt;&gt; &#39;root&#39;@&#39;localhost&#39; (using password: NO) in<br>
&gt;     &gt;&gt;&gt;&gt;&gt;&gt;<br>
&gt;     /usr/local/nagios/addons/ninja/cli-helpers/htpasswd-import.php on line<br>
&gt;     &gt;&gt;&gt;&gt;&gt;&gt; 35<br>
&gt;     &gt;&gt;&gt;&gt;&gt;&gt; PHP Warning:  mysql_select_db(): A link to the server could<br>
&gt;     not be<br>
&gt;     &gt;&gt;&gt;&gt;&gt;&gt; established in<br>
&gt;     /usr/local/nagios/addons/ninja/cli-helpers/htpasswd-import.php<br>
&gt;     &gt;&gt;&gt;&gt;&gt;&gt; on line 35<br>
&gt;     &gt;&gt;&gt;&gt;&gt;&gt; Failed to select database &#39;merlin&#39;<br>
&gt;     &gt;&gt;&gt;&gt;&gt;&gt; Access denied for user &#39;root&#39;@&#39;localhost&#39; (using password: NO)<br>
&gt;     &gt;&gt;&gt;&gt;&gt;&gt;<br>
&gt;     &gt;&gt;&gt;&gt;&gt;&gt; I already tried with the user merlin and root in the file:<br>
&gt;     &gt;&gt;&gt;&gt;&gt;&gt; install_scripts/ninja_db_init.sh<br>
&gt;     &gt;&gt;&gt;&gt;&gt;&gt;<br>
&gt;     &gt;&gt;&gt;&gt;&gt;&gt; but the same problem...<br>
&gt;     &gt;&gt;&gt;&gt;&gt;&gt;<br>
&gt;     &gt;&gt;&gt;&gt;&gt;&gt; Merlin is working correctly. I already looked at the db.<br>
&gt;     &gt;&gt;&gt;&gt;&gt;&gt;<br>
&gt;     &gt;&gt;&gt;&gt;&gt;&gt;<br>
&gt;     &gt;&gt;&gt;&gt;&gt;&gt; Regards,<br>
&gt;     &gt;&gt;&gt;&gt;&gt;&gt;<br>
&gt;     &gt;&gt;&gt;&gt;&gt;&gt;<br>
&gt;     &gt;&gt;&gt;&gt;&gt;&gt;<br>
&gt;     &gt;&gt;&gt;&gt;&gt;&gt; On Tue, Oct 6, 2009 at 3:57 AM, Martin Svangren<br>
</div></div></div></div><div class="im"><div>&gt;     &lt;<a href="mailto:martin.svangren@op5.com" target="_blank">martin.svangren@op5.com</a> &lt;mailto:<a href="mailto:martin.svangren@op5.com" target="_blank">martin.svangren@op5.com</a>&gt;&gt; wrote:<br>

&gt;     &gt;&gt;&gt;&gt;&gt;&gt;<br>
&gt;     &gt;&gt;&gt;&gt;&gt;&gt;<br>
&gt;     &gt;&gt;&gt;&gt;&gt;&gt;<br>
&gt;     &gt;&gt;&gt;&gt;&gt;&gt;&gt; Hi Michael,<br>
&gt;     &gt;&gt;&gt;&gt;&gt;&gt;&gt;<br>
&gt;     &gt;&gt;&gt;&gt;&gt;&gt;&gt; You might need to edit the install scripts a bit for the<br>
&gt;     user import to<br>
&gt;     &gt;&gt;&gt;&gt;&gt;&gt;&gt; work. Have a look at the &quot;Modify and run the install<br>
&gt;     scripts&quot; section of<br>
&gt;     &gt;&gt;&gt;&gt;&gt;&gt;&gt; this wiki page:<br>
&gt;     &gt;&gt;&gt;&gt;&gt;&gt;&gt;<br>
&gt;     &gt;&gt;&gt;&gt;&gt;&gt;&gt; <a href="https://wiki.op5.com/ninja:docs:quickstart-centos5" target="_blank">https://wiki.op5.com/ninja:docs:quickstart-centos5</a><br>
&gt;     &gt;&gt;&gt;&gt;&gt;&gt;&gt;<br>
&gt;     &gt;&gt;&gt;&gt;&gt;&gt;&gt; Basically, you&#39;ll need to edit some hardcoded paths in<br>
&gt;     auth_import_mysql.php<br>
&gt;     &gt;&gt;&gt;&gt;&gt;&gt;&gt; and run the install scripts again. Note that you also need<br>
&gt;     to have the &#39;awk&#39;<br>
&gt;     &gt;&gt;&gt;&gt;&gt;&gt;&gt; utility installed for the scripts to work.<br>
&gt;     &gt;&gt;&gt;&gt;&gt;&gt;&gt;<br>
&gt;     &gt;&gt;&gt;&gt;&gt;&gt;&gt; /Martin<br>
&gt;     &gt;&gt;&gt;&gt;&gt;&gt;&gt;<br>
&gt;     &gt;&gt;&gt;&gt;&gt;&gt;&gt; On Tue, Oct 6, 2009 at 10:46 AM, Thomas Hudson<br>
</div></div>&gt;     &lt;<a href="mailto:tom.hudson@isotoma.com" target="_blank">tom.hudson@isotoma.com</a> &lt;mailto:<a href="mailto:tom.hudson@isotoma.com" target="_blank">tom.hudson@isotoma.com</a>&gt;&gt;<div><div></div>
<div class="h5"><br>
<div><div></div><div>&gt;     &gt;&gt;&gt;&gt;&gt;&gt;&gt; wrote:<br>
&gt;     &gt;&gt;&gt;&gt;&gt;&gt;&gt;<br>
&gt;     &gt;&gt;&gt;&gt;&gt;&gt;&gt;<br>
&gt;     &gt;&gt;&gt;&gt;&gt;&gt;&gt;<br>
&gt;     &gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; Michael Saville wrote:<br>
&gt;     &gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;<br>
&gt;     &gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;<br>
&gt;     &gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;<br>
&gt;     &gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; Hello,<br>
&gt;     &gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;<br>
&gt;     &gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; Ive installed and configured both merlin and ninja as<br>
&gt;     per the online<br>
&gt;     &gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; documentation. I did not get any errors throughout the<br>
&gt;     process. I can<br>
&gt;     &gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; browse to //localhost/ninja but cannt login i get Login<br>
&gt;     failed -<br>
&gt;     &gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; please try again everytime. Ive tried the user name and<br>
&gt;     password<br>
&gt;     &gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; configured for nagios. I also looked around the mailing<br>
&gt;     archive and<br>
&gt;     &gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; found another user with the similar problem he found<br>
&gt;     that using<br>
&gt;     &gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; monitor, monitor was the solution for him. Ive tried and<br>
&gt;     that doe not<br>
&gt;     &gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; work. I installed phpmy admin and took a look at the<br>
&gt;     database i can<br>
&gt;     &gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; see that the ninja.sql did import and merlin seems to<br>
&gt;     have information<br>
&gt;     &gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; in it. Any Ideas on a solution ? Im very new to Nagios<br>
&gt;     and am not sure<br>
&gt;     &gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; where to begin troubleshooting this. Thanks -Michael<br>
&gt;     &gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;<br>
&gt;     &gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; --<br>
&gt;     &gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; Michael L Saville<br>
&gt;     &gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;<br>
&gt;     ------------------------------------------------------------------------<br>
&gt;     &gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;<br>
&gt;     &gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; _______________________________________________<br>
&gt;     &gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; op5-users mailing list<br>
</div></div></div></div>&gt;     &gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; <a href="mailto:op5-users@lists.op5.com" target="_blank">op5-users@lists.op5.com</a> &lt;mailto:<a href="mailto:op5-users@lists.op5.com" target="_blank">op5-users@lists.op5.com</a>&gt;<div class="im">
<br>
<div>&gt;     &gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; <a href="http://lists.op5.com/mailman/listinfo/op5-users" target="_blank">http://lists.op5.com/mailman/listinfo/op5-users</a><br>
&gt;     &gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;<br>
&gt;     &gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;<br>
&gt;     &gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;<br>
&gt;     &gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;<br>
&gt;     &gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; Michael,<br>
&gt;     &gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;<br>
&gt;     &gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; It&#39;s possible that the install of ninja didn&#39;t create all<br>
&gt;     of the tables<br>
&gt;     &gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; and copy the usernames and passwords across from nagios.<br>
&gt;     I had that<br>
&gt;     &gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; problem when I was installing yesterday.<br>
&gt;     &gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; I&#39;ve fixed the scripts but I&#39;m still working out how to<br>
&gt;     use git. When I<br>
&gt;     &gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; do, I&#39;ll submit the changes and - fingers crossed -<br>
&gt;     you&#39;ll be able to<br>
&gt;     &gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; use those and it&#39;ll just work.<br>
&gt;     &gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;<br>
&gt;     &gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; In the mean-time, things you should check:<br>
&gt;     &gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; - In the merlin database, has ninja created the tables,<br>
&gt;     for example<br>
&gt;     &gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; ninja_user_authorization.<br>
&gt;     &gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; - If that table is there, is there anything in it?<br>
&gt;     &gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;<br>
&gt;     &gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; Cheers,<br>
&gt;     &gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;<br>
&gt;     &gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; Tom Hudson<br>
&gt;     &gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; _______________________________________________<br>
&gt;     &gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; op5-users mailing list<br>
</div></div>&gt;     &gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; <a href="mailto:op5-users@lists.op5.com" target="_blank">op5-users@lists.op5.com</a> &lt;mailto:<a href="mailto:op5-users@lists.op5.com" target="_blank">op5-users@lists.op5.com</a>&gt;<div class="im">
<br>
<div>&gt;     &gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; <a href="http://lists.op5.com/mailman/listinfo/op5-users" target="_blank">http://lists.op5.com/mailman/listinfo/op5-users</a><br>
&gt;     &gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;<br>
&gt;     &gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;<br>
&gt;     &gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;<br>
&gt;     &gt;&gt;&gt;&gt;&gt;&gt;&gt; --<br>
&gt;     &gt;&gt;&gt;&gt;&gt;&gt;&gt; Martin Svangren<br>
&gt;     &gt;&gt;&gt;&gt;&gt;&gt;&gt; System Administrator<br>
&gt;     &gt;&gt;&gt;&gt;&gt;&gt;&gt;<br>
&gt;     &gt;&gt;&gt;&gt;&gt;&gt;&gt; op5 AB<br>
&gt;     &gt;&gt;&gt;&gt;&gt;&gt;&gt; Första Långgatan 19<br>
&gt;     &gt;&gt;&gt;&gt;&gt;&gt;&gt; SE-413 27 Göteborg, SWEDEN<br>
&gt;     &gt;&gt;&gt;&gt;&gt;&gt;&gt;<br>
&gt;     &gt;&gt;&gt;&gt;&gt;&gt;&gt; Direct: +46 (0)31-352 56 21<br>
&gt;     &gt;&gt;&gt;&gt;&gt;&gt;&gt; Mobile: +46 (0)733-70 90 21<br>
&gt;     &gt;&gt;&gt;&gt;&gt;&gt;&gt; Switchboard: +46 (0)31-352 56 00<br>
&gt;     &gt;&gt;&gt;&gt;&gt;&gt;&gt;<br>
&gt;     &gt;&gt;&gt;&gt;&gt;&gt;&gt; E-mail: <a href="mailto:martin.svangren@op5.com" target="_blank">martin.svangren@op5.com</a><br>
</div></div>&gt;     &lt;mailto:<a href="mailto:martin.svangren@op5.com" target="_blank">martin.svangren@op5.com</a>&gt;<div class="im"><br>
<div>&gt;     &gt;&gt;&gt;&gt;&gt;&gt;&gt; Web: <a href="http://www.op5.com" target="_blank">http://www.op5.com</a><br>
&gt;     &gt;&gt;&gt;&gt;&gt;&gt;&gt;<br>
&gt;     &gt;&gt;&gt;&gt;&gt;&gt;&gt; _______________________________________________<br>
&gt;     &gt;&gt;&gt;&gt;&gt;&gt;&gt; op5-users mailing list<br>
</div></div>&gt;     &gt;&gt;&gt;&gt;&gt;&gt;&gt; <a href="mailto:op5-users@lists.op5.com" target="_blank">op5-users@lists.op5.com</a> &lt;mailto:<a href="mailto:op5-users@lists.op5.com" target="_blank">op5-users@lists.op5.com</a>&gt;<div class="im">
<br>
<div>&gt;     &gt;&gt;&gt;&gt;&gt;&gt;&gt; <a href="http://lists.op5.com/mailman/listinfo/op5-users" target="_blank">http://lists.op5.com/mailman/listinfo/op5-users</a><br>
&gt;     &gt;&gt;&gt;&gt;&gt;&gt;&gt;<br>
&gt;     &gt;&gt;&gt;&gt;&gt;&gt;&gt;<br>
&gt;     &gt;&gt;&gt;&gt;&gt;&gt;&gt;<br>
&gt;     &gt;&gt;&gt;&gt;&gt;&gt;&gt;<br>
&gt;     &gt;&gt;&gt;&gt;&gt;&gt;&gt;<br>
&gt;     &gt;&gt;&gt;&gt;&gt;&gt; _______________________________________________<br>
&gt;     &gt;&gt;&gt;&gt;&gt;&gt; op5-users mailing list<br>
</div></div>&gt;     &gt;&gt;&gt;&gt;&gt;&gt; <a href="mailto:op5-users@lists.op5.com" target="_blank">op5-users@lists.op5.com</a> &lt;mailto:<a href="mailto:op5-users@lists.op5.com" target="_blank">op5-users@lists.op5.com</a>&gt;<div class="im">
<br>
<div>&gt;     &gt;&gt;&gt;&gt;&gt;&gt; <a href="http://lists.op5.com/mailman/listinfo/op5-users" target="_blank">http://lists.op5.com/mailman/listinfo/op5-users</a><br>
&gt;     &gt;&gt;&gt;&gt;&gt;&gt;<br>
&gt;     &gt;&gt;&gt;&gt;&gt;&gt;<br>
&gt;     &gt;&gt;&gt;&gt;&gt;&gt;<br>
&gt;     &gt;&gt;&gt;&gt;&gt; That&#39;s one of the things I&#39;ve changed (though I don&#39;t know<br>
&gt;     if it&#39;s the<br>
&gt;     &gt;&gt;&gt;&gt;&gt; desired solution and haven&#39;t had time to submit the patches).<br>
&gt;     &gt;&gt;&gt;&gt;&gt;<br>
&gt;     &gt;&gt;&gt;&gt;&gt; I changed the line:<br>
&gt;     &gt;&gt;&gt;&gt;&gt; db_login_opts=&quot;-u$db_user&quot;<br>
&gt;     &gt;&gt;&gt;&gt;&gt;<br>
&gt;     &gt;&gt;&gt;&gt;&gt; in ninja_db_init.sh to:<br>
&gt;     &gt;&gt;&gt;&gt;&gt; db_login_opts=&quot;-u$db_user -p&quot;<br>
&gt;     &gt;&gt;&gt;&gt;&gt;<br>
&gt;     &gt;&gt;&gt;&gt;&gt;<br>
&gt;     &gt;&gt;&gt;&gt;&gt; which prompts you for the db admin password rather than<br>
&gt;     assuming there<br>
&gt;     &gt;&gt;&gt;&gt;&gt; isn&#39;t one.<br>
&gt;     &gt;&gt;&gt;&gt;&gt;<br>
&gt;     &gt;&gt;&gt;&gt;&gt; Hope this helps,<br>
&gt;     &gt;&gt;&gt;&gt;&gt;<br>
&gt;     &gt;&gt;&gt;&gt;&gt; Tom Hudson<br>
&gt;     &gt;&gt;&gt;&gt;&gt; isotoma<br>
&gt;     &gt;&gt;&gt;&gt;&gt; _______________________________________________<br>
&gt;     &gt;&gt;&gt;&gt;&gt; op5-users mailing list<br>
</div></div>&gt;     &gt;&gt;&gt;&gt;&gt; <a href="mailto:op5-users@lists.op5.com" target="_blank">op5-users@lists.op5.com</a> &lt;mailto:<a href="mailto:op5-users@lists.op5.com" target="_blank">op5-users@lists.op5.com</a>&gt;<div class="im">
<br>
<div>&gt;     &gt;&gt;&gt;&gt;&gt; <a href="http://lists.op5.com/mailman/listinfo/op5-users" target="_blank">http://lists.op5.com/mailman/listinfo/op5-users</a><br>
&gt;     &gt;&gt;&gt;&gt;&gt;<br>
&gt;     &gt;&gt;&gt;&gt;&gt;<br>
&gt;     &gt;&gt;&gt;&gt;&gt;<br>
&gt;     &gt;&gt;&gt;&gt; _______________________________________________<br>
&gt;     &gt;&gt;&gt;&gt; op5-users mailing list<br>
</div></div>&gt;     &gt;&gt;&gt;&gt; <a href="mailto:op5-users@lists.op5.com" target="_blank">op5-users@lists.op5.com</a> &lt;mailto:<a href="mailto:op5-users@lists.op5.com" target="_blank">op5-users@lists.op5.com</a>&gt;<div class="im">
<br>
<div>&gt;     &gt;&gt;&gt;&gt; <a href="http://lists.op5.com/mailman/listinfo/op5-users" target="_blank">http://lists.op5.com/mailman/listinfo/op5-users</a><br>
&gt;     &gt;&gt;&gt;&gt;<br>
&gt;     &gt;&gt;&gt;&gt;<br>
&gt;     &gt;&gt;&gt; _______________________________________________<br>
&gt;     &gt;&gt;&gt; op5-users mailing list<br>
</div></div>&gt;     &gt;&gt;&gt; <a href="mailto:op5-users@lists.op5.com" target="_blank">op5-users@lists.op5.com</a> &lt;mailto:<a href="mailto:op5-users@lists.op5.com" target="_blank">op5-users@lists.op5.com</a>&gt;<div class="im">
<br>
<div>&gt;     &gt;&gt;&gt; <a href="http://lists.op5.com/mailman/listinfo/op5-users" target="_blank">http://lists.op5.com/mailman/listinfo/op5-users</a><br>
&gt;     &gt;&gt;&gt;<br>
&gt;     &gt;&gt;&gt;<br>
&gt;     &gt;&gt; _______________________________________________<br>
&gt;     &gt;&gt; op5-users mailing list<br>
</div></div>&gt;     &gt;&gt; <a href="mailto:op5-users@lists.op5.com" target="_blank">op5-users@lists.op5.com</a> &lt;mailto:<a href="mailto:op5-users@lists.op5.com" target="_blank">op5-users@lists.op5.com</a>&gt;<div class="im">
<br>
<div>&gt;     &gt;&gt; <a href="http://lists.op5.com/mailman/listinfo/op5-users" target="_blank">http://lists.op5.com/mailman/listinfo/op5-users</a><br>
&gt;     &gt;&gt;<br>
&gt;     &gt;<br>
&gt;     &gt; _______________________________________________<br>
&gt;     &gt; op5-users mailing list<br>
</div></div>&gt;     &gt; <a href="mailto:op5-users@lists.op5.com" target="_blank">op5-users@lists.op5.com</a> &lt;mailto:<a href="mailto:op5-users@lists.op5.com" target="_blank">op5-users@lists.op5.com</a>&gt;<div class="im">
<br>
<div>&gt;     &gt; <a href="http://lists.op5.com/mailman/listinfo/op5-users" target="_blank">http://lists.op5.com/mailman/listinfo/op5-users</a><br>
&gt;     &gt;<br>
&gt;     _______________________________________________<br>
&gt;     op5-users mailing list<br>
</div></div>&gt;     <a href="mailto:op5-users@lists.op5.com" target="_blank">op5-users@lists.op5.com</a> &lt;mailto:<a href="mailto:op5-users@lists.op5.com" target="_blank">op5-users@lists.op5.com</a>&gt;<div class="im">
<br>
<div>&gt;     <a href="http://lists.op5.com/mailman/listinfo/op5-users" target="_blank">http://lists.op5.com/mailman/listinfo/op5-users</a><br>
&gt;<br>
&gt;<br>
&gt;<br>
&gt;<br>
&gt; --<br>
&gt; Michael L Saville<br>
&gt; _________________<br>
&gt; Never do anything that you wouldn&#39;t want to explain to the paramedics.<br>
</div></div>&gt; ------------------------------------------------------------------------<div class="im"><br>
<div><div></div><div>&gt;<br>
&gt; _______________________________________________<br>
&gt; op5-users mailing list<br>
&gt; <a href="mailto:op5-users@lists.op5.com" target="_blank">op5-users@lists.op5.com</a><br>
&gt; <a href="http://lists.op5.com/mailman/listinfo/op5-users" target="_blank">http://lists.op5.com/mailman/listinfo/op5-users</a><br>
&gt;<br>
<br>
_______________________________________________<br>
op5-users mailing list<br>
<a href="mailto:op5-users@lists.op5.com" target="_blank">op5-users@lists.op5.com</a><br>
<a href="http://lists.op5.com/mailman/listinfo/op5-users" target="_blank">http://lists.op5.com/mailman/listinfo/op5-users</a><br>
</div></div></div></blockquote></div><div class="im"><br><br clear="all"><br>-- <br>Michael L Saville<br>_________________<br>Never do anything that you wouldn&#39;t want to explain to the paramedics.<br>
</div></div>
<br>_______________________________________________<br>
op5-users mailing list<br>
<a href="mailto:op5-users@lists.op5.com">op5-users@lists.op5.com</a><br>
<a href="http://lists.op5.com/mailman/listinfo/op5-users" target="_blank">http://lists.op5.com/mailman/listinfo/op5-users</a><br>
<br></blockquote></div><br><br clear="all"><br>-- <br>Martin Svangren<br>System Administrator<br><br>op5 AB<br>Första Långgatan 19<br>SE-413 27 Göteborg, SWEDEN<br><br>Direct: +46 (0)31-352 56 21<br>Mobile: +46 (0)733-70 90 21<br>
Switchboard: +46 (0)31-352 56 00<br><br>E-mail: <a href="mailto:martin.svangren@op5.com">martin.svangren@op5.com</a><br>Web: <a href="http://www.op5.com">http://www.op5.com</a><br>