Nagios check_mk

Categorías:Nagios Etiquetas: ,

Mini Hack: Parallel Vacuuming in PostgreSQL

Categorías:BBDD, postgresql Etiquetas: ,

The release of the GeoDatabase is either invalid or out of date

MyArcGISserver

Got this ERROR?

Failed to connect to database. The release of the GeoDatabase is either invalid or out of date. DBMS table not found [ORA-00942: table or view does not exist][SDE.GDB_Release]

Geodatabase is either invalid or out of date

I got this error when I did refresh to our Oracle DB in lower environment. After several hours troubleshooting, I laid out my findings:

1. SDE.GDB_Release does not exist on both source DB and target DB.

2. Database version is current and ArcSDE as well.

3. SDE.GDB_Items doesn’t has record in target but has records in source.

Resolution:  Try to find and compare any tables under SDE schema between source and target. I fixed the error after I inserted records from source to target in SDE.GDB_items.

I hope if you are facing this similar error, you can take this post as one of your sources in troubleshooting.

Good Luck, Friends!

Ver la entrada original

Categorías:Uncategorized

Cambiar la Hora y la Fecha al sistema Linux

http://www.linux-party.com/index.php/35-linux/1732-cambiar-la-hora-y-la-fecha-al-sistema-linux

date --set "2016-04-14 16:20"
hwclock –set –date=”`date ‘+%D %H:%M:%S’`”
Categorías:Linux, Uncategorized Etiquetas: ,

Why isn’t autolearning working for me? (aka: “autolearn=no”)

https://wiki.apache.org/spamassassin/AutolearningNotWorking

 

Lots of people seem to be confused by the “autolearn=no” statement in the default X-Spam-Status header. There are usually questions regarding whether or not “no” means SpamAssassin is not autolearning at all. What it actually means is that the specific message which includes the “autolearn=no” part was not autolearned, not that autolearning is disabled or somehow broken.

The three values that can be displayed are “no” (autolearning did not occur), “ham” (the message was learned as ham), and “spam” (the message was learned as spam).

If a message has already been learned by SpamAssassin, then that message will not be learned again. Therefore, if you run a message through SpamAssassin to see why it was classified as spam or ham, and it has already been learned, you will always get the result “autolearn=no”. (To see this more clearly, use the “-D” flag, and you will see debug output explaining that the message has already been learned.)

Possible autolearn states

In SpamAssassin 2.5 and 2.6, there were only three states for the autolearn result:

  • ham: the message was learned as ham (non-spam)

  • spam: the message was learned as spam

  • no: the message was not learned

In SpamAssassin 3.0, the result was enhanced to have six states:

  • ham: the message was learned as ham (non-spam)

  • spam: the message was learned as spam

  • no: the specific message didn’t achieve the proper threshold values and requirements to be learned

  • disabled: the configuration specifies bayes_auto_learn 0 or use_bayes 0 and so no autolearning is attempted

  • failed: autolearning was attempted, but couldn’t complete. This happens if SpamAssassin can’t gain a lock on the Bayes database files, etc.

  • unavailable: autolearning not completed for any reason not covered above. It could be the message was already learned.

How To Shrink VMware Virtual Disk Files (.vmdk)

https://www.howtoforge.com/how-to-shrink-vmware-virtual-disk-files-vmdk

 

I’m using vmware-vdiskmanager with the -k switch to shrink disk files. The -k switch is supported on Windows hosts only, therefore I’m using Windows XP as the host and run VMware Server on it with a Debian VM. I got good shrink results with this constellation.

In a second step I’ve tried to shrink disk files on a Linux host (Ubuntu). vmware-vdiskmanagerdoesn’t support the -k switch on Linux, but I’ve tried the -d switch (defragment) instead and got good results as well, but I’m not guaranteeing that this will work for you as well.

 

Navigate to the directory where the .vmdk files are located, e.g.:
cd C:\Virtual Machines\apache2_mpm_itk_debian_etch

Try to find out where the vmware-vdiskmanager.exe program is located on your Windows system (mine is C:\Programme\VMware\VMware Server\vmware-vdiskmanager.exe), and how your .vmdk file is named (e.g. Other Linux 2.6.x kernel.vmdk). You can then shrink the .vmdk file as follows:

“C:\Programme\VMware\VMware Server\vmware-vdiskmanager.exe” -k “Other Linux 2.6.x kernel.vmdk”

That way I was able to shrink a .vmdk file from ~1.6GB to 1.3GB, and compressed (.zip) from ~430MB to 240MB.

Zimbra configuracion SPAM

Categorías:Uncategorized, Zimbra Etiquetas: , ,