Il giorno Mer 28 Mar 2012 14:45:15 CEST, stefano ha scritto:
> eccomi qui di nuovo.
[...]
> stefano@dello:~$ /etc/init.d/nslcd restart
>  * Restarting LDAP connection daemon
> nslcd                                                                         
>                                                                               
>             &
> nbsp;                               
> start-stop-daemon: warning: failed to kill 1351: Operation not permitted
> rm: cannot remove `/var/run/nslcd/nslcd.pid': Permission denied
> process already running.
> che mi ha lasciato perplesso

Non devi essere perplesso: stai riavviando mediante un utente non
privilegiato, è normale non abbia permessi.

> Allora ho stoppato nslcd sempre da init.d:
> 
> stefano@dello:~$ /etc/init.d/nslcd stop
>  * Stopping LDAP connection daemon
> nslcd                                                                         
>                                                                               
>             &
> nbsp;                                
> start-stop-daemon: warning: failed to kill 1351: Operation not permitted
> 1 pids were not killed
> No nslcd found running; none killed.
>                                                                               
>                                                                               
>         
>                                                                    [ OK ]
> rm: cannot remove `/var/run/nslcd/nslcd.pid': Permission denied

Ovviamente... Per la stessa ragione di cui sopra...

> Con ps -aux ho trovato la seguente riga relativa a nslcd:
> nslcd     1351  0.0  0.0  56604   928 ?        Ssl  14:13   0:00
> /usr/sbin/nslcd.
> ho provato a killarlo:
> stefano@dello:~$ kill 1351
> bash: kill: (1351) - Operation not permitted
> Ho provato con sudo e questo è il risultato:

Non sei root.

> stefano@dello:~$ sudo kill 1351
> Sorry, try again.
> Sorry, try again.
> Sorry, try again.
> sudo: 3 incorrect password attempts
> Non ci sto capendo più nulla.
> Avete idee?
> Grazie

Diventa root.

-- 
RaSca
Mia Mamma Usa Linux: Niente è impossibile da capire, se lo spieghi bene!
[email protected]
http://www.miamammausalinux.org


-- 
Per REVOCARE l'iscrizione alla lista, inviare un email a 
[email protected] con oggetto "unsubscribe". Per
problemi inviare un email in INGLESE a [email protected]

To UNSUBSCRIBE, email to [email protected]
with a subject of "unsubscribe". Trouble? Contact [email protected]
Archive: http://lists.debian.org/[email protected]

Rispondere a