Koozali.org: home of the SME Server

Other Languages => Italiano => Topic started by: kartone on August 21, 2011, 05:11:16 PM

Title: Installazione Nagios
Post by: kartone on August 21, 2011, 05:11:16 PM
Salve a tutti, ho seguito questo how-to http://wiki.neddix.com/Nagios  (http://wiki.neddix.com/Nagios) per l'installazione di Nagios su uno SME7.5.1 tuttavia mi succedere questo:

Code: [Select]
[root@mail /]# service nagios restart
-bash: /etc/profile: Permission denied
Configuration validation failed                            [FAILED]

prima di andare a sbattere la testa sulle configurazioni vorrei capire il perchè di quel Permission denied. Qualcuno ha esperienza in merito ? Grazie.
Title: Re: Installazione Nagios
Post by: kartone on August 22, 2011, 10:33:18 AM
Ulteriore problema: dopo aver provato quel tutorial mi ritrovo che server-manager non è più accessibile né dalle intranet né da locale (403 Forbidden).

Qualcuno ha idea di cosa può essere successo ?
Title: Re: Installazione Nagios
Post by: Stefano on August 22, 2011, 11:06:05 AM
no.. ma guarderei nei log per capire..
Title: Re: Installazione Nagios
Post by: kartone on August 22, 2011, 11:38:56 AM
Ciao Stefano, sapevo di poter contare su di te  :grin:

Code: [Select]
[root@mail httpd]# cat admin_error_log
[Mon Aug 22 09:49:07 2011] [warn] Init: Session Cache is not configured [hint: SSLSessionCache]
[Mon Aug 22 09:49:07 2011] [notice] Digest: generating secret for digest authentication ...
[Mon Aug 22 09:49:07 2011] [notice] Digest: done
[Mon Aug 22 09:49:07 2011] [notice] Apache configured -- resuming normal operations
[Mon Aug 22 09:50:34 2011] [error] [client 127.0.0.1] (13)Permission denied: access to /server-manager/noframes denied
[Mon Aug 22 09:54:09 2011] [error] [client 127.0.0.1] (13)Permission denied: access to /server-manager denied, referer: http://localhost/server-manager
[Mon Aug 22 09:55:12 2011] [error] [client 127.0.0.1] (13)Permission denied: access to /server-manager denied, referer: http://localhost/server-manager
[Mon Aug 22 10:48:55 2011] [error] [client 127.0.0.1] (13)Permission denied: access to /server-manager denied

Può essere questo ?
Title: Re: Installazione Nagios
Post by: Stefano on August 22, 2011, 12:49:55 PM
può essere.. ok.. adesso, dettagliatamente, ci dici COSA hai fatto (che rpm, che comandi, ecc... )
e NO, non leggo quell'howto (sono all'estero col palmare)
Title: Re: Installazione Nagios
Post by: kartone on August 22, 2011, 01:03:15 PM
Ho scoperto che le cartelle /etc /usr e /var erano settate in questo modo:

Code: [Select]
drw-r-xr-x   73 456 root 12288 Aug 22 11:52 etc
drwxr-xr-x   16 456 root  4096 Feb 21  2009 usr
drwxr-xr-x   24 456 root  4096 Aug 22 08:47 var

ho fatto in questo modo:

Code: [Select]
chown root:root /etc
chown root:root /var
chown root:root /usr
chmod +x /etc

e sembra tutto risolto. Ti sembrano giusti i permessi impostati su queste 3 directory ?