venerdì 15 giugno 2007

Windows 2000 non vede il disco superiore a 137GB

Windows 2000 non vede il disco superiore a 137GB
A me riconosceva un disco da 250GB com uno da 128GB

SOLUZIONE:

http://support.microsoft.com/default.aspx?scid=kb;en-us;q305098

Occorre creare la seguente chiave di registro:
In
HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\Atapi\Parameters

Value name: EnableBigLba
Data type: REG_DWORD
Value data: 0x1

riavviare e tutto funziona.

giovedì 14 giugno 2007

[TROJAN] - avv.Ubaldo Santarelli - rimozione manuale 2

Questo riepilogo non è disponibile. Fai clic qui per visualizzare il post.

[TROJAN] - avv.Ubaldo Santarelli - rimozione manuale

Marco Giuliani, esperto di sicurezza che collabora con la società di
sicurezza Prevx, ha pubblicato interessanti informazioni su un nuovo
messaggio e-mail che sta circolando nelle inbox degli italiani inviato
da un fantomatico avvocato con allegato un codice malware. Simili tipi
di attacchi di ingegneria sociale erano già emersi negli ultimi mesi del
2006 (dettagli pubblicati su PC Al Sicuro). Si tratta di messaggi di
posta scritti in perfetto italiano che tentano di indurre i malcapitati
destinatari a seguire link che conducono a siti web malintenzionati.

Il testo della nuova e-mail nociva:

CITAZIONE
"Egregio Signore/a Come da Raccomandata a.r. Oggetto: Messa in mora del
debitore ex art. 1219 c.c. La mia assistita mi informa che a tutt'oggi
risulta un credito nei Vostri confronti di complessivi €. 900,00, come
risulta dalla documentazione allegata. Per quanto precede Vi rendo noto
che, in difetto di ricezione, entro e non oltre dieci giorni dal
ricevimento della presente, del complessivo importo di €. 900,00 oltre
gli interessi dal dovuto al saldo di € 670,00, agirò legalmente nei
Vostri confronti, con sensibile aggravio di spese. Rimango in attesa di
un Vostro riscontro in merito – nel termine di cui sopra – e
distintamente Vi saluto. Avv. Ubaldo Santarelli".

Il link fornito nell'e-mail invita l'utente ad aprire una pagina web in
cui si comunica la messa in mora e viene mostrato il documento in
dimensioni molto ridotte. L'utente, invitato a cliccare sul file per
leggere il documento, scaricherà un trojan.hijacker dalle dimensioni di
32.512 bytes.

Il Trojan aggiunge una serie di domini nocivi nell'elenco dei siti
attendibili di internet. La home page di Internet Explorer viene
reindirizzata a gooogle.bz (analisi) e le zone di Internet Explorer
vengono alterate. Vengono creati I file:
C:\WINDOWS\system32\winsvc\svc\google.exe e C:\WINDOWS\gratis.pbk (per
le connessioni dialer) e viene creata una chiave di registro che crea
l'icona Connessione Veloce presente all'interno di Risorse del computer.

Il codice nocivo crea inoltre due collegamenti, chiamate Explorer.lnk e
Internet.lnk, sul desktop e nei programmi del menu avvio. Hanno la
stessa icona di Internet Explorer, per cui l'utente crede di lanciare il
browser di Microsoft. Il trojan ha anche funzioni di dialer: 8993993**
Wind Telecomunicazioni S.p.A, 8990325** CSINFO S.p.A, 8994511** Wind
Telecomunicazioni S.p.A

Giuliani ha pubblicato anche una procedura per la rimozione manuale
dell'infezione:

- Attraverso regedit (START - Esegui - "regedit") eliminiamo - se
presenti - le seguenti chiavi di registro:
HKEY_CLASSES_ROOT\CLSID\{16C7013F-912E-42ac-AA8E-A10A180DFF51}

- Riavviamo il computer. Al riavvio cancelliamo il file
C:\WINDOWS\system32\winsvc\svc\google.exe

- Cancelliamo la falsa icona di Internet Explorer sul desktop. La
riconosciamo cliccando con il tasto destro sull'icona e cliccando su
proprietà. Se vedremo nel campo destinazione la voce analcord.com quella
è l'icona da eliminare. Lo stesso facciamo nel menu start - programmi,
cerchiamo il collegamento che richiama analcord.com.

- Apriamo risorse del computer, dove prima c'era la connessione veloce
ora ci dovrebbe essere un riquadro bianco. Facciamo click con il tasto
destro e poi elimina.

- Dobbiamo modificare la home page di Internet Explorer, la quale punta
ancora a gooogle.bz. Per fare ciò, senza scomodare il registro di
sistema, possiamo aprire Internet Explorer cliccando con il tasto destro
sull'icona del programma e cliccando su proprietà internet. Rimuoviamo
gooogle.bz quindi dalla home page e modifichiamo anche l'elenco dei siti
attendibili, Protezione - Siti attendibili - Siti.

--
principio di Napoleone:
non attribuire a malintenzione cio' che puo'
essere semplicemente spiegato come imbecillita'
--
MaoX Blog:
http://maox.blogspot.com

domenica 10 giugno 2007

Ottimo CRM - Gestione Clienti

http://www.sugarcrm.com

--
principio di Napoleone: non attribuire a malintenzione cio' che puo' essere semplicemente spiegato come imbecillita'
MaoX Blog:
Problemi e soluzioni di un sistemista informatico:
http://maox.blogspot.com

Ricompilare il kernel su fedora

http://fedoraserver.unipa.it/fedora/desktop/fedora-7/come-compilare-il-kernel-di-fedora-7-partendo-dai-sorgenti/

--
principio di Napoleone: non attribuire a malintenzione cio' che puo' essere semplicemente spiegato come imbecillita'
MaoX Blog:
Problemi e soluzioni di un sistemista informatico:
http://maox.blogspot.com

venerdì 8 giugno 2007

Tutorial: How to Crack WPA/WPA2

Tutorial: How to Crack WPA/WPA2

fonte: http://www.aircrack-ng.org/doku.php?id=cracking_wpa

Version: 1.05 May 16, 2007
By: darkAudax
Introduction

This tutorial walks you through cracking WPA/WPA2 networks which use
pre-shared keys. I recommend you do some background reading to better
understand what WPA/WPA2 is. The Wiki links page has a WPA/WPA2 section.

WPA/WPA2 supports many types of authentication beyond pre-shared keys.
aircrack-ng can ONLY crack pre-shared keys. So make sure airodump-ng
shows the network as having the authentication type of PSK, otherwise,
don't bother trying to crack it.

There is another important difference between cracking WPA/WPA2 and WEP.
This is the approach used to crack the WPA/WPA2 pre-shared key. Unlike
WEP, where statistical methods can be used to speed up the cracking
process, only plain brute force techniques can be used against WPA/WPA2.
That is, because the key is not static, so collecting IVs like when
cracking WEP encryption, does not speed up the attack. The only thing
that does give the information to start an attack is the handshake
between client and AP. Handshaking is done when the client connects to
the network. Although not absolutely true, for the purposes of this
tutorial, consider it true. Since the pre-shared key can be from 8 to 63
characters in length, it effectively becomes impossible to crack the
pre-shared key.

The only time you can crack the pre-shared key is if it is a dictionary
word or relatively short in length. Conversely, if you want to have an
unbreakable wireless network at home, use WPA/WPA2 and a 63 character
password composed of random characters including special symbols.

The impact of having to use a brute force approach is substantial.
Because it is very compute intensive, a computer can only test 50 to 300
possible keys per second depending on the computer CPU. It can take
hours, if not days, to crunch through a large dictionary. If you are
thinking about generating your own password list to cover all the
permutations and combinations of characters and special symbols, check
out this brute force time calculator first. You will be very surprised
at how much time is required.

There is no difference between cracking WPA or WPA2 networks. The
authentication methodology is basically the same between them. So the
techniques you use are identical.

It is recommended that you experiment with your home wireless access
point to get familiar with these ideas and techniques. If you do not own
a particular access point, please remember to get permission from the
owner prior to playing with it.

I would like to acknowledge and thank the Aircrack-ng team for producing
such a great robust tool.

Please send me any constructive feedback, positive or negative.
Additional troubleshooting ideas and tips are especially welcome.
Assumptions

First, this solution assumes:

*
You are using drivers patched for injection. Use the injection
test to confirm your card can inject.
*
You are physically close enough to send and receive access point
and wireless client packets. Remember that just because you can receive
packets from them does not mean you may will be able to transmit packets
to them. The wireless card strength is typically less then the AP
strength. So you have to be physically close enough for your transmitted
packets to reach and be received by both the AP and the wireless client.
You can confirm that you can communicate with the specific AP by
following these instructions.
*
You are using v0.9 of aircrack-ng. If you use a different version
then some of the command options may have to be changed.

Ensure all of the above assumptions are true, otherwise the advice that
follows will not work. In the examples below, you will need to change
"ath0" to the interface name which is specific to your wireless card.

In the examples, the option "double dash bssid" is shown as "- -bssid".
Remember to remove the space between the two dashes when using it in
real life. This also applies to "- -ivs", "- -arpreplay", "- -deauth",
"- -channel", "- -arp" and "- -fakeauth".
Equipment used

To follow this tutorial at home, you must have two wireless cards.

In this tutorial, here is what was used:

*
MAC address of PC running aircrack-ng suite: 00:0F:B5:88:AC:82
*
MAC address of the wireless client using WPA2: 00:0F:B5:FD:FB:C2
*
BSSID (MAC address of access point): 00:14:6C:7E:40:80
*
ESSID (Wireless network name): teddy
*
Access point channel: 9
*
Wireless interface: ath0

You should gather the equivalent information for the network you will be
working on. Then just change the values in the examples below to the
specific network.
Solution
Solution Overview

The objective is to capture the WPA/WPA2 authentication handshake and
then use aircrack-ng to crack the pre-shared key.

This can be done either actively or passively. "Actively" means you will
accelerate the process by deauthenticating an existing wireless client.
"Passively" means you simply wait for a wireless client to authenticate
to the WPA/WPA2 network. The advantage of passive is that you don't
actually need injection capability and thus the Windows version of
aircrack-ng can be used.

Here are the basic steps we will be going through:

1.
Start the wireless interface in monitor mode on the specific AP
channel
2.
Start airodump-ng on AP channel with filter for bssid to collect
authentication handshake
3.
Use aireplay-ng to deauthenticate the wireless client
4.
Run aircrack-ng to crack the pre-shared key using the
authentication handshake

Step 1 - Start the wireless interface in monitor mode

The purpose of this step is to put your card into what is called monitor
mode. Monitor mode is the mode whereby your card can listen to every
packet in the air. Normally your card will only "hear" packets addressed
to you. By hearing every packet, we can later capture the WPA/WPA2 4-way
handshake. As well, it will allow us to optionally deauthenticate a
wireless client in a later step.

First stop ath0 by entering:

airmon-ng stop ath0

The system responds:

Interface Chipset Driver

wifi0 Atheros madwifi-ng
ath0 Atheros madwifi-ng VAP (parent: wifi0) (VAP
destroyed)

Enter "iwconfig" to ensure there are no other athX interfaces. It should
look similar to this:

lo no wireless extensions.

eth0 no wireless extensions.

wifi0 no wireless extensions.

If there are any remaining athX interfaces, then stop each one. When you
are finished, run "iwconfig" to ensure there are none left.

Now, enter the following command to start the wireless card on channel 9
in monitor mode:

airmon-ng start wifi0 9

Note: In this command we use "wifi0" instead of our wireless interface
of "ath0". This is because the madwifi-ng drivers are being used.

The system will respond:

Interface Chipset Driver

wifi0 Atheros madwifi-ng
ath0 Atheros madwifi-ng VAP (parent: wifi0)
(monitor mode enabled)

You will notice that "ath0" is reported above as being put into monitor
mode.

To confirm the interface is properly setup, enter "iwconfig".

The system will respond:

lo no wireless extensions.

wifi0 no wireless extensions.

eth0 no wireless extensions.

ath0 IEEE 802.11g ESSID:"" Nickname:""
Mode:Monitor Frequency:2.452 GHz Access Point:
00:0F:B5:88:AC:82
Bit Rate:0 kb/s Tx-Power:18 dBm Sensitivity=0/3
Retry:off RTS thr:off Fragment thr:off
Encryption key:off
Power Management:off
Link Quality=0/94 Signal level=-95 dBm Noise level=-95 dBm
Rx invalid nwid:0 Rx invalid crypt:0 Rx invalid frag:0
Tx excessive retries:0 Invalid misc:0 Missed beacon:0

In the response above, you can see that ath0 is in monitor mode, on the
2.452GHz frequency which is channel 9 and the Access Point shows the MAC
address of your wireless card. Only the madwifi-ng drivers show the card
MAC address in the AP field, other drivers do not. So everything is
good. It is important to confirm all this information prior to
proceeding, otherwise the following steps will not work properly.

To match the frequency to the channel, check out:

http://www.rflinx.com/help/calculations/#2.4ghz_wifi_channels then
select the "Wifi Channel Selection and Channel Overlap" tab. This will
give you the frequency for each channel.
Step 2 - Start airodump-ng to collect authentication handshake

The purpose of this step is run airodump-ng to capture the 4-way
authentication handshake for the AP we are interested in.

Enter:

airodump-ng -c 9 - -bssid 00:14:6C:7E:40:80 -w psk ath0

Where:

*
-c 9 is the channel for the wireless network
*
- -bssid 00:14:6C:7E:40:80 is the access point MAC address. This
eliminate extraneous traffic.
*
-w psk is the file name prefix for the file which will contain
the IVs.
*
ath0 is the interface name.

Important: Do NOT use the "- -ivs" option. You must capture the full
packets.

Here what it looks like if a wireless client is connected to the network:

CH 9 ][ Elapsed: 4 s ][ 2007-03-24 16:58

BSSID PWR RXQ Beacons #Data, #/s CH MB ENC
CIPHER AUTH ESSID

00:14:6C:7E:40:80 39 100 51 116 14 9 54 WPA2 CCMP
PSK teddy

BSSID STATION PWR Lost Packets Probes

00:14:6C:7E:40:80 00:0F:B5:FD:FB:C2 35 0 116

Here it is with no connected wireless clients:

CH 9 ][ Elapsed: 4 s ][ 2007-03-24 17:51

BSSID PWR RXQ Beacons #Data, #/s CH MB ENC
CIPHER AUTH ESSID

00:14:6C:7E:40:80 39 100 51 0 0 9 54 WPA2 CCMP
PSK teddy

BSSID STATION PWR Lost Packets Probes


Step 3 - Use aireplay-ng to deauthenticate the wireless client

This step is optional. You only perform this step if you opted to
actively speed up the process. The other constraint is that there must
be a wireless client currently associated with the AP. If there is no
wireless client currently associated with the AP, then move onto the
next step and be patient. Needless to say, if a wireless client shows up
later, you can backtrack and perform this step.

What this step does is send a message to the wireless client saying that
that it is no longer associated with the AP. The wireless client will
then hopefully reauthenticate with the AP. The reauthentication is what
generates the 4-way authentication handshake we are interested in
collecting. This what we use to break the WPA/WPA2 pre-shared key.

Based on the output of airodump-ng in the previous step, you determine a
client which is currently connected. You need the MAC address for the
following. Open another console session and enter:

aireplay-ng -0 1 -a 00:14:6C:7E:40:80 -c 00:0F:B5:FD:FB:C2 ath0

Where:

*
-0 means deauthentication
*
1 is the number of deauths to send (you can send muliple if you wish)
*
-a 00:14:6C:7E:40:80 is the MAC address of the access point
*
-c 00:0F:B5:FD:FB:C2 is the MAC address of the client you are
deauthing
*
ath0 is the interface name

Here is what the output looks like:

11:09:28 Sending DeAuth to station -- STMAC: [00:0F:B5:34:30:30]

With luck this causes the client to reauthenticate and yield the 4-way
handshake.
Troubleshooting Tips

*
The deauthentication packets are sent directly from your PC to
the clients. So you must be physically close enough to the clients for
your wireless card transmissions to reach them.

Step 4 - Run aircrack-ng to crack the pre-shared key

The purpose of this step is to actually crack the WPA/WPA2 pre-shared
key. To do this, you need a dictionary of words as input. Basically,
aircrack-ng takes each word and tests to see if this is in fact the
pre-shared key.

There is a small dictionary that comes with aircrack-ng -
"password.lst". The Wiki FAQ has an extensive list of dictionary
sources. You can use John the Ripper (JTR) to generate your own list and
pipe them into aircrack-ng. Using JTR in conjunction with aircrack-ng is
beyond the scope of this tutorial.

Open another console session and enter:

aircrack-ng -w password.lst -b 00:14:6C:7E:40:80 psk*.cap

Where:

*
-w password.lst is the name of the dictionary file. Remember to
specify the full path if the file is not located in the same directory.
*
*.cap is name of group of files containing the captured packets.
Notice in this case that we used the wildcard * to include multiple files.

Here is typical output when there are no handshakes found:

Opening psk-01.cap
Opening psk-02.cap
Opening psk-03.cap
Opening psk-04.cap
Read 1827 packets.

No valid WPA handshakes found.

When this happens you either have to redo step 3 (deauthenticating the
wireless client) or wait longer if you are using the passive approach.
When using the passive approach, you have to wait until a wireless
client authenticates to the AP.

Here is typical output when handshakes are found:

Opening psk-01.cap
Opening psk-02.cap
Opening psk-03.cap
Opening psk-04.cap
Read 1827 packets.

# BSSID ESSID Encryption

1 00:14:6C:7E:40:80 teddy WPA (1 handshake)

Choosing first network as target.

Now at this point, aircrack-ng will start attempting to crack the
pre-shared key. Depending on the speed of your CPU and the size of the
dictionary, this could take a long time, even days.

Here is what successfully cracking the pre-shared key looks like:

Aircrack-ng 0.8


[00:00:00] 2 keys tested (37.20 k/s)


KEY FOUND! [ 12345678 ]


Master Key : CD 69 0D 11 8E AC AA C5 C5 EC BB 59 85 7D 49 3E
B8 A6 13 C5 4A 72 82 38 ED C3 7E 2C 59 5E AB FD

Transcient Key : 06 F8 BB F3 B1 55 AE EE 1F 66 AE 51 1F F8 12 98
CE 8A 9D A0 FC ED A6 DE 70 84 BA 90 83 7E CD 40
FF 1D 41 E1 65 17 93 0E 64 32 BF 25 50 D5 4A 5E
2B 20 90 8C EA 32 15 A6 26 62 93 27 66 66 E0 71

EAPOL HMAC : 4E 27 D9 5B 00 91 53 57 88 9C 66 C8 B1 29 D1 CB

--
principio di Napoleone:
non attribuire a malintenzione cio' che puo'
essere semplicemente spiegato come imbecillita'
--
MaoX Blog:
http://maox.blogspot.com

martedì 5 giugno 2007

Quicker Database Oracle Installs on Unbrekable Linux with the oracle-validated RPM

Fonte:
http://www.orablogs.com/sergio/archives/linux/index.html

In an earlier post I wrote about the Oracle channel on the Unbreakable Linux Network (ULN) and how to subscribe to it. This channel just got a great new addition in the form of the oracle-validated RPM. When you install this RPM using up2date and ULN, it will automatically install all packages required by the Oracle database installer.

[root@localhost ~]# up2date --install oracle-validated  Fetching Obsoletes list for channel: el4_i386_addons...  Fetching Obsoletes list for channel: el4_i386_oracle...  Fetching Obsoletes list for channel: el4_i386_latest...  Fetching rpm headers... ########################################  Name                                    Version        Rel      ---------------------------------------------------------- oracle-validated                        1.0.0          3.el4             i386     Testing package set / solving RPM inter-dependencies... ######################################## oracle-validated-1.0.0-3.el ########################## Done.                    elfutils-libelf-devel-0.97. ########################## Done.                    gcc-3.4.6-3.1.0.1.i386.rpm: ########################## Done.                    gcc-c++-3.4.6-3.1.0.1.i386. ########################## Done.                    glibc-devel-2.3.4-2.25.i386 ########################## Done.                    glibc-headers-2.3.4-2.25.i3 ########################## Done.                    glibc-kernheaders-2.4-9.1.9 ########################## Done.                    libstdc++-devel-3.4.6-3.1.0 ########################## Done.                    sysstat-5.0.5-11.rhel4.i386 ########################## Done.                    Preparing              ########################################### [100%]  Installing...    1:libstdc++-devel        ########################################### [100%]    2:glibc-kernheaders      ########################################### [100%]    3:glibc-headers          ########################################### [100%]    4:glibc-devel            ########################################### [100%]    5:gcc                    ########################################### [100%]    6:gcc-c++                ########################################### [100%]    7:sysstat                ########################################### [100%]    8:elfutils-libelf-devel  ########################################### [100%]    9:oracle-validated       ########################################### [100%] insmod /lib/modules/2.6.9-42.EL/kernel/drivers/net/e1000/e1000.ko  insmod /lib/modules/2.6.9-42.EL/kernel/drivers/char/hangcheck-timer.ko hangcheck_reboot=1 The following packages were added to your selection to satisfy dependencies:  Name                                    Version        Release -------------------------------------------------------------- elfutils-libelf-devel                   0.97.1         3                    gcc                                     3.4.6          3.1.0.1              gcc-c++                                 3.4.6          3.1.0.1              glibc-devel                             2.3.4          2.25                 glibc-headers                           2.3.4          2.25                 glibc-kernheaders                       2.4            9.1.98.EL            libstdc++-devel                         3.4.6          3.1.0.1              sysstat                                 5.0.5          11.rhel4              [root@localhost ~]#  

Named after Validated Configurations, oracle-validated also creates an oracle OS user and an oinstall and dba group. Kernel parameters are also set properly, ensuring that the Oracle Universal Installer will proceed without complaints. Very nice!



--  principio di Napoleone: non attribuire a malintenzione cio' che puo' essere semplicemente spiegato come imbecillita' MaoX Blog: Problemi e soluzioni di un sistemista informatico: http://maox.blogspot.com

Installation of Oracle 9i (R2) on (Oracle) Enterprise Linux

Installation of Oracle 9i (R2) on (Oracle) Enterprise Linux

fonte:
http://ivan.kartik.sk/oracle/install_ora9_elinux.html


This paper (HOWTO) describes step-by-step installation of Oracle 9i database software on Enteprise Linux. Installation steps are valid for 32 bit (x86) and 64 bit (x86_64) architectures.

This paper covers following steps:

Pre-Instalation Tasks

1. Create oracle User Account

Login as root and create te user oracle which belongs to dba group.
su -
# groupadd dba
# groupadd oinstall
# useradd -g oinstall -G dba oracle

2. Setting System parameters
Edit the /etc/sysctl.conf and add following lines:
kernel.sem = 250 32000 100 128
kernel.shmmax = 2147483648
kernel.shmmni = 128
kernel.shmall = 2097152
kernel.msgmnb = 65536
kernel.msgmni = 2878
fs.file-max = 65536
net.ipv4.ip_local_port_range = 1024 65000
Note: You need execute "sysctl -p" or reboot system to apply above settings.

Edit the /etc/security/limits.conf file and add following lines:
* - nproc 16384
* - nofile 16384

3. Setting Oracle Enviroment
Edit the /home/oracle/.bash_profile file and add following lines:

Use this settings for 32bit (x86) architecture.
ORACLE_BASE=/opt/oracle
ORACLE_HOME=$ORACLE_BASE/920
ORACLE_SID=MYORACLE
LD_LIBRARY_PATH=$ORACLE_HOME/lib
LD_ASSUME_KERNEL=2.4.19
PATH=$PATH:$ORACLE_HOME/bin

export ORACLE_BASE ORACLE_HOME ORACLE_SID LD_LIBRARY_PATH LD_ASSUME_KERNEL PATH

Use this settings for 64bit (x86_64) architecture.
ORACLE_BASE=/opt/oracle
ORACLE_HOME=$ORACLE_BASE/920
ORACLE_SID=MYORACLE
LD_LIBRARY_PATH=$ORACLE_HOME/lib
LD_LIBRARY_PATH_32=$ORACLE_HOME/lib32
PATH=$PATH:$ORACLE_HOME/bin

export ORACLE_BASE ORACLE_HOME ORACLE_SID LD_LIBRARY_PATH LD_LIBRARY_PATH_32 PATH

Save the .bash_profile and execute following commands for load new enviroment:
cd /home/oracle
. .bash_profile

4. Create base directory for Oracle

Login as root and create base directory for Oracle ($ORACLE_BASE).
su -
# cd /opt
# mkdir oracle
# chown oracle:dba oracle

Download & Install

1. Install required .rpm packages

Some additional packages are required for succesful instalation of Oracle software. To check whether required packages are installed on your operating system one of following commands:
rpm -q compat-db compat-gcc-32 compat-gcc-32-c++ compat-libcom_err compat-libcwait compat-libgcc-296 compat-libstdc++-296 compat-libstdc++-33 gcc gcc-c++ glibc glibc-common glibc-devel glibc-headers glibc-kernheaders libgcc make

or

rpm -qa --qf '%{name}-%{version}-%{release}.%{arch}\n'|egrep 'compat|glibc|gcc'|sort

Required packages for 32bit (x86) architecture:
binutils-2.15.92.0.2-21
compat-db-4.1.25-9
compat-gcc-32-3.2.3-47.3
compat-gcc-32-c++-3.2.3-47.3
compat-libcom_err-1.0-5
compat-libcwait-2.1-1
compat-libgcc-296-2.96-132.7.2
compat-libstdc++-296-2.96-132.7.2
compat-libstdc++-33-3.2.3-47.3
gcc-3.4.6-3.1
gcc-c++-3.4.6-3.1
glibc-2.3.4-2.25
glibc-common-2.3.4-2.25
glibc-devel-2.3.4-2.25
glibc-headers-2.3.4-2.25
glibc-kernheaders-2.4-9.1.98.EL
libgcc-3.4.6-3.1
make-3.80-6.EL4.i386
Note: Package compat-libcwait-2.1-1.i386.rpm is not included in Enterpise Linux installation media. You can download this package here.

Required packages for 64bit (x86_64) architecture:
binutils-2.15.92.0.2-21.x86_64
compat-db-4.1.25-9.i386
compat-db-4.1.25-9.x86_64
compat-gcc-32-3.2.3-47.3.x86_64
compat-gcc-32-c++-3.2.3-47.3.x86_64
compat-libcom_err-1.0-5.i386
compat-libcom_err-1.0-5.x86_64
compat-libgcc-296-2.96-132.7.2.i386
compat-libstdc++-296-2.96-132.7.2.i386
compat-libstdc++-33-3.2.3-47.3.i386
compat-libstdc++-33-3.2.3-47.3.x86_64
gcc-3.4.6-3.1.x86_64
gcc-c++-3.4.6-3.1.x86_64
glibc-2.3.4-2.25.i686
glibc-2.3.4-2.25.x86_64
glibc-common-2.3.4-2.25.x86_64
glibc-devel-2.3.4-2.25.i386
glibc-devel-2.3.4-2.25.x86_64
glibc-headers-2.3.4-2.25.x86_64
glibc-kernheaders-2.4-9.1.98.EL.x86_64
libgcc-3.4.6-3.1.i386
libgcc-3.4.6-3.1.x86_64
make-3.80-6.EL4.x86_64


Install the required packages using the rpm command:
# rpm -ivh <package_name>.rpm


If all required packages were installed succesfuly then login as root and switch the GCC 3.4 compiler binary with GCC 3.2 compiler binary as following:
su -
# cd /usr/bin
# mv ./gcc ./gcc34
# mv ./gcc32 ./gcc

2. Download the Oracle 9i (9.2.0.4) software from Oracle website for apropriate architecture.
Direct link to Oracle Database 32bit (x86)
Direct link to Oracle Database 64bit (x86_64)

Extract the files using following command (for 32bit architecture):
gunzip ship_9204_linux_disk1.cpio.gz
gunzip ship_9204_linux_disk2.cpio.gz
gunzip ship_9204_linux_disk3.cpio.gz

cpio -idmv < ship_9204_linux_disk1.cpio
cpio -idmv < ship_9204_linux_disk2.cpio
cpio -idmv < ship_9204_linux_disk3.cpio

or for 64bit architecture:
gunzip amd64_db_9204_Disk1.cpio.gz
gunzip amd64_db_9204_Disk2.cpio.gz
gunzip amd64_db_9204_Disk3.cpio.gz

cpio -idmv < amd64_db_9204_Disk1.cpio
cpio -idmv < amd64_db_9204_Disk2.cpio
cpio -idmv < amd64_db_9204_Disk3.cpio
When all archives were extracted you've got three directories Disk1, Disk2 and Disk3.


3. Start the Oracle software installation process.

Now the system is prepared for Oracle software installation. To start the installation process execute the following commands (as oracle):
cd Disk1
./runInstaller

Post-Instalation Tasks

1. Switch back the GCC binaries
su -
# cd /usr/bin
# mv ./gcc ./gcc32
# mv ./gcc34 ./gcc

2. (Optional) You may consider to use rlwrap for comfortable work with sqlplus. RPM package for RedHat compatible (x86) distribution you can download here. RPM for x86_64 architecture you can download here.
su -
# rpm -ivh rlwrap-0.24-rh.i386.rpm
# exit
echo "alias sqlplus='rlwrap sqlplus'" >> /home/oracle/.bash_profile
. /home/oracle/.bash_profile

Common Installation Errors

Unable to load native library: /tmp/OraInstall2006-12-20_11-11-34AM/jre/lib/i386/libjava.so: symbol __libc_wait, version GLIBC_2.0 not defined in file libc.so.6 with link time reference
Solution: Install new JRE 1.3.1 version. Edit the Disk1/install/linux/oraparam.ini and set path to new JRE for JRE_LOCATION variable. For more information see Download & Install section.

/opt/oracle/jre/1.1.8/bin/../lib/i686/native_threads/libzip.so: symbol errno, version GLIBC_2.0 not defined in file libc.so.6 with link time reference (libzip.so)
Solution: Set the LD_ASSUME_KERNEL=2.4.19

/tmp/OraInstall2006-12-20_11-38-19AM/jre/lib/i386/libawt.so: libXp.so.6: cannot open shared object file: No such file or directory
Solution: Install the xorg-x11-deprecated-libs package.

Starting Oracle Intelligent Agent.../opt/oracle/920/bin/dbsnmpwd: line 156: 10736 Segmentation fault nohup $ORACLE_HOME/bin/dbsnmp $* >>$DBSNMP_WDLOGFILE 2>&1
/opt/oracle/920/bin/dbsnmpwd: line 156: 10749 Segmentation fault nohup $ORACLE_HOME/bin/dbsnmp $* >>$DBSNMP_WDLOGFILE 2>&1
/opt/oracle/920/bin/dbsnmpwd: line 156: 10761 Segmentation fault nohup $ORACLE_HOME/bin/dbsnmp $* >>$DBSNMP_WDLOGFILE 2>&1
/opt/oracle/920/bin/dbsnmpwd: line 156: 10773 Segmentation fault nohup $ORACLE_HOME/bin/dbsnmp $* >>$DBSNMP_WDLOGFILE 2>&1

Solution: Download and apply patch nr.: 3238244 from http://metalink.oracle.com.

Exception in thread "main" java.lang.InternalError: Can't connect to X11 window server using 'localhost:0.0' as the value of the DISPLAY variable.
Solution: Execute "export DISPLAY=:0.0" (as oracle user) and "xhost +" as user who has opened X session (for example logged in KDE, GNOME, etc.). If the value is other than 127.0.0.1 or localhost you should "xhost +" on client machine.

Error in invoking target install of makefile /opt/oracle/920/ctx/lib/ins_ctx.mk
Error in invoking target install of makefile /opt/oracle/920/precomp/lib/ins_precomp.mk
Error in invoking target install of makefile /opt/oracle/920/plsql/lib/ins_plsql.mk
Error in invoking ntcontab.o of makfile /opt/oracle/920/network/lib/ins_net_client.mk

Solution: Some of required packages is missing (not installed on your OS) or GCC binaries wasn't changed. For more information see Download & Install section.



--  principio di Napoleone: non attribuire a malintenzione cio' che puo' essere semplicemente spiegato come imbecillita' MaoX Blog: Problemi e soluzioni di un sistemista informatico: http://maox.blogspot.com

lunedì 28 maggio 2007

Cd Rom Floppy e chiavette usb: Accesso negato su pc / portatili acer










http://www.hwupgrade.it/articoli/portatili/1600/utility-per-la-sicurezza-dei-notebook-acer_3.html

Oggi ho perso la bellezza di DUE ORE perchè un caaaro pc ACER non ne voleva sapere di aprire i floppy, i cd e le chiavette sub.
Tutto funzionava correttamente, le periferiche venivano montate, ma quando ci facevo doppio click sopra... niente sempre la stessa finestra:
ACCESSO NEGATO!!!

Dopo aver provato tutte le strada possibili ho trovato il seguente articolo che parla di una "utility" di ACER che permette di impostare quali periferiche rendere disponibili e quali no (oltre a una serie di inutili altre cose)
Disinstallato questo strano software tutto è tornato funzionante!
Saluti

Utility per la sicurezza dei notebook Acer







Utility per la sicurezza dei notebook Acer

"Le prestazioni medie dei sistemi notebook hanno raggiunto ormai livello decisamente elevati e parallelamente la competizione tra i vari costruttori si sta spostando verso altre importanti caratteristiche legate alla sicurezza dei dati. Anche le utility di gestione e configurazione sono sempre più considerate."

Acer eDatasecurity Management


La sicurezza dei dati trova nelle Empowering Tecnologies di Acer uno strumento dedicato. Acer eDatasecurity Management crea una sorta di partizione protetta al cui interno collocare file e documenti importanti: per accedere a tale area del disco sarà necessario introdurre un'apposita password mentre i dati saranno processati da un apposito algoritmo crittografico.


L'utente deve quindi aprire il proprio spazio Personal Secure Disk, effettuare le operazioni di salvataggio o modifica e successivamente provvedere a richiudere il PSD. Se quest'ultima operazione non viene effettuata la partizione soggetta a controllo crittografico sarà accessibile da chiunque anche se il software prevede un time out scaduto il quale è necessario rieffettuare l'autenticazione.


Al primo utilizzo del tool Acer eDatasecurity Management verrà chiesto all'utente di scegliere una password e successivamente si avrà la possibilità di definire le dimensioni del proprio volume protetto. Potendo disporre delle tecnologie TPM sul pc in uso è anche possibile utilizzare tale hardware per elevare ulteriormente il livello di sicurezza: la crittografia sarà a carico dell'apposito chip presente on board mentre il salvataggio della chiave di accesso sarà effettuato in un'area differente dall'hard disk. Qualora il disco venga rimosso dal sistema l'accesso ai dati contenuti nel Personal Secure Disk sarà sicuramente poco agevole.

Acer eLock Management

Per inibire l'utilizzo di unità ottica o pen drive è disponibile uno specifico strumento denominato Acer eLock Management. I dispositivi suddetti possono potenzialmente essere utilizzati per sottrarre dati dal pc stesso e per tale ragione un preciso controllo su di essi può sicuramente essere una forma di controllo valida.


Scegliendo di disabilitare uno specifico dispositivo il tool richiede di inserire un'apposita password scelta dall'utente. La medesima autenticazione sarà richiesta qualora si desideri riabilitare una periferica precedentemente inibita.

Acer eRecovery Management

Nei paragrafi precedenti si è affrontato il tema della sicurezza e della protezione dei dati ma un'altra evenienza che a priori non può mai essere esclusa è quella relativa a un malfunzionamento del sistema, ad un sistema operativo corrotto oppure alla rottura dell'hard disk. In tutte queste evenienze l'unica vera protezione consiste nell'approntare una precisa strategia di salvataggio dei dati su dispositivi esterni presenti in rete o in alternativa e con tutti i rischi del caso su un'altra partizione dell'hard disk.


Anche Acer come la maggior parte dei produttori di notebook in commercio fornisce un tool che consente di effettuare il backup totale o parziale del sistema. L'applicazione Acer eRecovery Management consente di configurare i vari parametri del backup come l'ora di esecuzione, i file e le cartelle soggette a tale operazione. Purtroppo nelle nostre prove non abbiamo individuato la possibilità di selezionare come volume di destinazione un'altra risorsa presente in rete o ma semplicemente l'unità ottica del notebook.


Acer eRecovery Management consente però di effettuare il restore del sistema a partire da precedenti backup, o più semplicemente la reinstallazione dei soli driver e delle applicazioni di default. All'occorrenza anche l'utente può creare una propria immagine disco contenente oltra al sistema operativo anche driver e applicazioni installate nel tempo: in caso di necessità sarà possibile riportare il sistema a tale condizione di funzionamento. Si consiglia ovviamente di mantere i propri dati su una partizione differente da quella di sistema in modo tale che l'operazione di restore possa riguardare solo gli applicativi.

Acer eSetting Management

Per verificare la configurazione hardware del proprio sistema Acer mette a disposizione lo strumento Acer eSetting Management che organizza le varie periferiche hardware in 6 differenti pannelli e fornisce un piccolo dettaglio per ogni componente. I dettagli contenuti in questa interfaccia grafica possono eventualmente essere salvati in formato txt o stampati per successive analisi.


Lo strumento Acer eSetting Management permette anche di intervenire su alcuni parametri tipicamente selezionabili solo a livello BIOS come ad esempio la sequenza di boot o i parametri BIOS Supervisor Password e BIOS User Password. Anticipiamo che la scelta di una password BIOS con privilegi di Superuser è condizione necessaria per abilitare le funzionalità TPM implementate sul TraveMate 6460.

Acer ePerformance Management

Come praticamente tutti gli utenti di Microsoft Windows XP avranno verificato, utilizzando nel tempo un pc le prestazioni generalmente decrescono. La causa è da ricercare in file temporanei che inspiegabilmente lievitano nelle loro dimensioni o inconvenienti simili.

Facendo un uso intenso del pc per alcune ore consecutive si sarà notato che dopo tale periodo il sistema risulta rallentato e eseguendo un restart si ritorna alla condizione iniziale. Il più delle volte questo inconveniente è da imputare ad una gestione poco accorta della memoria ram da parte di Microsoft Windows.


Per risolvere gli inconvenienti appena citati sono disponibili varie utility più o meno efficaci e vi segnaliamo questo articolo dedicato proprio all'argomento. Acer ha però scelto di offrire un proprio tool utilizzabile per effettuare una personale ottimizzazione del sistema operativo. Acer ePerformance Management effettua la pulizia di file inutilmente memorizzati sull'hard disk, ottimizza l'utilizzo della memoria e provvede ancha a cancellare informazioni sensibili come ad esempio le password inserire nei vari form online.

Tutte queste opzioni sono abilitabili singolarmente oppure attraverso la funzione "Execute Express Optimization" che effettua una procedura di pulizia automatizzata. Tra le opzioni avanzate sono disponibili dei settaggi interessanti come ad esempio Turbo Startup o Performance Enhancement che però sono privi di commenti e documentazione.


Segue : Utility per lettori di impronte biometriche Pagina successiva

Pagina 1: Introduzione
Pagina 2: Empowering Tecnologies - parte 1
Pagina 3: Empowering Tecnologies - parte 2
Pagina 4: Utility per lettori di impronte biometriche
Pagina 5: Infineon Security Platform - TPM 1.2
Pagina 6: Conclusioni

--  principio di Napoleone: non attribuire a malintenzione  cio' che puo' essere semplicemente spiegato come imbecillita' ---- MaoX Blog: http://maox.blogspot.com

venerdì 25 maggio 2007

Soluzione problema aggiornamenti automatici windows update

Avevo sempre il seguente errore nell'event log:

Tipo evento: Errore
Origine evento: ESENT
Categoria evento: Registrazione/Ripristino
ID evento: 412
Data: 7/6/2000
Ora: 14.56.53
Utente: N/D
Computer: ASKO-ONE
Descrizione: servizi (PID) Impossibile leggere l'intestazione del registro. Errore -530.

Event Type: Error
Event Source: ESENT
Event Category: Logging/Recovery
Event ID: 413
Date: 5/12/2005
Time: 2:46:16 PM
User: N/A
Computer: [computername]
Description:
wuaueng.dll (1280) Unable to create the log. The drive may be read-only, out of disk space, misconfigured, or corrupted. Error -1032.

Per risolvere ho eseguito le seguenti operazioni:

ho stoppato il servizio "aggiornamenti automatici"
ho cancellato tutto il contenuto di
%windir%\SoftwareDistribution\DataStore\Logs\
TRANNE edb.chk

ho riavviato il servizio e dalla pagina di windows update ho scelto "modifica impostazioni"
e ho disattivato Microsoft Update.

A questo punto tutto ha funzionato!

Saluti

giovedì 24 maggio 2007

Altri sintomi o problemi con gli aggiornamenti automatici o windows update

Dal sito microsoft:

http://support.microsoft.com/kb/278316
http://support.microsoft.com/kb/296220

Gli ID evento ESENT 1000, 1202, 412 e 454 vengono registrati ripetutamente nel registro applicazione

Identificativo articolo : 278316
Ultima modifica : martedì 18 ottobre 2005
Revisione : 6.0

Sintomi

Ogni cinque minuti nel registro applicazione vengono registrati i seguenti messaggi relativi a ID eventi:

Messaggio 1

Tipo evento: Errore
Origine evento: Userenv
Categoria evento: Nessuna
ID evento: 1000
Data: 7/6/2000
Ora: 14.56.53
Utente: WINDOWS NT AUTHORITY\SYSTEM
Computer: ASKO-ONE
Descrizione: all'estensione Protezione sul lato client Criteri di gruppo sono stati inviati dei flag (17). Essa ha restituito un codice di stato di errore (1208).

Messaggio 2

Tipo evento: Avviso
Origine evento: SceCli
Categoria evento: Nessuna
ID evento: 1202
Data: 7/6/2000
Ora: 14.56.53
Utente: N/D
Computer: ASKO-ONE
Descrizione: criteri di protezione propagati con avviso. 0x4b8: si è verificato un errore esteso. Per ulteriori informazioni, vedere la sezione della Guida in linea relativa alla risoluzione dei problemi di protezione.

Messaggio 3

Tipo evento: Errore
Origine evento: ESENT
Categoria evento: Registrazione/Ripristino
ID evento: 454
Data: 7/6/2000
Ora: 14.56.53
Utente: N/D
Computer: ASKO-ONE
Descrizione: servizi (PID) Impossibile recuperare o ripristinare il database. Errore imprevisto -530.

Messaggio 4

Tipo evento: Errore
Origine evento: ESENT
Categoria evento: Registrazione/Ripristino
ID evento: 412
Data: 7/6/2000
Ora: 14.56.53
Utente: N/D
Computer: ASKO-ONE
Descrizione: servizi (PID) Impossibile leggere l'intestazione del registro. Errore -530.

Torna all'inizio

Cause

Questo problema si verifica quando il file di database dei Criteri di gruppo locale è danneggiato.

Torna all'inizio

Risoluzione

Per risolvere questo problema, utilizzare la procedura descritta in questa sezione per ricreare il file dei Criteri di gruppo locale.

Importante L'implementazione di un modello di protezione su un controller di dominio potrebbe comportare la modifica delle impostazioni del Criterio controller dominio predefinito o del Criterio dominio predefinito. Il modello applicato potrebbe sovrascrivere le autorizzazioni sui nuovi file, sulle chiavi del Registro di sistema e sui servizi di sistema creati da altri programmi. Dopo l'applicazione di un modello di protezione, potrebbe essere necessario ripristinare questi criteri. Prima di eseguire questa procedura su un controller di dominio, creare un backup della condivisione SYSVOL.

Nota Quando si utilizza la seguente procedura, il computer viene ripristinato allo stato originale dell'installazione, in cui i Criteri di protezione locale non sono definiti. Potrebbe essere necessario avviare il computer in modalità provvisoria per rinominare o spostare i file. Per ulteriori informazioni su come effettuare questa operazione, vedere la Guida in linea di Windows 2000.
1. Aprire la cartella %SystemRoot%\Security, creare una nuova cartella, quindi rinominarla "OldSecurity".
2. Spostare tutti i file con estensione LOG dalla cartella %SystemRoot%\Security alla cartella OldSecurity.
3. Individuare il file Secedit.sdb nella cartella %SystemRoot%\Security\Database, quindi rinominarlo "Secedit.old".
4. Fare clic sul pulsante Start, scegliere Esegui, digitare mmc, quindi scegliere OK.
5. Scegliere Aggiungi/Rimuovi snap-in dal menu Console, quindi aggiungere lo snap-in Analisi e configurazione della protezione.
6. Fare clic con il pulsante destro del mouse su Analisi e configurazione della protezione e scegliere Apri database.
7. Passare alla cartella %SystemRoot%\Security\Database, digitare Secedit.sdb nella casella Nome file e scegliere Apri.
8. Alla richiesta di importare un modello, fare clic su Setup Security.inf, quindi scegliere Apri.

Nota Se viene visualizzato un messaggio di errore "Accesso negato", sarà possibile ignorarlo.

Torna all'inizio


Le informazioni in questo articolo si applicano a
• Microsoft Windows 2000 Service Pack 1
• Microsoft Windows 2000 Service Pack 2
• Microsoft Windows 2000 Advanced Server
• Microsoft Windows 2000 Advanced Server
• Microsoft Windows 2000 Service Pack 1
• Microsoft Windows 2000 Service Pack 2

Torna all'inizio

Chiavi: 
kberrmsg kbprb KB278316





Si registrano i punti di indicizzazione che funzionano e i messaggi di evento ESE98

NOTA: Questo articolo è stato tradotto da un sistema di traduzione automatica senza intervento umano. Microsoft mette a disposizione questi articoli come beneficio per coloro che non parlano la lingua inglese al fine di facilitarli nella comprensione. Microsoft non garantisce la qualità linguistica delle traduzioni e non è responsabile di qualsivoglia problema, diretto o indiretto, dovuto alla erronea interpretazione dei contenuti o dell'ultilizzo degli stessi presso i clienti.
Identificativo articolo : 296220
Ultima modifica : mercoledì 28 febbraio 2007
Revisione : 2.3

Sintomi

L'indicizzazione interrompe l'utilizzo e alcun o tutti i seguenti messaggi di errore sono inseriti nel registro di eventi di applicazione in un computer SharePoint Portal Server nel log:
Event Type: Errore
Origine evento: ESE98
Categoria di eventi: Generale
ID evento: 490
Descrizione: Il mssearch (1492), non è riuscito un tentativo per aprire il file "Server\Data\Ftdata\SharePointPortalServer\MSStmp.log Portale Files\SharePoint D:\Program" per la lettura/ scrivere l'accesso con l'errore di sistema 32 (0x00000020) : "il processo non può accedere al file perché esso è utilizzato da un altro processo". L'operazione di apertura di file non si effettuerà con l'errore 1032 (0xfffffbf8).
-e--
Event Type: Errore
Origine evento: ESE98
Categoria di eventi: Generale
ID evento: 488
Descrizione: Il mssearch (1492), non è riuscito un tentativo per creare il file "Server\Data\Ftdata\SharePointPortalServer\MSStmp.log Portale Files\SharePoint D:\Program" "Accesso negato" con l'errore di sistema 5 (0x00000005). L'operazione di creazione sul file non si effettuerà con l'errore 1032 (0xfffffbf8).
-e--
Event Type: Errore
Origine evento: ESE98
Categoria di eventi: Logging/Recovery
ID evento: 413
Descrizione: Il mssearch (1492), il file Impossibile per creare un nuovo registro presenta perché il database non si può scrivere nell'unità di registro. L'unità è della lettura sola dello spazio misconfigure o danneggiato sul disco. Errore 1032.
-e--
Event Type: Errore
Origine evento: ESE98
Categoria di eventi: Logging/Recovery
ID evento: 492
Descrizione: Il mssearch (1492) la il file di registro sequenza in "Server\Data\Ftdata\SharePointPortalServer\ Portale Files\SharePoint D:\Program" è stato arrestato a causa di un errore irreversibile. Nessun ulteriore aggiornamento non è possibile per i database che utilizzano questa sequenza di registro di file. Il problema risolvere, riavviare o si ripristinare dal backup.
-e--
Event Type: Errore
Origine evento: ESE98
Categoria di eventi: Logging/Recovery
ID evento: 471
Descrizione: Mssearch Impossibile (1492) all'operazione #128.145.954 di rollback sul database Server\Data\Ftdata\SharePointPortalServer\sps.edb Portale Files\SharePoint D:\Program. Errore: -510. Si rifiuteranno tutti gli aggiornamenti di database futuro.

Torna all'inizio

Cause

Questo problema si può verificare se un programma di backup ha bloccato i file JET di dati e log nella cartella Ftdata SharePoint Portal Server. Quando si esegue il backup e si ripristina un computer SharePoint Portal Server, si supporta il Solo script MSDMBACK.VBS che si fornisce con il prodotto o una soluzione di backup di terze parti che si certifica specificamente per l'utilizzo con SharePoint Portal Server. Se si utilizza tutto l'altro programma di backup che si include Microsoft Windows 2000 Backup, è possibile visualizzare i messaggi di errore che si descrive nella sezione "Sommario" di questo articolo.

Torna all'inizio

Risoluzione

Per risolvere questo problema, chiudere il processo di backup e riavviare il servizio di ricerca Microsoft (Mssearch.exe) sul server.

Torna all'inizio

Informazioni

Per impedirlo a questo problema di ricorrere, verificare a quello la cartella Ftdata SharePoint Portal Server che si indica evento i messaggi di registro di errore sono esclusi nel programma di backup non supportato sul server. Questa cartella risiede in genere sull'unità in cui ha installato i file di dati durante Processo di installazione (che si trova questa cartella in Data\Ftdata\SharePointPortalServer) a. Poiché verificano i dati che si possono essere spostato di file dopo l'installazione che lo Sps.edb e i file associati si trovino nel percorso a cui si fa il riferimento, registrare gli errori di evento.

Torna all'inizio


Le informazioni in questo articolo si applicano a
• Microsoft SharePoint Portal Server 2001

Torna all'inizio

Chiavi: 
kberrmsg kbprb KB296220 KbMtit kbmt

Problemi con gli aggiornamenti automatici o windows update

Al seguente link ho trovato una guida davvero ben fatta che riporto integralmente in seguito.
http://wsus.editme.com/TroubleshootingClientSetup


Troubleshooting Client Setup


In some cases, AU clients do not show up in WSUS Administration console, and thus never receive updates from WSUS. There are several reasons why this can happen.

The first thing to establish is the settings that the client is using. To do this, run the following command:

Reg query "HKLM\SOFTWARE\Policies\Microsoft\Windows\WindowsUpdate" /s

Ensure server and port number shown in the output exist and are correct. Typos in these settings can be the cause of your problem.

Next check whether WSUS is installed on Default Website. If client policies point to the default web site for updating, check that WUS is also installed in Default Website. If you have installed WUS on a different port run the script %Program Files%\MicrosoftWindowsUpdate\Services\"SetupInstallSelfupdateOnPort80.vbs.

Also, use the clientdiag tool from the RC (download this from the WSUS Beta Site) to see what other errors there might be.


If other computers are checking in fine but you have one or more that aren't, check a couple relevant text logs for clues. There's the main windows update log at %systemroot%\WindowsUpdate.log (WindowsUpdate all one word) and another log covering individual component updates at %systemroot%\SoftwareDistribution\ReportingEvents.log I found a handy page that has a list of error messages with some plain english messages. You'll want to check that out at http://perso.wanadoo.fr/doc.jm/WU5-ERR.htm

I had one computer not checking in and found errors like this in the ReportingEvents.log:

Windows failed to install the following update with error 0x800703e3: Automatic Updates.

and in WindowsUpdate.log I saw:

start delayed initialization of WU client
Loading inf file D:\WINDOWS\SoftwareDistribution\SelfUpdate\wusetup.inf
.
.
.
Required Version for binary D:\WINDOWS\system32\cdm.dll is: 5,8,0,2339
Binary: D:\WINDOWS\system32\cdm.dll: Target version: 5.5.3790.2182 Required: 5.8.0.2339
Required Version for binary D:\WINDOWS\system32\iuengine.dll is: 5,8,0,2339
Binary: D:\WINDOWS\system32\iuengine.dll: Target version: 5.4.3790.2182 Required: 5.8.0.2339
.
.
.
WU client failed Searching for update with error 0x8024001b
ISusInternal API CClientCallRecorder::DisconnectCall succeeds
Starting File operations for section cdm
InstallUpdatedBinaries failed with error 0x800703e3

A quick visit to the beta v6 windowsupdate site updated the WU client and everything just started working from my local WSUS after that. You can force the client to restart the AU process by doing:

pskill wuauclt [or use task manager; I'm unsure if this step is neccesary or good]
net stop "Automatic Updates"
net start "Automatic Updates"
wuauclt /detectnow

If client machines do not have web access, download the full file Windows Update Client agent Agent from
http://go.microsoft.com/fwlink/?LinkId=43264

WindowsUpdateAgent20-x86.exe /wuforce /quiet to install it remotely.
Add /norestart if you're doing it during the day (my clients didn't need a reboot, but ya never know).
 

 

If you're seeing error 0x8024400A and are running WSUS on Win2K3 SP1 it might be an IIS bug that's causing it.  A hotfix is available.  See: http://support.microsoft.com/Default.aspx?id=898708  

I personally had success via a "shotgun" aproach suggested by ctobio on the wsus.info forums.  I've consolidated the operations into a batch file form here, suitable for running remotely:

REM Stop the Automatic Updates service
net stop wuauserv

REM Stop the Windows Management Instrumentation service
net stop winmgmt

REM Backup ReportingEvents.log.  Then, delete the contents of
REM  %systemroot%\SoftwareDistribution and
REM  %systemroot%\system32\WBEM\Repository
copy %systemroot%\softwaredistribution\reportingevents.log %homedrive%\
del /f /q %systemroot%\softwaredistribution\*.*
move %homedrive%\reportingevents.log %systemroot%\softwaredistribution

REM Delete SusClientID and AccountDomainSid keys from
REM  HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\WindowsUpdate
SET WU_KEY=HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\WindowsUpdate
reg delete %WU_KEY% /v SusClientID
reg delete %WU_KEY% /v AccountDomainSid
SET WU_KEY=

REM Start the Automatic Updates service
net start wuauserv

REM Start the Windows Management Instrumentation service
net start winmgmt

REM Force a group policy update
gpupdate /force

REM Roll the WU Client...
wuauclt /resetauthorization /detectnow

After you do this, you will have to delete the old and now spurious computer account in the WSUS admin interface.  Delete the old computer that shows a status of not having checked in for so many days.  Leave the account that's never checked in.  This new account will be checking in and that should be reflected after a little while in the admin interface.  You'll also have to move the new account into the proper group where the old one was.  Monitor the WindowsUpdate.log in %systemroot% on that client machine to ensure that it's grabbing updates again.

 


If a client appears in the admin console but all the updates are flagged "unknown" the system cannot determine which updates are needed or installed. Multiple errors similar to the following may appear in the client's Application event log:

Event Type: Error
Event Source: ESENT
Event Category: General
Event ID: 427
Date: 5/17/2005
Time: 10:51:44 AM
User: N/A
Computer: [computername]
Description:
wuaueng.dll (1280) The database engine could not access the file called C:\WINNT\SoftwareDistribution\DataStore\Logs\edb.log.

Additionally the following error may appear once around the time of the first occurrence of the above error:

Event Type: Error
Event Source: ESENT
Event Category: Logging/Recovery
Event ID: 413
Date: 5/12/2005
Time: 2:46:16 PM
User: N/A
Computer: [computername]
Description:
wuaueng.dll (1280) Unable to create the log. The drive may be read-only, out of disk space, misconfigured, or corrupted. Error -1032.

To resolve this problem, stop the Automatic Updates service on the affected client, delete %windir%\SoftwareDistribution\DataStore\Logs\edb.log and restart the service.

[I couldn't find any record of this error at Microsoft or anywhere else.]


The following registry location can be useful to see what state the client is in

HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\WindowsUpdate\Auto Update\AUState  This will have one of the following values   
  • 0—initial 24-hour timeout (Automatic Updates doesn't run until 24 hours after it first detects an Internet connection.)
  • 1—waiting for the user to run Automatic Updates
  • 2—detection pending
  • 3—download pending (Automatic Updates is waiting for the user to accept the predownloaded prompt.)
  • 4—download in progress
  • 5—install pending
  • 6—install complete
  • 7—disabled
  • 8—reboot pending (Updates that require a reboot were installed, but the reboot was declined. Automatic Updates won't do anything until this value is cleared and a reboot occurs.)
 

 


Name Version Size Date User
Wsus error.txt 1 1574 27/10/06 3.28 praveenr
Wsus error



Comments:

From karmacop - 29/03/05 8.10

Hi

WUS is all working fine, but i accidentally removed all my clients ffrom the 'All Computers' Group. Is there a way to get the computers back or do i need to re-install WUS?

From ipelivan - 20/04/05 15.07

Hi! I have simillar problem. I removed one client computer from computer group. How to get it back?

From jahovabob - 07/07/05 9.48

clientdiag can also be downloaded here.

From helsby - 06/10/05 8.45

You are better going to http://www.microsoft.com/windowsserversystem/updateservices/support/default.mspx for the client diag download as this also has links to the readme. There are also server diag tools from this link too.

From rpaz - 08/01/06 17.42

 

I'm a little bit confused.

Can the AUState registry key be used to check WSUS Status? Or this key is only used by SUS?

 

From rpaz - 08/01/06 17.46

 

For those that accidentally removed All The Clients, don't worry to much they will get back on next cycle

I made the same mistake Wink

From rpaz - 08/01/06 18.00

 

For those that accidentally removed All The Clients, don't worry to much they will get back on next cycle

I made the same mistake Wink

From rpaz - 08/01/06 18.00

 

For those that accidentally removed All The Clients, don't worry to much they will get back on next cycle

I made the same mistake Wink

From rpaz - 08/01/06 18.13

Sorry about the duplicated comments. Dam reload!

From giadzich - 22/02/06 12.16

It will take a while for client to report back to WSUS server after you delete it.
I hate to see those little icons saying the computer not report in xx days.  I decided to delete them all.  No harm.

From weeble - 27/02/06 1.47

This may not apply to everybody but I've got around 40 Windows 2000 machines that are not checking into my WSUS Server.

So far, the solution that I've found to get them all to start checking in is as follows:

Download and install the following:

  • Windows installer 3.1 (don't restart, just install the next item)
  • BITS Update for Windows 2000 (KB842773) (don't restart, just install the next item)
  • MDAC Update (if prompted to re-start, do the next step before clicking restart)
  • Once I've done that, I have to then copy over the latest WUAUENG.DLL file renaming the old one to WUAUENG.DLL.OLD (or whatever you choose).
  • Restart your computer (cross your fingers)

Once I've restarted the computer, it will then check in with my WSUS server and start the updating process.

I've found that in some remote cases, I've also had to export the REGKEYS from a working machine and them import them into a machine that isn't working after I've done all the updates.

If you're having problems, and you've checked everything else, try this ... it may work and you've obviously got nothing else to loose. So far, it's worked without fail for me.

From laurin1 - 21/06/06 13.27

I had it working fine, but now it's broke. None of my clients show up in the Console and all log Event ID 16.

From geraghty - 11/05/07 6.39

I spent days trying to work out why none of my clients were connecting to WSUS - finally realised the problem was that the IUSER account was disabled! I'd disabled it ages ago to increase the security of the server...


Last Modified 11/04/06 22.39

martedì 22 maggio 2007

Articolo sul php e i form di registrazione

Ecco come fare ad inserire una immagine di lettere casuali
per l'autenticazione delle registrazioni utenti
http://www.0x01.org/blog/?p=37

lunedì 21 maggio 2007

Chiudere un account google apps

In seguito a un errore commesso durante la registrazione su google apps
mi sono trovato nella necessità
di cancellare il mio account perché l'errore era nel nome di dominio e
non si può modificare.

Per fare ciò ho seguito le seguenti istruzioni:

You can request Google Support Team via,
https://www.google.com/support/a/bin/request.py
You will then receive an automated response; reply to the automated
message with the same request and explanation.
You may wait for 5 days for the resolution.

Saluti

domenica 20 maggio 2007

Windows 2000 bloccato e svchost al 100%

Negli ultimi giorni nella rete ho notato un problema comune a molti utenti.
Tutti si lamentavano perché pochi minuti dopo aver acceso il pc si
bloccava tutto
ed era lentissimo.
Un rapido controllo mi ha fatto notare il processo svchost.exe al 100%
di processore.
Tutti i pc sono windows 2000 e tutti chiedevano di passare gli
aggiornamenti e tutti avevano in comune un aggiornamento della
protezione di Internet Explorer 6.
Il problema nasce dal fatto che gli utenti non essendo amministratori di
macchina non possono passare autonomamente gli
aggiornamenti su windows 2000.
L'unica soluzione che ho trovato è stata quella di passare macchina x
macchina gli aggiornamenti a mano.

Se qualcuno avesse soluzioni migliori si faccia vivo... nel frattempo
continuo a passarli a mano :-(

Saluti

venerdì 11 maggio 2007

Gestire le date in php e MySQL

Gestire le date in php e MySQL

[Origine: http://www.abaconline.com/?q=node/24 ]


Funzioni php


Conversione data

Convertire la data da formato europeo (gg/mm/aaaa) in formato americano
(aaaa-mm-gg) per inserirla in una tabella MySQL

function convertiData($dataEur){
$rsl = explode ('/',$dataEur);
$rsl = array_reverse($rsl);
return implode($rsl,'-');
}


Esempio

<?php echo convertiData("01/02/2003"); ?>

da come risultato => 2003-02-01


Visualizzare la data

Per visualizzare la data di oggi si utilizza la funzione *date()*
indicando come argomento il formato che ci interessa

<?php echo date("d/m/Y"); ?>

da come risultato

11/05/2007

Per informazioni sui vari formati della data si può consultare il sito
ufficiale di php qui <http://it2.php.net/manual/it/function.date.php>

Per stampare la data nell'anno successivo, come ad esempio per le date
di scadenza si può utilizzare

<?php echo strftime("%d/%m/%Y",mktime(0,0,0,date("m"), date("d"),
date("Y")+1)); ?>

che da come risultato

11/05/2008


Funzioni Mysql


Query

Se una tabella contiene un campo date, è possibile visualizzare il
giorno in formato gg/mm/aaaa utilizzando la funzione MySQL *date_format*.

date_format(<campo>,'%d/%m/%Y')


Esempio

La tabella fattura contiene il campo /giorno/ di tipo date. Eseguendo la
query

SELECT date_format(giorno,'%d/%m/%Y') giorno FROM fattura

si otterranno tutte le date delle fatture.

Per informazioni sui vari formati da utilizzare in date_format si può
consultare il sito ufficiale di MySQL qui
<http://dev.mysql.com/doc/mysql/en/Date_and_time_functions.html>


Calcolare il giorno della settimana

Per sapere se un giorno è lunedì o martedì, ecc utilizzare

ELT(DAYOFWEEK(<campo data>),'dom','lun','mar','mer','gio','ven','sab')


Test se una data sta per scadere 1 mese prima

Supponiamo che il campo scadenza contiene delle date, vogliamo
evidenziare le date in cui manca un mese alla scadenza. Con il seguente
test nel campo staperscadere avremo i valor si/no a seconda della data
di scadenza

IF( (date_add(scadenza, interval -1 month) < now())
and (scadenza >= now()) ,si,no) staperscadere


Calcolare quanti gioni mancano alla scadenza

Supponiamo che il campo data_pagamento contiene la data di scadenza di
una fattura. Per sapere quanti giorni mancano da oggi alla scadenza si
può usare

(TO_DAYS(data_pagamento)-TO_DAYS(now())) giorni_mancanti

giovedì 10 maggio 2007

La chiocciola davanti alle funzioni PHP

La chiocciola davanti alle funzioni PHP
<http://www.phptips.it/2007/03/09/la-chiocciola-davanti-alle-funzioni-php/>

sorgente:

http://www.phptips.it/2007/03/09/la-chiocciola-davanti-alle-funzioni-php/

Molto spesso capita di vedere in codice PHP scritto da altre persone una
"@" davanti al nome di una funzione. La @ davanti al nome di una
funzione impedisce alla funzione stessa di ritornare errori a schermo
qualora non vada a buon fine. Ad esempio

PHP:

1.
// Non stampa errori a schermo se fallisce
2.
$fp = @fopen <http://www.php.net/fopen>("nome_file.txt","r");

Utile, ma da usare con cautela...

Gestire MySQL con una classe in PHP

Gestire MySQL con una classe in PHP

sorgente:

http://www.claudiogarau.it/php/Gestire_MySQL_con_una_classe_in_PHP.php

In questo breve articolo presentiamo un esempio su come potrabbe essere
costruita una classe per facilitare l'interazione tra *PHP* e il DBMS
*MySQL*. La classe permette di eseguire tutte le principali operazioni
utilizzate generalmente nello sviluppo di applicazioni che si
interfacciano su basi di dati: connessione al DBMS; selezione del
database; query sulla tabella; estrazione di un singolo record;
conteggio dei records presenti nella tabella; estrazione dei records;
chiusura della connessione.

Ecco di seguito il codice necessario per sviluppare la nostra classe:

<?PHP
class mysql {

//connessione al DBMS
function Connect($host, $user, $pass, $data){
$connessione = @mysql_connect("$host","$user","$pass");

//selezione del database
@mysql_select_db("$data", $connessione);
}

//query sulla tabella
function Query($sql){
$sql = @mysql_query($sql) or die (mysql_error());
return $sql;
}

//estrazione di un record
function FetchRow($sql){
$rows = @mysql_fetch_row($sql);
return $rows;
}

//conteggio dei records
function FetchNum($sql){
$num = @mysql_num_rows($sql);
return $num;
}

//estrazione dei records
function FetchArray($sql){
$array = @mysql_fetch_array($sql);
return $array;
}

//chiusura della connessione
function Close(){
@mysql_close();
}
}
?>

La classe introduce le diverse funzioni native di PHP per
l'interfacciamento a database MySQL evitandone la ripetizione quando
necessarie.

mercoledì 2 maggio 2007

[SAMBA] - Failed to modify password entry for user XXX

I found that the error "Failed to modify password entry for user"
occured when I didn't have a matching system user of that same name.

Fix: Create a system user with something like:

adduser myuser

See if this solves the issue for you.