Thanks for your answer,<br><br>I found a solution. the problem was based on udev.<br><br>chakoteystme<br><br><div class="gmail_quote">2010/9/8 Dorfman, Justin <span dir="ltr"><<a href="mailto:justin@mahalo.com">justin@mahalo.com</a>></span><br>
<blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">Try creating a new user. e.g.<div><br></div><div><blockquote class="gmail_quote" style="margin: 0px 0px 0px 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">

<span style="font-family: sans-serif; font-size: 13px; line-height: 19px;"><p style="margin: 0.4em 0px 0.5em; line-height: 1.5em;">First, create a file called <tt>.htaccess</tt> in the <tt>/usr/local/share/nagios/cgi-bin</tt> directory. If you would like to lock up your Nagios Web interface completely, you can also put a copy of the same file in the <tt>/usr/local/share/nagios</tt> directory.</p>

<p style="margin: 0.4em 0px 0.5em; line-height: 1.5em;">Put the following in this <tt>.htaccess</tt> file.</p><pre style="padding: 1em; border: 1px dashed rgb(47, 111, 171); color: black; background-color: rgb(249, 249, 249); line-height: 1.1em;">
AuthName "Nagios Access"
AuthType Basic
AuthUserFile /usr/local/nagios/etc/htpasswd.users
require valid-user
</pre><p style="margin: 0.4em 0px 0.5em; line-height: 1.5em;">When you're adding your first user, the password file that .htaccess refers to will not be present. You need to run the '<tt>htpasswd</tt>' command with the <tt>-c</tt> option to create the file.</p>

<p style="margin: 0.4em 0px 0.5em; line-height: 1.5em;"><br></p><pre style="padding: 1em; border: 1px dashed rgb(47, 111, 171); color: black; background-color: rgb(249, 249, 249); line-height: 1.1em;">htpasswd -c /usr/local/nagios/etc/htpasswd.users bob
New password: ******
Re-type new password: ******
Adding password for user bob
</pre><p style="margin: 0.4em 0px 0.5em; line-height: 1.5em;">For the rest of your users, use the '<tt>htpasswd</tt>' command without the '<tt>-c</tt>' option so as not to overwrite the existing one. After you add all of your users, you can go back to the Web interface which will now pop up an authentication dialog. Upon successful authentication, you can start using the Web interface. Notice that your users will only be able to access information for servers that they are associated with in the Nagios configuration files. Also, some sections of the Web interface will be disabled for everyone by default. If you would like to enable those, take a look at '<tt>cgi.cfg</tt>' file. For instance, in order to allow the user '<tt>bob</tt>' to access the<tt>'Process Info'</tt> section, uncomment the '<tt>authorized_for_system_information</tt>' line and add '<tt>bob</tt>' to the list of names delimited by commas.</p>

</span></blockquote><div><br></div><div>via - <a href="http://www.section6.net/wiki/index.php/Setting_up_Nagios_in_FreeBSD" target="_blank">http://www.section6.net/wiki/index.php/Setting_up_Nagios_in_FreeBSD</a></div><div>
<br></div><div>
Note change the paths if needed. </div><div><br clear="all">Regards,<br><br>Justin Dorfman<br>Mahalo.com Inc. > Jr. Systems Engineer<br>818.485.1458<br><a href="http://www.twitter.com/jdorfman" target="_blank">@jdorfman</a> | <a href="http://twitter.com/MahaloSysops" target="_blank">@MahaloSysops</a> | Blog: <a href="http://bit.ly/aNiWSk" target="_blank">http://bit.ly/aNiWSk</a><br>


<br><br><div class="gmail_quote"><div><div></div><div class="h5">On Wed, Sep 8, 2010 at 6:53 AM, Chakotey STME <span dir="ltr"><<a href="mailto:chakoteystme@gmail.com" target="_blank">chakoteystme@gmail.com</a>></span> wrote:<br>
</div></div><blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;"><div><div></div><div class="h5">
Hello Mailinglist,<br><br>I used Debian Lenny.<br>i installed nagios3 with apt-get.<br>Because of this apt installed further packages like apache2.<br>It worked fine.<br><br>Because an other reasen I have to use Debian Squeeze.<br>


So I updated to Squeeze and then I had to solve a problem.<br>I fixed it with this solution:<br><a href="http://devplant.net/2010/03/26/linux-upgrading-debian-lenny-to-testing-halts-on-udev-package/" target="_blank">http://devplant.net/2010/03/26/linux-upgrading-debian-lenny-to-testing-halts-on-udev-package/</a><br>


<br>Now I have a problem.<br>When I go to serveraddress/nagios3 in my webbrowser I type in my username (nagiosadmin) and password (nagios).<br>But then I geht the message:<br><h1>Forbidden</h1>
<p>You don't have permission to access /nagios3/
on this server.</p><p><br></p><p>The user nagiosadmin has an entry in /etc/nagios3/htpaswd.users.</p><p><br></p><p>Can you tell me what can I do?</p><p>Maybe there is a problem between nagios and apache?</p><p><br></p><p>


thanks<br></p><br>
<br></div></div>------------------------------------------------------------------------------<br>
This SF.net Dev2Dev email is sponsored by:<br>
<br>
Show off your parallel programming skills.<br>
Enter the Intel(R) Threading Challenge 2010.<br>
<a href="http://p.sf.net/sfu/intel-thread-sfd" target="_blank">http://p.sf.net/sfu/intel-thread-sfd</a><br>_______________________________________________<br>
Nagios-users mailing list<br>
<a href="mailto:Nagios-users@lists.sourceforge.net" target="_blank">Nagios-users@lists.sourceforge.net</a><br>
<a href="https://lists.sourceforge.net/lists/listinfo/nagios-users" target="_blank">https://lists.sourceforge.net/lists/listinfo/nagios-users</a><br>
::: Please include Nagios version, plugin version (-v) and OS when reporting any issue.<br>
::: Messages without supporting info will risk being sent to /dev/null<br></blockquote></div><br></div></div>
<br>------------------------------------------------------------------------------<br>
This SF.net Dev2Dev email is sponsored by:<br>
<br>
Show off your parallel programming skills.<br>
Enter the Intel(R) Threading Challenge 2010.<br>
<a href="http://p.sf.net/sfu/intel-thread-sfd" target="_blank">http://p.sf.net/sfu/intel-thread-sfd</a><br>_______________________________________________<br>
Nagios-users mailing list<br>
<a href="mailto:Nagios-users@lists.sourceforge.net">Nagios-users@lists.sourceforge.net</a><br>
<a href="https://lists.sourceforge.net/lists/listinfo/nagios-users" target="_blank">https://lists.sourceforge.net/lists/listinfo/nagios-users</a><br>
::: Please include Nagios version, plugin version (-v) and OS when reporting any issue.<br>
::: Messages without supporting info will risk being sent to /dev/null<br></blockquote></div><br>