Archive

Archive for the ‘Uncategorized’ Category

[solution] adaptec aacraid driver for citrix xenserver 5.6

August 15th, 2010 Matthias R. Wiora No comments

+short+ Use http://microwallet.net/files/uid-ahvahb6U as additional driver source (F9 on Citrix XenServer Installation Welcome Screen)

finally solved!

I was able to determine a way to install Citrix XenServer 5.6 on an Storage which is maintained by an Adaptec 5405 Controller.
The following steps were making me able to run fine:
Install an Citrix XenServer 5.6 on an other – compatible machine.
Import the Citrix XenServer 5.6 Driver Development Kit VM (DDK)

Doing the following steps within the machine:
Download driver source packaged as rpm from:
http://www.adaptec.com/en-US/support/raid/sas_raid/SAS-5405/ –> http://www.adaptec.com/en-US/downloads/linux_source/linux_source_code?productId=SAS-5405&dn=Adaptec+RAID+5405 –> 23 Apr 2010 – Linux Driver Source RPM v1.1.5-26400 – Driver Source RPM v1.1.5-26400 for Linux.

Unpacking this zip I’ve got the tar.gz containt the sourcefiles.
Please be not surprised… The driver-tarball-package was containt “Hello World Linux Driver” lines…

# mv aacraid.src.spec aacraid-1.1.5-26400.spec
# mv aacraid_source.tgz aacraid-1.1.5-26400.tar.gz
# cp aacraid-1.1.5-26400.tar.gz /usr/src/redhat/SOURCES/aacraid-1.1.5-26400.tar.gz
# cp /usr/src/redhat/SOURCES/aacraid-1.1.5-26400.tar.gz /usr/src/redhat/SOURCES/aacraid_source.tgz
# mkdir aacraid-1.1.5-26400
# mv aacraid-1.1.5-26400.tar.gz aacraid-1.1.5-26400/
# mv aacraid-1.1.5-26400.spec aacraid-1.1.5-26400/
# cd aacraid-1.1.5-26400
# tar -xvzf aacraid-1.1.5-26400.tar.gz
# rm -f aacraid-1.1.5-26400.tar.gz
# cp /root/examples/driver/Makefile /root/aacraid-1.1.5-26400/

vi Makefile
—–
- 2:SPEC := helloworld.spec
+ 2:SPEC := aacraid-1.1.5-26400.spec
- 3:VENDOR_CODE := oem
+ 3:VENDOR_CODE := 0000D1
- 4:VENDOR_NAME := OEM Inc.
+ 4:VENDOR_NAME := Adaptec
- 6:TEXT := Example driver
+ 6:TEXT := Xenserver 5.6 Adaptec AACRAID Driver 1.1.5 26400

vi aacraid-1.1.5-26400.spec
—–
- 48-51:
Summary: Linux driver for the sample Hello World driver
Name: %( (echo “%{rname}”) )
Version: %( (echo “%{rversion}” | tr ‘-’ ‘_’) )
#Bump your release up a notch whenever you have a new revision!
Release: %{rbuild}

+ 48-51:
Summary: Xenserver 5.6 Adaptec AACRAID Driver 1.1.5 26400
Name: aacraid-1.1.5-26400
Version: %{?version}%{!?version:1.0}
Release: %{?release}%{!?release:1}

# make
The installer will notify you that it’s unable to locate “/usr/src/redhat/RPMS/i386/aacraid-1.1.5-26400-modules-xen-2.6.27.42-0.1.1.xs5.6.0.44.111158-1.0-1.i386.rpm” and “/usr/src/redhat/RPMS/i386/aacraid-1.1.5-26400-modules-kdump-2.6.27.42-0.1.1.xs5.6.0.44.111158-1.0-1.i386.rpm”
# cp /usr/src/redhat/RPMS/i386/aacraid-1.1.5-26400-1.0-1.i386.rpm /usr/src/redhat/RPMS/i386/aacraid-1.1.5-26400-modules-xen-2.6.27.42-0.1.1.xs5.6.0.44.111158-1.0-1.i386.rpm
# cp /usr/src/redhat/RPMS/i386/aacraid-1.1.5-26400-1.0-1.i386.rpm /usr/src/redhat/RPMS/i386/aacraid-1.1.5-26400-modules-kdump-2.6.27.42-0.1.1.xs5.6.0.44.111158-1.0-1.i386.rpm
# make
The installer will notify you that the files could be located, but they are invalid. But we’re able to create our own package without any help:

# cd packages
# md5sum /usr/src/redhat/RPMS/i386/aacraid-1.1.5-26400-modules-xen-2.6.27.42-0.1.1.xs5.6.0.44.111158-1.0-1.i386.rpm

inserting the neccessary lines to an file called “XS-PACKAGES”

<packages>
<package label=”aacraid-1.1.5-26400-1.0-1″ type=”driver-rpm” kernel=”2.6.27.42-0.1.1.xs5.6.0.44.111158xen” size=”1757892″ md5=”5a2db16607b84da6f6630c388329daee”>aacraid-1.1.5-26400-modules-xen-2.6.27.42-0.1.1.xs5.6.0.44.111158-1.0-1.i386.rpm</package>
<package label=”aacraid-1.1.5-26400-1.0-1″ type=”driver-rpm” kernel=”2.6.27.42-0.1.1.xs5.6.0.44.111158kdump” size=”1757892″ md5=”5a2db16607b84da6f6630c388329daee”>aacraid-1.1.5-26400-modules-kdump-2.6.27.42-0.1.1.xs5.6.0.44.111158-1.0-1.i386.rpm</package>
</packages>

and inserting those lines to the file “XS-REPOSITORY”

<repository originator=”Adaptec” name=”AACRAID” product=”XenServer” version=”5.6.0″ build=”31188p”>
<description>Adaptec AACRAID Driver 1.5.1-26400 – @CTXXS56 – microwallet.net</description>
<requires originator=”xs” name=”main” test=”eq” product=”XenServer” version=”5.6.0″ />
</repository>

i was able to use the repository-addon for my xenserver 5.6 installation on a Hetzner EQ6 machine.

Finally I was uploading the whole package to (directory listing available):
http://microwallet.net/files/uid-ahvahb6U

so you can use it for your server :)
greetings from germany,

µatthias

The following sources helped me to success:
http://support.citrix.com/article/CTX124957
http://support.citrix.com/servlet/KbServlet/download/20640-102-489043/ddk-1.0-5.5.0-en_gb.pdf

[update-solved] invalid ssl-certificate prometric.com

August 10th, 2010 Matthias R. Wiora No comments

domain: https://www.register.prometric.com

reason: domain invalid, untrusted issuer
history:
2010-08-11_15-40-utc0: corrected – certificate valid (thumbprint: 33 b8 e2 2f 10 45 69 5a fc 21 ca d0 63 94 a0 77 13 3f f4 51)
2010-08-10_10-57-utc0: still invalid – vendor has been informed

openwallet changes to microwallet

Hello all over there,

until 01. May 2010 there was openwallet.de my site to blog. This site has been renamed to microwallet.net.
The reasons for this were, that openwallet.com/net/org has been buyed by domain squatters and the prices for buying those were inacceptable.
microwallet.net – the domain stays for internationalization and “let crow mail” an anagram to microwallet ;) for more please be still patient and visit my blog again :)
microwallet = µWallet = stands for the relation between my name (µatthias) and the blog (µWallet) :)

furthermore there is a new server in the microwallet/openwallet serverfarm ;) proudly present an vps @atlanta/USA http://microwallet.net/?page_id=37 :)

btw: for those please who want to contact me: the mailadresses won’t be changed until the datacenter is not transferred from switzerland to germany. So not before June/July 2010. :)

greetings µatthias

Categories: Uncategorized, microwallet Tags:

cloning machines (servers, pc) via network, compressed

sometimes you need to clone a server on the fly (directly from one server/pc to the other without a local copy). Usually I’m using clonezilla. But for some reasons, it was unable to transfer the data between the nodes. So I just was looking for a possibility to clone the source to the target disk within a possibility to compress (fasten) the transfer.

and I found some solution:

booting up some rescue disc (e.g. debian) and running some (target with ip: 192.168.0.123):

root @source$: dd if=/dev/hda bs=1024k | buffer -s 512k -S 10m | gzip | netcat 192.168.0.123 1234

root @target$: netcat -l -p 1234 | gunzip | dd of=/dev/hda

this worked for me. please report if you’re going fine ;)

Categories: Uncategorized, it Tags:

[solution] Amavis end of life problem @ debian 5

April 16th, 2010 Matthias R. Wiora 2 comments

Hello at all,

2010-04-16: I found a solution.

$ echo “deb http://volatile.debian.org/debian-volatile lenny/volatile main contrib non-free” >> /etc/apt/sources.list

$ apt-get update
$ apt-get install clamav
$ apt-get upgrade
$ /etc/init.d/amavis restart

- – - – - –> virus-check will work (no guarantee – for me worked it fine ;) )
DO NOT FORGET TO ENABLE VIRUSSCAN IF YOU DISABLED IT!
Please comment if it’s working for you!

Now it’s working fine:

Return-Path: <***SCREENEDFORWEB***>
Delivered-To: ***SCREENEDFORWEB***
Received: from localhost (localhost [127.0.0.1])
by euchzur-c7-v0.openwallet.de (Postfix) with ESMTP id 78A9EEE418
for <***SCREENEDFORWEB***>; Fri, 16 Apr 2010 08:59:12 +0200 (CEST)
X-Virus-Scanned: Debian amavisd-new at euchzur-c7-v0.openwallet.de
Received: from euchzur-c7-v0.openwallet.de ([127.0.0.1])
by localhost (euchzur-c7-v0.openwallet.de [127.0.0.1]) (amavisd-new,
port 10024)
with ESMTP id WwPp84cAbdBK for <***SCREENEDFORWEB***>;
Fri, 16 Apr 2010 08:59:10 +0200 (CEST)
Received: by euchzur-c7-v0.openwallet.de (Postfix, from userid 33)
id 76678EE41C; Fri, 16 Apr 2010 08:59:10 +0200 (CEST)
To: <***SCREENEDFORWEB***>
Subject: test
MIME-Version: 1.0
Date: Fri, 16 Apr 2010 08:59:10 +0200
From: Wiora Matthias <***SCREENEDFORWEB***>
Message-ID: <f011502e4c0c0638b4c7cb0cff176dde@localhost>
X-Sender: ***SCREENEDFORWEB***
User-Agent: RoundCube Webmail/0.3.1
Content-Transfer-Encoding: 8bit
Content-Type: text/plain; charset=UTF-8

I’m running some debian-mailservers. All with Debian 5.0 Lenny (Up2date)
and postfix installed. Postfix uses amavis (ClamAV) as virus-scanner and
won’t let any mail through to the mailbox, if it is not checked.

Today, 16. April 2010 I realized that all Mails has been stopped from 0:00
o’clock.
The reason is, that the new antivirus-signatures will bock using the in
debian 5.0 integrated version of amavis. Please skip scanning mails
through
configuration update (otherwise you won’t receive mails – be careful –
Mails will not be scanned by Amavis) and wait for an update or compile
some
new version of amavis.

The announcement of Amavis/ClamAV:
http://www.clamav.net/lang/en/2009/10/05/eol-clamav-094/

The source file downloadpage of Amavis/ClamAV:
http://www.clamav.net/lang/en/download/sources/

Apr 16 00:34:13 euchzur-c7-v0 amavis[1278]: (01278-03) (!!)WARN: all primary virus scanners failed, considering backups
Apr 16 00:34:13 euchzur-c7-v0 amavis[1278]: (01278-03) (!!)run_av (ClamAV-clamscan) FAILED – unexpected exit 50, output=”LibClamAV Warning:
***********************************************************

\nLibClamAV Warning: *** This version of the ClamAV engine is outdated. ***\nLibClamAV
Warning: *** DON’T PANIC! Read http://www.clamav.net/support/faq ***\nLibClamAV Warning:
***********************************************************\nLibClamAV
Error: cli_hex2str(): Malformed hexstring: This ClamAV version has reached End of Life! Please upgrade to version 0.95 or later. For more information
see www.clamav.net/eol-clamav-094 and www.clamav.net/download (length: 169)\nLibClamAV Error: Problem parsing database at line 742\nLibClamAV
Error: Can’t load daily.ndb: Malformed database\nLibClamAV Error: cli_tgzload: Can’t load daily.ndb\nLibClamAV Error: Can’t load
/var/lib/clamav//daily.cld: Malformed database\nERROR: Malformed database” Apr 16 00:34:13 euchzur-c7-v0 amavis[1278]: (01278-03) (!!)ClamAV-clamscan
av-scanner FAILED: /usr/bin/clamscan unexpected exit 50, output=”LibClamAV Warning:

***********************************************************\nLibClamAV Warning: *** This version of the ClamAV engine is outdated. ***\nLibClamAV
Warning: *** DON’T PANIC! Read http://www.clamav.net/support/faq ***\nLibClamAV Warning:
***********************************************************\nLibClamAV
Error: cli_hex2str(): Malformed hexstring: This ClamAV version has reached End of Life! Please upgrade to version 0.95 or later. For more information
see www.clamav.net/eol-clamav-094 and www.clamav.net/download (length: 169)\nLibClamAV Error: Problem parsing database at line 742\nLibClamAV
Error: Can’t load daily.ndb: Malformed database\nLibClamAV Error: cli_tgzload: Can’t load daily.ndb\nLibClamAV Error: Can’t load
/var/lib/clamav//daily.cld: Malformed database\nERROR: Malformed database” at (eval 88) line 527.
Apr 16 00:34:13 euchzur-c7-v0 amavis[1278]: (01278-03) (!!)TROUBLE in check_mail: virus_scan FAILED: virus_scan: ALL VIRUS SCANNERS FAILED:
ClamAV-clamd av-scanner FAILED: run_av error: Too many retries to talk to /var/run/clamav/clamd.ctl (Can’t connect to UNIX socket
/var/run/clamav/clamd.ctl: No such file or directory) at (eval 88) line 309.; ClamAV-clamscan av-scanner FAILED: /usr/bin/clamscan unexpected exit
50, output=”LibClamAV Warning: ***********************************************************\nLibClamAV
Warning: *** This version of the ClamAV engine is outdated. ***\nLibClamAV
Warning: *** DON’T PANIC! Read http://www.clamav.net/support/faq
***\nLibClamAV Warning:
***********************************************************\nLibClamAV
Error: cli_hex2str(): Malformed hexstring: This ClamAV version has reached End of Life! Please upgrade to version 0.95 or later. For more information
see www.clamav.net/eol-clamav-094 and www.clamav.net/download (length: 169)\nLibClamAV Error: Problem parsing d…
Apr 16 00:34:13 euchzur-c7-v0 amavis[1278]: (01278-03) (!!)…atabase at line 742\nLibClamAV Error: Can’t load daily.ndb: Malformed
database\nLibClamAV Error: cli_tgzload: Can’t load daily.ndb\nLibClamAV Error: Can’t load /var/lib/clamav//daily.cld: Malformed database\nERROR:
Malformed database” at (eval 88) line 527. Apr 16 00:34:13 euchzur-c7-v0 amavis[1278]: (01278-03) (!)PRESERVING
EVIDENCE in /var/lib/amavis/tmp/amavis-20100416T003406-01278 Apr 16 00:34:13 euchzur-c7-v0 postfix/smtp[2337]: 03B5EEF32F:
to=<****MAILSCREENED*>, relay=127.0.0.1[127.0.0.1]:10024, delay=912, delays=897/7.5/0.09/7.2, dsn=4.5.0, status=deferred (host
127.0.0.1[127.0.0.1] said: 451-4.5.0 Error in processing, id=01278-03, virus_scan FAILED: virus_scan: ALL VIRUS SCANNERS FAILED: ClamAV-clamd
av-scanner FAILED: run_av error: Too many retries to talk to /var/run/clamav/clamd.ctl (Can’t connect to UNIX socket
/var/run/clamav/clamd.ctl: No such file or directory) at (eval 88) line 309.; ClamAV-clamscan av-scanner FAILED: /usr/bin/clamscan unexpected exit
50, output=”LibClamAV Warning:

*********************************************************** 451-4.5.0 LibClamAV Warning: *** This version of the ClamAV engine is outdated. ***
451-4.5.0 LibClamAV Warning: *** DON’T PANIC! Read http://www.clamav.net/support/faq *** 451-4.5.0 LibClamAV Warning:
*********************************************************** 451-4.5.0 LibClamAV Error: cli_hex2str(): Malformed hexstring: This Cla

How to disable scanning:

Change those lines in /etc/amavis/conf.d/15-content_filter_mode:
@bypass_virus_checks_maps = (
\%bypass_virus_checks, \@bypass_virus_checks_acl,
\$bypass_virus_checks_re);

to
# @bypass_virus_checks_maps = (
# \%bypass_virus_checks, \@bypass_virus_checks_acl,
\$bypass_virus_checks_re);

/etc/init.d/amavis restart

enjoy the show

it – server 2008, xenapp 5.0 – filetype association

January 29th, 2010 Matthias R. Wiora No comments

Hello,

If there is an application and there should be a redirection generated for it e.g. “jpeg” for linking with “Microsoft Office Picture Viewer” do the following:

Publish the Application, run

assoc .jpg=JPG
ftype JPG=”D:\PROGRA~1\MICROS~1\Office12\OIS.EXE” /shellOpen “%1″

on one Citrix-Farm Server and get the UP2Date Registration-Informations of this server. (AMC – Right click on the Server – update registration). Doing this, the Filetype will be registred to the linked application and the filetype will be selectable at the published application registercard “Content redirection”

Categories: Uncategorized, it Tags:

fedora 12 – optimize eclipse (running original / true java version)

January 28th, 2010 Matthias R. Wiora No comments

hello :)

I just tried fedora’s 12 eclipse Version. This way a fried ( thx @chris :) ) told me about optimizations :)

Fedora delivers openjava. This is not optimal for using eclipse. Furthermore most of up2date systems are able to provide more RAM Reservation. –> needed for performance –> better working :)

My “/usr/lib64/eclipse/eclipse.ini” (optimizations bold)

-startup
plugins/org.eclipse.equinox.launcher_1.0.201.R35x_v20090715.jar
–launcher.library
plugins/org.eclipse.equinox.launcher.gtk.linux.x86_64_1.0.200.v20090519
-showsplash
org.eclipse.platform
–launcher.XXMaxPermSize
256m
-vm
/usr/java/jre1.6.0_18/bin

-vmargs
-Xms512m
-Xmx1024m

-Dorg.eclipse.equinox.p2.reconciler.dropins.directory=/usr/share/eclipse/dropins
-XX:CompileCommand=exclude,org/eclipse/core/internal/dtree/DataTreeNode,forwardDeltaWith
-XX:CompileCommand=exclude,org/eclipse/jdt/internal/compiler/lookup/ParameterizedMethodBinding,<init>
-XX:CompileCommand=exclude,org/eclipse/cdt/internal/core/dom/parser/cpp/semantics/CPPTemplates,instantiateTemplate
-XX:CompileCommand=exclude,org/eclipse/cdt/internal/core/pdom/dom/cpp/PDOMCPPLinkage,addBinding
-XX:CompileCommand=exclude,org/python/pydev/editor/codecompletion/revisited/PythonPathHelper,isValidSourceFile
-XX:CompileCommand=exclude,org/python/pydev/ui/filetypes/FileTypesPreferencesPage,getDottedValidSourceFiles

You have to payattention for two things: Cut the /vm and the path for the java-verison in two lines (will not work in one). and for the RAM reservation is important to know that the ram will be reserved in one piece. That’swhy it should be really available on your system :)

Categories: Uncategorized, it Tags:

16.01.2010 :) <– This sign is program

January 17th, 2010 Matthias R. Wiora No comments

Aschaffenburg in the near of the “Pompejanum”.

Categories: Uncategorized, microwallet Tags:

new working services

December 2nd, 2009 Matthias R. Wiora No comments

Hello :)

proudly presenting:

mailman- and svn-services has been installed on euchzur-c7-v0 productive server :)

https://lists.openwallet.de

https://svn.openwallet.de

If u need :) let me know :)

greetings µatthias

Categories: Uncategorized, microwallet Tags:

Antarctis

November 18th, 2009 Matthias R. Wiora No comments

Hello,

finally proudly presenting:
http://openwallet.de/?page_id=192

It’s working! :)
µatthias

Categories: Uncategorized, it Tags: ,