Devo ancora testarlo ma sembra fatto bene:
http://www.toniwestbrook.com/archives/168
Una possibile soluzione e’ mettere alla fine delle righe del boot nel grub.conf il noapic
title Red Hat Enterprise Linux AS (2.6.9-89.ELsmp)
root (hd0,0)
kernel /vmlinuz-2.6.9-89.ELsmp ro root=/dev/VolGroup00/LogVol00 rhgb quiet clock=pit noapic
Ecco alcuni comandi utili per gestire le code delle mail di postfix
./postqueue -p –> vede le mail in coda
./postqueue -i 4E387D6D01 –> forza l’invio della mail con ID 4E387D6D01
./postqueue -f –> forza l’invio di tutte le mail in coda
Lanciando il seguente comando dall’utente xxxx
xxxx >sudo su – root -c SALVA_TUTTO_FABIO
Compare l’errore :
sudo: parse error in /etc/sudoers near line -1
Problema nella configurazione di sudo, nel file /etc/sudoers non erano impostati le configurazioni per l’utente xxxx
# User privilege specification
root ALL=(ALL) ALL
xxxx ALL= NOPASSWD: /usr/bin/su
Per deallocare una risorda dal master a seguito dell’errore 0042-356 generato dal NIM eseguire il seguente comando
nim -o deallocate -a lpp_source=lppsource1 master
Using netstat to see the listening processes
To see if a program or process is listening on a port, ready to accept a packet, use the netstat program.
netstat -tulnp
The arguments to the netstat program are listed below:
•t – Show TCP
•u – Show UDP
•l – Show only listening processes (netstat can show both listening and all established connections, i.e. as a client too)
•n – Do not resolve network IP address names or port numbers
•p – Show the process name that is listening on the port
Modifico ogni riga inserendo firstword come prima parola e lastword come ultima parola:
sed ‘s/^/firstword/g;s/$/lastword/g’ changefile.txt
da vi posso :
%s/^/firstword/g
%s/$/lastword/g