[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: problema root piena 2



Scusami se abuso ancora della tua pazienza e competenza ma sei andato troppo sul tecnico per le mie conoscenze
Questo sotto è il mio netstat -putan
Active Internet connections (servers and established)
Proto Recv-Q Send-Q Local Address Foreign Address State PID/Program name tcp 0 0 127.0.0.1:935 0.0.0.0:* LISTEN 3303/famd tcp 0 0 127.0.0.1:65262 0.0.0.0:* LISTEN 3955/wish8.5 tcp 0 0 0.0.0.0:111 0.0.0.0:* LISTEN 2178/portmap tcp 0 0 0.0.0.0:113 0.0.0.0:* LISTEN 3214/inetd tcp 0 0 0.0.0.0:53875 0.0.0.0:* LISTEN 2189/rpc.statd tcp 0 0 127.0.0.1:631 0.0.0.0:* LISTEN 3176/cupsd tcp 0 0 127.0.0.1:25 0.0.0.0:* LISTEN 3282/master tcp 0 0 192.168.1.2:35781 84.53.136.74:80 ESTABLISHED 4176/firefox-bin tcp 0 0 192.168.1.2:50264 69.63.184.28:80 ESTABLISHED 4176/firefox-bin tcp 0 0 192.168.1.2:44685 84.53.136.51:80 ESTABLISHED 4176/firefox-bin tcp 1 0 192.168.1.2:54380 92.122.216.136:80 CLOSE_WAIT 4176/firefox-bin tcp 0 0 192.168.1.2:57150 84.53.136.56:80 ESTABLISHED 4176/firefox-bin tcp 0 0 192.168.1.2:50891 84.53.136.9:80 ESTABLISHED 4176/firefox-bin tcp 0 0 192.168.1.2:57822 207.46.109.30:1863 ESTABLISHED 3955/wish8.5 tcp 0 0 192.168.1.2:49265 84.53.136.72:80 ESTABLISHED 4176/firefox-bin tcp 0 0 192.168.1.2:38056 84.53.136.34:80 ESTABLISHED 4176/firefox-bin tcp 0 0 192.168.1.2:57402 69.63.184.142:80 ESTABLISHED 4176/firefox-bin tcp 0 0 192.168.1.2:39800 69.63.176.167:80 ESTABLISHED 4176/firefox-bin tcp 0 0 192.168.1.2:39586 84.53.136.10:80 ESTABLISHED 4176/firefox-bin tcp 0 0 192.168.1.2:57417 69.63.184.142:80 ESTABLISHED 4176/firefox-bin tcp 0 0 192.168.1.2:44684 84.53.136.51:80 ESTABLISHED 4176/firefox-bin tcp 0 0 192.168.1.2:39801 69.63.176.167:80 ESTABLISHED 4176/firefox-bin tcp 0 0 192.168.1.2:44670 84.53.136.51:80 ESTABLISHED 4176/firefox-bin tcp 0 0 192.168.1.2:44683 84.53.136.51:80 ESTABLISHED 4176/firefox-bin tcp 0 0 192.168.1.2:38055 84.53.136.34:80 ESTABLISHED 4176/firefox-bin tcp 0 0 192.168.1.2:49264 84.53.136.72:80 ESTABLISHED 4176/firefox-bin tcp 0 0 192.168.1.2:50892 84.53.136.9:80 ESTABLISHED 4176/firefox-bin tcp 0 0 192.168.1.2:50893 84.53.136.9:80 ESTABLISHED 4176/firefox-bin tcp 0 0 192.168.1.2:41267 92.122.216.177:80 ESTABLISHED 4176/firefox-bin tcp 0 0 192.168.1.2:45711 80.154.118.98:80 ESTABLISHED 4176/firefox-bin tcp6 0 0 ::1:631 :::* LISTEN 3176/cupsd udp 0 0 0.0.0.0:43803 0.0.0.0:* 3328/avahi-daemon: udp 0 0 0.0.0.0:669 0.0.0.0:* 2189/rpc.statd udp 0 0 0.0.0.0:5353 0.0.0.0:* 3328/avahi-daemon: udp 0 0 0.0.0.0:111 0.0.0.0:* 2178/portmap udp 0 0 0.0.0.0:631 0.0.0.0:* 3176/cupsd udp 0 0 192.168.1.2:123 0.0.0.0:* 3315/ntpd udp 0 0 127.0.0.1:123 0.0.0.0:* 3315/ntpd udp 0 0 0.0.0.0:123 0.0.0.0:* 3315/ntpd udp 0 0 0.0.0.0:54780 0.0.0.0:* 2189/rpc.statd udp6 0 0 :::46600 :::* 3328/avahi-daemon: udp6 0 0 :::5353 :::* 3328/avahi-daemon: udp6 0 0 ::1:123 :::* 3315/ntpd udp6 0 0 fe80::216:36ff:fe5d:123 :::* 3315/ntpd udp6 0 0 :::123 :::* 3315/ntpd
con firestarter ho aperto le porte per amule,bittorrent,http,https,ftp,smtp e pop3....devo per caso modificare qualcosa?

Per risolvere il problema, come già detto, devi riconfigurare logrotate per: 1) fare il rotate dei log quando superi una certa dimensione non troppo elevata (ad esempio qualche mega)
2) impostare un numero di rotazioni non troppo elevate

Se i log contengono solo questi tipi di messaggio, allora puoi eliminare i file più grossi già ruotati (se rimuovi quelli non ancora ruotati potresti causare problemi al servizio che ci scrive dentro) dopo che hai riconfigurato logrotate.

Ciao
Davide

Ho installato logrotate,che non c'era e questo è il mio /etc/logrotate.conf

# see "man logrotate" for details
# rotate log files weekly
weekly

# keep 4 weeks worth of backlogs
rotate 4

# create new (empty) log files after rotating old ones
create

# uncomment this if you want your log files compressed
#compress

# packages drop log rotation information into this directory
include /etc/logrotate.d

# no packages own wtmp, or btmp -- we'll rotate them here
/var/log/wtmp {
    missingok
    monthly
    create 0664 root utmp
    rotate 1
}

/var/log/btmp {
    missingok
    monthly
    create 0660 root utmp
    rotate 1
}

# system-specific logs may be configured here
come devo modificarlo per non incappare nuovamente nello stesso problema?
Grazie ancora

--
-= Nic =-
Amico di Emergency_2008
Linux registered user # 380338
Linux registered machine # 283289
Msn:nicbrigante@gmail.com
Skype:nicbrigante


Reply to: