Visualizza post

Questa sezione ti permette di visualizzare tutti i post inviati da questo utente. N.B: puoi vedere solo i post relativi alle aree dove hai l'accesso.


Post - asio79

Pagine: [1] 2
1
Server / Re: Crash - riavvio automatico
« il: 11 Dicembre 2009, 10:48:07 »
grazie!

prima di arrivare al kernel dump, vorrei provare a rendere più verboso il messages.

ad oggi trovo solo info sul boot:

------
...
...
....
Dec 10 15:27:55 lupin kernel: cciss0: <0x323a> at PCI 0000:04:00.0 IRQ 138 using DAC
Dec 10 15:27:55 lupin kernel:       blocks= 1720099632 block_size= 512
Dec 10 15:27:55 lupin kernel:       heads= 255, sectors= 32, cylinders= 210797
Dec 10 15:27:55 lupin kernel:
Dec 10 15:27:55 lupin kernel:       blocks= 1720099632 block_size= 512
Dec 10 15:27:55 lupin kernel:       heads= 255, sectors= 32, cylinders= 210797
Dec 10 15:27:55 lupin kernel:
Dec 10 15:27:55 lupin kernel:  cciss/c0d0: p1 p2 p3 p4 < p5 p6 p7 >
Dec 10 15:27:55 lupin kernel: shpchp: Standard Hot Plug PCI Controller Driver version: 0.4
Dec 10 15:27:55 lupin kernel: GSI 21 sharing vector 0x9A and IRQ 21
Dec 10 15:27:55 lupin kernel: ACPI: PCI Interrupt 0000:00:1f.2 -> GSI 17 (level, low) -> IRQ 154
Dec 10 15:27:55 lupin kernel: ata_piix 0000:00:1f.2: MAP [ P0 P2 P1 P3 ]
Dec 10 15:27:55 lupin kernel: usb 6-1: new full speed USB device using uhci_hcd and address 2
Dec 10 15:27:55 lupin kernel: scsi0 : ata_piix
Dec 10 15:27:55 lupin kernel: scsi1 : ata_piix
Dec 10 15:27:55 lupin kernel: ata1: SATA max UDMA/133 cmd 0x1080 ctl 0x1088 bmdma 0x10a0 irq 154
Dec 10 15:27:55 lupin kernel: ata2: SATA max UDMA/133 cmd 0x1090 ctl 0x1098 bmdma 0x10a8 irq 154
Dec 10 15:27:55 lupin kernel: usb 6-1: configuration #1 chosen from 1 choice
Dec 10 15:27:55 lupin kernel: input: HP Virtual Keyboard as /class/input/input0
Dec 10 15:27:55 lupin kernel: input: USB HID v1.01 Keyboard [HP Virtual Keyboard] on usb-0000:01:04.4-1
Dec 10 15:27:55 lupin kernel: input: HP Virtual Keyboard as /class/input/input1
Dec 10 15:27:55 lupin kernel: input: USB HID v1.01 Mouse [HP Virtual Keyboard] on usb-0000:01:04.4-1
Dec 10 15:27:55 lupin kernel: usb 6-2: new full speed USB device using uhci_hcd and address 3
Dec 10 15:27:55 lupin kernel: usb 6-2: configuration #1 chosen from 1 choice
Dec 10 15:27:55 lupin kernel: ata1: SATA link up 1.5 Gbps (SStatus 113 SControl 300)
Dec 10 15:27:55 lupin kernel: hub 6-2:1.0: USB hub found
Dec 10 15:27:55 lupin kernel: hub 6-2:1.0: 7 ports detected
Dec 10 15:27:55 lupin kernel: ata1.00: ATAPI: Optiarc DVD RW AD-7561S, AH52, max UDMA/100
Dec 10 15:27:55 lupin kernel: ata1.00: configured for UDMA/100
Dec 10 15:27:55 lupin kernel: ata2: SATA link down (SStatus 4 SControl 300)
Dec 10 15:27:55 lupin kernel:   Vendor: Optiarc   Model: DVD RW AD-7561S   Rev: AH52
Dec 10 15:27:55 lupin kernel:   Type:   CD-ROM                             ANSI SCSI revision: 05
Dec 10 15:27:55 lupin kernel: device-mapper: uevent: version 1.0.3
Dec 10 15:27:55 lupin kernel: device-mapper: ioctl: 4.11.5-ioctl (2007-12-12) initialised: dm-devel@redhat.com
Dec 10 15:27:55 lupin kernel: device-mapper: dm-raid45: initialized v0.2594l
Dec 10 15:27:55 lupin kernel: EXT3-fs: INFO: recovery required on readonly filesystem.
Dec 10 15:27:55 lupin kernel: EXT3-fs: write access will be enabled during recovery.
Dec 10 15:27:55 lupin kernel: kjournald starting.  Commit interval 5 seconds
Dec 10 15:27:55 lupin kernel: EXT3-fs: recovery complete.
Dec 10 15:27:55 lupin kernel: EXT3-fs: mounted filesystem with ordered data mode.
Dec 10 15:27:55 lupin kernel: SELinux:  Disabled at runtime.
Dec 10 15:27:55 lupin kernel: type=1404 audit(1260458848.102:2): selinux=0 auid=4294967295 ses=4294967295
Dec 10 15:27:55 lupin kernel: input: PC Speaker as /class/input/input2
Dec 10 15:27:55 lupin kernel: ACPI: PCI Interrupt 0000:01:04.2 -> GSI 22 (level, low) -> IRQ 106
Dec 10 15:27:55 lupin kernel: Floppy drive(s): fd0 is 1.44M
Dec 10 15:27:55 lupin kernel: Broadcom NetXtreme II Gigabit Ethernet Driver bnx2 v1.9.3 (March 17, 2009)
Dec 10 15:27:55 lupin kernel: ACPI: PCI Interrupt 0000:02:00.0 -> GSI 16 (level, low) -> IRQ 169
Dec 10 15:27:55 lupin kernel: eth0: Broadcom NetXtreme II BCM5709 1000Base-T (C0) PCI Express found at mem f4000000, IRQ 169, node addr 0026554b9cea
Dec 10 15:27:55 lupin kernel: ACPI: PCI Interrupt 0000:02:00.1 -> GSI 17 (level, low) -> IRQ 154
Dec 10 15:27:55 lupin kernel: eth1: Broadcom NetXtreme II BCM5709 1000Base-T (C0) PCI Express found at mem f2000000, IRQ 154, node addr 0026554b9cec
Dec 10 15:27:55 lupin kernel: GSI 22 sharing vector 0xA2 and IRQ 22
Dec 10 15:27:55 lupin kernel: ACPI: PCI Interrupt 0000:03:00.0 -> GSI 18 (level, low) -> IRQ 162
Dec 10 15:27:55 lupin kernel: eth2: Broadcom NetXtreme II BCM5709 1000Base-T (C0) PCI Express found at mem f8000000, IRQ 162, node addr 0026554b9cee
Dec 10 15:27:55 lupin kernel: GSI 23 sharing vector 0xAA and IRQ 23
Dec 10 15:27:55 lupin kernel: ACPI: PCI Interrupt 0000:03:00.1-> GSI 19 (level, low) -> IRQ 170
Dec 10 15:27:55 lupin kernel: eth3: Broadcom NetXtreme II BCM5709 1000Base-T (C0) PCI Express found at mem f6000000, IRQ 170, node addr 0026554b9cf0
Dec 10 15:27:55 lupin kernel: scsi 0:0:0:0: Attached scsi generic sg0 type 5
Dec 10 15:27:55 lupin kernel: sr0: scsi3-mmc drive: 24x/24x writer dvd-ram cd/rw xa/form2 cdda tray
Dec 10 15:27:55 lupin kernel: Uniform CD-ROM driver Revision: 3.20
Dec 10 15:27:55 lupin kernel: floppy0: no floppy controllers found
Dec 10 15:27:55 lupin kernel: Floppy drive(s): fd0 is 1.44M
Dec 10 15:27:55 lupin kernel: floppy0: no floppy controllers found
Dec 10 15:27:55 lupin kernel: lp: driver loaded but no devices found
Dec 10 15:27:55 lupin kernel: NET: Registered protocol family 10
Dec 10 15:27:55 lupin kernel: lo: Disabled Privacy Extensions
Dec 10 15:27:55 lupin kernel: IPv6 over IPv4 tunneling driver
Dec 10 15:27:55 lupin kernel: mtrr: type mismatch for e8000000,4000000 old: uncachable new: write-combining
Dec 10 15:27:55 lupin kernel: ACPI: Power Button (FF) [PWRF]
Dec 10 15:27:55 lupin kernel: md: Autodetecting RAID arrays.
Dec 10 15:27:55 lupin kernel: md: autorun ...
Dec 10 15:27:55 lupin kernel: md: ... autorun DONE.
Dec 10 15:27:55 lupin kernel: device-mapper: multipath: version 1.0.5 loaded
Dec 10 15:27:55 lupin kernel: EXT3 FS on cciss/c0d0p2, internal journal
Dec 10 15:27:55 lupin kernel: kjournald starting.  Commit interval 5 seconds
Dec 10 15:27:55 lupin kernel: EXT3 FS on cciss/c0d0p7, internal journal
Dec 10 15:27:55 lupin kernel: EXT3-fs: mounted filesystem with ordered data mode.
Dec 10 15:27:55 lupin kernel: kjournald starting.  Commit interval 5 seconds
Dec 10 15:27:55 lupin kernel: EXT3 FS on cciss/c0d0p6, internal journal
Dec 10 15:27:55 lupin kernel: EXT3-fs: mounted filesystem with ordered data mode.
Dec 10 15:27:55 lupin kernel: kjournald starting.  Commit interval 5 seconds
Dec 10 15:27:55 lupin kernel: EXT3 FS on cciss/c0d0p5, internal journal
Dec 10 15:27:55 lupin kernel: EXT3-fs: mounted filesystem with ordered data mode.
Dec 10 15:27:55 lupin kernel: kjournald starting.  Commit interval 5 seconds
Dec 10 15:27:55 lupin kernel: EXT3 FS on cciss/c0d0p1, internal journal
Dec 10 15:27:55 lupin kernel: EXT3-fs: mounted filesystem with ordered data mode.
Dec 10 15:27:55 lupin kernel: Adding 20972848k swap on /dev/cciss/c0d0p3.  Priority:-1 extents:1 across:20972848k
Dec 10 15:27:55 lupin kernel: IA-32 Microcode Update Driver: v1.14a <tigran@veritas.com>
Dec 10 15:27:55 lupin kernel: Ethernet Channel Bonding Driver: v3.4.0 (October 7, 2008)
Dec 10 15:27:55 lupin kernel: bonding: MII link monitoring set to 80 ms
Dec 10 15:27:55 lupin kernel: ADDRCONF(NETDEV_UP): bond0: link is not ready
Dec 10 15:27:55 lupin kernel: bonding: bond0: Adding slave eth0.
Dec 10 15:27:55 lupin kernel: bnx2: eth0: using MSIX
Dec 10 15:27:55 lupin kernel: bonding: bond0: enslaving eth0 as an active interface with a down link.
Dec 10 15:27:55 lupin kernel: bonding: bond0: Adding slave eth1.
Dec 10 15:27:55 lupin kernel: bnx2: eth1: using MSIX
Dec 10 15:27:55 lupin kernel: bonding: bond0: enslaving eth1 as an active interface with a down link.
Dec 10 15:27:55 lupin kernel: bnx2: eth0 NIC Copper Link is Up, 100 Mbps full duplex
Dec 10 15:27:55 lupin kernel: bonding: bond0: link status definitely up for interface eth0.
Dec 10 15:27:55 lupin kernel: bonding: bond0: making interface eth0 the new active one.
Dec 10 15:27:55 lupin kernel: bonding: bond0: first active interface up!
Dec 10 15:27:55 lupin kernel: ADDRCONF(NETDEV_CHANGE): bond0: link becomes ready
Dec 10 15:27:55 lupin kernel: bnx2: eth1 NIC Copper Link is Up, 100 Mbps full duplex
Dec 10 15:27:55 lupin kernel: bonding: bond0: link status definitely up for interface eth1.
Dec 10 15:27:55 lupin rpc.statd[4002]: Version 1.0.9 Starting
Dec 10 15:27:55 lupin rpc.statd[4002]: statd running as root. chown /var/lib/nfs/statd/sm to choose different user
Dec 10 15:27:56 lupin pcscd: pcscdaemon.c:507:main() pcsc-lite 1.4.4 daemon ready.
Dec 10 15:27:56 lupin pcscd: hotplug_libusb.c:402:HPEstablishUSBNotifications() Driver ifd-egate.bundle does not support IFD_GENERATE_HOTPLUG. Using active polling instead.
Dec 10 15:27:56 lupin pcscd: hotplug_libusb.c:411:HPEstablishUSBNotifications() Polling forced every 1 second(s)
Dec 10 15:27:59 lupin automount[4172]: lookup_read_master: lookup(nisplus): couldn't locate nis+ table auto.master
Dec 10 15:27:59 lupin xinetd[4215]: xinetd Version 2.3.14 started with libwrap loadavg labeled-networking options compiled in.
Dec 10 15:27:59 lupin xinetd[4215]: Started working: 1 available service
Dec 10 15:27:59 lupin gpm[4251]: *** info [startup.c(95)]:
Dec 10 15:27:59 lupin gpm[4251]: Started gpm successfully. Entered daemon mode.
Dec 10 15:27:59 lupin avahi-daemon[4333]: Found user 'avahi' (UID 70) and group 'avahi' (GID 70).
Dec 10 15:27:59 lupin avahi-daemon[4333]: Successfully dropped root privileges.
Dec 10 15:27:59 lupin avahi-daemon[4333]: avahi-daemon 0.6.16 starting up.
Dec 10 15:27:59 lupin avahi-daemon[4333]: WARNING: No NSS support for mDNS detected, consider installing nss-mdns!
Dec 10 15:27:59 lupin avahi-daemon[4333]: Successfully called chroot().
Dec 10 15:27:59 lupin avahi-daemon[4333]: Successfully dropped remaining capabilities.
Dec 10 15:27:59 lupin avahi-daemon[4333]: Loading service file /services/sftp-ssh.service.
Dec 10 15:27:59 lupin avahi-daemon[4333]: New relevant interface bond0.IPv6 for mDNS.
Dec 10 15:27:59 lupin avahi-daemon[4333]: Joining mDNS multicast group on interface bond0.IPv6 with address fe80::226:55ff:fe4b:9cea.
Dec 10 15:27:59 lupin avahi-daemon[4333]: New relevant interface bond0.IPv4 for mDNS.
Dec 10 15:27:59 lupin avahi-daemon[4333]: Joining mDNS multicast group on interface bond0.IPv4 with address 192.168.1.77.
Dec 10 15:27:59 lupin avahi-daemon[4333]: Network interface enumeration completed.
Dec 10 15:27:59 lupin avahi-daemon[4333]: Registering new address record for fe80::226:55ff:fe4b:9cea on bond0.
Dec 10 15:27:59 lupin avahi-daemon[4333]: Registering new address record for 192.168.1.77 on bond0.
Dec 10 15:27:59 lupin avahi-daemon[4333]: Registering HINFO record with values 'X86_64'/'LINUX'.
Dec 10 15:28:00 lupin avahi-daemon[4333]: Server startup complete. Host name is lupin.local. Local service cookie is 3300150630.
Dec 10 15:28:01 lupin avahi-daemon[4333]: Service "SFTP File Transfer on lupin" (/services/sftp-ssh.service) successfully established.
Dec 10 15:28:11 lupin smartd[4963]: smartd version 5.38 [x86_64-redhat-linux-gnu] Copyright (C) 2002-8 Bruce Allen
Dec 10 15:28:11 lupin smartd[4963]: Home page is http://smartmontools.sourceforge.net/ 
Dec 10 15:28:11 lupin smartd[4963]: Opened configuration file /etc/smartd.conf
Dec 10 15:28:11 lupin smartd[4963]: Configuration file /etc/smartd.conf was parsed, found DEVICESCAN, scanning devices
Dec 10 15:28:11 lupin smartd[4963]: Problem creating device name scan list
Dec 10 15:28:11 lupin smartd[4963]: Problem creating device name scan list
Dec 10 15:28:11 lupin smartd[4963]: In the system's table of devices NO devices found to scan
Dec 10 15:28:11 lupin smartd[4963]: Monitoring 0 ATA and 0 SCSI devices
Dec 10 15:28:11 lupin smartd[4965]: smartd has fork()ed into background mode. New PID=4965.
Dec 10 15:28:12 lupin pcscd: winscard.c:304:SCardConnect() Reader E-Gate 0 0 Not Found
Dec 10 15:28:12 lupin last message repeated 3 times
Dec 10 15:28:13 lupin kernel: mtrr: type mismatch for e8000000,4000000 old: uncachable new: write-combining
Dec 10 15:28:32 lupin kernel: process `sysctl' is using deprecated sysctl (syscall) net.ipv6.neigh.bond0.base_reachable_time; Use net.ipv6.neigh.bond0.base_reachable_time_ms instead.
-----

sai mica quali parametri devo modificare per renderlo più verboso?

 ::)

Grazie!!

Alessio

2
Server / Crash - riavvio automatico
« il: 10 Dicembre 2009, 17:34:56 »
salve a tutti,

da qualche gg un mio server centos 5.4 si riavvia in automatico..

non trovo alcuna traccia di errore nella /var/log

avete idea dove possa andare a controllare?

grazie

Alessio

3
Server / DISABILITARE SELINUX
« il: 23 Novembre 2009, 11:49:44 »
CIAO,

non ho ancora digerito selinux e vorrei evitare il suo funzionamento sul mio sistema, quindi DISABILITARLO.

ho letto un po' in giro...ho cambiato nel file config lo stato

>cat /etc/selinux/config
# This file controls the state of SELinux on the system.
# SELINUX= can take one of these three values:
#   enforcing - SELinux security policy is enforced.
#   permissive - SELinux prints warnings instead of enforcing.
#   disabled - SELinux is fully disabled.
SELINUX=disabled
# SELINUXTYPE= type of policy in use. Possible values are:
#   targeted - Only targeted network daemons are protected.
#   strict - Full SELinux protection.
SELINUXTYPE=targeted

se invoco:
 
>sestatus -v
SELinux status:                 enabled
SELinuxfs mount:                /selinux
Current mode:                   permissive
Mode from config file:          disabled
Policy version:                 21
Policy from config file:        targeted

mi carica il file modificato, ma mi rilevo la stato enabled. Vorrei disabilitarlo senza riavviare il sistema.

avete qualche idea?

grazie

ciao

Alessio

4
Software / Apache httpd - LogFormat
« il: 17 Novembre 2009, 15:39:33 »
salve a tutti,

ho impostato apache httpd come logserver di chiamate.

ho definito in httpd.conf il LogFormat così:

LogFormat "%h##%v##%{%Y%m%d%H%M%S}t##\"%r\"##%>s##\"%{Referer}i\"##\"%{User-Agent}i\"##" pippo

funziona correttamente se la chiamata proviene da un server http, ma se il chiamante è un server https, il campo "%{Referer}i\" non viene avvalorato sul mittente, ma mi compare un "-"....

avete per caso idea?

grazie
ciao
Alessio

5
lancia il comando

#ntsysv

ti aprirà l'elenco dei software da eseguire in boot.

questo non significa che una volta inseriti sia attivi in quel momento, successivamente esegui

#/etc/init.d/nomeprogramma start/stop/restart

6
Networking / Re: Condividire id_dsa.pub
« il: 13 Novembre 2009, 16:34:41 »
ti posto un minitutorial molto utile:


Obiettivo

Tu vuoi usare Linux e OpenSSH per automatizzare i tuoi task. Per cui hai bisogno
di un login automatico e sicuro dall' host A / utente b all'Host B / utente b.
Non vuoi inserire password, per poter eseguire i ssh all'intereno di uno shell script.
Come fare

Prima log in su A come utente  a,  e genera una coppia di chiavi di autenticazione.
Non inserire passphrase:

a@A:~> ssh-keygen -t rsa
Generating public/private rsa key pair.
Enter file in which to save the key (/home/a/.ssh/id_rsa):
Created directory '/home/a/.ssh'.
Enter passphrase (empty for no passphrase):
Enter same passphrase again:
Your identification has been saved in /home/a/.ssh/id_rsa.
Your public key has been saved in /home/a/.ssh/id_rsa.pub.
The key fingerprint is:
3e:4f:05:79:3a:9f:96:7c:3b:ad:e9:58:37:bc:37:e4 a@A

Ora usa ssh per creare una directory ~/.ssh come utente b su B. (La directory potrebbe gia' esistere, il che va bene...):

a@A:~> ssh b@localhost mkdir -p .ssh
b@localhost's password:

Ora appendi la nuova chive pubblica di a su b@B:.ssh/authorized_keys ed inserisci la password di b per l'ultima volta:

a@A:~> cat .ssh/id_rsa.pub | ssh b@B 'cat >> .ssh/authorized_keys'
b@B's password:

Da ora in poi, potrai loggarti da A a B come b senza inserire password:

a@A:~> ssh b@B hostname
B


ciao

Alessio

7
ti consiglio nagios, è molto semplice e lineare, non richiede grandi capacità per la configurazione

altrimenti, se vuoi qualcosa più professionale, ti consiglio zabbix, anche questo free

alessio

8
Software / Re: Vsftpd
« il: 13 Novembre 2009, 16:28:54 »
installati webmin:

#cd /tmp
#wget http://freefr.dl.sourceforge.net/project/webadmin/webmin/1.490/webmin-1.490-1.noarch.rpm
#rpm -ivh webmin-1.490-1.noarch.rpm

webmin si installa e rimane in ascolto sulla porta 10000

chiamala da browser

https://indirizzoip:10000

entra con nome utente e password di root, da li gestisci tutte le applicazioni installate sotto la sezione server (servizi), vsftp inclusa.

ciao

Alessio

9
Problemi di Installazione / Re: Consiglio su Centos 5.3 64bit
« il: 13 Novembre 2009, 16:22:15 »
Consiglio di utilizzare la versione a 64bit

Alessio

10
Networking / Re: Condividire id_dsa.pub
« il: 03 Settembre 2009, 15:41:42 »
si, server1 e server2 sono entrambi centos, il server remoto non so...ma credo di si

11
Networking / Condividire id_dsa.pub
« il: 03 Settembre 2009, 15:19:53 »
salve a tutti,

Ho generato il certificato id_dsa.pub, sulla macchina 1, comunicandolo al nostro fornitore per l'accesso remoto in ssh.

Ora vorrei poter accedere al server del mio fornitore, da una macchina 2 utilizzando il medesimo certificato id_dsa.pub...

ma non trovo nulla a riguardo...

voi ne sapete qualcosa?

grazie

Alessio

12
prova così


DocumentRoot "/var/go/www"
<directory "/var/go/www">
AllowOverride None
DirectoryIndex prova.html
Order allow,deny
Allow from all
</directory>

13
Software / Re: problema nagios
« il: 11 Marzo 2009, 12:28:09 »
un conto è il check, un conto è l'avvio del servizio...quindi se va uno non è detto che debba andare anche l'altro..


14
Software / Re: problema nrpe nagios
« il: 11 Marzo 2009, 12:26:03 »
ciao,

non capisco cosa ti serve eseguire il check_nrpe....non ha senso che funzioni  :-\

15
Software / Re: upgrade apache
« il: 05 Febbraio 2009, 16:22:50 »
yes, letto e risposto!!

grazie

Pagine: [1] 2