Problem with gzip

hi friends
i want to upload a gzipfile to httpserver there unzip it.with normal data i was successful but when i sending txt file with this data :
<ipaddress ip="127.0.0.1">
<priority>9</priority>
<timestamp>Feb 6 18:45:3</timestamp>
<processname>service control manager</processname>
<processid>7035</processid>
<typeofmsg>info</typeofmsg>
<actualmsg> CSE-7SDT2TRHU2F\Administrator The NTsyslog service was successfully sent a start control. </actualmsg>
<hostname>null</hostname>
</ipaddress>
at server when i unzip the file i was having fallowing exception :
java.io.IOException: Corrupt GZIP trailer
at java.util.zip.GZIPInputStream.readTrailer(GZIPInputStream.java:174)
at java.util.zip.GZIPInputStream.read(GZIPInputStream.java:89)
at java.io.FilterInputStream.read(FilterInputStream.java:90)
at UnZip.decompress(MainServer.java:143)
at MainServer.main(MainServer.java:220)
plz any try to help me

Maybe you didn't flush or close the stream, so you
lost the last chunk of it?Most probably. flush() on the GZIP stream ain't enough. It has to call finish(), too. It's impli.. implicit... automatically done when you close it, but it won't work otherwise.

Similar Messages

  • Problem with Compression (Deflater & GZip)

    Hi All,
    I've large data as a String which I need to save in Oracle in VARCHAR2 column. As Varchar2 allows maximum of 4000 characters, I wish to compress this String and save in DB.
    I tried to compress the String using Delfater and GZip. In both methods I uses Streams concep (DeflaterOutputStream, GZipOutputStream) and both Classes have the option to return the Compressed data in byte[] and String format.
    When I returned in String format, the same String is giving error while decompressing "java.util.zip.ZipException: incorrect data check". How to solve this problem.
    When I tried to save the compressed String in DB (Oracle),
    initially I got the error "java.sql.SQLException: Malformed SQL92 string at position: 1109"
    and later I tried to save like this 'strCompressed.replace("'","''") i.e., I replaced all single quotes to 2-single quotes and the error message is "java.sql.SQLException: ORA-00911: invalid character".
    Is there any character to replace in the compressed String. and how to solve the problem with decompression.
    Please help me in this.
    Thanks in advance.
    Regards
    Pavan Pinnu.

    both Classes have the option to return the Compressed data in byte[] and String format.Don't do that. String is not a container for binary data. You can't use it for compressed data. Use the byte[], send the byte[] to the database, get it back from the database, uncompress it, and then turn that back into a String.

  • [Solved] Problem with upgrading polkit or filesystem

    Ok so first off they do "upgrade" but the problem has me worried that something is wrong.
    A week or so ago after converting to systemd I tried getting rid of ConsoleKit and installing polkit 0.107 from the [testing] repo but it caused pacman to get stuck at "(1/1) upgrading polkit"  So I tried that a couple of times but I could never get pacman to finish and get past that.  I had to control + c to get out of that then type exit in the console (no text was visible that I typed however but typing exit + enter worked for closing it).  So I then opened a new terminal and downgraded polkit back to 0.105 and waited for polkit to get pushed from testing to see if it would fix my issue.  Fast forward to today and I go to upgrade my system.  Among the 83 updates or so was polkit and filesystem.  What do you know it gets stuck at "(15/83) upgrading polkit".  Fuck so I control + c, open new terminal and then do the upgrade again and it continues to update but this time it gets stuck doing the same thing for filesystem.  I control + c, open new terminal and continue the upgrade until it finishes, which it does this time, and I reboot.
    I tried re-installing polkit again and filesystem again but they continue to get stuck.  I cannot "complete" the upgrade even though they show the appropriate version when I check.
    Terminal
    [507] shauder@arch-desktop [~] $ sudo pacman -S polkit
    warning: polkit-0.107-4 is up to date -- reinstalling
    resolving dependencies...
    looking for inter-conflicts...
    Targets (1): polkit-0.107-4
    Total Installed Size: 1.77 MiB
    Net Upgrade Size: 0.00 MiB
    Proceed with installation? [Y/n]
    (1/1) checking package integrity [########################################################] 100%
    (1/1) loading package files [########################################################] 100%
    (1/1) checking for file conflicts [########################################################] 100%
    (1/1) checking available disk space [########################################################] 100%
    (1/1) upgrading polkit
    /var/log/pacman.log
    [2012-07-18 18:27] installed filesystem (2012.6-4)
    [2012-07-18 18:27] installed findutils (4.4.2-4)
    [2012-07-18 18:27] installed gawk (4.0.1-1)
    [2012-07-18 18:27] installed gettext (0.18.1.1-4)
    [2012-07-18 18:27] installed grep (2.13-2)
    [2012-07-18 18:27] installed sed (4.2.1-4)
    [2012-07-18 18:27] installed grub (0.97-21)
    [2012-07-18 18:27] installed gzip (1.5-1)
    [2012-07-18 18:27] installed gdbm (1.10-1)
    [2012-07-18 18:27] installed perl (5.16.0-2)
    [2012-07-18 18:27] installed openssl (1.0.1.c-1)
    [2012-07-18 18:27] installed libsasl (2.1.23-9)
    [2012-07-18 18:27] installed libldap (2.4.31-4)
    [2012-07-18 18:27] installed keyutils (1.5.5-3)
    [2012-07-18 18:27] installed krb5 (1.10.2-2)
    [2012-07-18 18:27] installed heirloom-mailx (12.5-3)
    [2012-07-18 18:27] installed inetutils (1.9.1-2)
    [2012-07-18 18:27] installed iproute2 (3.4.0-2)
    [2012-07-18 18:27] installed sysvinit (2.88-6)
    [2012-07-18 18:27] installed initscripts (2012.06.3-2)
    [2012-07-18 18:27] installed sysfsutils (2.1.0-8)
    [2012-07-18 18:27] >> Traceroute is now provided by core/traceroute
    [2012-07-18 18:27] installed iputils (20101006-4)
    [2012-07-18 18:27] installed jfsutils (1.1.15-3)
    [2012-07-18 18:27] installed less (444-3)
    [2012-07-18 18:27] installed licenses (2.9-1)
    [2012-07-18 18:27] installed linux-firmware (20120625-1)
    [2012-07-18 18:27] installed mkinitcpio-busybox (1.20.1-1)
    [2012-07-18 18:27] installed expat (2.1.0-1)
    [2012-07-18 18:27] installed libarchive (3.0.4-1)
    [2012-07-18 18:27] installed mkinitcpio (0.9.2-2)
    [2012-07-18 18:27] >>> Updating module dependencies. Please wait ...
    [2012-07-18 18:27] >>> Generating initial ramdisk, using mkinitcpio. Please wait...
    [2012-07-18 18:27] ==> Building image from preset: 'default'
    [2012-07-18 18:27] -> -k /boot/vmlinuz-linux -c /etc/mkinitcpio.conf -g /boot/initramfs-linux.img
    [2012-07-18 18:27] ==> Starting build: 3.4.5-1-ARCH
    [2012-07-18 18:27] -> Running build hook: [base]
    [2012-07-18 18:27] -> Running build hook: [udev]
    [2012-07-18 18:27] -> Running build hook: [autodetect]
    [2012-07-18 18:27] -> Running build hook: [pata]
    [2012-07-18 18:27] -> Running build hook: [scsi]
    [2012-07-18 18:27] -> Running build hook: [sata]
    [2012-07-18 18:27] -> Running build hook: [filesystems]
    [2012-07-18 18:27] -> Running build hook: [usbinput]
    [2012-07-18 18:27] -> Running build hook: [fsck]
    [2012-07-18 18:27] ==> Generating module dependencies
    [2012-07-18 18:27] ==> Creating gzip initcpio image: /boot/initramfs-linux.img
    [2012-07-18 18:27] bsdcpio: Failed to set default locale
    [2012-07-18 18:27] ==> Image generation successful
    [2012-07-18 18:27] ==> Building image from preset: 'fallback'
    [2012-07-18 18:27] -> -k /boot/vmlinuz-linux -c /etc/mkinitcpio.conf -g /boot/initramfs-linux-fallback.img -S autodetect
    [2012-07-18 18:27] ==> Starting build: 3.4.5-1-ARCH
    [2012-07-18 18:27] -> Running build hook: [base]
    [2012-07-18 18:27] -> Running build hook: [udev]
    [2012-07-18 18:27] -> Running build hook: [pata]
    [2012-07-18 18:27] -> Running build hook: [scsi]
    [2012-07-18 18:27] -> Running build hook: [sata]
    [2012-07-18 18:27] -> Running build hook: [filesystems]
    [2012-07-18 18:27] -> Running build hook: [usbinput]
    [2012-07-18 18:27] -> Running build hook: [fsck]
    [2012-07-18 18:27] ==> Generating module dependencies
    [2012-07-18 18:27] ==> Creating gzip initcpio image: /boot/initramfs-linux-fallback.img
    [2012-07-18 18:27] bsdcpio: Failed to set default locale
    [2012-07-18 18:27] ==> Image generation successful
    [2012-07-18 18:27] installed linux (3.4.5-1)
    [2012-07-18 18:27] installed logrotate (3.8.1-2)
    [2012-07-18 18:27] installed lvm2 (2.02.96-3)
    [2012-07-18 18:27] installed texinfo (4.13a-7)
    [2012-07-18 18:27] installed groff (1.21-2)
    [2012-07-18 18:27] installed libpipeline (1.2.1-1)
    [2012-07-18 18:27] it's recommended to create an initial
    [2012-07-18 18:27] database running as root:
    [2012-07-18 18:27] "/usr/bin/mandb --quiet"
    [2012-07-18 18:27] installed man-db (2.6.2-1)
    [2012-07-18 18:27] installed man-pages (3.41-1)
    [2012-07-18 18:27] installed mdadm (3.2.5-2)
    [2012-07-18 18:27] installed nano (2.2.6-2)
    [2012-07-18 18:27] installed ca-certificates (20120623-1)
    [2012-07-18 18:27] installed libssh2 (1.4.2-1)
    [2012-07-18 18:27] installed curl (7.26.0-1)
    [2012-07-18 18:27] installed pth (2.0.7-4)
    [2012-07-18 18:27] installed libksba (1.2.0-2)
    [2012-07-18 18:27] installed libassuan (2.0.3-1)
    [2012-07-18 18:27] installed pinentry (0.8.1-4)
    [2012-07-18 18:27] installed dirmngr (1.1.0-4)
    [2012-07-18 18:27] installed gnupg (2.0.19-2)
    [2012-07-18 18:27] installed gpgme (1.3.1-4)
    [2012-07-18 18:27] installed pacman-mirrorlist (20120626-1)
    [2012-07-18 18:27] installed archlinux-keyring (20120622-1)
    [2012-07-18 18:27] >>> Run `pacman-key --init; pacman-key --populate archlinux`
    [2012-07-18 18:27] >>> to import the data required by pacman for package verification.
    [2012-07-18 18:27] >>> See: https://www.archlinux.org/news/having-pacman-verify-packages
    [2012-07-18 18:27] installed pacman (4.0.3-3)
    [2012-07-18 18:27] installed pciutils (3.1.10-1)
    [2012-07-18 18:27] installed pcmciautils (018-4)
    [2012-07-18 18:27] installed libnl (3.2.11-1)
    [2012-07-18 18:27] installed libusbx (1.0.12-2)
    [2012-07-18 18:27] installed libpcap (1.3.0-1)
    [2012-07-18 18:27] installed ppp (2.4.5-3)
    [2012-07-18 18:27] installed procps-ng (3.3.3-3)
    [2012-07-18 18:27] installed psmisc (22.19-1)
    [2012-07-18 18:27] installed reiserfsprogs (3.6.21-4)
    [2012-07-18 18:27] installed shadow (4.1.5.1-1)
    [2012-07-18 18:27] installed eventlog (0.2.12-3)
    [2012-07-18 18:27] installed syslog-ng (3.3.5-2)
    [2012-07-18 18:27] installed tar (1.26-2)
    [2012-07-18 18:27] installed usbutils (006-1)
    [2012-07-18 18:27] installed vi (1:050325-2)
    [2012-07-18 18:27] installed wget (1.13.4-1)
    [2012-07-18 18:27] installed which (2.20-5)
    [2012-07-18 18:27] installed dbus-core (1.6.2-2)
    [2012-07-18 18:27] installed wpa_supplicant (1.0-1)
    [2012-07-18 18:27] installed xfsprogs (3.1.8-2)
    [2012-07-18 18:27] installed m4 (1.4.16-2)
    [2012-07-18 18:27] installed autoconf (2.69-1)
    [2012-07-18 18:27] installed automake (1.12.2-1)
    [2012-07-18 18:27] installed binutils (2.22-9)
    [2012-07-18 18:27] installed bison (2.5.1-1)
    [2012-07-18 18:27] installed fakeroot (1.18.4-1)
    [2012-07-18 18:27] installed flex (2.5.35-5)
    [2012-07-18 18:27] installed mpfr (3.1.1-1)
    [2012-07-18 18:27] installed libmpc (0.9-2)
    [2012-07-18 18:27] installed isl (0.10-1)
    [2012-07-18 18:27] installed cloog (0.17.0-2)
    [2012-07-18 18:27] installed ppl (1.0-1)
    [2012-07-18 18:27] installed gcc (4.7.1-4)
    [2012-07-18 18:27] installed libltdl (2.4.2-6)
    [2012-07-18 18:27] installed libtool (2.4.2-6)
    [2012-07-18 18:27] installed make (3.82-4)
    [2012-07-18 18:27] installed patch (2.6.1-3)
    [2012-07-18 18:27] installed pkg-config (0.27-1)
    [2012-07-18 18:37] Running 'pacman -Syy'
    [2012-07-18 18:37] synchronizing package lists
    [2012-07-18 18:38] Running 'pacman -Syy'
    [2012-07-18 18:38] synchronizing package lists
    [2012-07-18 18:39] Running 'pacman -S sudo'
    [2012-07-18 18:43] Running 'pacman -S sudo'
    [2012-07-18 18:44] Running 'pacman -S sudo'
    [2012-07-18 18:44] installed sudo (1.8.5.p2-1)
    [2012-07-18 18:45] Running 'pacman -S alsa-utils'
    [2012-07-18 18:46] installed alsa-lib (1.0.25-1)
    [2012-07-18 18:46] installed dialog (1.1_20120706-1)
    [2012-07-18 18:46] installed libogg (1.3.0-1)
    [2012-07-18 18:46] installed flac (1.2.1-3)
    [2012-07-18 18:46] installed libvorbis (1.3.3-1)
    [2012-07-18 18:46] installed libsndfile (1.0.25-2)
    [2012-07-18 18:46] installed libsamplerate (0.1.8-1)
    [2012-07-18 18:46] installed alsa-utils (1.0.25-3)
    [2012-07-18 18:46] Running 'pacman -S alsa-plugins'
    [2012-07-18 18:46] installed alsa-plugins (1.0.25-2)
    [2012-07-18 18:48] Running 'pacman -S xorg-server xorg-xinit xorg-server-utils'
    [2012-07-18 18:48] installed xproto (7.0.23-1)
    [2012-07-18 18:48] installed libxdmcp (1.1.1-1)
    [2012-07-18 18:48] installed freetype2 (2.4.10-1)
    [2012-07-18 18:48] installed libfontenc (1.1.1-1)
    [2012-07-18 18:48] installed fontsproto (2.1.2-1)
    [2012-07-18 18:48] installed libxfont (1.4.5-1)
    [2012-07-18 18:48] installed libpciaccess (0.13.1-1)
    [2012-07-18 18:48] installed libdrm (2.4.37-1)
    [2012-07-18 18:48] installed pixman (0.26.2-1)
    [2012-07-18 18:48] installed libxau (1.0.7-1)
    [2012-07-18 18:48] installed xcb-proto (1.7.1-1)
    [2012-07-18 18:48] installed libxcb (1.8.1-1)
    [2012-07-18 18:48] installed kbproto (1.0.6-1)
    [2012-07-18 18:48] installed libx11 (1.5.0-1)
    [2012-07-18 18:48] installed libxkbfile (1.0.8-1)
    [2012-07-18 18:48] installed xorg-xkbcomp (1.2.4-1)
    [2012-07-18 18:48] installed xkeyboard-config (2.6-1)
    [2012-07-18 18:48] installed xorg-setxkbmap (1.3.0-1)
    [2012-07-18 18:48] installed xorg-fonts-encodings (1.0.4-3)
    [2012-07-18 18:48] installed xorg-fonts-alias (1.0.2-2)
    [2012-07-18 18:48] installed xorg-bdftopcf (1.0.3-2)
    [2012-07-18 18:48] installed xorg-mkfontscale (1.1.0-1)
    [2012-07-18 18:48] installed xorg-mkfontdir (1.0.7-1)
    [2012-07-18 18:48] installed xorg-font-util (1.3.0-1)
    [2012-07-18 18:48] installed xorg-font-utils (7.6-3)
    [2012-07-18 18:48] updating font cache... done.
    [2012-07-18 18:48] installed fontconfig (2.8.0-2)
    [2012-07-18 18:49] Updating font cache... done.
    [2012-07-18 18:49] installed xorg-fonts-misc (1.0.1-2)
    [2012-07-18 18:49] installed xorg-server-common (1.12.3-1)
    [2012-07-18 18:49] installed xf86-input-evdev (2.7.0-2)
    [2012-07-18 18:49] installed xorg-server (1.12.3-1)
    [2012-07-18 18:49] installed xextproto (7.2.1-1)
    [2012-07-18 18:49] installed libxext (1.3.1-1)
    [2012-07-18 18:49] installed libice (1.0.8-1)
    [2012-07-18 18:49] installed libsm (1.2.1-1)
    [2012-07-18 18:49] installed libxt (1.1.3-1)
    [2012-07-18 18:49] installed libxmu (1.1.1-1)
    [2012-07-18 18:49] installed xorg-xauth (1.0.7-1)
    [2012-07-18 18:49] installed xorg-xinit (1.3.2-1)
    [2012-07-18 18:49] installed xorg-iceauth (1.0.5-1)
    [2012-07-18 18:49] installed xorg-sessreg (1.0.7-1)
    [2012-07-18 18:49] installed xorg-xcmsdb (1.0.4-1)
    [2012-07-18 18:49] installed renderproto (0.11.1-2)
    [2012-07-18 18:49] installed libxrender (0.9.7-1)
    [2012-07-18 18:49] installed randrproto (1.3.2-2)
    [2012-07-18 18:49] installed libxrandr (1.3.2-2)
    [2012-07-18 18:49] installed xorg-xbacklight (1.1.2-3)
    [2012-07-18 18:49] installed xf86vidmodeproto (2.3.1-2)
    [2012-07-18 18:49] installed libxxf86vm (1.1.2-1)
    [2012-07-18 18:49] installed xorg-xgamma (1.0.5-1)
    [2012-07-18 18:49] installed xorg-xhost (1.0.5-1)
    [2012-07-18 18:49] installed xorg-xrandr (1.3.5-1)
    [2012-07-18 18:49] installed inputproto (2.2-1)
    [2012-07-18 18:49] installed libxi (1.6.1-1)
    [2012-07-18 18:49] installed xineramaproto (1.2.1-2)
    [2012-07-18 18:49] installed libxinerama (1.1.2-1)
    [2012-07-18 18:49] installed xorg-xinput (1.6.0-1)
    [2012-07-18 18:49] installed xorg-xmodmap (1.0.7-1)
    [2012-07-18 18:49] installed mcpp (2.7.2-4)
    [2012-07-18 18:49] installed xorg-xrdb (1.0.9-2)
    [2012-07-18 18:49] installed xorg-xrefresh (1.0.4-3)
    [2012-07-18 18:49] installed xorg-xset (1.2.2-1)
    [2012-07-18 18:49] installed fixesproto (5.0-2)
    [2012-07-18 18:49] installed libxfixes (5.0-2)
    [2012-07-18 18:49] installed libxcursor (1.1.13-1)
    [2012-07-18 18:49] installed xorg-xsetroot (1.1.0-3)
    [2012-07-18 18:49] installed xorg-server-utils (7.6-3)
    [2012-07-18 18:50] Running 'pacman -S nvidia nvidia-utils'
    [2012-07-18 18:50] Running 'pacman -S nvidia nvidia-utils lib32-nvidia-utils'
    [2012-07-18 18:51] installed videoproto (2.3.1-2)
    [2012-07-18 18:51] installed libxv (1.0.7-1)
    [2012-07-18 18:51] installed libxvmc (1.0.7-1)
    [2012-07-18 18:51] installed nvidia-utils (302.17-1)
    [2012-07-18 18:51] In order to use nvidia module, reboot the system.
    [2012-07-18 18:51] installed nvidia (302.17-3)
    [2012-07-18 18:51] installed lib32-glibc (2.16.0-2)
    [2012-07-18 18:51] installed lib32-libxdmcp (1.1.1-1)
    [2012-07-18 18:51] installed lib32-libxau (1.0.7-1)
    [2012-07-18 18:51] installed lib32-libxcb (1.8.1-2)
    [2012-07-18 18:51] installed lib32-libx11 (1.5.0-1)
    [2012-07-18 18:51] installed lib32-libxext (1.3.1-1)
    [2012-07-18 18:51] installed lib32-libxv (1.0.7-1)
    [2012-07-18 18:51] installed lib32-libxvmc (1.0.7-1)
    [2012-07-18 18:51] installed lib32-zlib (1.2.7-1)
    [2012-07-18 18:51] installed lib32-gcc-libs (4.7.1-4.1)
    [2012-07-18 18:51] installed lib32-nvidia-utils (302.17-1)
    [2012-07-18 18:55] Running 'pacman -S xorg-twm xorg-xclock xterm'
    [2012-07-18 18:55] installed xorg-twm (1.0.7-1)
    [2012-07-18 18:55] installed libxpm (3.5.10-1)
    [2012-07-18 18:55] installed libxaw (1.0.11-1)
    [2012-07-18 18:55] installed libxft (2.3.1-1)
    [2012-07-18 18:55] installed xorg-xclock (1.0.6-1)
    [2012-07-18 18:55] installed xorg-luit (1.1.1-1)
    [2012-07-18 18:55] installed xbitmaps (1.1.1-2)
    [2012-07-18 18:55] installed xterm (281-1)
    [2012-07-18 18:55] Running 'pacman -S dbus'
    [2012-07-18 18:55] installed dbus (1.6.2-1)
    [2012-07-18 18:56] Running 'pacman -S ttf-dejavu'
    [2012-07-18 18:56] installed ttf-dejavu (2.33-3)
    [2012-07-18 18:57] Running 'pacman -S awesome'
    [2012-07-18 18:57] installed libpng (1.5.11-1)
    [2012-07-18 18:57] installed cairo (1.12.2-2)
    [2012-07-18 18:57] installed libjpeg-turbo (1.2.1-1)
    [2012-07-18 18:57] installed libtiff (4.0.2-1)
    [2012-07-18 18:57] installed giflib (4.1.6-5)
    [2012-07-18 18:57] installed libid3tag (0.15.1b-7)
    [2012-07-18 18:57] installed imlib2 (1.4.5-2)
    [2012-07-18 18:57] installed libev (4.11-1)
    [2012-07-18 18:57] installed libxdg-basedir (1.2.0-1)
    [2012-07-18 18:57] installed lua (5.1.5-2)
    [2012-07-18 18:57] installed libdatrie (0.2.5-1)
    [2012-07-18 18:57] installed libthai (0.1.17-1)
    [2012-07-18 18:57] installed pango (1.30.1-1)
    [2012-07-18 18:57] installed xcb-util (0.3.9-1)
    [2012-07-18 18:57] installed startup-notification (0.12-3)
    [2012-07-18 18:57] installed xcb-util-image (0.3.9-1)
    [2012-07-18 18:57] installed xcb-util-keysyms (0.3.9-1)
    [2012-07-18 18:57] installed xcb-util-wm (0.3.9-1)
    [2012-07-18 18:57] installed xorg-xmessage (1.0.3-2)
    [2012-07-18 18:57] installed awesome (3.4.13-1)
    [2012-07-18 18:58] Running 'pacman -S rlwrap feh'
    [2012-07-18 18:58] installed rlwrap (0.37-2)
    [2012-07-18 18:58] installed giblib (1.2.4-5)
    [2012-07-18 18:58] installed libexif (0.6.20-2)
    [2012-07-18 18:58] installed feh (2.5-1)
    [2012-07-18 18:59] Running 'pacman -S packer'
    [2012-07-18 18:59] Running 'pacman -S lightdm'
    [2012-07-18 19:01] Running 'pacman -S fakeroot'
    [2012-07-18 19:01] upgraded fakeroot (1.18.4-1 -> 1.18.4-1)
    [2012-07-18 19:08] Running 'pacman -S git'
    [2012-07-18 19:08] installed perl-error (0.17018-1)
    [2012-07-18 19:08] installed git (1.7.11.2-1)
    [2012-07-18 19:08] Running 'pacman -S jshon'
    [2012-07-18 19:08] installed jansson (2.3-1)
    [2012-07-18 19:08] installed jshon (20111222-1)
    [2012-07-18 19:08] Running 'pacman -U packer-20120718-1-any.pkg.tar.xz'
    [2012-07-18 19:08] installed packer (20120718-1)
    [2012-07-18 19:10] Running 'pacman --noconfirm --asdeps -S -- accountsservice dbus-glib gobject-introspection intltool itstool libxklavier'
    [2012-07-18 19:10] installed polkit (0.105-1)
    [2012-07-18 19:10] installed accountsservice (0.6.22-1)
    [2012-07-18 19:10] installed dbus-glib (0.100-1)
    [2012-07-18 19:10] installed sqlite (3.7.13-1)
    [2012-07-18 19:10] installed python2 (2.7.3-2)
    [2012-07-18 19:10] installed gobject-introspection (1.32.1-2)
    [2012-07-18 19:10] installed perl-xml-parser (2.41-3)
    [2012-07-18 19:10] installed intltool (0.50.2-1)
    [2012-07-18 19:10] installed libxml2 (2.7.8-2)
    [2012-07-18 19:10] installed itstool (1.1.2-1)
    [2012-07-18 19:10] installed iso-codes (3.34-1)
    [2012-07-18 19:10] installed libxklavier (5.2.1-2)
    [2012-07-18 19:13] Running 'pacman -U lightdm-1.3.1-4-x86_64.pkg.tar.xz'
    [2012-07-18 19:14] You need to install lightdm-gtk-greeter to run the default and most stable greeter
    [2012-07-18 19:14] installed lightdm (1.3.1-4)
    [2012-07-18 19:14] Running 'pacman --noconfirm --asdeps -S -- archlinux-wallpaper bzr gnome-common gnome-doc-utils gtk-doc gtk-engines libwebkit vala'
    [2012-07-18 19:15] ==> Wallpapers have been installed to /usr/share/archlinux/wallpaper
    [2012-07-18 19:15] installed archlinux-wallpaper (1.4-1)
    [2012-07-18 19:15] installed bzr (2.5.1-1)
    [2012-07-18 19:15] installed gnome-common (3.4.0.1-2)
    [2012-07-18 19:15] installed libxslt (1.1.26-3)
    [2012-07-18 19:15] installed docbook-xml (4.5-5)
    [2012-07-18 19:15] installed rarian (0.8.1-2)
    [2012-07-18 19:15] installed gnome-doc-utils (0.20.10-1)
    [2012-07-18 19:15] installed docbook-xsl (1.77.1-2)
    [2012-07-18 19:15] installed gtk-doc (1.18-1)
    [2012-07-18 19:15] installed atk (2.4.0-1)
    [2012-07-18 19:15] installed compositeproto (0.4.2-2)
    [2012-07-18 19:15] installed libxcomposite (0.4.3-2)
    [2012-07-18 19:15] installed damageproto (1.2.1-2)
    [2012-07-18 19:15] installed libxdamage (1.1.3-2)
    [2012-07-18 19:15] installed shared-mime-info (1.0-1)
    [2012-07-18 19:15] installed libtasn1 (2.13-1)
    [2012-07-18 19:15] installed nettle (2.5-1)
    [2012-07-18 19:15] installed p11-kit (0.12-1)
    [2012-07-18 19:15] installed gnutls (3.0.21-1)
    [2012-07-18 19:15] installed libdaemon (0.14-2)
    [2012-07-18 19:15] ==> The following daemons may be added to DAEMONS in /etc/rc.conf:
    [2012-07-18 19:15] ==> avahi-daemon: the mdns responder, you probably want this.
    [2012-07-18 19:15] ==> dbus needs to be running when you start it.
    [2012-07-18 19:15] ==> avahi-dnsconfd: daemon used for peer-to-peer automatic dns
    [2012-07-18 19:15] ==> configuration on dhcp-less networks.
    [2012-07-18 19:15]
    [2012-07-18 19:15] ==> To use some of the client applications you will have to install python.
    [2012-07-18 19:15] ==> In addition, pygtk is required for the graphical ones and
    [2012-07-18 19:15] ==> twisted for avahi-bookmarks.
    [2012-07-18 19:15] installed avahi (0.6.31-3)
    [2012-07-18 19:15] installed libcups (1.5.3-5)
    [2012-07-18 19:15] installed gdk-pixbuf2 (2.26.1-1)
    [2012-07-18 19:15] installed gtk-update-icon-cache (2.24.10-3)
    [2012-07-18 19:15] installed gtk2 (2.24.10-3)
    [2012-07-18 19:15] installed gtk-engines (2.21.0-1)
    [2012-07-18 19:15] installed icu (49.1.2-1)
    [2012-07-18 19:15] installed gstreamer0.10 (0.10.36-1)
    [2012-07-18 19:15] installed orc (0.4.16-1)
    [2012-07-18 19:15] installed gstreamer0.10-base (0.10.36-1)
    [2012-07-18 19:15] installed libproxy (0.4.7-2)
    [2012-07-18 19:15] installed gsettings-desktop-schemas (3.4.2-1)
    [2012-07-18 19:15] installed glib-networking (2.32.3-1)
    [2012-07-18 19:15] installed libsoup (2.38.1-1)
    [2012-07-18 19:15] ==> aspell comes with no default dictionary
    [2012-07-18 19:15] installed aspell (0.60.6.1-1)
    [2012-07-18 19:15] installed hunspell (1.3.2-1)
    [2012-07-18 19:15] installed hspell (1.1-2)
    [2012-07-18 19:15] installed enchant (1.6.0-4)
    [2012-07-18 19:15] installed geoclue (0.12.0-5)
    [2012-07-18 19:15] installed libwebkit (1.8.1-1)
    [2012-07-18 19:15] installed vala (0.16.1-1)
    [2012-07-18 19:16] Running 'pacman -U lightdm-webkit-greeter-bzr-13-3-x86_64.pkg.tar.xz'
    [2012-07-18 19:16] Running 'pacman -U lightdm-webkit-greeter-0.1.2-3-x86_64.pkg.tar.xz'
    [2012-07-18 19:16] installed lightdm-webkit-greeter (0.1.2-3)
    [2012-07-18 19:47] Running 'pacman -R lightdm'
    [2012-07-18 19:48] Running 'pacman -R lightdm-webkit-greeter lightdm accountsservice dbus-glib libxklavier'
    [2012-07-18 19:48] Running 'pacman -R lightdm-webkit-greeter lightdm accountsservice enchant geoclue dbus-glib libxklavier'
    [2012-07-18 19:48] Running 'pacman -R lightdm-webkit-greeter lightdm accountsservice libwebkite enchant geoclue dbus-glib libxklavier'
    [2012-07-18 19:48] Running 'pacman -R lightdm-webkit-greeter lightdm accountsservice libwebkit enchant geoclue dbus-glib libxklavier'
    [2012-07-18 19:49] removed lightdm-webkit-greeter (0.1.2-3)
    [2012-07-18 19:49] removed libwebkit (1.8.1-1)
    [2012-07-18 19:49] removed geoclue (0.12.0-5)
    [2012-07-18 19:49] removed enchant (1.6.0-4)
    [2012-07-18 19:49] userdel: user lightdm is currently used by process 657
    [2012-07-18 19:49] groupdel: cannot remove the primary group of user 'lightdm'
    [2012-07-18 19:49] removed lightdm (1.3.1-4)
    [2012-07-18 19:49] removed libxklavier (5.2.1-2)
    [2012-07-18 19:49] removed dbus-glib (0.100-1)
    [2012-07-18 19:49] removed accountsservice (0.6.22-1)
    [2012-07-18 19:50] Running 'pacman -S chromium'
    [2012-07-18 19:50] installed dbus-glib (0.100-1)
    [2012-07-18 19:50] installed nspr (4.9.1-1)
    [2012-07-18 19:50] installed nss (3.13.5-1)
    [2012-07-18 19:50] installed xdg-utils (1.1.0-2.20120520)
    [2012-07-18 19:50] installed libevent (2.0.19-1)
    [2012-07-18 19:50] installed scrnsaverproto (1.2.2-1)
    [2012-07-18 19:50] installed libxss (1.2.2-1)
    [2012-07-18 19:50] installed desktop-file-utils (0.20-1)
    [2012-07-18 19:50] installed hicolor-icon-theme (0.12-2)
    [2012-07-18 19:50] installed chromium (20.0.1132.57-1)
    [2012-07-18 19:50] Running 'pacman -Sy abs'
    [2012-07-18 19:50] synchronizing package lists
    [2012-07-18 19:51] installed rsync (3.0.9-3)
    [2012-07-18 19:51] installed abs (2.4.3-2)
    [2012-07-18 19:52] Running 'pacman -S openjdk6 perl git gnupg flex bison gperf zip unzip wxgtk squashfs-tools ncurses libpng zlib libusb libusb-compat readline'
    [2012-07-18 19:53] installed ca-certificates-java (20120608-1)
    [2012-07-18 19:53] installed recordproto (1.14.2-1)
    [2012-07-18 19:53] installed libxtst (1.2.1-1)
    [2012-07-18 19:53] upgraded zlib (1.2.7-1 -> 1.2.7-1)
    [2012-07-18 19:53] upgraded libpng (1.5.11-1 -> 1.5.11-1)
    [2012-07-18 19:53] Warning: there was a problem reading the certificate file /etc/ssl/certs/NetLock_Arany_=Class_Gold=_F?tan?s?tv?ny.pem. Message:
    [2012-07-18 19:53] /etc/ssl/certs/NetLock_Arany_=Class_Gold=_F?tan?s?tv?ny.pem (No such file or directory)
    [2012-07-18 19:53] Warning: there was a problem reading the certificate file /etc/ssl/certs/AC_Ra?z_Certic?mara_S.A..pem. Message:
    [2012-07-18 19:53] /etc/ssl/certs/AC_Ra?z_Certic?mara_S.A..pem (No such file or directory)
    [2012-07-18 19:53] Warning: there was a problem reading the certificate file /etc/ssl/certs/Certinomis_-_Autorit?_Racine.pem. Message:
    [2012-07-18 19:53] /etc/ssl/certs/Certinomis_-_Autorit?_Racine.pem (No such file or directory)
    [2012-07-18 19:53] Warning: there was a problem reading the certificate file /etc/ssl/certs/T?B?TAK_UEKAE_K?k_Sertifika_Hizmet_Sa?lay?c?s?_-_S?r?m_3.pem. Message:
    [2012-07-18 19:53] /etc/ssl/certs/T?B?TAK_UEKAE_K?k_Sertifika_Hizmet_Sa?lay?c?s?_-_S?r?m_3.pem (No such file or directory)
    [2012-07-18 19:53] Warning: there was a problem reading the certificate file /etc/ssl/certs/EBG_Elektronik_Sertifika_Hizmet_Sa?lay?c?s?.pem. Message:
    [2012-07-18 19:53] /etc/ssl/certs/EBG_Elektronik_Sertifika_Hizmet_Sa?lay?c?s?.pem (No such file or directory)
    [2012-07-18 19:53] done.
    [2012-07-18 19:53] when you use a non-reparenting window manager
    [2012-07-18 19:53] set _JAVA_AWT_WM_NONREPARENTING=1 in
    [2012-07-18 19:53] /etc/profile.d/openjdk6.sh
    [2012-07-18 19:53] installed openjdk6 (6.b24_1.11.3-1)
    [2012-07-18 19:53] upgraded perl (5.16.0-2 -> 5.16.0-2)
    [2012-07-18 19:53] upgraded git (1.7.11.2-1 -> 1.7.11.2-1)
    [2012-07-18 19:53] upgraded ncurses (5.9-3 -> 5.9-3)
    [2012-07-18 19:53] upgraded readline (6.2.003-2 -> 6.2.003-2)
    [2012-07-18 19:53] upgraded gnupg (2.0.19-2 -> 2.0.19-2)
    [2012-07-18 19:53] upgraded flex (2.5.35-5 -> 2.5.35-5)
    [2012-07-18 19:53] upgraded bison (2.5.1-1 -> 2.5.1-1)
    [2012-07-18 19:53] installed gperf (3.0.4-4)
    [2012-07-18 19:53] installed zip (3.0-3)
    [2012-07-18 19:53] installed unzip (6.0-6)
    [2012-07-18 19:53] installed wxgtk (2.8.12.1-3)
    [2012-07-18 19:53] installed lzo2 (2.06-1)
    [2012-07-18 19:53] installed squashfs-tools (4.2-2)
    [2012-07-18 19:53] upgraded libusbx (1.0.12-2 -> 1.0.12-2)
    [2012-07-18 19:53] installed libusb-compat (0.1.4-2)
    [2012-07-18 19:53] Running 'pacman -S -- esdl schedtool'
    [2012-07-18 19:54] installed erlang (R15B01-1)
    [2012-07-18 19:54] installed sdl (1.2.15-1)
    [2012-07-18 19:54] installed dri2proto (2.6-1)
    [2012-07-18 19:54] installed glproto (1.4.15-1)
    [2012-07-18 19:54] installed mesa (8.0.4-1)
    [2012-07-18 19:54] installed esdl (2:1.2-1)
    [2012-07-18 19:54] installed schedtool (1.3.0-2)
    [2012-07-18 19:55] Running 'pacman -U pngcrush-1.7.31-1-x86_64.pkg.tar.xz'
    [2012-07-18 19:55] installed pngcrush (1.7.31-1)
    [2012-07-18 19:55] Running 'pacman -U repo-1.17-1-x86_64.pkg.tar.xz'
    [2012-07-18 19:55] installed repo (1.17-1)
    [2012-07-18 19:59] Running 'pacman -S terminator'
    [2012-07-18 19:59] installed vte-common (0.32.2-1)
    [2012-07-18 19:59] installed vte (0.28.2-3)
    [2012-07-18 19:59] installed libglade (2.6.4-3)
    [2012-07-18 19:59] installed python2-cairo (1.10.0-1)
    [2012-07-18 19:59] installed pygobject2-devel (2.28.6-6)
    [2012-07-18 19:59] installed python2-gobject2 (2.28.6-6)
    [2012-07-18 19:59] installed pygtk (2.24.0-3)
    [2012-07-18 19:59] installed terminator (0.96-1)
    [2012-07-18 20:00] Running 'pacman -Sy gcc-multilib gcc-libs-multilib binutils-multilib libtool-multilib lib32-libusb lib32-libusb-compat lib32-readline lib32-glibc lib32-zlib'
    [2012-07-18 20:00] synchronizing package lists
    [2012-07-18 20:00] Running 'pacman -Sy gcc-multilib gcc-libs-multilib binutils-multilib libtool-multilib lib32-libusb-compat lib32-readline lib32-glibc lib32-zlib'
    [2012-07-18 20:00] synchronizing package lists
    [2012-07-18 20:00] Running 'pacman -Sy gcc-multilib gcc-libs-multilib binutils-multilib libtool-multilib lib32-readline lib32-glibc lib32-zlib'
    [2012-07-18 20:00] synchronizing package lists
    [2012-07-18 20:01] removed gcc-libs (4.7.1-4)
    [2012-07-18 20:01] removed binutils (2.22-9)
    [2012-07-18 20:01] removed gcc (4.7.1-4)
    [2012-07-18 20:01] removed libtool (2.4.2-6)
    [2012-07-18 20:01] installed gcc-libs-multilib (4.7.1-4.1)
    [2012-07-18 20:01] installed binutils-multilib (2.22-8)
    [2012-07-18 20:01] installed gcc-multilib (4.7.1-4.1)
    [2012-07-18 20:01] upgraded lib32-glibc (2.16.0-2 -> 2.16.0-2)
    [2012-07-18 20:01] installed lib32-libltdl (2.4.2-6)
    [2012-07-18 20:01] installed libtool-multilib (2.4.2-6)
    [2012-07-18 20:01] installed lib32-ncurses (5.9-1)
    [2012-07-18 20:01] installed lib32-readline (6.2.003-1)
    [2012-07-18 20:01] upgraded lib32-zlib (1.2.7-1 -> 1.2.7-1)
    [2012-07-18 20:07] Running 'pacman -S ssh'
    [2012-07-18 20:10] Running 'pacman -S ssh-keygen'
    [2012-07-18 20:10] Running 'pacman -S openssh'
    [2012-07-18 20:10] installed libedit (20120311_3.0-1)
    [2012-07-18 20:10] installed dnssec-anchors (20120422-1)
    [2012-07-18 20:10] installed ldns (1.6.13-1)
    [2012-07-18 20:10] installed openssh (6.0p1-3)
    [2012-07-18 20:11] Running 'pacman -S pbcopy'
    [2012-07-18 20:11] Running 'pacman -S copy'
    [2012-07-18 20:13] Running 'pacman -S gedit'
    [2012-07-18 20:13] installed lcms2 (2.3-2)
    [2012-07-18 20:13] installed libgusb (0.1.3-1)
    [2012-07-18 20:13] installed gd (2.0.36RC1-5)
    [2012-07-18 20:13] installed libgphoto2 (2.4.14-1)
    [2012-07-18 20:13] installed libieee1284 (0.2.11-4)
    [2012-07-18 20:13] installed v4l-utils (0.8.8-1)
    [2012-07-18 20:13] installed net-snmp (5.7.1-3)
    [2012-07-18 20:13] NOTE
    [2012-07-18 20:13] ----
    [2012-07-18 20:13] Add your user to group 'scanner' to use scanner devices.
    [2012-07-18 20:13] installed sane (1.0.22-9)
    [2012-07-18 20:13] installed shared-color-profiles (0.1.5-1)
    [2012-07-18 20:13] installed colord (0.1.21-2)
    [2012-07-18 20:13] installed gtk3 (3.4.3-1)
    [2012-07-18 20:13] installed gtksourceview3 (3.4.2-1)
    [2012-07-18 20:13] installed libpeas (1.4.0-2)
    [2012-07-18 20:13] installed enchant (1.6.0-4)
    [2012-07-18 20:13] installed pygobject-devel (3.2.2-1)
    [2012-07-18 20:13] installed python2-gobject (3.2.2-1)
    [2012-07-18 20:13] installed dconf (0.12.1-2)
    [2012-07-18 20:13] installed gedit (3.4.2-1)
    [2012-07-18 20:15] Running 'pacman -S python'
    [2012-07-18 20:16] installed python (3.2.3-3)
    [2012-07-18 20:26] Running 'pacman -S xclip'
    [2012-07-18 20:26] installed xclip (0.12-3)
    [2012-07-18 20:37] Running 'pacman --noconfirm --asdeps -S -- lib32-alsa-lib lib32-libstdc++5 lib32-openal lib32-sdl swt'
    [2012-07-18 20:37] installed lib32-alsa-lib (1.0.25-1)
    [2012-07-18 20:37] installed lib32-libstdc++5 (3.3.6-6)
    [2012-07-18 20:37] installed openal (1.14-1)
    [2012-07-18 20:37] installed lib32-openal (1.14-1)
    [2012-07-18 20:37] installed lib32-libxrender (0.9.7-1)
    [2012-07-18 20:37] installed lib32-sdl (1.2.15-2)
    [2012-07-18 20:37] installed swt (3.7.2-1)
    [2012-07-18 20:45] Running 'pacman --asdeps -U android-sdk-r20-2-x86_64.pkg.tar.xz'
    [2012-07-18 20:50] You need to source /etc/profile or relogin to add the Android SDK tools to your path.
    [2012-07-18 20:50] The android group has been removed, install android packages as root.
    [2012-07-18 20:50] installed android-sdk (r20-2)
    [2012-07-18 20:51] Running 'pacman -U android-sdk-r20-2-x86_64.pkg.tar.xz'
    [2012-07-18 20:54] You need to source /etc/profile or relogin to add the Android SDK tools to your path.
    [2012-07-18 20:54] The android group has been removed, install android packages as root.
    [2012-07-18 20:54] upgraded android-sdk (r20-2 -> r20-2)
    [2012-07-18 20:59] Running 'pacman -U android-sdk-platform-tools-r12-1-any.pkg.tar.xz'
    [2012-07-18 20:59] installed android-sdk-platform-tools (r12-1)
    [2012-07-18 21:10] Running 'pacman -S perl-switch'
    [2012-07-18 21:10] installed perl-switch (2.16-1)
    [2012-07-21 03:29] Running 'pacman -S flashplugin'
    [2012-07-21 03:29] relogin or source /etc/profile.d/mozilla-common.sh
    [2012-07-21 03:29] installed mozilla-common (1.4-3)
    [2012-07-21 03:29] >>
    [2012-07-21 03:29] >> If you have an NVIDIA card that supports libvdpau or Broadcom Crystal HD chips,
    [2012-07-21 03:29] >> uncomment EnableLinuxHWVideoDecode=1 from /etc/adobe/mms.cfg.
    [2012-07-21 03:29] >> If you run into problems, please contact nVidia or Broadcom along with your system config info / driver version.
    [2012-07-21 03:29] >>
    [2012-07-21 03:29] installed flashplugin (11.2.202.236-1)
    [2012-07-21 03:32] Running 'pacman -S libvdpau'
    [2012-07-21 03:32] installed libvdpau (0.4.1-2)
    [2012-07-21 14:53] Running 'pacman -S gedit-common'
    [2012-07-21 14:55] Running 'pacman -S gtk-theme-switch2'
    [2012-07-21 14:56] installed gtk-theme-switch2 (2.1.0-2)
    [2012-07-21 15:00] Running 'pacman -S gtk-icons'
    [2012-07-21 15:04] Running 'pacman -R gtk-theme-switch2 gedit dconf desktop-file-utils enchant gsettings-desktop-schemas gtksourceview3 iso-codes libpeas libsm python2-gobject'
    [2012-07-21 15:06] Running 'pacman -R gtk-theme-switch2 gedit dconf enchant gtksourceview3 iso-codes libpeas python2-gobject'
    [2012-07-21 15:06] removed gedit (3.4.2-1)
    [2012-07-21 15:06] removed python2-gobject (3.2.2-1)
    [2012-07-21 15:06] removed libpeas (1.4.0-2)
    [2012-07-21 15:06] removed iso-codes (3.34-1)
    [2012-07-21 15:06] removed gtksourceview3 (3.4.2-1)
    [2012-07-21 15:06] removed enchant (1.6.0-4)
    [2012-07-21 15:06] removed dconf (0.12.1-2)
    [2012-07-21 15:06] removed gtk-theme-switch2 (2.1.0-2)
    [2012-07-21 15:06] Running 'pacman -R glib-networking gsettings-desktop-schemas'
    [2012-07-21 15:06] Running 'pacman -R libsoup glib-networking gsettings-desktop-schemas'
    [2012-07-21 15:06] removed libsoup (2.38.1-1)
    [2012-07-21 15:06] removed glib-networking (2.32.3-1)
    [2012-07-21 15:06] removed gsettings-desktop-schemas (3.4.2-1)
    [2012-07-21 15:07] Running 'pacman -R wxgtk'
    [2012-07-21 15:07] removed wxgtk (2.8.12.1-3)
    [2012-07-21 15:07] Running 'pacman -R libxt libsm'
    [2012-07-21 15:11] Running 'pacman -S ranger'
    [2012-07-21 15:11] installed ranger (1.5.4-1)
    [2012-07-21 15:32] Running 'pacman -S irssi'
    [2012-07-21 15:32] installed irssi (0.8.15-6)
    [2012-07-24 20:20] Running 'pacman -U sublime-text-2.0.1-1-x86_64.pkg.tar.xz'
    [2012-07-24 20:20] installed sublime-text (2.0.1-1)
    [2012-07-24 23:41] Running 'pacman -U dropbox-1.4.11-1-x86_64.pkg.tar.xz'
    [2012-07-24 23:41] installed dropbox (1.4.11-1)
    [2012-07-24 23:41] Running 'pacman -U dropbox-daemon-0.8-8-any.pkg.tar.xz'
    [2012-07-24 23:41] >> Configure the Dropbox daemon script by editing /etc/conf.d/dropboxd.conf
    [2012-07-24 23:41] installed dropbox-daemon (0.8-8)
    [2012-07-24 23:48] Running 'pacman -U dropbox-cli-1-12-x86_64.pkg.tar.xz'
    [2012-07-24 23:48] installed dropbox-cli (1-12)
    [2012-07-24 23:49] Running 'pacman -S nautilus'
    [2012-07-24 23:56] Running 'pacman -S ranger'
    [2012-07-24 23:57] upgraded ranger (1.5.4-1 -> 1.5.4-1)
    [2012-07-25 00:23] Running 'pacman --noconfirm --asdeps -S -- gconf qt qtwebkit'
    [2012-07-25 00:23] Running 'pacman --noconfirm --asdeps -S -- gconf qt qtwebkit'
    [2012-07-25 00:23] Running 'pacman -Sy'
    [2012-07-25 00:23] synchronizing package lists
    [2012-07-25 00:24] Running 'pacman --noconfirm --asdeps -S -- gconf qt qtwebkit'
    [2012-07-25 00:25] installed gconf (3.2.5-2)
    [2012-07-25 00:25] installed libmng (1.0.10-4)
    [2012-07-25 00:25] installed qt (4.8.2-3)
    [2012-07-25 00:25] installed qtwebkit (2.2.2-1)
    [2012-07-25 00:27] Running 'pacman --asdeps -U openssl098-0.9.8.x-1-x86_64.pkg.tar.xz'
    [2012-07-25 00:27] installed openssl098 (0.9.8.x-1)
    [2012-07-25 00:28] Running 'pacman --asdeps -U libpng12-1.2.49-1-x86_64.pkg.tar.xz'
    [2012-07-25 00:28] installed libpng12 (1.2.49-1)
    [2012-07-25 00:30] Running 'pacman -U spotify-0.8.4.103-1-x86_64.pkg.tar.xz'
    [2012-07-25 00:31] installed spotify (0.8.4.103-1)
    [2012-07-29 16:57] Running 'pacman --noconfirm --asdeps -S -- ffmpeg libmediainfo mencoder mplayer'
    [2012-07-29 16:58] Running 'pacman --noconfirm --asdeps -S -- ffmpeg libmediainfo mencoder mplayer'
    [2012-07-29 16:58] Running 'pacman -Syy'
    [2012-07-29 16:58] synchronizing package lists
    [2012-07-29 17:00] Running 'pacman --noconfirm --asdeps -S -- ffmpeg libmediainfo mencoder mplayer'
    [2012-07-29 17:00] installed gsm (1.0.13-7)
    [2012-07-29 17:00] installed lame (3.99.5-1)
    [2012-07-29 17:00] installed libasyncns (0.8-4)
    [2012-07-29 17:00] installed json-c (0.9-1)
    [2012-07-29 17:00] installed libpulse (2.1-1)
    [2012-07-29 17:00] installed libtheora (1.1.1-2)
    [2012-07-29 17:00] installed libglapi (8.0.4-2)
    [2012-07-29 17:00] installed khrplatform-devel (8.0.4-2)
    [2012-07-29 17:00] installed libegl (8.0.4-2)
    [2012-07-29 17:00] installed libva (1.1.0-1)
    [2012-07-29 17:00] installed libvpx (1.1.0-1)
    [2012-07-29 17:00] installed opencore-amr (0.1.3-1)
    [2012-07-29 17:00] installed openjpeg (1.5.0-1)
    [2012-07-29 17:00] installed rtmpdump (2.4-1)
    [2012-07-29 17:00] installed schroedinger (1.0.11-1)
    [2012-07-29 17:00] installed speex (1.2rc1-2)
    [2012-07-29 17:00] installed x264 (20120705-1)
    [2012-07-29 17:00] installed xvidcore (1.3.2-1)
    [2012-07-29 17:00] installed ffmpeg (1:0.11.1-1)
    [2012-07-29 17:00] installed libmms (0.6.2-1)
    [2012-07-29 17:00] installed libzen (0.4.26-1)
    [2012-07-29 17:00] installed libmediainfo (0.7.58-1)
    [2012-07-29 17:00] installed recode (3.6-7)
    [2012-07-29 17:00] installed enca (1.13-2)
    [2012-07-29 17:00] installed a52dec (0.7.4-6)
    [2012-07-29 17:00] installed libdca (0.0.5-3)
    [2012-07-29 17:00] installed talloc (2.0.7-1)
    [2012-07-29 17:00] installed libwbclient (3.6.6-1)
    [2012-07-29 17:00] installed libcap-ng (0.6.6-1)
    [2012-07-29 17:00] installed cifs-utils (5.5-1)
    [2012-07-29 17:00] installed tdb (1.2.9-2)
    [2012-07-29 17:00] installed smbclient (3.6.6-1)
    [2012-07-29 17:00] installed libmad (0.15.1b-6)
    [2012-07-29 17:00] installed fribidi (0.19.2-2)
    [2012-07-29 17:00] installed libmp4v2 (2.0.0-2)
    [2012-07-29 17:00] installed faac (1.28-4)
    [2012-07-29 17:00] installed faad2 (2.7-3)
    [2012-07-29 17:00] installed mpg123 (1.14.4-1)
    [2012-07-29 17:00] installed libass (0.10.0-3)
    [2012-07-29 17:00] installed libbluray (0.2.2-1)
    [2012-07-29 17:00] installed libcddb (1.3.2-3)
    [2012-07-29 17:00] installed libcdio (0.83-1)
    [2012-07-29 17:00] installed mencoder (35014-1)
    [2012-07-29 17:00] installed libftdi (0.20-1)
    [2012-07-29 17:00] installed libirman (0.4.5-3)
    [2012-07-29 17:00] installed lirc-utils (1:0.9.0-22)
    [2012-07-29 17:00] installed gpm (1.20.6-10)
    [2012-07-29 17:00] installed aalib (1.4rc5-9)
    [2012-07-29 17:00] installed jack (0.121.3-6)
    [2012-07-29 17:00] installed libcaca (0.99.beta18-1)
    [2012-07-29 17:00] installed xf86dgaproto (2.1-2)
    [2012-07-29 17:00] installed libxxf86dga (1.1.3-1)
    [2012-07-29 17:00] installed mplayer (35014-1)
    [2012-07-29 17:00] Running 'pacman -U pms-1.60.0-1-x86_64.pkg.tar.xz'
    [2012-07-29 17:00] installed pms (1.60.0-1)
    [2012-07-29 17:20] Running 'pacman -S netstat'
    [2012-07-29 17:31] Running 'pacman -S ntfs-3g'
    [2012-07-29 17:31] installed fuse (2.9.0-1)
    [2012-07-29 17:31] installed ntfs-3g (2012.1.15-3)
    [2012-07-29 17:45] Running 'pacman -S tsmuxer'
    [2012-07-29 17:45] Running 'pacman -S tsMuxeR'
    [2012-07-29 17:45] Running 'pacman --noconfirm --asdeps -S -- lib32-freetype2'
    [2012-07-29 17:45] installed lib32-bzip2 (1.0.6-1)
    [2012-07-29 17:45] installed lib32-freetype2 (2.4.10-1)
    [2012-07-29 17:48] Running 'pacman -U tsmuxer-1.10.6-12-x86_64.pkg.tar.xz'
    [2012-07-29 17:48] The tsmuxer package is licensed software.
    [2012-07-29 17:48] You MUST read and agree to the license stored in
    [2012-07-29 17:48] /opt/tsmuxer/LICENSE before using it.
    [2012-07-29 17:48] installed tsmuxer (1.10.6-12)
    [2012-07-29 18:23] Running 'pacman -S icedtea-web-java7'
    [2012-07-29 18:23] Running 'pacman -S icedtea-web-java6'
    [2012-07-29 18:24] Running 'pacman -S openjre'
    [2012-07-29 18:25] Running 'pacman -S jre'
    [2012-07-29 18:25] Running 'pacman -S icetea-plugin'
    [2012-07-29 18:27] Running 'pacman -S icedtea-web'
    [2012-07-29 18:27] installed icedtea-web (1.2-1)
    [2012-07-29 18:35] Running 'pacman -S ccache'
    [2012-07-29 18:35] installed ccache (3.1.7-1)
    [2012-07-29 18:50] Running 'pacman -S rtorrent'
    [2012-07-29 18:50] installed libsigc++ (2.2.10-2)
    [2012-07-29 18:50] installed libtorrent (0.13.2-2)
    [2012-07-29 18:50] installed xmlrpc-c (1:1.31.02-2)
    [2012-07-29 18:50] installed rtorrent (0.9.2-2)
    [2012-07-29 18:52] Running 'pacman -S rutorrent'
    [2012-07-29 18:52] Running 'pacman --noconfirm --asdeps -S -- php'
    [2012-07-29 18:52] installed php (5.4.5-1)
    [2012-07-29 18:52] Running 'pacman -U rutorrent-3.4-2-any.pkg.tar.xz'
    [2012-07-29 18:53] installed rutorrent (3.4-2)
    [2012-07-29 18:53] Running 'pacman -R rtorrent'
    [2012-07-29 18:53] removed rtorrent (0.9.2-2)
    [2012-07-29 18:53] Running 'pacman -S rtorrent-svn'
    [2012-07-29 18:54] Running 'pacman -S rtorrent'
    [2012-07-29 18:54] installed rtorrent (0.9.2-2)
    [2012-07-29 18:54] Running 'pacman -S apache php-apache php-cgi mod-scgi php-xsl rutorrent-plugins php-geoip screen'
    [2012-07-29 18:55] Running 'pacman -S apache php-apache php-cgi php-xsl rutorrent-plugins php-geoip screen'
    [2012-07-29 18:55] Running 'pacman -S apache php-apache php-cgi php-xsl php-geoip screen'
    [2012-07-29 18:55] installed apr (1.4.6-1)
    [2012-07-29 18:55] installed unixodbc (2.3.1-1)
    [2012-07-29 18:55] installed apr-util (1.4.1-1)
    [2012-07-29 18:55] installed apache (2.2.22-4)
    [2012-07-29 18:55] installed php-apache (5.4.5-1)
    [2012-07-29 18:55] installed php-cgi (5.4.5-1)
    [2012-07-29 18:55] installed php-xsl (5.4.5-1)
    [2012-07-29 18:55] installed geoip-database (20120706-1)
    [2012-07-29 18:55] installed geoip (1.4.8-2)
    [2012-07-29 18:55] installed php-geoip (1.0.8-2)
    [2012-07-29 18:55] installed screen (4.0.3-13)
    [2012-07-29 19:03] Running 'pacman -U mod_scgi-1.14-1-x86_64.pkg.tar.xz'
    [2012-07-29 19:03] installed mod_scgi (1.14-1)
    [2012-07-29 19:03] Running 'pacman -U rutorrent-plugins-3.4-2-any.pkg.tar.xz'
    [2012-07-29 19:03] installed rutorrent-plugins (3.4-2)
    [2012-07-29 19:04] Running 'pacman -U rutorrent-3.4-2-any.pkg.tar.xz'
    [2012-07-29 19:04] upgraded rutorrent (3.4-2 -> 3.4-2)
    [2012-07-29 19:46] Running 'pacman -S unrar unzip'
    [2012-07-29 19:46] installed unrar (4.2.4-1)
    [2012-07-29 19:46] upgraded unzip (6.0-6 -> 6.0-6)
    [2012-07-29 20:00] Running 'pacman -S php-apache mysql'
    [2012-07-29 20:02] upgraded php-apache (5.4.5-1 -> 5.4.5-1)
    [2012-07-29 20:02] installed libmysqlclient (5.5.25.a-1)
    [2012-07-29 20:02] installed mysql-clients (5.5.25.a-1)
    [2012-07-29 20:02] Installing MySQL system tables...
    [2012-07-29 20:02] OK
    [2012-07-29 20:02] Filling help tables...
    [2012-07-29 20:02] OK
    [2012-07-29 20:02]
    [2012-07-29 20:02] To start mysqld at boot time you have to copy
    [2012-07-29 20:02] support-files/mysql.server to the right place for your system
    [2012-07-29 20:02]
    [2012-07-29 20:02] PLEASE REMEMBER TO SET A PASSWORD FOR THE MySQL root USER !
    [2012-07-29 20:02] To do so, start the server, then issue the following commands:
    [2012-07-29 20:02]
    [2012-07-29 20:02] /usr/bin/mysqladmin -u root password 'new-password'
    [2012-07-29 20:02] /usr/bin/mysqladmin -u root -h arch-shauder password 'new-password'
    [2012-07-29 20:02]
    [2012-07-29 20:02] Alternatively you can run:
    [2012-07-29 20:02] /usr/bin/mysql_secure_installation
    [2012-07-29 20:02]
    [2012-07-29 20:02] which will also give you the option of removing the test
    [2012-07-29 20:02] databases and anonymous user created by default. This is
    [2012-07-29 20:02] strongly recommended for production servers.
    [2012-07-29 20:02]
    [2012-07-29 20:02] See the manual for more instructions.
    [2012-07-29 20:02]
    [2012-07-29 20:02] You can start the MySQL daemon with:
    [2012-07-29 20:02] cd /usr ; /usr/bin/mysqld_safe &
    [2012-07-29 20:02]
    [2012-07-29 20:02] You can test the MySQL daemon with mysql-test-run.pl
    [2012-07-29 20:02] cd /usr/mysql-test ; perl mysql-test-run.pl
    [2012-07-29 20:02]
    [2012-07-29 20:02] Please report any problems with the /usr/scripts/mysqlbug script!
    [2012-07-29 20:02]
    [2012-07-29 20:02] installed mysql (5.5.25.a-1)
    [2012-07-29 20:49] Running 'pacman -Syyu'
    [2012-07-29 20:49] synchronizing package lists
    [2012-07-29 20:50] starting full system upgrade
    [2012-07-29 20:52] upgraded readline (6.2.003-2 -> 6.2.004-1)
    [2012-07-29 20:52] upgraded bash (4.2.036-1 -> 4.2.037-1)
    [2012-07-29 20:52] upgraded bison (2.5.1-1 -> 2.6-1)
    [2012-07-29 20:52] upgraded lib32-gcc-libs (4.7.1-4.1 -> 4.7.1-5)
    [2012-07-29 20:52] upgraded gcc-libs-multilib (4.7.1-4.1 -> 4.7.1-5)
    [2012-07-29 20:52] upgraded gnutls (3.0.21-1 -> 3.0.21-2)
    [2012-07-29 20:52] upgraded libpng (1.5.11-1 -> 1.5.12-1)
    [2012-07-29 20:52] upgraded libcups (1.5.3-5 -> 1.5.4-1)
    [2012-07-29 20:52] upgraded gtk-update-icon-cache (2.24.10-3 -> 2.24.11-2)
    [2012-07-29 20:52] upgraded gtk2 (2.24.10-3 -> 2.24.11-2)
    [2012-07-29 20:52] upgraded chromium (20.0.1132.57-1 -> 20.0.1132.57-2)
    [2012-07-29 20:52] warning: /etc/protocols installed as /etc/protocols.pacnew
    [2012-07-29 20:52] warning: /etc/services installed as /etc/services.pacnew
    [2012-07-29 20:52] upgraded iana-etc (2.30-2 -> 2.30-3)
    [2012-07-29 20:52] upgraded filesystem (2012.6-4 -> 2012.7-1)
    [2012-07-29 20:52] upgraded libsystemd (186-2 -> 187-2)
    [2012-07-29 20:52] upgraded glib2 (2.32.3-1 -> 2.32.4-1)
    [2012-07-29 20:52] upgraded systemd-tools (186-2 -> 187-2)
    [2012-07-29 20:52] upgraded dbus-core (1.6.2-2 -> 1.6.4-1)
    [2012-07-29 20:52] upgraded dbus (1.6.2-1 -> 1.6.4-1)
    [2012-07-29 20:52] upgraded flex (2.5.35-5 -> 2.5.36-1)
    [2012-07-29 20:52] upgraded gcc-multilib (4.7.1-4.1 -> 4.7.1-5)
    [2012-07-29 20:52] upgraded git (1.7.11.2-1 -> 1.7.11.3-1)
    [2012-07-29 20:52] upgraded glproto (1.4.15-1 -> 1.4.16-1)
    [2012-07-29 20:52] upgraded gtk3 (3.4.3-1 -> 3.4.4-1)
    [2012-07-29 20:52] upgraded icu (49.1.2-1 -> 49.1.2-2)
    [2012-07-29 20:52] warning: /etc/rc.conf installed as /etc/rc.conf.pacnew
    [2012-07-29 20:52] upgraded initscripts (2012.06.3-2 -> 2012.07.5-1)
    [2012-07-29 20:52] upgraded lib32-readline (6.2.003-1 -> 6.2.004-1)
    [2012-07-29 20:52] >>> Updating module dependencies. Please wait ...
    [2012-07-29 20:52] >>> Generating initial ramdisk, using mkinitcpio. Please wait...
    [2012-07-29 20:52] ==> Building image from preset: 'default'
    [2012-07-29 20:52] -> -k /boot/vmlinuz-linux -c /etc/mkinitcpio.conf -g /boot/initramfs-linux.img
    [2012-07-29 20:52] ==> Starting build: 3.4.6-1-ARCH
    [2012-07-29 20:52] -> Running build hook: [base]
    [2012-07-29 20:52] -> Running build hook: [udev]
    [2012-07-29 20:52] -> Running build hook: [autodetect]
    [2012-07-29 20:52] -> Running build hook: [pata]
    [2012-07-29 20:52] -> Running build hook: [scsi]
    [2012-07-29 20:52] -> Running build hook: [sata]
    [2012-07-29 20:52] -> Running build hook: [filesystems]
    [2012-07-29 20:52] -> Running build hook: [usbinput]
    [2012-07-29 20:52] -> Running build hook: [fsck]
    [2012-07-29 20:52] ==> Generating module dependencies
    [2012-07-29 20:52] ==> Creating gzip initcpio image: /boot/initramfs-linux.img
    [2012-07-29 20:52] ==> Image generation successful
    [2012-07-29 20:52] ==> Building image from preset: 'fallback'
    [2012-07-29 20:52] -> -k /boot/vmlinuz-linux -c /etc/mkinitcpio.conf -g /boot/initramfs-linux-fallback.img -S autodetect
    [2012-07-29 20:52] ==> Starting build: 3.4.6-1-ARCH
    [2012-07-29 20:52] -> Running build hook: [base]
    [2012-07-29 20:52] -> Running build hook: [udev]
    [2012-07-29 20:52] -> Running build hook: [pata]
    [2012-07-29 20:52] -> Running build hook: [scsi]
    [2012-07-29 20:52] -> Running build hook: [sata]
    [2012-07-29 20:52] -> Running build hook: [filesystems]
    [2012-07-29 20:52] -> Running build hook: [usbinput]
    [2012-07-29 20:52] -> Running build hook: [fsck]
    [2012-07-29 20:52] ==> Generating module dependencies
    [2012-07-29 20:52] ==> Creating gzip initcpio image: /boot/initramfs-linux-fallback.img
    [2012-07-29 20:52] ==> Image generation successful
    [2012-07-29 20:52] upgraded linux (3.4.5-1 -> 3.4.6-1)
    [2012-07-29 20:52] upgraded linux-api-headers (3.4.4-1 -> 3.4.6-1)
    [2012-07-29 20:52] upgraded mesa (8.0.4-1 -> 8.0.4-2)
    [2012-07-29 20:52] upgraded nvidia (302.17-3 -> 302.17-4)
    [2012-07-29 20:52] upgraded tzdata (2012c-1 -> 2012d-1)
    [2012-07-29 20:52] upgraded xf86-input-evdev (2.7.0-2 -> 2.7.1-1)
    [2012-08-03 12:40] Running 'pacman -S filezilla'
    [2012-08-03 12:40] installed wxgtk (2.8.12.1-3)
    [2012-08-03 12:40] installed libidn (1.25-1)
    [2012-08-03 12:40] installed filezilla (3.5.3-1)
    [2012-08-06 13:55] Running 'pacman -R openjdk'
    [2012-08-06 13:55] Running 'pacman -R openjdk6'
    [2012-08-06 13:55] Running 'pacman -R icedtea-web'
    [2012-08-06 13:55] removed icedtea-web (1.2-1)
    [2012-08-06 13:56] Running 'pacman -S jdk'
    [2012-08-06 13:57] Running 'pacman --asdeps -U jre-7.5-2-x86_64.pkg.tar.xz'
    [2012-08-06 13:58] removed openjdk6 (6.b24_1.11.3-1)
    [2012-08-06 13:58]
    [2012-08-06 13:58] The jre package is licensed software.
    [2012-08-06 13:58] You MUST read and agree to the license stored in
    [2012-08-06 13:58] /usr/share/licenses/jre/LICENSE before using it.
    [2012-08-06 13:58] Please relogin to include jre in your PATH.
    [2012-08-06 13:58]
    [2012-08-06 13:58] installed jre (7.5-2)
    [2012-08-06 14:01] Running 'pacman -U jdk-7.5-2-x86_64.pkg.tar.xz'
    [2012-08-06 14:01]
    [2012-08-06 14:01] The jdk package is licensed software.
    [2012-08-06 14:01] You MUST read and agree to the license stored in
    [2012-08-06 14:01] /usr/share/licenses/jdk/LICENSE before using it.
    [2012-08-06 14:01] Please relogin to include jdk in your PATH.
    [2012-08-06 14:01]
    [2012-08-06 14:01] installed jdk (7.5-2)
    [2012-08-06 14:14] Running 'pacman --asdeps -U jre6-6u33-b04-x86_64.pkg.tar.xz'
    [2012-08-06 14:15] Running 'pacman -R jdk jre'
    [2012-08-06 14:16] Running 'pacman -U jre6-6u33-b04-x86_64.pkg.tar.xz'
    [2012-08-06 14:17] Running 'pacman -Rdd jdk jre'
    [2012-08-06 14:17] removed jdk (7.5-2)
    [2012-08-06 14:17] removed jre (7.5-2)
    [2012-08-06 14:19] Running 'pacman --asdeps -U jre6-6u33-b04-x86_64.pkg.tar.xz'
    [2012-08-06 14:19] The jre package is licensed software.
    [2012-08-06 14:19] You MUST read and agree to the license stored in
    [2012-08-06 14:19] /opt/java/jre/LICENSE before using it.
    [2012-08-06 14:19] Please relogin to include jre in your PATH.
    [2012-08-06 14:19] installed jre6 (6u33-b04)
    [2012-08-06 14:21] Running 'pacman -U jdk6-6u33-b04-x86_64.pkg.tar.xz'
    [2012-08-06 14:21] The jdk package is licensed software.
    [2012-08-06 14:21] You MUST read and agree to the license stored in
    [2012-08-06 14:21] /opt/java/LICENSE before using it.
    [2012-08-06 14:21] Please relogin to include jdk in your PATH
    [2012-08-06 14:21] installed jdk6 (6u33-b04)
    [2012-08-06 14:23] Running 'pacman -U jre6-6u33-b04-x86_64.pkg.tar.xz'
    [2012-08-06 14:54] upgraded jre6 (6u33-b04 -> 6u33-b04)
    [2012-08-06 17:23] Running 'pacman -S gimp'
    [2012-08-06 17:23] installed lcms (1.19-2)
    [2012-08-06 17:23] Updating font cache... done.
    [2012-08-06 17:23] installed gsfonts (1.0.7pre44-3)
    [2012-08-06 17:23] installed libwmf (0.2.8.4-9)
    [2012-08-06 17:23] installed libcroco (0.6.5-1)
    [2012-08-06 17:23] installed librsvg (2.36.1-1)
    [2012-08-06 17:23] installed babl (0.1.10-1)
    [2012-08-06 17:23] installed gegl (0.2.0-2)
    [2012-08-06 17:23] installed freeglut (2.8.0-1)
    [2012-08-06 17:23] installed jasper (1.900.1-7)
    [2012-08-06 17:23] installed gimp (2.8.0-2)
    [2012-08-06 18:25] Running 'pacman -Sy'
    [2012-08-06 18:25] synchronizing package lists
    [2012-08-06 18:25] Running 'pacman -S yaourt'
    [2012-08-06 18:28] Running 'pacman -Sy'
    [2012-08-06 18:28] synchronizing package lists
    [2012-08-06 18:28] Running 'pacman -S lib32-gcc-libs lib32-glibc lib32-libx11 lib32-libxau lib32-libxcb lib32-libxdmcp lib32-libxext lib32-libxrender lib32-alsa-lib lib32-libstdc++5 lib32-libxv lib32-ncurses lib32-openal lib32-sdl lib32-zlib swt'
    [2012-08-06 18:29] Running 'pacman -Sy'
    [2012-08-06 18:29] synchronizing package lists
    [2012-08-06 18:29] Running 'pacman -S lib32-gcc-libs lib32-glibc lib32-libx11 lib32-libxau lib32-libxcb lib32-libxdmcp lib32-libxext lib32-libxrender lib32-alsa-lib lib32-libstdc++5 lib32-libxv lib32-ncurses lib32-openal lib32-sdl lib32-zlib swt'
    [2012-08-06 18:32] Running 'pacman --noconfirm --asdeps -S -- yajl'
    [2012-08-06 21:50] Running 'pacman -U jdk6-6u33-b04-x86_64.pkg.tar.xz'
    [2012-08-06 21:51] Running 'pacman -Rdd jdk6 jre6'
    [2012-08-06 21:51] removed jdk6 (6u33-b04)
    [2012-08-06 21:51] removed jre6 (6u33-b04)
    [2012-08-06 21:54] Running 'pacman -U sun-java6-6u32-1-x86_64.pkg.tar.xz'
    [2012-08-06 21:54] The sun-java6 package is licensed software.
    [2012-08-06 21:54] You MUST read and agree to the license stored in
    [2012-08-06 21:54] /opt/sun-java6/LICENSE before using it.
    [2012-08-06 21:54]
    [2012-08-06 21:54] Use '. /opt/sun-java6/envsetup.sh' to setup environment.
    [2012-08-06 21:54] installed sun-java6 (6u32-1)
    [2012-08-06 21:59] Running 'pacman -Syu'
    [2012-08-06 21:59] synchronizing package lists
    [2012-08-06 21:59] starting full system upgrade
    [2012-08-06 22:00] Running 'pacman -Sy'
    [2012-08-06 22:00] synchronizing package lists
    [2012-08-06 22:00] Running 'pacman -S yaourt'
    [2012-08-06 22:00] installed yajl (2.0.4-1)
    [2012-08-06 22:00] installed package-query (1.0.1-1)
    [2012-08-06 22:00] installed yaourt (1.1-1)
    [2012-08-06 22:00] Running 'pacman -S extra/schedtool community/esdl'
    [2012-08-06 22:00] upgraded schedtool (1.3.0-2 -> 1.3.0-2)
    [2012-08-06 22:00] upgraded esdl (2:1.2-1 -> 2:1.2-1)
    [2012-08-06 22:00] Running 'pacman -S extra/schedtool community/esdl'
    [2012-08-06 22:00] upgraded schedtool (1.3.0-2 -> 1.3.0-2)
    [2012-08-06 22:00] upgraded esdl (2:1.2-1 -> 2:1.2-1)
    [2012-08-06 22:00] Running 'pacman -S --asdeps --needed extra/jdk7-openjdk'
    [2012-08-06 22:01] installed java-rhino (1.7R3-3)
    [2012-08-06 22:01] installed jre7-openjdk-headless (7.u5_2.2.1-1)
    [2012-08-06 22:01] when you use a non-reparenting window manager
    [2012-08-06 22:01] set _JAVA_AWT_WM_NONREPARENTING=1 in
    [2012-08-06 22:01] /etc/profile.d/jre.sh
    [2012-08-06 22:01] installed jre7-openjdk (7.u5_2.2.1-1)
    [2012-08-06 22:01] installed jdk7-openjdk (7.u5_2.2.1-1)
    [2012-08-06 22:02] Running 'pacman -U /tmp/yaourt-tmp-shauder/PKGDEST.kJz/android-apktool-1.4.9-1-x86_64.pkg.tar.xz'
    [2012-08-06 22:02] installed android-apktool (1.4.9-1)
    [2012-08-06 22:04] Running 'pacman -U /tmp/yaourt-tmp-shauder/PKGDEST.ubB/android-sdk-r20.0.1-1-x86_64.pkg.tar.xz'
    [2012-08-06 22:05] You need to source /etc/profile or relogin to add the Android SDK tools to your path.
    [2012-08-06 22:05] The android group has been removed, install android packages as root.
    [2012-08-06 22:05] upgraded android-sdk (r20-2 -> r20.0.1-1)
    [2012-08-06 22:08] Running 'pacman -U /tmp/yaourt-tmp-shauder/PKGDEST.g9s/android-sdk-platform-tools-r14-1-any.pkg.tar.xz'
    [2012-08-06 22:08] upgraded android-sdk-platform-tools (r12-1 -> r14-1)
    [2012-08-06 22:08] Running 'pacman -S --asdeps --needed extra/libmtp'
    [2012-08-06 22:08] installed libmtp (1.1.3-1)
    [2012-08-06 22:08] Running 'pacman -U /tmp/yaourt-tmp-shauder/PKGDEST.0Uc/android-udev-1.3-4-any.pkg.tar.xz'
    [2012-08-06 22:08] ===> In order to use adb, you have to be in the 'adbusers' group
    [2012-08-06 22:08] ===> For that, use: gpasswd -a USERNAME adbusers
    [2012-08-06 22:08] installed android-udev (1.3-4)
    [2012-08-06 22:08] Running 'pacman -U /tmp/yaourt-tmp-shauder/PKGDEST.n8w/fastboot-20110628-2-any.pkg.tar.xz'
    [2012-08-06 22:08] installed fastboot (20110628-2)
    [2012-08-06 22:09] Running 'pacman -U /tmp/yaourt-tmp-shauder/PKGDEST.aCT/pngcrush-1.7.35-1-x86_64.pkg.tar.xz'
    [2012-08-06 22:09] upgraded pngcrush (1.7.31-1 -> 1.7.35-1)
    [2012-08-06 22:09] Running 'pacman -U /tmp/yaourt-tmp-shauder/PKGDEST.ZNg/repo-git-20120806-1-x86_64.pkg.tar.xz'
    [2012-08-06 22:10] Running 'pacman -S abs base-devel perl git gnupg flex bison gperf zip unzip sdl wxgtk squashfs-tools ncurses libpng zlib libusb libusb-compat readline alsa-lib openal'
    [2012-08-06 22:11] Running 'pacman -S lib32-gcc-libs lib32-glibc lib32-libx11 lib32-libxau lib32-libxcb lib32-libxdmcp lib32-libxext lib32-libxrender lib32-alsa-lib lib32-libstdc++5 lib32-libxv lib32-ncurses lib32-openal lib32-sdl lib32-zlib swt'
    [2012-08-06 22:11] upgraded lib32-glibc (2.16.0-2 -> 2.16.0-2)
    [2012-08-06 22:11] upgraded lib32-gcc-libs (4.7.1-5 -> 4.7.1-5)
    [2012-08-06 22:11] upgraded lib32-libxdmcp (1.1.1-1 -> 1.1.1-1)
    [2012-08-06 22:11] upgraded lib32-libxau (1.0.7-1 -> 1.0.7-1)
    [2012-08-06 22:11] upgraded lib32-libxcb (1.8.1-2 -> 1.8.1-2)
    [2012-08-06 22:11] upgraded lib32-libx11 (1.5.0-1 -> 1.5.0-1)
    [2012-08-06 22:11] upgraded lib32-libxext (1.3.1-1 -> 1.3.1-1)
    [2012-08-06 22:11] upgraded lib32-libxrender (0.9.7-1 -> 0.9.7-1)
    [2012-08-06 22:11] upgraded lib32-alsa-lib (1.0.25-1 -> 1.0.25-1)
    [2012-08-06 22:11] upgraded lib32-libstdc++5 (3.3.6-6 -> 3.3.6-6)
    [2012-08-06 22:11] upgraded lib32-libxv (1.0.7-1 -> 1.0.7-1)
    [2012-08-06 22:11] upgraded lib32-ncurses (5.9-1 -> 5.9-1)
    [2012-08-06 22:11] upgraded lib32-openal (1.14-1 -> 1.14-1)
    [2012-08-06 22:11] upgraded lib32-sdl (1.2.15-2 -> 1.2.15-2)
    [2012-08-06 22:11] upgraded lib32-zlib (1.2.7-1 -> 1.2.7-1)
    [2012-08-06 22:11] upgraded swt (3.7.2-1 -> 3.7.2-1)
    [2012-08-06 22:11] Running 'pacman -S gcc-multilib gcc-libs-multilib binutils-multilib libtool-multilib lib32-readline lib32-glibc lib32-zlib'
    [2012-08-06 22:12] Running 'pacman -U /tmp/yaourt-tmp-shauder/PKGDEST.u2K/lib32-libusb-1.0.9-1-x86_64.pkg.tar.xz'
    [2012-08-06 22:12] installed lib32-libusb (1.0.9-1)
    [2012-08-06 22:12] Running 'pacman -U /tmp/yaourt-tmp-shauder/PKGDEST.ENc/lib32-libusb-compat-0.1.4-2-x86_64.pkg.tar.xz'
    [2012-08-06 22:12] installed lib32-libusb-compat (0.1.4-2)
    [2012-08-06 22:16] Running 'pacman -S ps3mediaserver'
    [2012-08-06 22:17] Running 'pacman -U /tmp/yaourt-tmp-shauder/PKGDEST.WIi/pms-1.60.0-2-x86_64.pkg.tar.xz'
    [2012-08-06 22:17] upgraded pms (1.60.0-1 -> 1.60.0-2)
    [2012-08-06 22:18] Running 'pacman -Syu'
    [2012-08-06 22:18] synchronizing package lists
    [2012-08-06 22:18] starting full system upgrade
    [2012-08-06 22:18] Running 'pacman -Syu'
    [2012-08-06 22:18] synchronizing package lists
    [2012-08-06 22:18] starting full system upgrade
    [2012-08-06 22:20] upgraded bison (2.6-1 -> 2.6.2-1)
    [2012-08-06 22:20] upgraded chromium (20.0.1132.57-2 -> 21.0.1180.57-1)
    [2012-08-06 22:20] upgraded libldap (2.4.31-4 -> 2.4.32-1)
    [2012-08-06 22:20] upgraded krb5 (1.10.2-2 -> 1.10.2-3)
    [2012-08-06 22:20] upgraded cifs-utils (5.5-1 -> 5.6-2)
    [2012-08-06 22:20] upgraded cryptsetup (1.4.3-1 -> 1.5.0-1)
    [2012-08-06 22:20] upgraded curl (7.26.0-1 -> 7.27.0-1)
    [2012-08-06 22:20] upgraded flex (2.5.36-1 -> 2.5.37-1)
    [2012-08-06 22:20] upgraded fuse (2.9.0-1 -> 2.9.1-1)
    [2012-08-06 22:20] upgraded git (1.7.11.3-1 -> 1.7.11.4-1)
    [2012-08-06 22:20] upgraded gnutls (3.0.21-2 -> 3.0.22-1)
    [2012-08-06 22:20] upgraded hwids (20120711-1 -> 20120730-1)
    [2012-08-06 22:20] upgraded nvidia-utils (302.17-1 -> 304.32-1)
    [2012-08-06 22:20] upgraded lib32-nvidia-utils (302.17-1 -> 304.32-1)
    [2012-08-06 22:20] upgraded libcups (1.5.4-1 -> 1.6.1-2)
    [2012-08-06 22:20] upgraded libmysqlclient (5.5.25.a-1 -> 5.5.27-1)
    [2012-08-06 22:20] upgraded libsystemd (187-2 -> 187-4)
    [2012-08-06 22:20] upgraded libthai (0.1.17-1 -> 0.1.18-1)
    [2012-08-06 22:20] upgraded systemd-tools (187-2 -> 187-4)
    [2012-08-06 22:20] upgraded mkinitcpio (0.9.2-2 -> 0.10-1)
    [2012-08-06 22:20] >>> Updating module dependencies. Please wait ...
    [2012-08-06 22:20] >>> Generating initial ramdisk, using mkinitcpio. Please wait...
    [2012-08-06 22:20] ==> Building image from preset: 'default'
    [2012-08-06 22:20] -> -k /boot/vmlinuz-linux -c /etc/mkinitcpio.conf -g /boot/initramfs-linux.img
    [2012-08-06 22:20] ==> Starting build: 3.4.7-1-ARCH
    [2012-08-06 22:20] -> Running build hook: [base]
    [2012-08-06 22:20] -> Running build hook: [udev]
    [2012-08-06 22:20] -> Running build hook: [autodetect]
    [2012-08-06 22:20] -> Running build hook: [pata]
    [2012-08-06 22:20] -> Running build hook: [scsi]
    [2012-08-06 22:20] -> Running build hook: [sata]
    [2012-08-06 22:20] -> Running build hook: [filesystems]
    [2012-08-06 22:20] -> Running build hook: [usbinput]
    [2012-08-06 22:20] -> Running build hook: [fsck]
    [2012-08-06 22:20] ==> Generating module dependencies
    [2012-08-06 22:20] ==> Creating gzip initcpio image: /boot/initramfs-linux.img
    [2012-08-06 22:20] ==> Image generation successful
    [2012-08-06 22:20] ==> Building image from preset: 'fallback'
    [2012-08-06 22:20] -> -k /boot/vmlinuz-linux -c /etc/mkinitcpio.conf -g /boot/initramfs-linux-fallback.img -S autodetect
    [2012-08-06 22:20] ==> Starting build: 3.4.7-1-ARCH
    [2012-08-06 22:20] -> Running build hook: [base]
    [2012-08-06 22:20] -> Running build hook: [udev]
    [2012-08-06 22:20] -> Running build hook: [pata]
    [2012-08-06 22:20] -> Running build hook: [scsi]
    [2012-08-06 22:20] -> Running build hook: [sata]
    [2012-08-06 22:20] -> Running build hook: [filesystems]
    [2012-08-06 22:20] -> Running build hook: [usbinput]
    [2012-08-06 22:20] -> Running build hook: [fsck]
    [2012-08-06 22:20] ==> Generating module dependencies
    [2012-08-06 22:20] ==> Creating gzip initcpio image: /boot/initramfs-linux-fallback.img
    [2012-08-06 22:20] ==> Image generation successful
    [2012-08-06 22:20] upgraded linux (3.4.6-1 -> 3.4.7-1)
    [2012-08-06 22:20] upgraded mysql-clients (5.5.25.a-1 -> 5.5.27-1)
    [2012-08-06 22:20] upgraded mysql (5.5.25.a-1 -> 5.5.27-1)
    [2012-08-06 22:20] upgraded nspr (4.9.1-1 -> 4.9.2-1)
    [2012-08-06 22:20] upgraded nvidia (302.17-4 -> 304.32-1)
    [2012-08-06 22:20] upgraded tzdata (2012d-1 -> 2012e-1)
    [2012-08-06 22:20] upgraded xf86-input-evdev (2.7.1-1 -> 2.7.2-1)
    [2012-08-06 22:23] Running 'pacman -S openjdk'
    [2012-08-06 22:23] Running 'pacman -S jdk7-openjdk'
    [2012-08-06 22:24] upgraded jdk7-openjdk (7.u5_2.2.1-1 -> 7.u5_2.2.1-1)
    [2012-08-06 22:24] Running 'pacman -S jre7-openjdk'
    [2012-08-06 22:24] upgraded jre7-openjdk (7.u5_2.2.1-1 -> 7.u5_2.2.1-1)
    [2012-08-06 22:25] Running 'pacman -R pms'
    [2012-08-06 22:25] warning: /opt/pms/PMS.conf saved as /opt/pms/PMS.conf.pacsave
    [2012-08-06 22:25] removed pms (1.60.0-2)
    [2012-08-06 22:26] Running 'pacman -U /tmp/yaourt-tmp-shauder/PKGDEST.QTF/pms-1.60.0-2-x86_64.pkg.tar.xz'
    [2012-08-06 22:26] installed pms (1.60.0-2)
    [2012-08-06 22:26] Running 'pacman -S vlc'
    [2012-08-06 22:26] installed libdvbpsi (0.2.2-1)
    [2012-08-06 22:26] installed sdl_image (1.2.12-2)
    [2012-08-06 22:26] installed libdvdread (4.2.0-1)
    [2012-08-06 22:26] installed libdvdnav (4.2.0-2)
    [2012-08-06 22:26] installed libkate (0.4.1-3)
    [2012-08-06 22:26] installed libtiger (0.3.4-3)
    [2012-08-06 22:26] installed libebml (1.2.2-2)
    [2012-08-06 22:26] installed libmatroska (1.3.0-2)
    [2012-08-06 22:26] installed zvbi (0.2.33-4)
    [2012-08-06 22:26] installed taglib (1.7.2-2)
    [2012-08-06 22:26] installed libmpcdec (1.2.6-3)
    [2012-08-06 22:26] installed libupnp (1.6.17-1)
    [2012-08-06 22:26] installed libshout (1:2.3.0-1)
    [2012-08-06 22:26] installed libmpeg2 (0.5.1-3)
    [2012-08-06 22:26] installed libmodplug (0.8.8.4-1)
    [2012-08-06 22:26] installed ttf-freefont (20120503-1)
    [2012-08-06 22:26] installed vlc (2.0.3-2)
    [2012-08-06 22:26] Running 'pacman -S lib32-gcc-libs lib32-glibc'
    [2012-08-06 22:26] upgraded lib32-glibc (2.16.0-2 -> 2.16.0-2)
    [2012-08-06 22:26] upgraded lib32-gcc-libs (4.7.1-5 -> 4.7.1-5)
    [2012-08-07 11:44] Running 'pacman --noconfirm --asdeps -S -- pacman-color'
    [2012-08-07 11:44] installed pacman-color (4.0.3-1)
    [2012-08-07 11:44] Running 'pacman -U packer-color-20120807-1-any.pkg.tar.xz'
    [2012-08-07 11:44] installed packer-color (20120807-1)
    [2012-08-07 11:50] Running 'pacman-color -S packer'
    [2012-08-07 15:50] Running 'pacman -Syyu'
    [2012-08-07 15:50] synchronizing package lists
    [2012-08-07 15:50] starting full system upgrade
    [2012-08-07 15:50] upgraded libwbclient (3.6.6-1 -> 3.6.7-1)
    [2012-08-07 15:51] upgraded smbclient (3.6.6-1 -> 3.6.7-1)
    [2012-08-07 15:51] Running 'pacman -Sy'
    [2012-08-07 15:51] synchronizing package lists
    [2012-08-07 15:51] Running 'pacman -U /tmp/yaourt-tmp-shauder/PKGDEST.77j/rutorrent-plugins-3.4-3-any.pkg.tar.xz'
    [2012-08-07 15:51] upgraded rutorrent-plugins (3.4-2 -> 3.4-3)
    [2012-08-07 15:51] Running 'pacman -Sy'
    [2012-08-07 15:51] synchronizing package lists
    [2012-08-07 16:02] Running 'pacman-color -S crontab'
    [2012-08-07 16:02] Running 'pacman-color -S cronjob'
    [2012-08-07 16:02] Running 'pacman-color -S cron'
    [2012-08-07 16:02] upgraded cronie (1.4.8-2 -> 1.4.8-2)
    [2012-08-07 16:04] Running 'pacman-color -S cronie'
    [2012-08-07 16:05] Running 'pacman-color -S esmtp procmail'
    [2012-08-07 16:05] installed libesmtp (1.0.6-2)
    [2012-08-07 16:05] installed esmtp (1.2-4)
    [2012-08-07 16:05] installed procmail (3.22-5)
    [2012-08-08 12:10] Running 'pacman -Sy'
    [2012-08-08 12:10] synchronizing package lists
    [2012-08-08 12:12] Running 'pacman -U /tmp/yaourt-tmp-shauder/PKGDEST.82R/pms-1.60.0-2-x86_64.pkg.tar.xz'
    [2012-08-08 12:12] upgraded pms (1.60.0-2 -> 1.60.0-2)
    [2012-08-08 18:02] Running 'pacman -R pms'
    [2012-08-08 18:02] removed pms (1.60.0-2)
    [2012-08-08 18:02] Running 'pacman -Sy'
    [2012-08-08 18:02] synchronizing package lists
    [2012-08-08 18:03] Running 'pacman -U /tmp/yaourt-tmp-shauder/PKGDEST.BkP/pms-1.60.0-2-x86_64.pkg.tar.xz'
    [2012-08-08 18:03] installed pms (1.60.0-2)
    [2012-08-08 18:17] Running 'pacman -S extra/icedtea-web'
    [2012-08-08 18:17] Running 'pacman -S extra/icedtea-web-java7'
    [2012-08-08 18:18] installed icedtea-web-java7 (1.2.1-2)
    [2012-08-08 18:36] Running 'pacman -R pms'
    [2012-08-08 1

    shadowlurker wrote:
    It's problem in pam configuration files. You need to create files useradd, userdel, groupadd and groupdel in /etc/pam.d/ directory with following content:
    auth sufficient pam_rootok.so
    auth required pam_unix.so
    account required pam_unix.so
    session required pam_unix.so
    password required pam_permit.so
    You da man! I also had to add grpconv and chage to get filesystem working but all seems well now thanks!
    Doug piston had me try something that I think will help anyone else who has this problem.  Try re-installing pambase and shadow.  It generated back most of any I was missing.
    Last edited by shauder (2012-11-03 00:55:19)

  • Problem with htmldb 2 (Sorry APEX)!

    I installed htmldb 2 on a windows XP, Oracle 10gR1 (which has enhanced by companion CD downloaded form Oracle's site). Everything went OK but when I want to connect to it by this url: http://localhost:7777/pls/htmldb it takes my username,pass but says:
    "Service Temporarily Unavailable
    The server is temporarily unable to service your request due to maintenance downtime or capacity problems. Please try again later.
    Oracle-HTTP-Server/1.3.28 Server at localhost Port 7777"
    I noticed many differences between my installed Apache and documents of htmldb. I run a 9.0.4.0.0 Apache server and the dads.conf and httpd.conf are as following:
    # ============================================================================
    # mod_plsql DAD Configuration File
    # ============================================================================
    # 1. Please refer to dads.README for a description of this file
    # ============================================================================
    # Note: This file should typically be included in your plsql.conf file with
    # the "include" directive.
    # Hint: You can look at some sample DADs in the dads.README file
    # ============================================================================
    Alias /i/ "E:\oracle\product\10.1.0\Companion\Apache\Apache\images/"
    <Location /pls/htmldb>
    SetHandler pls_handler
    Order deny,allow
    Allow from all
    AllowOverride None
    PlsqlDatabaseUsername HTMLDB_PUBLIC_USER     
    PlsqlDatabasePassword @BI+fAonVS+7xU8G04irVINWznM6s+A9fuQ==
    PlsqlDatabaseConnectString chagh
    PlsqlDefaultPage htmldb
    PlsqlDocumentTablename wwv_flow_file_objects$
    PlsqlDocumentPath docs
    PlsqlDocumentProcedure wwv_flow_file_mgr.process_download
    PlsqlAuthenticationMode Basic
    PlsqlNLSLanguage AMERICAN_AMERICA.AL32UTF8
    </Location>
    # Based upon the NCSA server configuration files originally by Rob McCool.
    # This is the main Apache server configuration file. It contains the
    # configuration directives that give the server its instructions.
    # See <URL:http://www.apache.org/docs/> for detailed information about
    # the directives.
    # Do NOT simply read the instructions in here without understanding
    # what they do. They're here only as hints or reminders. If you are unsure
    # consult the online docs. You have been warned.
    # After this file is processed, the server will look for and process
    # E:\oracle\product\10.1.0\Companion\Apache\Apache/conf/srm.conf and then E:\oracle\product\10.1.0\Companion\Apache\Apache/conf/access.conf
    # unless you have overridden these with ResourceConfig and/or
    # AccessConfig directives here.
    # The configuration directives are grouped into three basic sections:
    # 1. Directives that control the operation of the Apache server process as a
    # whole (the 'global environment').
    # 2. Directives that define the parameters of the 'main' or 'default' server,
    # which responds to requests that aren't handled by a virtual host.
    # These directives also provide default values for the settings
    # of all virtual hosts.
    # 3. Settings for virtual hosts, which allow Web requests to be sent to
    # different IP addresses or hostnames and have them handled by the
    # same Apache server process.
    # Configuration and logfile names: If the filenames you specify for many
    # of the server's control files begin with "/" (or "drive:/" for Win32), the
    # server will use that explicit path. If the filenames do not begin
    # with "/", the value of ServerRoot is prepended -- so "logs/foo.log"
    # with ServerRoot set to "E:\oracle\product\10.1.0\Companion\Apache\Apache" will be interpreted by the
    # server as "E:\oracle\product\10.1.0\Companion\Apache\Apache/logs/foo.log".
    # NOTE: Where filenames are specified, you must use forward slashes
    # instead of backslashes (e.g., "c:/apache" instead of "c:\apache").
    # If a drive letter is omitted, the drive on which Apache.exe is located
    # will be used by default. It is recommended that you always supply
    # an explicit drive letter in absolute paths, however, to avoid
    # confusion.
    ### Section 1: Global Environment
    # The directives in this section affect the overall operation of Apache,
    # such as the number of concurrent requests it can handle or where it
    # can find its configuration files.
    # ServerType is either inetd, or standalone. Inetd mode is only supported on
    # Unix platforms.
    ServerType standalone
    # ServerRoot: The top of the directory tree under which the server's
    # configuration, error, and log files are kept.
    # Do NOT add a slash at the end of the directory path.
    ServerRoot "E:\oracle\product\10.1.0\Companion\Apache\Apache"
    # PidFile: The file in which the server should record its process
    # identification number when it starts.
    PidFile logs/httpd.pid
    # ScoreBoardFile: File used to store internal server process information.
    # Not all architectures require this. But if yours does (you'll know because
    # this file will be created when you run Apache) then you must ensure that
    # no two invocations of Apache share the same scoreboard file.
    ScoreBoardFile logs/httpd.scoreboard
    # In the standard configuration, the server will process httpd.conf (this
    # file, specified by the -f command line option), srm.conf, and access.conf
    # in that order. The latter two files are now distributed empty, as it is
    # recommended that all directives be kept in a single file for simplicity.
    # The commented-out values below are the built-in defaults. You can have the
    # server ignore these files altogether by using "/dev/null" (for Unix) or
    # "nul" (for Win32) for the arguments to the directives.
    #ResourceConfig conf/srm.conf
    #AccessConfig conf/access.conf
    # Timeout: The number of seconds before receives and sends time out.
    Timeout 300
    # SendBufferSize: controls setsockopt() call made to set send buffer size on
    # all sockets. Default OS value on most Windows platforms is too small.
    # Larger values can help if the average page size served by OHS is
    # large (~64 k)
    SendBufferSize 16384
    # KeepAlive: Whether or not to allow persistent connections (more than
    # one request per connection). Set to "Off" to deactivate.
    KeepAlive On
    # MaxKeepAliveRequests: The maximum number of requests to allow
    # during a persistent connection. Set to 0 to allow an unlimited amount.
    # We recommend you leave this number high, for maximum performance.
    MaxKeepAliveRequests 100
    # KeepAliveTimeout: Number of seconds to wait for the next request from the
    # same client on the same connection.
    KeepAliveTimeout 15
    # Apache on Win32 always creates one child process to handle requests. If it
    # dies, another child process is created automatically. Within the child
    # process multiple threads handle incoming requests. The next two
    # directives control the behaviour of the threads and processes.
    # MaxRequestsPerChild: the number of requests each child process is
    # allowed to process before the child dies. The child will exit so
    # as to avoid problems after prolonged use when Apache (and maybe the
    # libraries it uses) leak memory or other resources. On most systems, this
    # isn't really needed, but a few (such as Solaris) do have notable leaks
    # in the libraries. For Win32, set this value to zero (unlimited)
    # unless advised otherwise.
    # NOTE: This value does not include keepalive requests after the initial
    # request per connection. For example, if a child process handles
    # an initial request and 10 subsequent "keptalive" requests, it
    # would only count as 1 request towards this limit.
    MaxRequestsPerChild 0
    # Number of concurrent threads (i.e., requests) the server will allow.
    # Set this value according to the responsiveness of the server (more
    # requests active at once means they're all handled more slowly) and
    # the amount of system resources you'll allow the server to consume.
    ThreadsPerChild 50
    # Server-pool size regulation. Rather than making you guess how many
    # server processes you need, Apache dynamically adapts to the load it
    # sees --- that is, it tries to maintain enough server processes to
    # handle the current load, plus a few spare servers to handle transient
    # load spikes (e.g., multiple simultaneous requests from a single
    # Netscape browser).
    # It does this by periodically checking how many servers are waiting
    # for a request. If there are fewer than MinSpareServers, it creates
    # a new spare. If there are more than MaxSpareServers, some of the
    # spares die off. The default values are probably OK for most sites.
    #MinSpareServers 5
    #MaxSpareServers 20
    # Limit on total number of servers running, i.e., limit on the number
    # of clients who can simultaneously connect --- if this limit is ever
    # reached, clients will be LOCKED OUT, so it should NOT BE SET TOO LOW.
    # It is intended mainly as a brake to keep a runaway server from taking
    # the system with it as it spirals down...
    #MaxClients 150
    # Listen: Allows you to bind Apache to specific IP addresses and/or
    # ports, in addition to the default. See also the <VirtualHost>
    # directive.
    #Listen 3000
    #Listen 12.34.56.78:80
    # BindAddress: You can support virtual hosts with this option. This directive
    # is used to tell the server which IP address to listen to. It can either
    # contain "*", an IP address, or a fully qualified Internet domain name.
    # See also the <VirtualHost> and Listen directives.
    #BindAddress *
    # Dynamic Shared Object (DSO) Support
    # To be able to use the functionality of a module which was built as a DSO you
    # have to place corresponding `LoadModule' lines at this location so the
    # directives contained in it are actually available before they are used.
    # Please read the file README.DSO in the Apache 1.3 distribution for more
    # details about the DSO mechanism and run `apache -l' for the list of already
    # built-in (statically linked and thus always available) modules in your Apache
    # binary.
    # Note: The order in which modules are loaded is important. Don't change
    # the order below without expert advice.
    # Example:
    # LoadModule foo_module libexec/mod_foo.dll
    LoadModule mime_magic_module      modules/ApacheModuleMimeMagic.dll
    LoadModule mime_module          modules/ApacheModuleMime.dll
    LoadModule dbm_auth_module     modules/ApacheModuleAuthDBM.dll
    LoadModule digest_auth_module     modules/ApacheModuleAuthDigest.dll
    LoadModule anon_auth_module      modules/ApacheModuleAuthAnon.dll
    LoadModule cern_meta_module      modules/ApacheModuleCERNMeta.dll
    LoadModule digest_module      modules/ApacheModuleDigest.dll
    LoadModule expires_module      modules/ApacheModuleExpires.dll
    LoadModule headers_module      modules/ApacheModuleHeaders.dll
    LoadModule proxy_module      modules/ApacheModuleProxy.dll
    LoadModule speling_module      modules/ApacheModuleSpeling.dll
    LoadModule status_module      modules/ApacheModuleStatus.dll
    LoadModule info_module          modules/ApacheModuleInfo.dll
    LoadModule usertrack_module      modules/ApacheModuleUserTrack.dll
    LoadModule vhost_alias_module     modules/ApacheModuleVhostAlias.dll
    LoadModule agent_log_module     modules/ApacheModuleLogAgent.dll
    LoadModule referer_log_module     modules/ApacheModuleLogReferer.dll
    LoadModule perl_module      modules/ApacheModulePerl.DLL
    LoadModule fastcgi_module      modules/ApacheModuleFastCGI.dll
    LoadModule onsint_module      modules/ApacheModuleOnsint.dll
    LoadModule wchandshake_module     modules/ApacheModuleWchandshake.dll
    ClearModuleList
    AddModule mod_so.c
    AddModule mod_onsint.c
    AddModule mod_mime_magic.c
    AddModule mod_mime.c
    AddModule mod_access.c
    AddModule mod_auth.c
    AddModule mod_negotiation.c
    AddModule mod_include.c
    AddModule mod_autoindex.c
    AddModule mod_dir.c
    AddModule mod_cgi.c
    AddModule mod_userdir.c
    AddModule mod_alias.c
    AddModule mod_env.c
    AddModule mod_log_config.c
    AddModule mod_asis.c
    AddModule mod_imap.c
    AddModule mod_actions.c
    AddModule mod_setenvif.c
    AddModule mod_isapi.c
    AddModule mod_vhost_alias.c
    AddModule mod_log_referer.c
    AddModule mod_log_agent.c
    AddModule mod_auth_anon.c
    AddModule mod_auth_dbm.c
    AddModule mod_auth_digest.c
    AddModule mod_cern_meta.c
    AddModule mod_digest.c
    AddModule mod_expires.c
    AddModule mod_headers.c
    AddModule mod_proxy.c
    AddModule mod_speling.c
    AddModule mod_info.c
    AddModule mod_status.c
    AddModule mod_usertrack.c
    AddModule mod_perl.c
    AddModule mod_fastcgi.c
    AddModule mod_wchandshake.c
    <IfDefine SSL>
    LoadModule ossl_module      modules/ApacheModuleOSSL.DLL
    </IfDefine>
    # ExtendedStatus controls whether Apache will generate "full" status
    # information (ExtendedStatus On) or just basic information (ExtendedStatus
    # Off) when the "server-status" handler is called. The default is Off.
    ExtendedStatus On
    ### Section 2: 'Main' server configuration
    # The directives in this section set up the values used by the 'main'
    # server, which responds to any requests that aren't handled by a
    # <VirtualHost> definition. These values also provide defaults for
    # any <VirtualHost> containers you may define later in the file.
    # All of these directives may appear inside <VirtualHost> containers,
    # in which case these default settings will be overridden for the
    # virtual host being defined.
    # Port: The port to which the standalone server listens. Certain firewall
    # products must be configured before Apache can listen to a specific port.
    # Other running httpd servers will also interfere with this port. Disable
    # all firewall, security, and other services if you encounter problems.
    # To help diagnose problems use the Windows NT command NETSTAT -a
    Port 7777
    Listen 7777
    # ServerAdmin: Your address, where problems with the server should be
    # e-mailed. This address appears on some server-generated pages, such
    # as error documents.
    ServerAdmin [email protected]
    # ServerName allows you to set a host name which is sent back to clients for
    # your server if it's different than the one the program would get (i.e., use
    # "www" instead of the host's real name).
    # Note: You cannot just invent host names and hope they work. The name you
    # define here must be a valid DNS name for your host. If you don't understand
    # this, ask your network administrator.
    # If your host doesn't have a registered DNS name, enter its IP address here.
    # You will have to access it by its address (e.g., http://123.45.67.89/)
    # anyway, and this will make redirections work in a sensible way.
    # 127.0.0.1 is the TCP/IP local loop-back address, often named localhost. Your
    # machine always knows itself by this address. If you use Apache strictly for
    # local testing and development, you may use 127.0.0.1 as the server name.
    ServerName localhost
    # DocumentRoot: The directory out of which you will serve your
    # documents. By default, all requests are taken from this directory, but
    # symbolic links and aliases may be used to point to other locations.
    DocumentRoot "E:\oracle\product\10.1.0\Companion\Apache\Apache\htdocs"
    # Each directory to which Apache has access, can be configured with respect
    # to which services and features are allowed and/or disabled in that
    # directory (and its subdirectories).
    # First, we configure the "default" to be a very restrictive set of
    # permissions.
    <Directory />
    Options FollowSymLinks
    AllowOverride None
    </Directory>
    # Note that from this point forward you must specifically allow
    # particular features to be enabled - so if something's not working as
    # you might expect, make sure that you have specifically enabled it
    # below.
    # This should be changed to whatever you set DocumentRoot to.
    <Directory "E:\oracle\product\10.1.0\Companion\Apache\Apache\htdocs">
    # This may also be "None", "All", or any combination of "Indexes",
    # "Includes", "FollowSymLinks", "ExecCGI", or "MultiViews".
    # Note that "MultiViews" must be named explicitly --- "Options All"
    # doesn't give it to you.
    Options Indexes FollowSymLinks MultiViews
    # This controls which options the .htaccess files in directories can
    # override. Can also be "All", or any combination of "Options", "FileInfo",
    # "AuthConfig", and "Limit"
    AllowOverride None
    # Controls who can get stuff from this server.
    Order allow,deny
    Allow from all
    </Directory>
    # UserDir: The name of the directory which is appended onto a user's home
    # directory if a ~user request is received.
    # Under Win32, we do not currently try to determine the home directory of
    # a Windows login, so a format such as that below needs to be used. See
    # the UserDir documentation for details.
    <IfModule mod_userdir.c>
         UserDir "E:\oracle\product\10.1.0\Companion\Apache\Apache\users\"
    </IfModule>
    # Control access to UserDir directories. The following is an example
    # for a site where these directories are restricted to read-only.
    #<Directory /home/*/public_html>
    # AllowOverride FileInfo AuthConfig Limit
    # Options MultiViews Indexes SymLinksIfOwnerMatch IncludesNoExec
    # <Limit GET POST OPTIONS PROPFIND>
    # Order allow,deny
    # Allow from all
    # </Limit>
    # <LimitExcept GET POST OPTIONS PROPFIND>
    # Order deny,allow
    # Deny from all
    # </LimitExcept>
    #</Directory>
    # DirectoryIndex: Name of the file or files to use as a pre-written HTML
    # directory index. Separate multiple entries with spaces.
    <IfModule mod_dir.c>
    DirectoryIndex index.html
    </IfModule>
    # AccessFileName: The name of the file to look for in each directory
    # for access control information.
    AccessFileName .htaccess
    # The following lines prevent .htaccess files from being viewed by
    # Web clients. Since .htaccess files often contain authorization
    # information, access is disallowed for security reasons. Comment
    # these lines out if you want Web visitors to see the contents of
    # .htaccess files. If you change the AccessFileName directive above,
    # be sure to make the corresponding changes here.
    # Also, folks tend to use names such as .htpasswd for password
    # files, so this will protect those as well.
    <Files ~ "^\.ht">
    Order allow,deny
    Deny from all
    </Files>
    # CacheNegotiatedDocs: By default, Apache sends "Pragma: no-cache" with each
    # document that was negotiated on the basis of content. This asks proxy
    # servers not to cache the document. Uncommenting the following line disables
    # this behavior, and proxies will be allowed to cache the documents.
    #CacheNegotiatedDocs
    # UseCanonicalName: (new for 1.3) With this setting turned on, whenever
    # Apache needs to construct a self-referencing URL (a URL that refers back
    # to the server the response is coming from) it will use ServerName and
    # Port to form a "canonical" name. With this setting off, Apache will
    # use the hostname:port that the client supplied, when possible. This
    # also affects SERVER_NAME and SERVER_PORT in CGI scripts.
    UseCanonicalName On
    # TypesConfig describes where the mime.types file (or equivalent) is
    # to be found.
    <IfModule mod_mime.c>
    TypesConfig conf/mime.types
    </IfModule>
    # DefaultType is the default MIME type the server will use for a document
    # if it cannot otherwise determine one, such as from filename extensions.
    # If your server contains mostly text or HTML documents, "text/plain" is
    # a good value. If most of your content is binary, such as applications
    # or images, you may want to use "application/octet-stream" instead to
    # keep browsers from trying to display binary files as though they are
    # text.
    DefaultType text/plain
    # The mod_mime_magic module allows the server to use various hints from the
    # contents of the file itself to determine its type. The MIMEMagicFile
    # directive tells the module where the hint definitions are located.
    # mod_mime_magic is not part of the default server (you have to add
    # it yourself with a LoadModule [see the DSO paragraph in the 'Global
    # Environment' section], or recompile the server and include mod_mime_magic
    # as part of the configuration), so it's enclosed in an <IfModule> container.
    # This means that the MIMEMagicFile directive will only be processed if the
    # module is part of the server.
    <IfModule mod_mime_magic.c>
    MIMEMagicFile conf/magic
    </IfModule>
    # HostnameLookups: Log the names of clients or just their IP addresses
    # e.g., www.apache.org (on) or 204.62.129.132 (off).
    # The default is off because it'd be overall better for the net if people
    # had to knowingly turn this feature on, since enabling it means that
    # each client request will result in AT LEAST one lookup request to the
    # nameserver.
    HostnameLookups Off
    # ErrorLog: The location of the error log file.
    # If you do not specify an ErrorLog directive within a <VirtualHost>
    # container, error messages relating to that virtual host will be
    # logged here. If you do define an error logfile for a <VirtualHost>
    # container, that host's errors will be logged there and not here.
    ErrorLog "|E:\oracle\product\10.1.0\Companion\Apache\Apache\bin\rotatelogs logs/error_log 43200"
    # LogLevel: Control the number of messages logged to the error.log.
    # Possible values include: debug, info, notice, warn, error, crit,
    # alert, emerg.
    LogLevel warn
    # The following directives define some format nicknames for use with
    # a CustomLog directive (see below).
    # Alternate "common" format to use when fronted by webcache:
    # LogFormat "%{ClientIP}i %l %u %t \"%r\" %>s %b %h" common_webcache
    # When webcache is forwarding requests to OHS, %h becomes the IP of
    # the originating webcache server and the real client IP is stored
    # in the ClientIP header. The common_webcache format can be used
    # in place of the common format when using webcache but with one
    # important caveat: if clients are capable of bypassing webcache
    # then it is possible to spoof the client IP by manually setting
    # the ClientIP header so the %h field should be monitored in such
    # an environment. Another alternative to specifying the ClientIP
    # header directly in a LogFormat is to use the "UseWebCacheIp"
    # directive:
    # UseWebCacheIp On
    # When this is specified, %h is derived internally from the ClientIP
    # header and the access log format does not need to be modified.
    LogFormat "%h %l %u %t \"%r\" %>s %b \"%{Referer}i\" \"%{User-Agent}i\"" combined
    LogFormat "%h %l %u %t \"%r\" %>s %b" common
    LogFormat "%{Referer}i -> %U" referer
    LogFormat "%{User-agent}i" agent
    # The location and format of the access logfile (Common Logfile Format).
    # If you do not define any access logfiles within a <VirtualHost>
    # container, they will be logged here. Contrariwise, if you do
    # define per-<VirtualHost> access logfiles, transactions will be
    # logged therein and not in this file.
    CustomLog "|E:\oracle\product\10.1.0\Companion\Apache\Apache\bin\rotatelogs logs/access_log 43200" common
    # If you would like to have agent and referer logfiles, uncomment the
    # following directives.
    #CustomLog logs/referer.log referer
    #CustomLog logs/agent.log agent
    # If you prefer a single logfile with access, agent, and referer information
    # (Combined Logfile Format) you can use the following directive.
    #CustomLog logs/access.log combined
    # Optionally add a line containing the server version and virtual host
    # name to server-generated pages (error documents, FTP directory listings,
    # mod_status and mod_info output etc., but not CGI generated documents).
    # Set to "EMail" to also include a mailto: link to the ServerAdmin.
    # Set to one of: On | Off | EMail
    ServerSignature On
    # Apache parses all CGI scripts for the shebang line by default.
    # This comment line, the first line of the script, consists of the symbols
    # pound (#) and exclamation (!) followed by the path of the program that
    # can execute this specific script. For a perl script, with perl.exe in
    # the C:\Program Files\Perl directory, the shebang line should be:
    #!c:/program files/perl/perl
    # Note you mustnot_ indent the actual shebang line, and it must be the
    # first line of the file. Of course, CGI processing must be enabled by
    # the appropriate ScriptAlias or Options ExecCGI directives for the files
    # or directory in question.
    # However, Apache on Windows allows either the Unix behavior above, or can
    # use the Registry to match files by extention. The command to execute
    # a file of this type is retrieved from the registry by the same method as
    # the Windows Explorer would use to handle double-clicking on a file.
    # These script actions can be configured from the Windows Explorer View menu,
    # 'Folder Options', and reviewing the 'File Types' tab. Clicking the Edit
    # button allows you to modify the Actions, of which Apache 1.3 attempts to
    # perform the 'Open' Action, and failing that it will try the shebang line.
    # This behavior is subject to change in Apache release 2.0.
    # Each mechanism has it's own specific security weaknesses, from the means
    # to run a program you didn't intend the website owner to invoke, and the
    # best method is a matter of great debate.
    # To enable the this Windows specific behavior (and therefore -disable- the
    # equivilant Unix behavior), uncomment the following directive:
    #ScriptInterpreterSource registry
    # The directive above can be placed in individual <Directory> blocks or the
    # .htaccess file, with either the 'registry' (Windows behavior) or 'script'
    # (Unix behavior) option, and will override this server default option.
    # Aliases: Add here as many aliases as you need (with no limit). The format is
    # Alias fakename realname
    <IfModule mod_alias.c>
    # Note that if you include a trailing / on fakename then the server will
    # require it to be present in the URL. So "/icons" isn't aliased in this
    # example, only "/icons/"..
    Alias /jservdocs/ "E:\oracle\product\10.1.0\Companion\Apache\Jserv\docs/"
    Alias /javacachedocs/ "E:\oracle\product\10.1.0\Companion\javacache\javadoc/"
    Alias /icons/ "E:\oracle\product\10.1.0\Companion\Apache\Apache\icons/"
    Alias /i/ "E:\oracle\product\10.1.0\Companion\Apache\Apache\images/"
    <Directory "icons">
    Options Indexes MultiViews
    AllowOverride None
    Order allow,deny
    Allow from all
    </Directory>
    <IfModule mod_perl.c>
         Alias /perl/ "E:\oracle\product\10.1.0\Companion\Apache\Apache/cgi-bin/"
    </IfModule>
    # ScriptAlias: This controls which directories contain server scripts.
    # ScriptAliases are essentially the same as Aliases, except that
    # documents in the realname directory are treated as applications and
    # run by the server when requested rather than as documents sent to the client.
    # The same rules about trailing "/" apply to ScriptAlias directives as to
    # Alias.
    ScriptAlias /cgi-bin/ "E:\oracle\product\10.1.0\Companion\Apache\Apache\cgi-bin/"
    # "E:\oracle\product\10.1.0\Companion\Apache\Apache/cgi-bin" should be changed to whatever your ScriptAliased
    # CGI directory exists, if you have that configured.
    <Directory "E:\oracle\product\10.1.0\Companion\Apache\Apache\cgi-bin">
    AllowOverride None
    Options None
    Order allow,deny
    Allow from all
    </Directory>
    </IfModule>
    # End of aliases.
    # Redirect allows you to tell clients about documents which used to exist in
    # your server's namespace, but do not anymore. This allows you to tell the
    # clients where to look for the relocated document.
    # Format: Redirect old-URI new-URL
    # Directives controlling the display of server-generated directory listings.
    <IfModule mod_autoindex.c>
    # FancyIndexing is whether you want fancy directory indexing or standard
    # Note, add the option TrackModified to the IndexOptions default list only
    # if all indexed directories reside on NTFS volumes. The TrackModified flag
    # will report the Last-Modified date to assist caches and proxies to properly
    # track directory changes, but it does not work on FAT volumes.
    IndexOptions FancyIndexing
    # AddIcon* directives tell the server which icon to show for different
    # files or filename extensions. These are only displayed for
    # FancyIndexed directories.
    AddIconByEncoding (CMP,/icons/compressed.gif) x-compress x-gzip
    AddIconByType (TXT,/icons/text.gif) text/*
    AddIconByType (IMG,/icons/image2.gif) image/*
    AddIconByType (SND,/icons/sound2.gif) audio/*
    AddIconByType (VID,/icons/movie.gif) video/*
    AddIcon /icons/binary.gif .bin .exe
    AddIcon /icons/binhex.gif .hqx
    AddIcon /icons/tar.gif .tar
    AddIcon /icons/world2.gif .wrl .wrl.gz .vrml .vrm .iv
    AddIcon /icons/compressed.gif .Z .z .tgz .gz .zip
    AddIcon /icons/a.gif .ps .ai .eps
    AddIcon /icons/layout.gif .html .shtml .htm .pdf
    AddIcon /icons/text.gif .txt
    AddIcon /icons/c.gif .c
    AddIcon /icons/p.gif .pl .py
    AddIcon /icons/f.gif .for
    AddIcon /icons/dvi.gif .dvi
    AddIcon /icons/uuencoded.gif .uu
    AddIcon /icons/script.gif .conf .sh .shar .csh .ksh .tcl
    AddIcon /icons/tex.gif .tex
    AddIcon /icons/bomb.gif core
    AddIcon /icons/back.gif ..
    AddIcon /icons/hand.right.gif README
    AddIcon /icons/folder.gif ^^DIRECTORY^^
    AddIcon /icons/blank.gif ^^BLANKICON^^
    # DefaultIcon is which icon to show for files which do not have an icon
    # explicitly set.
    DefaultIcon /icons/unknown.gif
    # AddDescription allows you to place a short description after a file in
    # server-generated indexes. These are only displayed for FancyIndexed
    # directories.
    # Format: AddDescription "description" filename
    #AddDescription "GZIP compressed document" .gz
    #AddDescription "tar archive" .tar
    #AddDescription "GZIP compressed tar archive" .tgz
    # ReadmeName is the name of the README file the server will look for by
    # default, and append to directory listings.
    # HeaderName is the name of a file which should be prepended to
    # directory indexes.
    # If MultiViews are amongst the Options in effect, the server will
    # first look for name.html and include it if found. If name.html
    # doesn't exist, the server will then look for name.txt and include
    # it as plaintext if found.
    ReadmeName README
    HeaderName HEADER
    # IndexIgnore is a set of filenames which directory indexing should ignore
    # and not include in the listing. Shell-style wildcarding is permitted.
    IndexIgnore .??* *~ *# HEADER* README* RCS CVS *,v *,t
    </IfModule>
    # End of indexing directives.
    # Document types.
    <IfModule mod_mime.c>
    # AddEncoding allows you to have certain browsers (Mosaic/X 2.1+) uncompress
    # information on the fly. Note: Not all browsers support this.
    # Despite the name similarity, the following Add* directives have nothing
    # to do with the FancyIndexing customization directives above.
    AddEncoding x-compress Z
    AddEncoding x-gzip gz tgz
    # AddLanguage allows you to specify the language of a document. You can
    # then use content negotiation to give a browser a file in a language
    # it can understand.
    # Note 1: The suffix does not have to be the same as the language
    # keyword --- those with documents in Polish (whose net-standard
    # language code is pl) may wish to use "AddLanguage pl .po" to
    # avoid the ambiguity with the common suffix for perl scripts.
    # Note 2: The example entries below illustrate that in quite
    # some cases the two character 'Language' abbriviation is not
    # identical to the two character 'Country' code for its country,
    # E.g. 'Danmark/dk' versus 'Danish/da'.
    # Note 3: In the case of 'ltz' we violate the RFC by using a three char
    # specifier. But there is 'work in progress' to fix this and get
    # the reference data for rfc1766 cleaned up.
    # Danish (da) - Dutch (nl) - English (en) - Estonian (ee)
    # French (fr) - German (de) - Greek-Modern (el)
    # Italian (it) - Korean (kr) - Norwegian (no)
    # Portugese (pt) - Luxembourgeois* (ltz)
    # Spanish (es) - Swedish (sv) - Catalan (ca) - Czech(cz)
    # Polish (pl) - Brazilian Portuguese (pt-br) - Japanese (ja)
    # Russian (ru)
    AddLanguage ar .ar
    AddLanguage da .dk .da
    AddLanguage nl .nl
    AddLanguage en .en
    AddLanguage et .ee
    AddLanguage fi .fi
    AddLanguage fr .fr
    AddLanguage de .de
    AddLanguage el .el
    AddLanguage es .es_ES .es
    AddLanguage he .he .iw
    AddLanguage hu .hu
    AddCharset ISO-8859-8 .iso8859-8
    AddLanguage it .it
    AddLanguage ja .ja
    AddCharset ISO-2022-JP .jis
    AddLanguage ko .ko
    AddLanguage kr .kr
    AddCharset ISO-2022-KR .iso-kr
    AddLanguage nn .nn
    AddLanguage no .no
    AddLanguage pl .po
    AddCharset ISO-8859-2 .iso-pl
    AddLanguage pt .pt
    AddLanguage pt-br .pt_BR .pt-br
    AddLanguage ltz .lu
    AddLanguage ca .ca
    AddLanguage sk .sk
    AddLanguage sv .sv
    AddLanguage th .th
    AddLanguage tr .tr
    AddLanguage cz .cz .cs
    AddLanguage ro .ro
    AddLanguage ru .ru
    AddLanguage zh-cn .zh_CN
    AddLanguage zh-tw .zh_TW
    AddCharset Big5 .Big5 .big5
    AddCharset WINDOWS-1251 .cp-1251
    AddCharset CP866 .cp866
    AddCharset ISO-8859-5 .iso-ru
    AddCharset KOI8-R .koi8-r
    AddCharset UCS-2 .ucs2
    AddCharset UCS-4 .ucs4
    AddCharset UTF-8 .utf8
    # LanguagePriority allows you to give precedence to some languages
    # in case of a tie during content negotiation.
    # Just list the languages in decreasing order of preference. We have
    # more or less alphabetized them here. You probably want to change this.
    <IfModule mod_negotiation.c>
    LanguagePriority ar en da nl et fi fr de el it ja ko kr no pl pt pt-br ro ru ltz ca es sk sv th tr zh-cn zh-tw zh-cn
    </IfModule>
    # AddType allows you to tweak mime.types without actually editing it, or to
    # make certain files to be certain types.
    # For example, the PHP 3.x module (not part of the Apache distribution - see
    # http://www.php.net) will typically use:
    #AddType application/x-httpd-php3 .php3
    #AddType application/x-httpd-php3-source .phps
    # And for PHP 4.x, use:
    #AddType application/x-httpd-php .php
    #AddType application/x-httpd-php-source .phps
    AddType application/x-tar .tgz
    # AddHandler allows you to map certain file extensions to "handlers",
    # actions unrelated to filetype. These can be either built into the server
    # or added with the Action command (see below)
    # If you want to use server side includes, or CGI outside
    # ScriptAliased directories, uncomment the following lines.
    # To use CGI scripts:
    #AddHandler cgi-script .cgi
    # To use server-parsed HTML files
    #AddType text/html .shtml
    #AddHandler server-parsed .shtml
    AddType text/xml xbl
    AddType text/x-component htc
    # Uncomment the following line to enable Apache's send-asis HTTP file
    # feature
    #AddHandler send-as-is asis
    # If you wish to use server-parsed imagemap files, use
    #AddHandler imap-file map
    # To enable type maps, you might want to use
    #AddHandler type-map var
    </IfModule>
    # End of document types.
    # Action lets you define media types that will execute a script whenever
    # a matching file is called. This eliminates the need for repeated URL
    # pathnames for oft-used CGI file processors.
    # Format: Action media/type /cgi-script/location
    # Format: Action handler-name /cgi-script/location
    # MetaDir: specifies the name of the directory in which Apache can find
    # meta information files. These files contain additional HTTP headers
    # to include when sending the document
    #MetaDir .web
    # MetaSuffix: specifies the file name suffix for the file containing the
    # meta information.
    #MetaSuffix .meta
    # Customizable error response (Apache style)
    # these come in three flavors
    # 1) plain text
    #ErrorDocument 500 "The server made a boo boo.
    # n.b. the single leading (") marks it as text, it does not get output
    # 2) local redirects
    #ErrorDocument 404 /missing.html
    # to redirect to local URL /missing.html
    #ErrorDocument 404 /cgi-bin/missing_handler.pl
    # N.B.: You can redirect to a script or a document using server-side-includes.
    # 3) external redirects
    #ErrorDocument 402 http://some.other_server.com/subscription_info.html
    # N.B.: Many of the environment variables associated with the original
    # request will not be available to such a script.
    # Customize behaviour based on the browser
    <IfModule mod_setenvif.c>
    # The following directives modify normal HTTP response behavior.
    # The first directive disables keepalive for Netscape 2.x and browsers that
    # spoof it. There are known problems with these browser implementations.
    # The second directive is for Microsoft Internet Explorer 4.0b2
    # which has a broken HTTP/1.1 implementation and does not properly
    # support keepalive when it is used on 301 or 302 (redirect) responses.
    BrowserMatch "Mozilla/2" nokeepalive
    BrowserMatch "MSIE 4\.0b2;" nokeepalive downgrade-1.0 force-response-1.0
    # The following directive disables HTTP/1.1 responses to browsers which
    # are in violation of the HTTP/1.0 spec by not being able to grok a
    # basic 1.1 response.
    BrowserMatch "RealPlayer 4\.0" force-response-1.0
    BrowserMatch "Java/1\.0" force-response-1.0
    BrowserMatch "JDK/1\.0" force-response-1.0
    </IfModule>
    # End of browser customization directives
    # Allow server status reports, with the URL of http://servername/server-status
    # Change the ".your_domain.com" to match your domain to enable.
    <Location /server-status>
    SetHandler server-status
    Order deny,allow
    Deny from all
    Allow from localhost localhost localhost
    </Location>
    # Allow remote server configuration reports, with the URL of
    # http://servername/server-info (requires that mod_info.c be loaded).
    # Change the ".your_domain.com" to match your domain to enable.
    #<Location /server-info>
    # SetHandler server-info
    # Order deny,allow
    # Deny from all
    # Allow from .your_domain.com
    #</Location>
    # There have been reports of people trying to abuse an old bug from pre-1.1
    # days. This bug involved a CGI script distributed as a part of Apache.
    # By uncommenting these lines you can redirect these attacks to a logging
    # script on phf.apache.org. Or, you can record them yourself, using the script
    # support/phf_abuse_log.cgi.
    #<Location /cgi-bin/phf*>
    # Deny from all
    # ErrorDocument 403 http://phf.apache.org/phf_abuse_log.cgi
    #</Location>
    # Proxy Server directives. Uncomment the following lines to
    # enable the proxy server:
    #<IfModule mod_proxy.c>
    # ProxyRequests On
    # <Directory proxy:*>
    # Order deny,allow
    # Deny from all
    # Allow from .your_domain.com
    # </Directory>
    # Enable/disable the handling of HTTP/1.1 "Via:" headers.
    # ("Full" adds the server version; "Block" removes all outgoing Via: headers)
    # Set to one of: Off | On | Full | Block
    # ProxyVia On
    # To enable the cache as well, edit and uncomment the following lines:
    # (no cacheing without CacheRoot)
    # CacheRoot "E:\oracle\product\10.1.0\Companion\Apache\Apache\proxy"
    # CacheSize 5
    # CacheGcInterval 4
    # CacheMaxExpire 24
    # CacheLastModifiedFactor 0.1
    # CacheDefaultExpire 1
    # NoCache a_domain.com another_domain.edu joes.garage_sale.com
    #</IfModule>
    # End of proxy directives.
    ### Section 3: Virtual Hosts
    # VirtualHost: If you want to maintain multiple domains/hostnames on your
    # machine you can setup VirtualHost containers for them. Most configurations
    # use only name-based virtual hosts so the server doesn't need to worry about
    # IP addresses. This is indicated by the asterisks in the directives below.
    # Please see the documentation at <URL:http://www.apache.org/docs/vhosts/>
    # for further details before you try to setup virtual hosts.
    # You may use the command line option '-S' to verify your virtual host
    # configuration.
    # Use name-based virtual hosting.
    #NameVirtualHost *
    #NameVirtualHost 12.34.56.78:80
    #NameVirtualHost 12.34.56.78
    # VirtualHost example:
    # Almost any Apache directive may go into a VirtualHost container.
    # The first VirtualHost section is used for requests without a known
    # server name.
    #<VirtualHost *>
    # ServerAdmin [email protected]
    # DocumentRoot /www/docs/dummy-host.example.com
    # ServerName dummy-host.example.com
    # ErrorLog logs/dummy-host.example.com-error_log
    # CustomLog logs/dummy-host.example.com-access_log common
    #</VirtualHost>
    #<VirtualHost default:*>
    #</VirtualHost>
    SetEnv PERL5LIB "E:\oracle\product\10.1.0\Companion\perl\5.6.1\lib:E:\oracle\product\10.1.0\Companion\perl\site\5.6.1\lib"
    <IfModule mod_perl.c>
    # Perl Directives
    # PerlWarn On
    # PerlFreshRestart On
    # PerlSetEnv PERL5OPT Tw
    # PerlSetEnv PERL5LIB "E:\oracle\product\10.1.0\Companion\perl\5.6.1\lib:E:\oracle\product\10.1.0\Companion\perl\site\5.6.1\lib"
    PerlModule Apache
    # PerlModule Apache::Status
    PerlModule Apache::Registry
    # PerlModule Apache::CGI
    # PerlModule Apache::DBI
    # PerlRequire
    <Location /perl>
    SetHandler perl-script
    PerlHandler Apache::Registry
    AddHandler perl-script .pl
    Options +ExecCGI
    PerlSendHeader On
    </Location>
    # <Location /perl-status>
    # SetHandler perl-script
    # PerlHandler Apache::Status
    # order deny,allow
    # deny from all
    # allow from localhost
    # </Location>
    </IfModule>
    #Protect WEB-INF directory
    <DirectoryMatch /WEB-INF/>
    Order deny,allow
    Deny from all
    </DirectoryMatch>
    # Setup of FastCGI module
    <IfModule mod_fastcgi.c>
    Alias /fastcgi/ "E:\oracle\product\10.1.0\Companion\Apache\fastcgi/"
    ScriptAlias /fcgi-bin/ "E:\oracle\product\10.1.0\Companion\Apache\Apache\fcgi-bin/"
    <Directory "E:\oracle\product\10.1.0\Companion\Apache\Apache\fcgi-bin">
         AllowOverride None
         Options None
         Order allow,deny
         Allow from all
         SetHandler fastcgi-script
         <IfModule mod_ossl.c>
         SSLOptions +StdEnvVars
         </IfModule>
    </Directory>
    </IfModule>
    # Include the configuration for Apache JServ 1.1
    #include "E:\oracle\product\10.1.0\Companion\Apache\Jserv\conf\jserv.conf"
    # Setup of oprocmgr module.
    # This directive identifies each remote apache instance that will be
    # sending requests to processes (e.g., JServs), managed by local Apache
    # instances. This directive is used by the local process manager to share
    # routing information with remote apache instances via non-SSL HTTP messages.
    # The directive is repeated for each remote apache instance that will be
    # sending requests. The ProcNode directive that refers to the local apache
    # instance will be ignored, but may be supplied to facilitate uniformity
    # in configuration across apache instances. Arguments to the ProcNode must
    # be sufficient to reach the remote instance of apache via non-SSL HTTP
    # messages. It is not considered an error if the remote apache instance is
    # unreachable, as no assumption is made about the starting order or
    # availability of apache instances.
    # Syntax: ProcNode <hostname> <port>
    # Example: ProcNode abc.com 7777
    <IfModule mod_oprocmgr.c>
    <Location /oprocmgr-service>
    SetHandler oprocmgr-service
    Order deny,allow
    Deny from all
    Allow from localhost localhost localhost
    </Location>
    <Location /oprocmgr-status>
    SetHandler oprocmgr-status
    Order deny,allow
    Deny from all
    Allow from localhost localhost localhost
    </Location>
    </IfModule>
    # Include the mod_oc4j configuration file
    include "E:\oracle\product\10.1.0\Companion\Apache\Apache\conf\mod_oc4j.conf"
    # Include the mod_dms configuration file
    include "E:\oracle\product\10.1.0\Companion\Apache\Apache\conf\dms.conf"
    # Loading rewrite_module here so it loads before mod_oc4j
    LoadModule rewrite_module      modules/ApacheModuleRewrite.dll
    # Include the SSL definitions and Virtual Host container
    include "E:\oracle\product\10.1.0\Companion\Apache\Apache\conf\ssl.conf"
    # Include the mod_osso configuration file
    #include "E:\oracle\product\10.1.0\Companion\Apache\Apache\conf\mod_osso.conf"
    # Include the Oracle configuration file for custom settings
    include "E:\oracle\product\10.1.0\Companion\Apache\Apache\conf\oracle_apache.conf"
    ------------------------------------------------------------------------------------------------------------------

    Firstly, there's no such thing as Apache 9.3, there's Apache 1 (and subversions) and Apache 2 (and subversions). Your error message -
    Oracle-HTTP-Server/1.3.28Shows you're using Apache 1.3.28
    Secondly, I'm confused by your comment -
    I do not have Apache 9.3 or higher but I think oracle should offer this in its companion CDOracle does offer the Apache server, if you're saying you didn't get it from Oracle then where did your Apache server come from?
    Thirdly, I notice from your config file -
    ErrorLog "|E:\oracle\product\10.1.0\Companion\Apache\Apache\bin\rotatelogs logs/error_log 43200"That you're piping the logs through rotatelogs, are you sure the logfiles haven't just been renamed?

  • Problem with Configuring Tomcat for running jsp web applications..Plz HELP

    I am using Tomcat 5.5 and Jdk 1.5.0_12 and Oracle 10g. I am using jdbc-odbc bridge connection
    to connect to the database. I have placed my project folder called
    tdm under the webapps folder in Tomcat. This 'tdm' folder consists of
    a collection of html pages,jsp pages and images of my project. Also I created a
    WEB-INF folderand in that I have lib folder which contains catalina-root.jar
    , classes12.jar and nls_charset.jar files. And also in the WEB-INF folder I have the web.xml
    file which looks like this
    <?xml version="1.0" encoding="ISO-8859-1"?>
    <!--
    Copyright 2004 The Apache Software Foundation
    Licensed under the Apache License, Version 2.0 (the "License");
    you may not use this file except in compliance with the License.
    You may obtain a copy of the License at
    http://www.apache.org/licenses/LICENSE-2.0
    Unless required by applicable law or agreed to in writing, software
    distributed under the License is distributed on an "AS IS" BASIS,
    WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
    See the License for the specific language governing permissions and
    limitations under the License.
    -->
    <web-app>
    <resource-ref>
    <description>Oracle Datasource example</description>
    <res-ref-name>jdbc/gdn</res-ref-name>
    <res-type>javax.sql.DataSource</res-type>
    <res-auth>Container</res-auth>
    </resource-ref>
    </web-app>
    My Server.xml file in Tomcat\conf folder is as follows
    <!-- Example Server Configuration File -->
    <!-- Note that component elements are nested corresponding to their
    parent-child relationships with each other -->
    <!-- A "Server" is a singleton element that represents the entire JVM,
    which may contain one or more "Service" instances. The Server
    listens for a shutdown command on the indicated port.
    Note: A "Server" is not itself a "Container", so you may not
    define subcomponents such as "Valves" or "Loggers" at this level.
    -->
    <Server port="8005" shutdown="SHUTDOWN">
    <!-- Comment these entries out to disable JMX MBeans support used for the
    administration web application -->
    <Listener className="org.apache.catalina.mbeans.ServerLifecycleListener" />
    <Listener className="org.apache.catalina.mbeans.GlobalResourcesLifecycleListener" />
    <!-- Global JNDI resources -->
    <GlobalNamingResources>
    <!-- Test entry for demonstration purposes -->
    <Environment name="simpleValue" type="java.lang.Integer" value="30"/>
    <!-- Editable user database that can also be used by
    UserDatabaseRealm to authenticate users -->
    <Resource name="UserDatabase" auth="Container"
    type="org.apache.catalina.UserDatabase"
    description="User database that can be updated and saved"
    factory="org.apache.catalina.users.MemoryUserDatabaseFactory"
    pathname="conf/tomcat-users.xml" />
    <Resource name="jdbc/gdn" auth="Container"
    type="javax.sql.DataSource" driverClassName="sun.jdbc.odbc.JdbcOdbcDriver"
    url="jdbc:odbc:gdn"
    username="system" password="tiger" maxActive="20" maxIdle="10"
    maxWait="-1"/>
    </GlobalNamingResources>
    <!-- A "Service" is a collection of one or more "Connectors" that share
    a single "Container" (and therefore the web applications visible
    within that Container). Normally, that Container is an "Engine",
    but this is not required.
    Note: A "Service" is not itself a "Container", so you may not
    define subcomponents such as "Valves" or "Loggers" at this level.
    -->
    <!-- Define the Tomcat Stand-Alone Service -->
    <Service name="Catalina">
    <!-- A "Connector" represents an endpoint by which requests are received
    and responses are returned. Each Connector passes requests on to the
    associated "Container" (normally an Engine) for processing.
    By default, a non-SSL HTTP/1.1 Connector is established on port 8080.
    You can also enable an SSL HTTP/1.1 Connector on port 8443 by
    following the instructions below and uncommenting the second Connector
    entry. SSL support requires the following steps (see the SSL Config
    HOWTO in the Tomcat 5 documentation bundle for more detailed
    instructions):
    * If your JDK version 1.3 or prior, download and install JSSE 1.0.2 or
    later, and put the JAR files into "$JAVA_HOME/jre/lib/ext".
    * Execute:
    %JAVA_HOME%\bin\keytool -genkey -alias tomcat -keyalg RSA (Windows)
    $JAVA_HOME/bin/keytool -genkey -alias tomcat -keyalg RSA (Unix)
    with a password value of "changeit" for both the certificate and
    the keystore itself.
    By default, DNS lookups are enabled when a web application calls
    request.getRemoteHost(). This can have an adverse impact on
    performance, so you can disable it by setting the
    "enableLookups" attribute to "false". When DNS lookups are disabled,
    request.getRemoteHost() will return the String version of the
    IP address of the remote client.
    -->
    <!-- Define a non-SSL HTTP/1.1 Connector on port 8080 -->
    <Connector
    port="5050" maxThreads="150" minSpareThreads="25" maxSpareThreads="75"
    enableLookups="false" redirectPort="8443" acceptCount="100"
    connectionTimeout="20000" disableUploadTimeout="true" />
    <!-- Note : To disable connection timeouts, set connectionTimeout value
    to 0 -->
         <!-- Note : To use gzip compression you could set the following properties :
                   compression="on"
                   compressionMinSize="2048"
                   noCompressionUserAgents="gozilla, traviata"
                   compressableMimeType="text/html,text/xml"
         -->
    <!-- Define a SSL HTTP/1.1 Connector on port 8443 -->
    <!--
    <Connector port="8443"
    maxThreads="150" minSpareThreads="25" maxSpareThreads="75"
    enableLookups="false" disableUploadTimeout="true"
    acceptCount="100" scheme="https" secure="true"
    clientAuth="false" sslProtocol="TLS" />
    -->
    <!-- Define an AJP 1.3 Connector on port 8009 -->
    <Connector port="8009"
    enableLookups="false" redirectPort="8443" protocol="AJP/1.3" />
    <!-- Define a Proxied HTTP/1.1 Connector on port 8082 -->
    <!-- See proxy documentation for more information about using this. -->
    <!--
    <Connector port="8082"
    maxThreads="150" minSpareThreads="25" maxSpareThreads="75"
    enableLookups="false" acceptCount="100" connectionTimeout="20000"
    proxyPort="80" disableUploadTimeout="true" />
    -->
    <!-- An Engine represents the entry point (within Catalina) that processes
    every request. The Engine implementation for Tomcat stand alone
    analyzes the HTTP headers included with the request, and passes them
    on to the appropriate Host (virtual host). -->
    <!-- You should set jvmRoute to support load-balancing via AJP ie :
    <Engine name="Standalone" defaultHost="localhost" jvmRoute="jvm1">
    -->
    <!-- Define the top level container in our container hierarchy -->
    <Engine name="Catalina" defaultHost="localhost">
    <!-- The request dumper valve dumps useful debugging information about
    the request headers and cookies that were received, and the response
    headers and cookies that were sent, for all requests received by
    this instance of Tomcat. If you care only about requests to a
    particular virtual host, or a particular application, nest this
    element inside the corresponding <Host> or <Context> entry instead.
    For a similar mechanism that is portable to all Servlet 2.4
    containers, check out the "RequestDumperFilter" Filter in the
    example application (the source for this filter may be found in
    "$CATALINA_HOME/webapps/examples/WEB-INF/classes/filters").
    Request dumping is disabled by default. Uncomment the following
    element to enable it. -->
    <!--
    <Valve className="org.apache.catalina.valves.RequestDumperValve"/>
    -->
    <!-- Because this Realm is here, an instance will be shared globally -->
    <!-- This Realm uses the UserDatabase configured in the global JNDI
    resources under the key "UserDatabase". Any edits
    that are performed against this UserDatabase are immediately
    available for use by the Realm. -->
    <Realm className="org.apache.catalina.realm.UserDatabaseRealm"
    resourceName="UserDatabase"/>
    <!-- Comment out the old realm but leave here for now in case we
    need to go back quickly -->
    <!--
    <Realm className="org.apache.catalina.realm.MemoryRealm" />
    -->
    <!-- Replace the above Realm with one of the following to get a Realm
    stored in a database and accessed via JDBC -->
    <!--
    <Realm className="org.apache.catalina.realm.JDBCRealm"
    driverName="org.gjt.mm.mysql.Driver"
    connectionURL="jdbc:mysql://localhost/authority"
    connectionName="test" connectionPassword="test"
    userTable="users" userNameCol="user_name" userCredCol="user_pass"
    userRoleTable="user_roles" roleNameCol="role_name" />
    -->
    <!--
    <Realm className="org.apache.catalina.realm.JDBCRealm"
    driverName="oracle.jdbc.driver.OracleDriver"
    connectionURL="jdbc:oracle:thin:@ntserver:1521:ORCL"
    connectionName="scott" connectionPassword="tiger"
    userTable="users" userNameCol="user_name" userCredCol="user_pass"
    userRoleTable="user_roles" roleNameCol="role_name" />
    -->
    <!--
    <Realm className="org.apache.catalina.realm.JDBCRealm"
    driverName="sun.jdbc.odbc.JdbcOdbcDriver"
    connectionURL="jdbc:odbc:CATALINA"
    userTable="users" userNameCol="user_name" userCredCol="user_pass"
    userRoleTable="user_roles" roleNameCol="role_name" />
    -->
    <!-- Define the default virtual host
    Note: XML Schema validation will not work with Xerces 2.2.
    -->
    <Host name="localhost" appBase="webapps"
    unpackWARs="true" autoDeploy="true"
    xmlValidation="false" xmlNamespaceAware="false">
    <!-- Defines a cluster for this node,
    By defining this element, means that every manager will be changed.
    So when running a cluster, only make sure that you have webapps in there
    that need to be clustered and remove the other ones.
    A cluster has the following parameters:
    className = the fully qualified name of the cluster class
    name = a descriptive name for your cluster, can be anything
    mcastAddr = the multicast address, has to be the same for all the nodes
    mcastPort = the multicast port, has to be the same for all the nodes
    mcastBindAddr = bind the multicast socket to a specific address
    mcastTTL = the multicast TTL if you want to limit your broadcast
    mcastSoTimeout = the multicast readtimeout
    mcastFrequency = the number of milliseconds in between sending a "I'm alive" heartbeat
    mcastDropTime = the number a milliseconds before a node is considered "dead" if no heartbeat is received
    tcpThreadCount = the number of threads to handle incoming replication requests, optimal would be the same amount of threads as nodes
    tcpListenAddress = the listen address (bind address) for TCP cluster request on this host,
    in case of multiple ethernet cards.
    auto means that address becomes
    InetAddress.getLocalHost().getHostAddress()
    tcpListenPort = the tcp listen port
    tcpSelectorTimeout = the timeout (ms) for the Selector.select() method in case the OS
    has a wakup bug in java.nio. Set to 0 for no timeout
    printToScreen = true means that managers will also print to std.out
    expireSessionsOnShutdown = true means that
    useDirtyFlag = true means that we only replicate a session after setAttribute,removeAttribute has been called.
    false means to replicate the session after each request.
    false means that replication would work for the following piece of code: (only for SimpleTcpReplicationManager)
    <%
    HashMap map = (HashMap)session.getAttribute("map");
    map.put("key","value");
    %>
    replicationMode = can be either 'pooled', 'synchronous' or 'asynchronous'.
    * Pooled means that the replication happens using several sockets in a synchronous way. Ie, the data gets replicated, then the request return. This is the same as the 'synchronous' setting except it uses a pool of sockets, hence it is multithreaded. This is the fastest and safest configuration. To use this, also increase the nr of tcp threads that you have dealing with replication.
    * Synchronous means that the thread that executes the request, is also the
    thread the replicates the data to the other nodes, and will not return until all
    nodes have received the information.
    * Asynchronous means that there is a specific 'sender' thread for each cluster node,
    so the request thread will queue the replication request into a "smart" queue,
    and then return to the client.
    The "smart" queue is a queue where when a session is added to the queue, and the same session
    already exists in the queue from a previous request, that session will be replaced
    in the queue instead of replicating two requests. This almost never happens, unless there is a
    large network delay.
    -->
    <!--
    When configuring for clustering, you also add in a valve to catch all the requests
    coming in, at the end of the request, the session may or may not be replicated.
    A session is replicated if and only if all the conditions are met:
    1. useDirtyFlag is true or setAttribute or removeAttribute has been called AND
    2. a session exists (has been created)
    3. the request is not trapped by the "filter" attribute
    The filter attribute is to filter out requests that could not modify the session,
    hence we don't replicate the session after the end of this request.
    The filter is negative, ie, anything you put in the filter, you mean to filter out,
    ie, no replication will be done on requests that match one of the filters.
    The filter attribute is delimited by ;, so you can't escape out ; even if you wanted to.
    filter=".*\.gif;.*\.js;" means that we will not replicate the session after requests with the URI
    ending with .gif and .js are intercepted.
    The deployer element can be used to deploy apps cluster wide.
    Currently the deployment only deploys/undeploys to working members in the cluster
    so no WARs are copied upons startup of a broken node.
    The deployer watches a directory (watchDir) for WAR files when watchEnabled="true"
    When a new war file is added the war gets deployed to the local instance,
    and then deployed to the other instances in the cluster.
    When a war file is deleted from the watchDir the war is undeployed locally
    and cluster wide
    -->
    <!--
    <Cluster className="org.apache.catalina.cluster.tcp.SimpleTcpCluster"
    managerClassName="org.apache.catalina.cluster.session.DeltaManager"
    expireSessionsOnShutdown="false"
    useDirtyFlag="true"
    notifyListenersOnReplication="true">
    <Membership
    className="org.apache.catalina.cluster.mcast.McastService"
    mcastAddr="228.0.0.4"
    mcastPort="45564"
    mcastFrequency="500"
    mcastDropTime="3000"/>
    <Receiver
    className="org.apache.catalina.cluster.tcp.ReplicationListener"
    tcpListenAddress="auto"
    tcpListenPort="4001"
    tcpSelectorTimeout="100"
    tcpThreadCount="6"/>
    <Sender
    className="org.apache.catalina.cluster.tcp.ReplicationTransmitter"
    replicationMode="pooled"
    ackTimeout="15000"/>
    <Valve className="org.apache.catalina.cluster.tcp.ReplicationValve"
    filter=".*\.gif;.*\.js;.*\.jpg;.*\.htm;.*\.html;.*\.txt;"/>
    <Deployer className="org.apache.catalina.cluster.deploy.FarmWarDeployer"
    tempDir="/tmp/war-temp/"
    deployDir="/tmp/war-deploy/"
    watchDir="/tmp/war-listen/"
    watchEnabled="false"/>
    </Cluster>
    -->
    <!-- Normally, users must authenticate themselves to each web app
    individually. Uncomment the following entry if you would like
    a user to be authenticated the first time they encounter a
    resource protected by a security constraint, and then have that
    user identity maintained across all web applications contained
    in this virtual host. -->
    <!--
    <Valve className="org.apache.catalina.authenticator.SingleSignOn" />
    -->
    <!-- Access log processes all requests for this virtual host. By
    default, log files are created in the "logs" directory relative to
    $CATALINA_HOME. If you wish, you can specify a different
    directory with the "directory" attribute. Specify either a relative
    (to $CATALINA_HOME) or absolute path to the desired directory.
    -->
    <!--
    <Valve className="org.apache.catalina.valves.AccessLogValve"
    directory="logs" prefix="localhost_access_log." suffix=".txt"
    pattern="common" resolveHosts="false"/>
    -->
    <!-- Access log processes all requests for this virtual host. By
    default, log files are created in the "logs" directory relative to
    $CATALINA_HOME. If you wish, you can specify a different
    directory with the "directory" attribute. Specify either a relative
    (to $CATALINA_HOME) or absolute path to the desired directory.
    This access log implementation is optimized for maximum performance,
    but is hardcoded to support only the "common" and "combined" patterns.
    -->
    <!--
    <Valve className="org.apache.catalina.valves.FastCommonAccessLogValve"
    directory="logs" prefix="localhost_access_log." suffix=".txt"
    pattern="common" resolveHosts="false"/>
    -->
    <Context path="/tdm" docBase="tdm" debug="0" reloadable="true" />
    </Host>
    </Engine>
    </Service>
    </Server>
    I have set the context path to /tdm in the server.xml file. Should this be placed in context.xml?
    My first page in the project is called Homepage.html. To start my project I give http://localhost:5050/tdm/homepage.html
    in a browser. Here I accept a username and password from the user and then do the validation in
    a valid.jsp file, where I connect to the database and check and use jsp:forward to go to next pages
    accordingly. However when I enter the username and password and click Go in the homepage, nothing is
    displayed on the next page. The URL in the browser says valid.jsp but a blank screen appears.
    WHY DOES IT HAPPEN SO? DOES IT MEAN THAT TOMCAT IS NOT RECOGNIZING JAVA IN MY SYSTEM OR IS IT A PROBLEM
    WITH THE DATABASE CONNECTION OR SOMETHING ELSE? I FEEL THAT TOMCAT IS NOT EXECUTING JSP COMMANDS?
    IS IT POSSIBLE?WHY WILL THIS HAPPEN?
    I set the JAVA_HOME and CATALINA_HOME environment to the jdk and tomcat folders resp.
    Is there any other thing that I need to set in classpath? Should I have my project as a
    WAR file in the webapps of TOMCAT or just a folder i.e. directory structure will fine?

    I am using Tomcat 5.5 and Jdk 1.5.0_12 and Oracle 10g. I am using jdbc-odbc bridge connection
    to connect to the database. I have placed my project folder called
    tdm under the webapps folder in Tomcat. This 'tdm' folder consists of
    a collection of html pages,jsp pages and images of my project. Also I created a
    WEB-INF folderand in that I have lib folder which contains catalina-root.jar
    , classes12.jar and nls_charset.jar files. And also in the WEB-INF folder I have the web.xml
    file which looks like this
    <?xml version="1.0" encoding="ISO-8859-1"?>
    <!--
    Copyright 2004 The Apache Software Foundation
    Licensed under the Apache License, Version 2.0 (the "License");
    you may not use this file except in compliance with the License.
    You may obtain a copy of the License at
    http://www.apache.org/licenses/LICENSE-2.0
    Unless required by applicable law or agreed to in writing, software
    distributed under the License is distributed on an "AS IS" BASIS,
    WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
    See the License for the specific language governing permissions and
    limitations under the License.
    -->
    <web-app>
    <resource-ref>
    <description>Oracle Datasource example</description>
    <res-ref-name>jdbc/gdn</res-ref-name>
    <res-type>javax.sql.DataSource</res-type>
    <res-auth>Container</res-auth>
    </resource-ref>
    </web-app>
    My Server.xml file in Tomcat\conf folder is as follows
    <!-- Example Server Configuration File -->
    <!-- Note that component elements are nested corresponding to their
    parent-child relationships with each other -->
    <!-- A "Server" is a singleton element that represents the entire JVM,
    which may contain one or more "Service" instances. The Server
    listens for a shutdown command on the indicated port.
    Note: A "Server" is not itself a "Container", so you may not
    define subcomponents such as "Valves" or "Loggers" at this level.
    -->
    <Server port="8005" shutdown="SHUTDOWN">
    <!-- Comment these entries out to disable JMX MBeans support used for the
    administration web application -->
    <Listener className="org.apache.catalina.mbeans.ServerLifecycleListener" />
    <Listener className="org.apache.catalina.mbeans.GlobalResourcesLifecycleListener" />
    <!-- Global JNDI resources -->
    <GlobalNamingResources>
    <!-- Test entry for demonstration purposes -->
    <Environment name="simpleValue" type="java.lang.Integer" value="30"/>
    <!-- Editable user database that can also be used by
    UserDatabaseRealm to authenticate users -->
    <Resource name="UserDatabase" auth="Container"
    type="org.apache.catalina.UserDatabase"
    description="User database that can be updated and saved"
    factory="org.apache.catalina.users.MemoryUserDatabaseFactory"
    pathname="conf/tomcat-users.xml" />
    <Resource name="jdbc/gdn" auth="Container"
    type="javax.sql.DataSource" driverClassName="sun.jdbc.odbc.JdbcOdbcDriver"
    url="jdbc:odbc:gdn"
    username="system" password="tiger" maxActive="20" maxIdle="10"
    maxWait="-1"/>
    </GlobalNamingResources>
    <!-- A "Service" is a collection of one or more "Connectors" that share
    a single "Container" (and therefore the web applications visible
    within that Container). Normally, that Container is an "Engine",
    but this is not required.
    Note: A "Service" is not itself a "Container", so you may not
    define subcomponents such as "Valves" or "Loggers" at this level.
    -->
    <!-- Define the Tomcat Stand-Alone Service -->
    <Service name="Catalina">
    <!-- A "Connector" represents an endpoint by which requests are received
    and responses are returned. Each Connector passes requests on to the
    associated "Container" (normally an Engine) for processing.
    By default, a non-SSL HTTP/1.1 Connector is established on port 8080.
    You can also enable an SSL HTTP/1.1 Connector on port 8443 by
    following the instructions below and uncommenting the second Connector
    entry. SSL support requires the following steps (see the SSL Config
    HOWTO in the Tomcat 5 documentation bundle for more detailed
    instructions):
    * If your JDK version 1.3 or prior, download and install JSSE 1.0.2 or
    later, and put the JAR files into "$JAVA_HOME/jre/lib/ext".
    * Execute:
    %JAVA_HOME%\bin\keytool -genkey -alias tomcat -keyalg RSA (Windows)
    $JAVA_HOME/bin/keytool -genkey -alias tomcat -keyalg RSA (Unix)
    with a password value of "changeit" for both the certificate and
    the keystore itself.
    By default, DNS lookups are enabled when a web application calls
    request.getRemoteHost(). This can have an adverse impact on
    performance, so you can disable it by setting the
    "enableLookups" attribute to "false". When DNS lookups are disabled,
    request.getRemoteHost() will return the String version of the
    IP address of the remote client.
    -->
    <!-- Define a non-SSL HTTP/1.1 Connector on port 8080 -->
    <Connector
    port="5050" maxThreads="150" minSpareThreads="25" maxSpareThreads="75"
    enableLookups="false" redirectPort="8443" acceptCount="100"
    connectionTimeout="20000" disableUploadTimeout="true" />
    <!-- Note : To disable connection timeouts, set connectionTimeout value
    to 0 -->
         <!-- Note : To use gzip compression you could set the following properties :
                   compression="on"
                   compressionMinSize="2048"
                   noCompressionUserAgents="gozilla, traviata"
                   compressableMimeType="text/html,text/xml"
         -->
    <!-- Define a SSL HTTP/1.1 Connector on port 8443 -->
    <!--
    <Connector port="8443"
    maxThreads="150" minSpareThreads="25" maxSpareThreads="75"
    enableLookups="false" disableUploadTimeout="true"
    acceptCount="100" scheme="https" secure="true"
    clientAuth="false" sslProtocol="TLS" />
    -->
    <!-- Define an AJP 1.3 Connector on port 8009 -->
    <Connector port="8009"
    enableLookups="false" redirectPort="8443" protocol="AJP/1.3" />
    <!-- Define a Proxied HTTP/1.1 Connector on port 8082 -->
    <!-- See proxy documentation for more information about using this. -->
    <!--
    <Connector port="8082"
    maxThreads="150" minSpareThreads="25" maxSpareThreads="75"
    enableLookups="false" acceptCount="100" connectionTimeout="20000"
    proxyPort="80" disableUploadTimeout="true" />
    -->
    <!-- An Engine represents the entry point (within Catalina) that processes
    every request. The Engine implementation for Tomcat stand alone
    analyzes the HTTP headers included with the request, and passes them
    on to the appropriate Host (virtual host). -->
    <!-- You should set jvmRoute to support load-balancing via AJP ie :
    <Engine name="Standalone" defaultHost="localhost" jvmRoute="jvm1">
    -->
    <!-- Define the top level container in our container hierarchy -->
    <Engine name="Catalina" defaultHost="localhost">
    <!-- The request dumper valve dumps useful debugging information about
    the request headers and cookies that were received, and the response
    headers and cookies that were sent, for all requests received by
    this instance of Tomcat. If you care only about requests to a
    particular virtual host, or a particular application, nest this
    element inside the corresponding <Host> or <Context> entry instead.
    For a similar mechanism that is portable to all Servlet 2.4
    containers, check out the "RequestDumperFilter" Filter in the
    example application (the source for this filter may be found in
    "$CATALINA_HOME/webapps/examples/WEB-INF/classes/filters").
    Request dumping is disabled by default. Uncomment the following
    element to enable it. -->
    <!--
    <Valve className="org.apache.catalina.valves.RequestDumperValve"/>
    -->
    <!-- Because this Realm is here, an instance will be shared globally -->
    <!-- This Realm uses the UserDatabase configured in the global JNDI
    resources under the key "UserDatabase". Any edits
    that are performed against this UserDatabase are immediately
    available for use by the Realm. -->
    <Realm className="org.apache.catalina.realm.UserDatabaseRealm"
    resourceName="UserDatabase"/>
    <!-- Comment out the old realm but leave here for now in case we
    need to go back quickly -->
    <!--
    <Realm className="org.apache.catalina.realm.MemoryRealm" />
    -->
    <!-- Replace the above Realm with one of the following to get a Realm
    stored in a database and accessed via JDBC -->
    <!--
    <Realm className="org.apache.catalina.realm.JDBCRealm"
    driverName="org.gjt.mm.mysql.Driver"
    connectionURL="jdbc:mysql://localhost/authority"
    connectionName="test" connectionPassword="test"
    userTable="users" userNameCol="user_name" userCredCol="user_pass"
    userRoleTable="user_roles" roleNameCol="role_name" />
    -->
    <!--
    <Realm className="org.apache.catalina.realm.JDBCRealm"
    driverName="oracle.jdbc.driver.OracleDriver"
    connectionURL="jdbc:oracle:thin:@ntserver:1521:ORCL"
    connectionName="scott" connectionPassword="tiger"
    userTable="users" userNameCol="user_name" userCredCol="user_pass"
    userRoleTable="user_roles" roleNameCol="role_name" />
    -->
    <!--
    <Realm className="org.apache.catalina.realm.JDBCRealm"
    driverName="sun.jdbc.odbc.JdbcOdbcDriver"
    connectionURL="jdbc:odbc:CATALINA"
    userTable="users" userNameCol="user_name" userCredCol="user_pass"
    userRoleTable="user_roles" roleNameCol="role_name" />
    -->
    <!-- Define the default virtual host
    Note: XML Schema validation will not work with Xerces 2.2.
    -->
    <Host name="localhost" appBase="webapps"
    unpackWARs="true" autoDeploy="true"
    xmlValidation="false" xmlNamespaceAware="false">
    <!-- Defines a cluster for this node,
    By defining this element, means that every manager will be changed.
    So when running a cluster, only make sure that you have webapps in there
    that need to be clustered and remove the other ones.
    A cluster has the following parameters:
    className = the fully qualified name of the cluster class
    name = a descriptive name for your cluster, can be anything
    mcastAddr = the multicast address, has to be the same for all the nodes
    mcastPort = the multicast port, has to be the same for all the nodes
    mcastBindAddr = bind the multicast socket to a specific address
    mcastTTL = the multicast TTL if you want to limit your broadcast
    mcastSoTimeout = the multicast readtimeout
    mcastFrequency = the number of milliseconds in between sending a "I'm alive" heartbeat
    mcastDropTime = the number a milliseconds before a node is considered "dead" if no heartbeat is received
    tcpThreadCount = the number of threads to handle incoming replication requests, optimal would be the same amount of threads as nodes
    tcpListenAddress = the listen address (bind address) for TCP cluster request on this host,
    in case of multiple ethernet cards.
    auto means that address becomes
    InetAddress.getLocalHost().getHostAddress()
    tcpListenPort = the tcp listen port
    tcpSelectorTimeout = the timeout (ms) for the Selector.select() method in case the OS
    has a wakup bug in java.nio. Set to 0 for no timeout
    printToScreen = true means that managers will also print to std.out
    expireSessionsOnShutdown = true means that
    useDirtyFlag = true means that we only replicate a session after setAttribute,removeAttribute has been called.
    false means to replicate the session after each request.
    false means that replication would work for the following piece of code: (only for SimpleTcpReplicationManager)
    <%
    HashMap map = (HashMap)session.getAttribute("map");
    map.put("key","value");
    %>
    replicationMode = can be either 'pooled', 'synchronous' or 'asynchronous'.
    * Pooled means that the replication happens using several sockets in a synchronous way. Ie, the data gets replicated, then the request return. This is the same as the 'synchronous' setting except it uses a pool of sockets, hence it is multithreaded. This is the fastest and safest configuration. To use this, also increase the nr of tcp threads that you have dealing with replication.
    * Synchronous means that the thread that executes the request, is also the
    thread the replicates the data to the other nodes, and will not return until all
    nodes have received the information.
    * Asynchronous means that there is a specific 'sender' thread for each cluster node,
    so the request thread will queue the replication request into a "smart" queue,
    and then return to the client.
    The "smart" queue is a queue where when a session is added to the queue, and the same session
    already exists in the queue from a previous request, that session will be replaced
    in the queue instead of replicating two requests. This almost never happens, unless there is a
    large network delay.
    -->
    <!--
    When configuring for clustering, you also add in a valve to catch all the requests
    coming in, at the end of the request, the session may or may not be replicated.
    A session is replicated if and only if all the conditions are met:
    1. useDirtyFlag is true or setAttribute or removeAttribute has been called AND
    2. a session exists (has been created)
    3. the request is not trapped by the "filter" attribute
    The filter attribute is to filter out requests that could not modify the session,
    hence we don't replicate the session after the end of this request.
    The filter is negative, ie, anything you put in the filter, you mean to filter out,
    ie, no replication will be done on requests that match one of the filters.
    The filter attribute is delimited by ;, so you can't escape out ; even if you wanted to.
    filter=".*\.gif;.*\.js;" means that we will not replicate the session after requests with the URI
    ending with .gif and .js are intercepted.
    The deployer element can be used to deploy apps cluster wide.
    Currently the deployment only deploys/undeploys to working members in the cluster
    so no WARs are copied upons startup of a broken node.
    The deployer watches a directory (watchDir) for WAR files when watchEnabled="true"
    When a new war file is added the war gets deployed to the local instance,
    and then deployed to the other instances in the cluster.
    When a war file is deleted from the watchDir the war is undeployed locally
    and cluster wide
    -->
    <!--
    <Cluster className="org.apache.catalina.cluster.tcp.SimpleTcpCluster"
    managerClassName="org.apache.catalina.cluster.session.DeltaManager"
    expireSessionsOnShutdown="false"
    useDirtyFlag="true"
    notifyListenersOnReplication="true">
    <Membership
    className="org.apache.catalina.cluster.mcast.McastService"
    mcastAddr="228.0.0.4"
    mcastPort="45564"
    mcastFrequency="500"
    mcastDropTime="3000"/>
    <Receiver
    className="org.apache.catalina.cluster.tcp.ReplicationListener"
    tcpListenAddress="auto"
    tcpListenPort="4001"
    tcpSelectorTimeout="100"
    tcpThreadCount="6"/>
    <Sender
    className="org.apache.catalina.cluster.tcp.ReplicationTransmitter"
    replicationMode="pooled"
    ackTimeout="15000"/>
    <Valve className="org.apache.catalina.cluster.tcp.ReplicationValve"
    filter=".*\.gif;.*\.js;.*\.jpg;.*\.htm;.*\.html;.*\.txt;"/>
    <Deployer className="org.apache.catalina.cluster.deploy.FarmWarDeployer"
    tempDir="/tmp/war-temp/"
    deployDir="/tmp/war-deploy/"
    watchDir="/tmp/war-listen/"
    watchEnabled="false"/>
    </Cluster>
    -->
    <!-- Normally, users must authenticate themselves to each web app
    individually. Uncomment the following entry if you would like
    a user to be authenticated the first time they encounter a
    resource protected by a security constraint, and then have that
    user identity maintained across all web applications contained
    in this virtual host. -->
    <!--
    <Valve className="org.apache.catalina.authenticator.SingleSignOn" />
    -->
    <!-- Access log processes all requests for this virtual host. By
    default, log files are created in the "logs" directory relative to
    $CATALINA_HOME. If you wish, you can specify a different
    directory with the "directory" attribute. Specify either a relative
    (to $CATALINA_HOME) or absolute path to the desired directory.
    -->
    <!--
    <Valve className="org.apache.catalina.valves.AccessLogValve"
    directory="logs" prefix="localhost_access_log." suffix=".txt"
    pattern="common" resolveHosts="false"/>
    -->
    <!-- Access log processes all requests for this virtual host. By
    default, log files are created in the "logs" directory relative to
    $CATALINA_HOME. If you wish, you can specify a different
    directory with the "directory" attribute. Specify either a relative
    (to $CATALINA_HOME) or absolute path to the desired directory.
    This access log implementation is optimized for maximum performance,
    but is hardcoded to support only the "common" and "combined" patterns.
    -->
    <!--
    <Valve className="org.apache.catalina.valves.FastCommonAccessLogValve"
    directory="logs" prefix="localhost_access_log." suffix=".txt"
    pattern="common" resolveHosts="false"/>
    -->
    <Context path="/tdm" docBase="tdm" debug="0" reloadable="true" />
    </Host>
    </Engine>
    </Service>
    </Server>
    I have set the context path to /tdm in the server.xml file. Should this be placed in context.xml?
    My first page in the project is called Homepage.html. To start my project I give http://localhost:5050/tdm/homepage.html
    in a browser. Here I accept a username and password from the user and then do the validation in
    a valid.jsp file, where I connect to the database and check and use jsp:forward to go to next pages
    accordingly. However when I enter the username and password and click Go in the homepage, nothing is
    displayed on the next page. The URL in the browser says valid.jsp but a blank screen appears.
    WHY DOES IT HAPPEN SO? DOES IT MEAN THAT TOMCAT IS NOT RECOGNIZING JAVA IN MY SYSTEM OR IS IT A PROBLEM
    WITH THE DATABASE CONNECTION OR SOMETHING ELSE? I FEEL THAT TOMCAT IS NOT EXECUTING JSP COMMANDS?
    IS IT POSSIBLE?WHY WILL THIS HAPPEN?
    I set the JAVA_HOME and CATALINA_HOME environment to the jdk and tomcat folders resp.
    Is there any other thing that I need to set in classpath? Should I have my project as a
    WAR file in the webapps of TOMCAT or just a folder i.e. directory structure will fine?

  • Problem with WebLogic 10.3.3, Apache 2.2.3 and WebLogic Apache proxy plugin

    I have a problem with using Apache 2.2.3 as a WebLogic SSL proxy. I have Apache 2.2 running and successfully configured an SSL cert, config in ssl.conf is...
    <VirtualHost secure.daftdonkey.com>
    # Setup SSL for secure.daftdonkey.com
    ServerName secure.daftdonkey.com
    SSLEngine On
    SSLCertificateFile /oracle/secure/secure.daftdonkey.com.crt
    SSLCertificateKeyFile /oracle/secure/secure.daftdonkey.com.key
    SSLCertificateChainFile /oracle/secure/gd_bundle.crt
    </VirtualHost>
    This works fine
    Now I want Apache to proxy requests to my WebLogic Server and secure them over SSL as well
    e.g. a request to https://secure.daftdonkey.com/service goes to https://weblogic.internal.site/service
    I have downloaded and configured the weblogic module and tested it handling traffic for HTTP and that worked, then I switched the WebLogic module to use SSL.
    LoadModule weblogic_module modules/mod_wl.so
    <IfModule mod_weblogic.c>
    WebLogicHost weblogic.internal.site
    WebLogicPort 16101
    Debug ALL
    SecureProxy ON
    WLSSLWallet /oracle/secure/my-wallet
    WLLogFile /tmp/wl-proxy.log
    </IfModule>
    <Location /service>
    SetHandler weblogic-handler
    </Location>
    Starting Apache throws the error. I think this is my main problem, i've searched support.oracle.com and not found anything.
    [Mon Jun 07 23:00:48 2010] [crit] (20014)Internal error: WL SSL Init failed for server: (null) on 0
    but Apache starts... I get this error when I make a request to https://secure.daftdonkey.com/service
    Failure of server APACHE bridge:
    No backend server available for connection: timed out after 10 seconds or idempotent set to OFF.
    Looking into the log /tmp/wl-proxy.log I see....
    Mon Jun 7 22:30:10 2010 <393212759749971> URLfactory Created
    Mon Jun 7 22:30:10 2010 <393312759750102> ================New Request: [GET /service HTTP/1.1] =================
    Mon Jun 7 22:30:10 2010 <393312759750102> INFO: SSL is configured
    Mon Jun 7 22:30:10 2010 <393312759750102> Using Uri /service
    Mon Jun 7 22:30:10 2010 <393312759750102> After trimming path: '/service'
    Mon Jun 7 22:30:10 2010 <393312759750102> The final request string is '/service'
    Mon Jun 7 22:30:10 2010 <393312759750102> parseServerList: Socket Address hostnames 'weblogic.internal.site:16101'
    Mon Jun 7 22:30:10 2010 <393312759750102> Host extracted from serverlist is [weblogic.internal.site]
    Mon Jun 7 22:30:10 2010 <393312759750102> parseServerList: IP from socket Address [192.168.100.15]
    Mon Jun 7 22:30:10 2010 <393312759750102> Initializing lastIndex=0 for a list of length=1
    Mon Jun 7 22:30:10 2010 <393312759750102> getListNode: created a new server node: id='weblogic.internal.site:16101' server_name='secure.daftdonkey.com', port='443'
    Mon Jun 7 22:30:10 2010 <393312759750102> attempt #0 out of a max of 5
    Mon Jun 7 22:30:10 2010 <393312759750102> Trying a pooled connection for '192.168.100.15/16101/16101'
    Mon Jun 7 22:30:10 2010 <393312759750102> getPooledConn: found a host and port/securePort match
    Mon Jun 7 22:30:10 2010 <393312759750102> getPooledConn: No more connections in the pool for Host[192.168.100.15] Port[16101] SecurePort[16101]
    Mon Jun 7 22:30:10 2010 <393312759750102> general list: trying connect to '192.168.100.15'/16101/16101 at line 3188 for '/service'
    Mon Jun 7 22:30:10 2010 <393312759750102> SSL is not configured for this connection
    Mon Jun 7 22:30:10 2010 <393312759750102> Local Port of the socket is 45580
    Mon Jun 7 22:30:10 2010 <393312759750102> Remote Host 192.168.100.15 Remote Port 16101
    Mon Jun 7 22:30:10 2010 <393312759750102> URL::connect SSLConn for reader is not set as it is NULL
    Mon Jun 7 22:30:10 2010 <393312759750102> general list: created a new connection to '192.168.100.15'/16101 for '/service', Local port:0
    Mon Jun 7 22:30:10 2010 <393312759750102> Hdrs from clnt:[Host]=[secure.daftdonkey.com]
    Mon Jun 7 22:30:10 2010 <393312759750102> Hdrs from clnt:[User-Agent]=[Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.1.9) Gecko/20100315 Firefox/3.5.9 ( .NET CLR 3.5.30729)]
    Mon Jun 7 22:30:10 2010 <393312759750102> Hdrs from clnt:[Accept]=[text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8]
    Mon Jun 7 22:30:10 2010 <393312759750102> Hdrs from clnt:[Accept-Language]=[en-us,en;q=0.5]
    Mon Jun 7 22:30:10 2010 <393312759750102> Hdrs from clnt:[Accept-Encoding]=[gzip,deflate]
    Mon Jun 7 22:30:10 2010 <393312759750102> Hdrs from clnt:[Accept-Charset]=[ISO-8859-1,utf-8;q=0.7,*;q=0.7]
    Mon Jun 7 22:30:10 2010 <393312759750102> Hdrs from clnt:[Keep-Alive]=[300]
    Mon Jun 7 22:30:10 2010 <393312759750102> Hdrs from clnt:[Connection]=[keep-alive]
    Mon Jun 7 22:30:10 2010 <393312759750102> parse_header is done
    Mon Jun 7 22:30:10 2010 <393312759750102> Method is GET
    Mon Jun 7 22:30:10 2010 <393312759750102> About to call parseHeaders
    Mon Jun 7 22:30:10 2010 <393312759750102> URL::parseHeaders: Value of parsedHeaders = [0]
    Mon Jun 7 22:30:10 2010 <393312759750102> URL::sendHeaders(): meth='GET' file='/service' protocol='HTTP/1.1'
    Mon Jun 7 22:30:10 2010 <393312759750102> Hdrs to WLS: [Host]=[secure.daftdonkey.com]
    Mon Jun 7 22:30:10 2010 <393312759750102> Hdrs to WLS: [User-Agent]=[Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.1.9) Gecko/20100315 Firefox/3.5.9 ( .NET CLR 3.5.30729)]
    Mon Jun 7 22:30:10 2010 <393312759750102> Hdrs to WLS: [Accept]=[text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8]
    Mon Jun 7 22:30:10 2010 <393312759750102> Hdrs to WLS: [Accept-Language]=[en-us,en;q=0.5]
    Mon Jun 7 22:30:10 2010 <393312759750102> Hdrs to WLS: [Accept-Encoding]=[gzip,deflate]
    Mon Jun 7 22:30:10 2010 <393312759750102> Hdrs to WLS: [Accept-Charset]=[ISO-8859-1,utf-8;q=0.7,*;q=0.7]
    Mon Jun 7 22:30:10 2010 <393312759750102> Hdrs to WLS: [Keep-Alive]=[300]
    Mon Jun 7 22:30:10 2010 <393312759750102> Hdrs to WLS: [Connection]=[Keep-Alive]
    Mon Jun 7 22:30:10 2010 <393312759750102> Hdrs to WLS: [WL-Proxy-SSL]=[true]
    Mon Jun 7 22:30:10 2010 <393312759750102> Hdrs to WLS: [WL-Proxy-Client-IP]=[192.168.100.245]
    Mon Jun 7 22:30:10 2010 <393312759750102> Hdrs to WLS: [Proxy-Client-IP]=[192.168.100.245]
    Mon Jun 7 22:30:10 2010 <393312759750102> Hdrs to WLS: [X-Forwarded-For]=[192.168.100.245]
    Mon Jun 7 22:30:10 2010 <393312759750102> Hdrs to WLS: [X-WebLogic-KeepAliveSecs]=[30]
    Mon Jun 7 22:30:10 2010 <393312759750102> Hdrs to WLS: [X-WebLogic-Force-JVMID]=[unset]
    Mon Jun 7 22:30:10 2010 <393312759750102> Reader::fill(): first=0 last=0 toRead=4096
    Mon Jun 7 22:30:10 2010 <393312759750102> Reader::fill(): sysRecv returned -1
    Mon Jun 7 22:30:10 2010 <393312759750102> *******Exception type [READ_ERROR_FROM_SERVER] (socket read failure) raised at line 251 of ../nsapi/Reader.cpp
    Mon Jun 7 22:30:10 2010 <393312759750102> caught exception in readStatus: READ_ERROR_FROM_SERVER [os error=104, line 251 of ../nsapi/Reader.cpp]: socket read failure at line 963
    Mon Jun 7 22:30:10 2010 <393312759750102> PROTOCOL_ERROR: Backend Server not responding - isRecycled:0
    Mon Jun 7 22:30:10 2010 <393312759750102> Marking 192.168.100.15:16101 as bad
    Mon Jun 7 22:30:10 2010 <393312759750102> got exception in sendRequest phase: Backend Server not responding at line 3702
    Mon Jun 7 22:30:10 2010 <393312759750102> Failing over after sendRequest() exception: PROTOCOL_ERROR as Idempotent is set to ON
    Mon Jun 7 22:30:10 2010 <393312759750102> attempt #1 out of a max of 5
    However connecting directly to https://192.168.100.15:16101/irm_rights is successful.
    Ouput from orapki seems to show a valid wallet.
    [root@content my-wallet]# /oracle/install/bin/orapki wallet display -wallet /oracle/secure/my-wallet/
    Oracle PKI Tool : Version 11.1.1.2.0
    Copyright (c) 2004, 2009, Oracle and/or its affiliates. All rights reserved.
    Requested Certificates:
    User Certificates:
    Trusted Certificates:
    Subject: OU=Class 2 Public Primary Certification Authority,O=VeriSign\, Inc.,C=US
    Subject: OU=Secure Server Certification Authority,O=RSA Data Security\, Inc.,C=US
    Subject: OU=Class 3 Public Primary Certification Authority,O=VeriSign\, Inc.,C=US
    Subject: OU=Class 1 Public Primary Certification Authority,O=VeriSign\, Inc.,C=US
    Subject: CN=weblogic.internal.site,OU=FOR TESTING ONLY,O=MyOrganization,L=MyTown,ST=MyState,C=US
    Subject: CN=GTE CyberTrust Global Root,OU=GTE CyberTrust Solutions\, Inc.,O=GTE Corporation,C=US
    Also the apache log at /var/log/httpd/ssl_error_log shows.
    [Mon Jun 07 23:59:03 2010] [error] [client 192.168.100.245] ap_proxy: trying GET /service/ at backend host '192.168.100.15/16101; got exception 'Backend Server not responding'
    [Mon Jun 07 23:59:03 2010] [error] [client 192.168.100.245] ap_proxy: trying GET /service/ at backend host '192.168.100.15/16101; got exception 'Backend Server not responding'
    [Mon Jun 07 23:59:03 2010] [error] [client 192.168.100.245] ap_proxy: trying GET /service/ at backend host '192.168.100.15/16101; got exception 'Backend Server not responding'
    [Mon Jun 07 23:59:03 2010] [error] [client 192.168.100.245] ap_proxy: trying GET /service/ at backend host '192.168.100.15/16101; got exception 'Backend Server not responding'
    [Mon Jun 07 23:59:03 2010] [error] [client 192.168.100.245] ap_proxy: trying GET /service/ at backend host '192.168.100.15/16101; got exception 'Backend Server not responding'
    [Mon Jun 07 23:59:03 2010] [error] [client 192.168.100.245] ap_proxy: trying GET /service/ at backend host '192.168.100.15/16101; got exception 'Backend Server not responding'
    Editing the httpd.conf and sending traffic from Apache to WebLogic over regular HTTP works, config is...
    LoadModule weblogic_module modules/mod_wl.so
    <IfModule mod_weblogic.c>
    WebLogicHost weblogic.internal.site
    WebLogicPort 16100
    Debug ALL
    # SecureProxy ON
    # WLSSLWallet /oracle/secure/my-wallet
    WLLogFile /tmp/wl-proxy.log
    </IfModule>
    Resulting detail from /tmp/wl-proxy.log
    Mon Jun 7 23:20:50 2010 <415912759780351> URLfactory Created
    Mon Jun 7 23:20:50 2010 <416012759780502> ================New Request: [GET /service/ HTTP/1.1] =================
    Mon Jun 7 23:20:50 2010 <416012759780502> Using Uri /service/
    Mon Jun 7 23:20:50 2010 <416012759780502> After trimming path: '/service/'
    Mon Jun 7 23:20:50 2010 <416012759780502> The final request string is '/service/'
    Mon Jun 7 23:20:50 2010 <416012759780502> parseServerList: Socket Address hostnames 'weblogic.internal.site:16100'
    Mon Jun 7 23:20:50 2010 <416012759780502> Host extracted from serverlist is [weblogic.internal.site]
    Mon Jun 7 23:20:50 2010 <416012759780502> parseServerList: IP from socket Address [192.168.100.15]
    Mon Jun 7 23:20:50 2010 <416012759780502> Initializing lastIndex=0 for a list of length=1
    Mon Jun 7 23:20:50 2010 <416012759780502> getListNode: created a new server node: id='weblogic.internal.site:16100' server_name='secure.daftdonkey.com', port='443'
    Mon Jun 7 23:20:50 2010 <416012759780502> attempt #0 out of a max of 5
    Mon Jun 7 23:20:50 2010 <416012759780502> Trying a pooled connection for '192.168.100.15/16100/16100'
    Mon Jun 7 23:20:50 2010 <416012759780502> getPooledConn: found a host and port/securePort match
    Mon Jun 7 23:20:50 2010 <416012759780502> getPooledConn: No more connections in the pool for Host[192.168.100.15] Port[16100] SecurePort[16100]
    Mon Jun 7 23:20:50 2010 <416012759780502> general list: trying connect to '192.168.100.15'/16100/16100 at line 3188 for '/service/'
    Mon Jun 7 23:20:50 2010 <416012759780502> SSL is not configured for this connection
    Mon Jun 7 23:20:50 2010 <416012759780502> Local Port of the socket is 56647
    Mon Jun 7 23:20:50 2010 <416012759780502> Remote Host 192.168.100.15 Remote Port 16100
    Mon Jun 7 23:20:50 2010 <416012759780502> URL::connect SSLConn for reader is not set as it is NULL
    Mon Jun 7 23:20:50 2010 <416012759780502> general list: created a new connection to '192.168.100.15'/16100 for '/service/', Local port:0
    Mon Jun 7 23:20:50 2010 <416012759780502> Hdrs from clnt:[Host]=[secure.daftdonkey.com]
    Mon Jun 7 23:20:50 2010 <416012759780502> Hdrs from clnt:[User-Agent]=[Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.1.9) Gecko/20100315 Firefox/3.5.9 ( .NET CLR 3.5.30729)]
    Mon Jun 7 23:20:50 2010 <416012759780502> Hdrs from clnt:[Accept]=[text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8]
    Mon Jun 7 23:20:50 2010 <416012759780502> Hdrs from clnt:[Accept-Language]=[en-us,en;q=0.5]
    Mon Jun 7 23:20:50 2010 <416012759780502> Hdrs from clnt:[Accept-Encoding]=[gzip,deflate]
    Mon Jun 7 23:20:50 2010 <416012759780502> Hdrs from clnt:[Accept-Charset]=[ISO-8859-1,utf-8;q=0.7,*;q=0.7]
    Mon Jun 7 23:20:50 2010 <416012759780502> Hdrs from clnt:[Keep-Alive]=[300]
    Mon Jun 7 23:20:50 2010 <416012759780502> Hdrs from clnt:[Connection]=[keep-alive]
    Mon Jun 7 23:20:50 2010 <416012759780502> Hdrs from clnt:[Cookie]=[JSESSIONID=YF4nMNfZ3lJ5ZrVV9HGpKwj3hf12yRvlf4zksQf6pkKx2LhJ2ywY!34167467]
    Mon Jun 7 23:20:50 2010 <416012759780502> parse_header is done
    Mon Jun 7 23:20:50 2010 <416012759780502> Method is GET
    Mon Jun 7 23:20:50 2010 <416012759780502> About to call parseHeaders
    Mon Jun 7 23:20:50 2010 <416012759780502> URL::parseHeaders: Value of parsedHeaders = [0]
    Mon Jun 7 23:20:50 2010 <416012759780502> URL::sendHeaders(): meth='GET' file='/service/' protocol='HTTP/1.1'
    Mon Jun 7 23:20:50 2010 <416012759780502> Hdrs to WLS: [Host]=[secure.daftdonkey.com]
    Mon Jun 7 23:20:50 2010 <416012759780502> Hdrs to WLS: [User-Agent]=[Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.1.9) Gecko/20100315 Firefox/3.5.9 ( .NET CLR 3.5.30729)]
    Mon Jun 7 23:20:50 2010 <416012759780502> Hdrs to WLS: [Accept]=[text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8]
    Mon Jun 7 23:20:50 2010 <416012759780502> Hdrs to WLS: [Accept-Language]=[en-us,en;q=0.5]
    Mon Jun 7 23:20:50 2010 <416012759780502> Hdrs to WLS: [Accept-Encoding]=[gzip,deflate]
    Mon Jun 7 23:20:50 2010 <416012759780502> Hdrs to WLS: [Accept-Charset]=[ISO-8859-1,utf-8;q=0.7,*;q=0.7]
    Mon Jun 7 23:20:50 2010 <416012759780502> Hdrs to WLS: [Keep-Alive]=[300]
    Mon Jun 7 23:20:50 2010 <416012759780502> Hdrs to WLS: [Cookie]=[JSESSIONID=YF4nMNfZ3lJ5ZrVV9HGpKwj3hf12yRvlf4zksQf6pkKx2LhJ2ywY!34167467]
    Mon Jun 7 23:20:50 2010 <416012759780502> Hdrs to WLS: [Connection]=[Keep-Alive]
    Mon Jun 7 23:20:50 2010 <416012759780502> Hdrs to WLS: [WL-Proxy-SSL]=[true]
    Mon Jun 7 23:20:50 2010 <416012759780502> Hdrs to WLS: [WL-Proxy-Client-IP]=[192.168.100.245]
    Mon Jun 7 23:20:50 2010 <416012759780502> Hdrs to WLS: [Proxy-Client-IP]=[192.168.100.245]
    Mon Jun 7 23:20:50 2010 <416012759780502> Hdrs to WLS: [X-Forwarded-For]=[192.168.100.245]
    Mon Jun 7 23:20:50 2010 <416012759780502> Hdrs to WLS: [X-WebLogic-KeepAliveSecs]=[30]
    Mon Jun 7 23:20:50 2010 <416012759780502> Hdrs to WLS: [X-WebLogic-Force-JVMID]=[unset]
    Mon Jun 7 23:20:50 2010 <416012759780502> Reader::fill(): first=0 last=0 toRead=4096
    Mon Jun 7 23:20:50 2010 <416012759780502> Reader::fill(): sysRecv returned 568
    Mon Jun 7 23:20:50 2010 <416012759780502> URL::parseHeaders: CompleteStatusLine set to [HTTP/1.1 302 Moved Temporarily]
    Mon Jun 7 23:20:50 2010 <416012759780502> URL::parseHeaders: StatusLine set to [302 Moved Temporarily]
    Mon Jun 7 23:20:50 2010 <416012759780502> Hdrs from WLS:[Date]=[Tue, 08 Jun 2010 06:20:50 GMT]
    Mon Jun 7 23:20:50 2010 <416012759780502> Hdrs from WLS:[Transfer-Encoding]=[chunked]
    Mon Jun 7 23:20:50 2010 <416012759780502> Hdrs from WLS:[Location]=[https://secure.daftdonkey.com/service/faces/LoginPage.jspx]
    Mon Jun 7 23:20:50 2010 <416012759780502> Hdrs from WLS:[X-WebLogic-JVMID]=[34167467]
    Mon Jun 7 23:20:50 2010 <416012759780502> Hdrs from WLS:[X-Powered-By]=[Servlet/2.5 JSP/2.1]
    Mon Jun 7 23:20:50 2010 <416012759780502> parsed all headers OK
    Mon Jun 7 23:20:50 2010 <416012759780502> done with sendRequest
    Mon Jun 7 23:20:50 2010 <416012759780502> sendResponse() : r->status = '302'
    Mon Jun 7 23:20:50 2010 <416012759780502> Hdrs to client (add):[Date]=[Tue, 08 Jun 2010 06:20:50 GMT]
    Mon Jun 7 23:20:50 2010 <416012759780502> Hdrs to client (add):[Location]=[https://secure.daftdonkey.com/service/faces/LoginPage.jspx]
    Mon Jun 7 23:20:50 2010 <416012759780502> for 192.168.100.15/16100/16100, updated JVMID: 34167467
    Mon Jun 7 23:20:50 2010 <416012759780502> Hdrs to client (add):[X-Powered-By]=[Servlet/2.5 JSP/2.1]
    Mon Jun 7 23:20:50 2010 <416012759780502> calling closeConn() with non-null URL* at 3826
    Mon Jun 7 23:20:50 2010 <416012759780502> canRecycle: conn=1 status=302 isKA=1 clen=-1 isCTE=1
    Mon Jun 7 23:20:50 2010 <416012759780502> closeConn: pooling for '192.168.100.15/16100'
    Mon Jun 7 23:20:50 2010 <416012759780502> closeConn: pooling '0'
    Mon Jun 7 23:20:50 2010 <416012759780502> request [irm_rights/] processed successfully..................
    Mon Jun 7 23:20:50 2010 <415912759780351> Cleaning up the list node 'weblogic.internal.site:16100'list Length '1'

    I found the answer to this. The documentation is not clear enough, LD_LIBRARY_PATH MUST be set and MUST have a pointer to the directory where the SSL .so modules are. I wrote up a blog article explaining the configuration and detailed this issue.
    http://blogs.oracle.com/irm/2010/06/quick_guide_to_oracle_irm_11g_1.html

  • Problem with Amanda

    Hi All, i have a problem with the Amanda under soalris 10, the planner is not able to get an estimate, se below:
    AMANDA bex> /usr/local/libexec/planner daily
    planner: pid 3833 executable /usr/local/libexec/planner version 2.5.1
    planner: build: VERSION="Amanda-2.5.1"
    planner:        BUILT_DATE="Thu Sep 14 22:40:36 CEST 2006"
    planner:        BUILT_MACH="SunOS bex 5.10 Generic_118855-14 i86pc i386 i86pc"
    planner:        CC="gcc"
    planner:        CONFIGURE_COMMAND="'./configure' '--with-group=amanda' '--with-user=amanda' '--datadir=/opt/local/share' '--sysconfdir=/opt/local/etc' '--sharedstatedir=/opt/local/com' '--localstatedir=/opt/local/var'"
    planner: paths: bindir="/usr/local/bin" sbindir="/usr/local/sbin"
    planner:        libexecdir="/usr/local/libexec" mandir="/usr/local/man"
    planner:        AMANDA_TMPDIR="/tmp/amanda" AMANDA_DBGDIR="/tmp/amanda"
    planner:        CONFIG_DIR="/opt/local/etc/amanda" DEV_PREFIX="/dev/dsk/"
    planner:        RDEV_PREFIX="/dev/rdsk/" DUMP="/usr/sbin/ufsdump"
    planner:        RESTORE="/usr/sbin/ufsrestore" VDUMP=UNDEF VRESTORE=UNDEF
    planner:        XFSDUMP=UNDEF XFSRESTORE=UNDEF VXDUMP=UNDEF VXRESTORE=UNDEF
    planner:        SAMBA_CLIENT=UNDEF GNUTAR=UNDEF
    planner:        COMPRESS_PATH="/usr/bin/gzip"
    planner:        UNCOMPRESS_PATH="/usr/bin/gzip" LPRCMD="/usr/bin/lp"
    planner:        MAILER="/usr/bin/mailx"
    planner:        listed_incr_dir="/opt/local/var/amanda/gnutar-lists"
    planner: defs:  DEFAULT_SERVER="bex" DEFAULT_CONFIG="DailySet1"
    planner:        DEFAULT_TAPE_SERVER="bex" HAVE_MMAP HAVE_SYSVSHM
    planner:        LOCKING=POSIX_FCNTL SETPGRP_VOID DEBUG_CODE
    planner:        AMANDA_DEBUG_DAYS=4 BSD_SECURITY RSH_SECURITY USE_AMANDAHOSTS
    planner:        CLIENT_LOGIN="amanda" FORCE_USERID HAVE_GZIP
    planner:        COMPRESS_SUFFIX=".gz" COMPRESS_FAST_OPT="--fast"
    planner:        COMPRESS_BEST_OPT="--best" UNCOMPRESS_OPT="-dc"
    READING CONF FILES...
    DATE 20060919082701
    planner: timestamp 20060919082701
    planner: time 0.233: startup took 0.233 secs
    SENDING FLUSHES...
    ENDFLUSH
    ENDFLUSH
    SETTING UP FOR ESTIMATES...
    planner: time 0.234: setting up estimates for bex.martel-consulting.ch:d0
    bex.martel-consulting.ch:d0 overdue 13410 days for level 0
    setup_estimate: bex.martel-consulting.ch:d0: command 0, options: none    last_level -1 next_level0 -13410 level_days 0    getting estimates 0 (-2) -1 (-2) -1 (-2)
    planner: time 0.236: setting up estimates took 0.001 secs
    GETTING ESTIMATES...
    planner: time 0.420: got result for host bex.martel-consulting.ch disk d0: 0 -> -2K, -1 -> -2K, -1 -> -2K
    error result for host bex.martel-consulting.ch disk d0: missing estimate
    planner: time 0.421: getting estimates took 0.184 secs
    FAILED QUEUE:
      0: bex.martel-consulting.ch d0
    DONE QUEUE: empty
    ANALYZING ESTIMATES...
    planner: FAILED bex.martel-consulting.ch d0 20060919082701 0 [missing result for d0 in bex.martel-consulting.ch response]
    INITIAL SCHEDULE (size 2064):
    DELAYING DUMPS IF NEEDED, total_size 2064, tape length 30793728 mark 1000
      delay: Total size now 2064.
    PROMOTING DUMPS IF NEEDED, total_lev0 0, balanced_size 0...
    planner: time 0.421: analysis took 0.000 secs
    GENERATING SCHEDULE:
    I have a .amandahosts:
    AMANDA bex> ls -l .amandahosts
    -rw-------   1 amanda   amanda        11 Sep 16 22:25 .amandahosts
    AMANDA bex> more .amandahosts
    bex amanda
    the amanda service is defined
    bex> grep amanda /etc/services
    amanda          10080/udp
    amandaidx       10082/tcp
    bex> inetadm | grep amanda
    enabled   online         svc:/network/amandaidx/tcp:default
    enabled   online         svc:/network/amanda/udp:default
    bex> inetadm -l svc:/network/amanda/udp:default
    SCOPE    NAME=VALUE
             name="amanda"
             endpoint_type="dgram"
             proto="udp"
             isrpc=FALSE
             wait=TRUE
             exec="/usr/local/libexec/amandad"
             user="amanda"
    default  bind_addr=""
    default  bind_fail_max=-1
    default  bind_fail_interval=-1
    default  max_con_rate=-1
    default  max_copies=-1
    default  con_rate_offline=-1
    default  failrate_cnt=40
    default  failrate_interval=60
    default  inherit_env=TRUE
    default  tcp_trace=FALSE
    default  tcp_wrappers=FALSE
    bex>
    my config is
    bex> cat /opt/local/etc/amanda/daily/amanda.conf
    # amanda.conf - sample Amanda configuration file. See amanda.conf(5) for
    # details
    org      "BackupService"        # your organization name for reports
    mailto   "[email protected]"    # space separated list of operators at your site
    dumpuser "amanda"       # the user to run dumps under
    inparallel 4            # maximum dumpers that will run in parallel (max 63)
                            # this maximum can be increased at compile-time,
                            # modifying MAX_DUMPERS in server-src/driverio.h
    dumporder "sssS"        # specify the priority order of each dumper
                            #   s -> smallest size
                            #   S -> biggest size
                            #   t -> smallest time
                            #   T -> biggest time
                            #   b -> smallest bandwitdh
                            #   B -> biggest bandwitdh
                            # try "BTBTBTBTBTBT" if you are not holding
                            # disk constrained
    taperalgo first         # The algorithm used to choose which dump image to send
                            # to the taper.
                            # Possible values:
                            # [first|firstfit|largest|largestfit|smallest|last]
                            # Default: first.
                            # first         First in - first out.
                            # firstfit      The first dump image that will fit
                            #               on the current tape.
                            # largest       The largest dump image.
                            # largestfit    The largest dump image that will fit
                            #               on the current tape.
                            # smallest      The smallest dump image.
                            # last          Last in - first out.
    displayunit "k"         # Possible values: "k|m|g|t"
                            # Default: k.
                            # The unit used to print many numbers.
                            # k=kilo, m=mega, g=giga, t=tera
    netusage  600 Kbps      # maximum net bandwidth for Amanda, in KB per sec
    dumpcycle 4 weeks       # the number of days in the normal dump cycle
    runspercycle 20         # the number of amdump runs in dumpcycle days
                            # (4 weeks * 5 amdump runs per week -- just weekdays)
    #tapecycle 25 tapes     # the number of tapes in rotation
                            # 4 weeks (dumpcycle) times 5 tapes per week (just
                            # the weekdays) plus a few to handle errors that
                            # need amflush and so we do not overwrite the full
                            # backups performed at the beginning of the previous
                            # cycle
    #* vtapes
    define tapetype HARD-DISK {
    comment "Dump onto hard disk"
    length 30072 mbytes # specified in mbytes to get the exact size of 3GB
    tapecycle 20
    tapetype HARD-DISK
    tpchanger "chg-disk"
    changerfile "/opt/local/etc/amanda/daily/changer"
    tapedev "file:/backupdisk1/daily"
    bumpsize 20 Mb          # minimum savings (threshold) to bump level 1 -> 2
    bumppercent 20          # minimum savings (threshold) to bump level 1 -> 2
    bumpdays 1              # minimum days at each level
    bumpmult 4              # threshold = bumpsize * bumpmult^(level-1)
    etimeout 300            # number of seconds per filesystem for estimates.
    dtimeout 1800           # number of idle seconds before a dump is aborted.
    ctimeout 30             # maximum number of seconds that amcheck waits
                            # for each client host
    tapebufs 20             # A positive integer telling taper how many
                            # 32k buffers to allocate.  The default is 20 (640k).
    # By default, Amanda can only track at most one run per calendar day. When
    # the usetimestamps option is enabled, however, Amanda can track as many
    # runs as you care to make.
    # WARNING: This option is not backward-compatible. Do not enable it if you
    #          intend to downgrade your server installation to Amanda community
    #          edition 2.5
    usetimestamps yes
    # Specify tape device and/or tape changer.  If you don't have a tape
    # changer, and you don't want to use more than one tape per run of
    # amdump, just comment out the definition of tpchanger.
    # Some tape changers require tapedev to be defined; others will use
    # their own tape device selection mechanism.  Some use a separate tape
    # changer device (changerdev), others will simply ignore this
    # parameter.  Some rely on a configuration file (changerfile) to
    # obtain more information about tape devices, number of slots, etc;
    # others just need to store some data in files, whose names will start
    # with changerfile.
    # At most one changerfile entry must be defined; select the most
    # appropriate one for your configuration.  If you select man-changer,
    # keep the first one; if you decide not to use a tape changer, you may
    # comment them all out.
    runtapes 1                      # number of tapes to be used in a single run of amdump
    ##tpchanger "chg-manual"                # the tape-changer glue script
    ##tapedev ""    # the no-rewind tape device to be used
    rawtapedev "/dev/null"  # the raw device to be used (ftape only)
    #changerfile "/usr/local/etc/amanda/DailySet1/changer"
    #changerfile "/usr/local/etc/amanda/DailySet1/changer-status"
    ##changerfile "/usr/local/etc/amanda/DailySet1/changer.conf"
    changerdev "/dev/null"
    # If you want Amanda to automatically label any non-Amanda tapes it
    # encounters, uncomment the line below. Note that this will ERASE any
    # non-Amanda tapes you may have, and may also ERASE any near-failing tapes.
    # Use with caution.
    ## label_new_tapes "DailySet1-%%%"
    maxdumpsize -1          # Maximum number of bytes the planner will schedule
                            # for a run (default: runtapes * tape_length).
    ##tapetype HP-DAT               # what kind of tape it is (see tapetypes below)
    labelstr "^DailySet1-[0-9][0-9]*$"      # label constraint regex: all tapes must match
    amrecover_do_fsf yes            # amrecover will call amrestore with the
                                    # -f flag for faster positioning of the tape.
    amrecover_check_label yes       # amrecover will call amrestore with the
                                    # -l flag to check the label.
    amrecover_changer ""    # amrecover will use the changer if you restore
                                    # from this device.
                                    # It could be a string like 'changer' and
                                    # amrecover will use your changer if you
                                    # set your tape with 'settape changer'
    # Specify holding disks.  These are used as a temporary staging area for
    # dumps before they are written to tape and are recommended for most sites.
    # The advantages include: tape drive is more likely to operate in streaming
    # mode (which reduces tape and drive wear, reduces total dump time); multiple
    # dumps can be done in parallel (which can dramatically reduce total dump time.
    # The main disadvantage is that dumps on the holding disk need to be flushed
    # (with amflush) to tape after an operating system crash or a tape failure.
    # If no holding disks are specified then all dumps will be written directly
    # to tape.  If a dump is too big to fit on the holding disk than it will be
    # written directly to tape.  If more than one holding disk is specified then
    # they will all be used based on activity and available space.
    holdingdisk hd1 {
        comment "main holding disk"
        directory "/dumps/amanda"   # where the holding disk is
        use -100 Mb                 # how much space can we use on it
                                    # a non-positive value means:
                                    # use all space but that value
        chunksize 1Gb       # size of chunk if you want big dump to be
                            # dumped on multiple files on holding disks
                            #  N Kb/Mb/Gb split images in chunks of size N
                            #             The maximum value should be
                            #             (MAX_FILE_SIZE - 1Mb)
                            #  0          same as INT_MAX bytes
    #holdingdisk hd2 {
    #    directory "/dumps2/amanda"
    #    use 1000 Mb
    #holdingdisk hd3 {
    #    directory "/mnt/disk4"
    #    use 1000 Mb
    # If amanda cannot find a tape on which to store backups, it will run
    # as many backups as it can to the holding disks.  In order to save
    # space for unattended backups, by default, amanda will only perform
    # incremental backups in this case, i.e., it will reserve 100% of the
    # holding disk space for the so-called degraded mode backups.
    # However, if you specify a different value for the `reserve'
    # parameter, amanda will not degrade backups if they will fit in the
    # non-reserved portion of the holding disk.
    # reserve 30 # percent
    # This means save at least 30% of the holding disk space for degraded
    # mode backups.
    autoflush no #
    # if autoflush is set to yes, then amdump will schedule all dump on
    # holding disks to be flush to tape during the run.
    # The format for a ColumnSpec is a ',' seperated list of triples.
    # Each triple consists of
    #   + the name of the column (as in ColumnNameStrings)
    #   + prefix before the column
    #   + the width of the column, if set to -1 it will be recalculated
    #     to the maximum length of a line to print.
    # Example:
    #       "Disk=1:17,HostName=1:10,OutKB=1:7"
    # or
    #       "Disk=1:-1,HostName=1:10,OutKB=1:7"
    # You need only specify those colums that should be changed from
    # the default. If nothing is specified in the configfile, the
    # above compiled in values will be in effect, resulting in an
    # output as it was all the time.
    # The names of the colums are:
    # HostName, Disk, Level, OrigKB, OutKB, Compress, DumpTime, DumpRate,
    # TapeTime and TapeRate.
    #                                                       ElB, 1999-02-24.
    # columnspec "Disk=1:18,HostName=0:10,OutKB=1:7"
    # Amanda needs a few Mb of diskspace for the log and debug files,
    # as well as a database.  This stuff can grow large, so the conf directory
    # isn't usually appropriate.  Some sites use /usr/local/var and some /usr/adm.
    # Create an amanda directory under there.  You need a separate infofile and
    # logdir for each configuration, so create subdirectories for each conf and
    # put the files there.  Specify the locations below.
    # Note that, although the keyword below is infofile, it is only so for
    # historic reasons, since now it is supposed to be a directory (unless
    # you have selected some database format other than the `text' default)
    infofile "/opt/local/etc/amanda/daily/curinfo"  # database DIRECTORY
    logdir   "/opt/local/etc/amanda/daily"          # log directory
    indexdir "/opt/local/etc/amanda/daily/index"            # index directory
    #tapelist "/usr/local/etc/amanda/DailySet1/tapelist"    # list of used tapes
    # tapelist is stored, by default, in the directory that contains amanda.conf
    # tapetypes
    # Define the type of tape you use here, and use it in "tapetype"
    # above.  Some typical types of tapes are included here.  The tapetype
    # tells amanda how many MB will fit on the tape, how big the filemarks
    # are, and how fast the tape device is.
    # A filemark is the amount of wasted space every time a tape section
    # ends.  If you run `make tapetype' in tape-src, you'll get a program
    # that generates tapetype entries, but it is slow as hell, use it only
    # if you really must and, if you do, make sure you post the data to
    # the amanda mailing list, so that others can use what you found out
    # by searching the archives.
    # For completeness Amanda should calculate the inter-record gaps too,
    # but it doesn't.  For EXABYTE and DAT tapes this is ok.  Anyone using
    # 9 tracks for amanda and need IRG calculations?  Drop me a note if
    # so.
    # If you want amanda to print postscript paper tape labels
    # add a line after the comment in the tapetype of the form
    #    lbl-templ "/path/to/postscript/template/label.ps"
    # if you want the label to go to a printer other than the default
    # for your system, you can also add a line above for a different
    # printer. (i usually add that line after the dumpuser specification)
    # dumpuser "operator"     # the user to run dumps under
    # printer "mypostscript"  # printer to print paper label on
    # here is an example of my definition for an EXB-8500
    # define tapetype EXB-8500 {
    #     lbl-templ "/usr/local/etc/amanda/config/lbl.exabyte.ps"
    define tapetype QIC-60 {
        comment "Archive Viper"
        length 60 mbytes
        filemark 100 kbytes         # don't know a better value
        speed 100 kbytes            # dito
    define tapetype DEC-DLT2000 {
        comment "DEC Differential Digital Linear Tape 2000"
        length 15000 mbytes
        filemark 8 kbytes
        speed 1250 kbytes
    # [email protected]
    # in amanda-users (Thu Dec 26 01:55:38 MEZ 1996)
    define tapetype DLT {
        comment "DLT tape drives"
        length 20000 mbytes         # 20 Gig tapes
        filemark 2000 kbytes        # I don't know what this means
        speed 1536 kbytes           # 1.5 Mb/s
    define tapetype SURESTORE-1200E {
        comment "HP AutoLoader"
        length 3900 mbytes
        filemark 100 kbytes
        speed 500 kbytes
    define tapetype EXB-8500 {
        comment "Exabyte EXB-8500 drive on decent machine"
        length 4200 mbytes
        filemark 48 kbytes
        speed 474 kbytes
    define tapetype EXB-8200 {
        comment "Exabyte EXB-8200 drive on decent machine"
        length 2200 mbytes
        filemark 2130 kbytes
        speed 240 kbytes
    define tapetype HP-DAT {
        comment "DAT tape drives"
        # data provided by Rob Browning <[email protected]>
        length 1930 mbytes
        filemark 111 kbytes
        speed 468 kbytes
    define tapetype DAT {
        comment "DAT tape drives"
        length 1000 mbytes          # these numbers are not accurate
        filemark 100 kbytes         # but you get the idea
        speed 100 kbytes
    define tapetype MIMSY-MEGATAPE {
        comment "Megatape (Exabyte based) drive through Emulex on Vax 8600"
        length 2200 mbytes
        filemark 2130 kbytes
        speed 170 kbytes            # limited by the Emulex bus interface, ugh
    # dumptypes
    # These are referred to by the disklist file.  The dumptype specifies
    # certain parameters for dumping including:
    #   auth        - authentication scheme to use between server and client.
    #                 Valid values are "bsd", "krb4", "krb5" and "ssh".
    #                 Default: [auth bsd]
    #   comment     - just a comment string
    #   comprate    - set default compression rate.  Should be followed by one or
    #                 two numbers, optionally separated by a comma.  The 1st is
    #                 the full compression rate; the 2nd is the incremental rate.
    #                 If the second is omitted, it is assumed equal to the first.
    #                 The numbers represent the amount of the original file the
    #                 compressed file is expected to take up.
    #                 Default: [comprate 0.50, 0.50]
    #   compress    - specify compression of the backed up data.  Valid values are:
    #                 "none"        - don't compress the dump output.
    #                 "client best" - compress on the client using the best (and
    #                                 probably slowest) algorithm.
    #                 "client fast" - compress on the client using fast algorithm.
    #                 "client custom" - compress using your custom client compression program.
    #                                   use client_custom_compress "PROG" to specify
    #                                   the custom compression program.
    #                                   PROG must not contain white space.
    #                 "server best" - compress on the tape host using the best (and
    #                                 probably slowest) algorithm.
    #                 "server fast" - compress on the tape host using a fast
    #                                 algorithm.  This may be useful when a fast
    #                                 tape host is backing up slow clients.
    #                 "server custom" - compress using your server custom compression program.
    #                                   use server_custom_compress "PROG" to specify
    #                                   the custom compression program.
    #                                   PROG must not contain white space.
    #                 Default: [compress client fast]
    #   dumpcycle   - set the number of days in the dump cycle, ie, set how often a
    #                 full dump should be performed.  Default: from DUMPCYCLE above
    #   estimate      Determine the way AMANDA does it's estimate.
    #                 "client"      - Use the same program as the dumping program,
    #                               this is the most accurate way to do estimates,
    #                               but it can take a long time.
    #                 "calcsize"    - Use a faster program to do estimates, but the
    #                               result is less accurate.
    #                 "server"      - Use only statistics from the previous run to
    #                               give an estimate,
    #                               it takes only a few seconds but the result is not
    #                               accurate if your disk usage changes from day to day.
    #                 Default: [client]
    #   encrypt  - specify encryption of the backed up data. Valid values are:
    #                 "none"   - don't encrypt the dump output.
    #                 "client" - encrypt on the client using the program specified by
    #                            client_encrypt "PROG".
    #                            Use client_decrypt_option to specify the decrypt-
    #                            parameter, default is "-d".
    #                            PROG and decrypt-parameter must not contain white space.
    #                 "server" - encrypt on the server using the program specified by
    #                            server_encrypt "PROG".
    #                            Use server_decrypt_option to specify the decrypt-
    #                            parameter, default is "-d".
    #                            PROG and decrypt-parameter must not contain white space.
    #                 Default: [none]
    #   exclude     - specify files and directories to be excluded from the dump.
    #                 Useful with gnutar only; silently ignored by dump and samba.
    #                 Valid values are:
    #                 "pattern"       - a shell glob pattern defining which files
    #                                   to exclude.
    #                                   gnutar gets --exclude="pattern"
    #                 list "filename" - a file (on the client!) containing patterns
    #                                   re's (1 per line) defining which files to
    #                                   exclude.
    #                                   gnutar gets --exclude-from="filename"
    #                 Note that the `full pathname' of a file within its
    #                 filesystem starts with `./', because of the way amanda runs
    #                 gnutar: `tar -C $mountpoint -cf - --lots-of-options .' (note
    #                 the final dot!)  Thus, if you're backing up `/usr' with a
    #                 diskfile entry like ``host /usr gnutar-root', but you don't
    #                 want to backup /usr/tmp, your exclude list should contain
    #                 the pattern `./tmp', as this is relative to the `/usr' above.
    #                 Please refer to the man-page of gnutar for more information.
    #                 If a relative pathname is specified as the exclude list,
    #                 it is searched from within the directory that is
    #                 going to be backed up.
    #                 Default: include all files
    #   holdingdisk - should the holding disk be used for this dump.  Useful for
    #                 dumping the holding disk itself.  Default: [holdingdisk auto]
    #                 "never"    - Never use the holding disk.
    #                 "auto"     - Use the holding disk if possible.
    #                 "required" - Always use the holding disk.
    #   ignore      - do not back this filesystem up.  Useful for sharing a single
    #                 disklist in several configurations.
    #   index       - keep an index of the files backed up.  Default: [index no]
    #   kencrypt    - encrypt the data stream between the client and server.
    #                 Default: [kencrypt no]
    #   maxdumps    - max number of concurrent dumps to run on the client.
    #                 Default: [maxdumps 1]
    #   maxpromoteday - max number of day for a promotion, set it 0 if you don't
    #                 want promotion, set it to 1 or 2 if your disk get
    #                 overpromoted.
    #                 Default: [10000]
    #   priority    - priority level of the dump.  Valid levels are "low", "medium"
    #                 or "high".  These are really only used when Amanda has no
    #                 tape to write to because of some error.  In that "degraded
    #                 mode", as many incrementals as will fit on the holding disk
    #                 are done, higher priority first, to insure the important
    #                 disks are at least dumped.  Default: [priority medium]
    #   program     - specify the dump system to use.  Valid values are "DUMP",
    #                 or "GNUTAR".  Default: [program "DUMP"].
    #   record      - record the backup in the time-stamp-database of the backup
    #                 program (e.g. /etc/dumpdates for DUMP or
    #                 /usr/local/var/amanda/gnutar-lists for GNUTAR.).
    #                 Default: [record yes]
    #   skip-full   - skip the disk when a level 0 is due, to allow full backups
    #                 outside Amanda, eg when the machine is in single-user mode.
    #   skip-incr   - skip the disk when the level 0 is NOT due.  This is used in
    #                 archive configurations, where only full dumps are done and
    #                 the tapes saved.
    #   starttime   - delay the start of the dump?  Default: no delay
    #   strategy    - set the dump strategy.  Valid strategies are currently:
    #                 "standard" - the standard one.
    #                 "nofull"   - do level 1 dumps every time.  This can be used,
    #                              for example, for small root filesystems that
    #                              only change slightly relative to a site-wide
    #                              prototype.  Amanda then backs up just the
    #                              changes.
    #                 "noinc"    - do level 0 dumps every time.
    #                 "skip"     - skip all dumps.  Useful for sharing a single
    #                              disklist in several configurations.
    #                 "incronly" - do only incremental dumps. This is similar
    #                              to strategy 'nofull', but will increase
    #                              the dump level as usual. Full dumps will
    #                              only be performed when an 'amadmin force'
    #                              has been issued
    #                 Default: [strategy standard]
    # tape_splitsize - (optional) split dump file into pieces of a specified size.
    #                 This allows dumps to be spread across multiple tapes, and can
    #                 potentially make more efficient use of tape space.  Note that
    #                 if this value is too large (more than half the size of the
    #                 average dump being split), substantial tape space can be
    #                 wasted.  If too small, large dumps will be split into
    #                 innumerable tiny dumpfiles, adding to restoration complexity.
    #                 A good rule of thumb, usually, is 1/10 of the size of your
    #                 tape.  Default: [disabled]
    # split_diskbuffer - (optional) When dumping a split dump  in  PORT-WRITE
    #                 mode (usually meaning "no holding disk"), buffer the split
    #                 chunks to a file in the directory specified by this option.
    #                 Default: [none]
    # fallback_splitsize - (optional) When dumping a split dump  in  PORT-WRITE
    #                 mode, if no split_diskbuffer is specified (or if we somehow
    #                 fail to use our split_diskbuffer), we must buffer split
    #                 chunks in memory.  This specifies the maximum size split
    #                 chunks can be in this scenario, and thus the maximum amount
    #                 of memory consumed for in-memory splitting.  Default: [10m]
    # Note that you may specify previously defined dumptypes as a shorthand way of
    # defining parameters.
    define dumptype global {
        comment "Global definitions"
        # This is quite useful for setting global parameters, so you don't have
        # to type them everywhere.  All dumptype definitions in this sample file
        # do include these definitions, either directly or indirectly.
        # There's nothing special about the name `global'; if you create any
        # dumptype that does not contain the word `global' or the name of any
        # other dumptype that contains it, these definitions won't apply.
        # Note that these definitions may be overridden in other
        # dumptypes, if the redefinitions appear *after* the `global'
        # dumptype name.
        # You may want to use this for globally enabling or disabling
        # indexing, recording, etc.  Some examples:
        # index yes
        # record no
        # split_diskbuffer "/raid/amanda"
        # fallback_splitsize 64m
    define dumptype always-full {
        global
        comment "Full dump of this filesystem always"
        compress none
        priority high
        dumpcycle 0
    # Dumptypes for gnutar
    define dumptype root-tar {
        global
        program "GNUTAR"
        comment "                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          

    Auntbeee4 wrote:
    I just bought the LG ALLY and would love to have the Accuweather widget on the phone. My problem is while my phone shows the correct time, (I am on Eastern here, but about 15 miles away in Illinois they are on Central) the Accuweather Widget is off by an hour showing Central time. I tried to sync it, but I can't find it in my list of sync-able programs. If someone can help it would be greatly appreciated. It's frustrating both me and a co-worker with the same phone/problem.
    Thank you!
    Amanda
    I have the same issue, Amanda. The weather widget that comes with the Ally was poorly written. The time issue is bad enough, but it takes up more screen space than is visible. Try it, if you touch and hold on the space below the widget, it will select it. This also means you can't add widgets or icons directly below it, resulting in a great deal of wasted space. 

  • Please help!  Strange problem with HTTPD.Conf and OC4J (I think)

    Hi,
    We have been trying to configure the 10g "infrastructure" Apache server/instance to work with our own authentication module, and as part of this, we need to configure a directory alias containing some of our JSPs. To do this, the only thing that we did was that we took the standard HTTPD.CONF file that got installed with the 10g AS installation, and added a small section at the end.
    However, we are finding that if our addition to the HTTPD.CONF is included, instead of the JSPs in our aliased directory being processed, Apache seems to be just serving the JSPs as text pages :(..
    If we remove the section at the end of the HTTPD.CONF, and point a browser to the unaliased path, the JSPs get processed correctly.
    I was wondering if anyone here might take a look at our HTTPD.CONF below, and tell me if you can see something there that might be causing this behavior? The section that we added is at the very end. We think that the problem might be something like the "order" of the directives, etc. in the HTTPD.CONF file may be such that the alias is taking priority ahead of the OC4J, or something like that.
    Thanks in advance, and apologies for the long message.
    Jim
    =====================================================
    ServerType standalone
    ServerRoot "/orad59/10gAS/infrastructure/Apache/Apache"
    PidFile /orad59/10gAS/infrastructure/Apache/Apache/logs/httpd.pid
    ScoreBoardFile /orad59/10gAS/infrastructure/Apache/Apache/logs/httpd.scoreboard
    Timeout 300
    KeepAlive On
    MaxKeepAliveRequests 100
    KeepAliveTimeout 15
    MinSpareServers 5
    MaxSpareServers 20
    StartServers 5
    MaxClients 150
    MaxRequestsPerChild 0
    LoadModule onsint_module libexec/mod_onsint.so
    LoadModule mmap_static_module libexec/mod_mmap_static.so
    LoadModule vhost_alias_module libexec/mod_vhost_alias.so
    LoadModule env_module libexec/mod_env.so
    LoadModule define_module libexec/mod_define.so
    LoadModule config_log_module libexec/mod_log_config.so
    LoadModule agent_log_module libexec/mod_log_agent.so
    LoadModule referer_log_module libexec/mod_log_referer.so
    LoadModule mime_magic_module libexec/mod_mime_magic.so
    LoadModule mime_module libexec/mod_mime.so
    LoadModule negotiation_module libexec/mod_negotiation.so
    LoadModule status_module libexec/mod_status.so
    LoadModule info_module libexec/mod_info.so
    LoadModule includes_module libexec/mod_include.so
    LoadModule autoindex_module libexec/mod_autoindex.so
    LoadModule dir_module libexec/mod_dir.so
    LoadModule cgi_module libexec/mod_cgi.so
    LoadModule asis_module libexec/mod_asis.so
    LoadModule imap_module libexec/mod_imap.so
    LoadModule action_module libexec/mod_actions.so
    LoadModule speling_module libexec/mod_speling.so
    LoadModule userdir_module libexec/mod_userdir.so
    LoadModule alias_module libexec/mod_alias.so
    LoadModule access_module libexec/mod_access.so
    LoadModule auth_module libexec/mod_auth.so
    LoadModule anon_auth_module libexec/mod_auth_anon.so
    LoadModule dbm_auth_module libexec/mod_auth_dbm.so
    LoadModule digest_module libexec/mod_digest.so
    LoadModule proxy_module libexec/libproxy.so
    LoadModule cern_meta_module libexec/mod_cern_meta.so
    LoadModule expires_module libexec/mod_expires.so
    LoadModule headers_module libexec/mod_headers.so
    LoadModule usertrack_module libexec/mod_usertrack.so
    LoadModule unique_id_module libexec/mod_unique_id.so
    LoadModule setenvif_module libexec/mod_setenvif.so
    LoadModule perl_module libexec/libperl.so
    LoadModule fastcgi_module libexec/mod_fastcgi.so
    <IfDefine SSL>
    LoadModule ossl_module libexec/mod_ossl.so
    </IfDefine>
    LoadModule wchandshake_module libexec/mod_wchandshake.so
    ExtendedStatus On
    Port 7777
    Listen 7777
    User oracle
    Group dba
    ServerAdmin [email protected]
    ServerName ge1ssd04.test.com
    DocumentRoot "/orad59/10gAS/infrastructure/Apache/Apache/htdocs"
    <Directory />
    Options FollowSymLinks MultiViews
    AllowOverride None
    </Directory>
    <Directory "/orad59/10gAS/infrastructure/Apache/Apache/htdocs">
    Options Indexes FollowSymLinks MultiViews
    AllowOverride None
    Order allow,deny
    Allow from all
    </Directory>
    <IfModule mod_userdir.c>
    UserDir public_html
    </IfModule>
    <IfModule mod_dir.c>
    DirectoryIndex index.html
    </IfModule>
    AccessFileName .htaccess
    <Files ~ "^\.ht">
    Order allow,deny
    Deny from all
    </Files>
    UseCanonicalName On
    <IfModule mod_mime.c>
    TypesConfig /orad59/10gAS/infrastructure/Apache/Apache/conf/mime.types
    AddEncoding x-compress Z
    AddEncoding x-gzip gz tgz
    AddLanguage ar .ar
    AddLanguage da .dk .da
    AddLanguage nl .nl
    AddLanguage en .en
    AddLanguage et .ee
    AddLanguage fi .fi
    AddLanguage fr .fr
    AddLanguage de .de
    AddLanguage el .el
    AddLanguage es .es_ES .es
    AddLanguage he .he .iw
    AddLanguage hu .hu
    AddCharset ISO-8859-8 .iso8859-8
    AddLanguage it .it
    AddLanguage ja .ja
    AddCharset ISO-2022-JP .jis
    AddLanguage ko .ko
    AddLanguage kr .kr
    AddCharset ISO-2022-KR .iso-kr
    AddLanguage nn .nn
    AddLanguage no .no
    AddLanguage pl .po
    AddCharset ISO-8859-2 .iso-pl
    AddLanguage pt .pt
    AddLanguage pt-br .pt_BR .pt-br
    AddLanguage ltz .lu
    AddLanguage ca .ca
    AddLanguage sk .sk
    AddLanguage sv .sv
    AddLanguage th .th
    AddLanguage tr .tr
    AddLanguage cz .cz .cs
    AddLanguage ro .ro
    AddLanguage ru .ru
    AddLanguage zh-cn .zh_CN
    AddLanguage zh-tw .zh_TW
    AddCharset Big5 .Big5 .big5
    AddCharset WINDOWS-1251 .cp-1251
    AddCharset CP866 .cp866
    AddCharset ISO-8859-5 .iso-ru
    AddCharset KOI8-R .koi8-r
    AddCharset UCS-2 .ucs2
    AddCharset UCS-4 .ucs4
    AddCharset UTF-8 .utf8
    <IfModule mod_negotiation.c>
    LanguagePriority ar en da nl et fi fr de el it ja ko kr no pl pt pt-br ro ru ltz ca es sk sv th tr zh-cn zh-tw zh-cn
    </IfModule>
    AddType application/x-tar .tgz
    </IfModule>
    DefaultType text/plain
    <IfModule mod_mime_magic.c>
    MIMEMagicFile /orad59/10gAS/infrastructure/Apache/Apache/conf/magic
    </IfModule>
    HostnameLookups Off
    ErrorLog "|/orad59/10gAS/infrastructure/Apache/Apache/bin/rotatelogs /orad59/10gAS/infrastructure/Apache/Apache/logs/error_log 43200"
    LogLevel warn
    LogFormat "%h %l %u %t \"%r\" %>s %b \"%{Referer}i\" \"%{User-Agent}i\"" combined
    LogFormat "%h %l %u %t \"%r\" %>s %b" common
    LogFormat "%{Referer}i -> %U" referer
    LogFormat "%{User-agent}i" agent
    CustomLog "|/orad59/10gAS/infrastructure/Apache/Apache/bin/rotatelogs /orad59/10gAS/infrastructure/Apache/Apache/logs/access_log 43200" common
    ServerSignature On
    <IfModule mod_alias.c>
    Alias /icons/ "/orad59/10gAS/infrastructure/Apache/Apache/icons/"
    Alias /jservdocs/ "/orad59/10gAS/infrastructure/Apache/Jserv/docs/"
    Alias /javacachedocs/ "/orad59/10gAS/infrastructure/javacache/javadoc/"
    <IfModule mod_perl.c>
    Alias /perl/ "/orad59/10gAS/infrastructure/Apache/Apache/cgi-bin/"
    </IfModule>
    <Directory "/orad59/10gAS/infrastructure/Apache/Apache/icons">
    Options Indexes MultiViews
    AllowOverride None
    Order allow,deny
    Allow from all
    </Directory>
    ScriptAlias /cgi-bin/ "/orad59/10gAS/infrastructure/Apache/Apache/cgi-bin/"
    <Directory "/orad59/10gAS/infrastructure/Apache/Apache/cgi-bin">
    AllowOverride None
    Options None
    Order allow,deny
    Allow from all
    </Directory>
    </IfModule>
    <IfModule mod_autoindex.c>
    IndexOptions FancyIndexing
    AddIconByEncoding (CMP,/icons/compressed.gif) x-compress x-gzip
    AddIconByType (TXT,/icons/text.gif) text/*
    AddIconByType (IMG,/icons/image2.gif) image/*
    AddIconByType (SND,/icons/sound2.gif) audio/*
    AddIconByType (VID,/icons/movie.gif) video/*
    AddIcon /icons/binary.gif .bin .exe
    AddIcon /icons/binhex.gif .hqx
    AddIcon /icons/tar.gif .tar
    AddIcon /icons/world2.gif .wrl .wrl.gz .vrml .vrm .iv
    AddIcon /icons/compressed.gif .Z .z .tgz .gz .zip
    AddIcon /icons/a.gif .ps .ai .eps
    AddIcon /icons/layout.gif .html .shtml .htm .pdf
    AddIcon /icons/text.gif .txt
    AddIcon /icons/c.gif .c
    AddIcon /icons/p.gif .pl .py
    AddIcon /icons/f.gif .for
    AddIcon /icons/dvi.gif .dvi
    AddIcon /icons/uuencoded.gif .uu
    AddIcon /icons/script.gif .conf .sh .shar .csh .ksh .tcl
    AddIcon /icons/tex.gif .tex
    AddIcon /icons/bomb.gif core
    AddIcon /icons/back.gif ..
    AddIcon /icons/hand.right.gif README
    AddIcon /icons/folder.gif ^^DIRECTORY^^
    AddIcon /icons/blank.gif ^^BLANKICON^^
    ReadmeName README
    HeaderName HEADER
    IndexIgnore .??* *~ *# HEADER* README* RCS CVS *,v *,t
    </IfModule>
    <IfModule mod_setenvif.c>
    BrowserMatch "Mozilla/2" nokeepalive
    BrowserMatch "MSIE 4\.0b2;" nokeepalive downgrade-1.0 force-response-1.0
    BrowserMatch "RealPlayer 4\.0" force-response-1.0
    BrowserMatch "Java/1\.0" force-response-1.0
    BrowserMatch "JDK/1\.0" force-response-1.0
    </IfModule>
    <Location /server-status>
    SetHandler server-status
    Order deny,allow
    Deny from all
    Allow from localhost ge1ssd04.test.com ge1ssd04
    </Location>
    SetEnv PERL5LIB "/orad59/10gAS/infrastructure/perl/lib/5.6.1:/orad59/10gAS/infrastructure/perl/lib/site_perl/5.6.1"
    <IfModule mod_perl.c>
    PerlModule Apache
    PerlModule Apache::Registry
    <Location /perl>
    SetHandler perl-script
    PerlHandler Apache::Registry
    AddHandler perl-script .pl
    Options +ExecCGI
    PerlSendHeader On
    </Location>
    </IfModule>
    <DirectoryMatch /WEB-INF/>
    Order deny,allow
    Deny from all
    </DirectoryMatch>
    <IfModule mod_fastcgi.c>
    Alias /fastcgi/ "/orad59/10gAS/infrastructure/Apache/fastcgi/"
    ScriptAlias /fcgi-bin/ "/orad59/10gAS/infrastructure/Apache/Apache/fcgi-bin/"
    <Directory "/orad59/10gAS/infrastructure/Apache/Apache/fcgi-bin">
    AllowOverride None
    Options None
    Order allow,deny
    Allow from all
    SetHandler fastcgi-script
    <IfModule mod_ossl.c>
    SSLOptions +StdEnvVars
    </IfModule>
    </Directory>
    </IfModule>
    PassEnv ORACLE_HOME
    PassEnv LD_LIBRARY_PATH
    PassEnv NLS_LANG
    PassEnv TNS_ADMIN
    <IfModule mod_oprocmgr.c>
    <Location /oprocmgr-service>
    SetHandler oprocmgr-service
    Order deny,allow
    Deny from all
    Allow from localhost ge1ssd04.test.com ge1ssd04
    </Location>
    <Location /oprocmgr-status>
    SetHandler oprocmgr-status
    Order deny,allow
    Deny from all
    Allow from localhost ge1ssd04.test.com ge1ssd04
    </Location>
    </IfModule>
    include "/orad59/10gAS/infrastructure/Apache/Apache/conf/mod_oc4j.conf"
    include "/orad59/10gAS/infrastructure/Apache/Apache/conf/dms.conf"
    LoadModule rewrite_module libexec/mod_rewrite.so
    include "/orad59/10gAS/infrastructure/Apache/Apache/conf/ssl.conf"
    include "/orad59/10gAS/infrastructure/Apache/Apache/conf/mod_osso.conf"
    include "/orad59/10gAS/infrastructure/Apache/Apache/conf/oracle_apache.conf"
    # MY ADDITIONS TO HTTPD.CONF GO BELOW HERE....
    LoadModule my_auth_module /opt/myagent/apache/lib/libmy_apache_agent_mod_ssl.so
    AddModule my_apache_mod.c
    <IfModule my_apache_mod.c>
         MYAgentRoot /opt/myagent/apache
    </IfModule>
    <IfModule my_apache_mod.c>
    <Location />
    AuthType Basic
    Require valid-user
    AuthName MYAUTH
    </Location>
    </IfModule>
    <IfModule my_apache_mod.c>
    Alias /mydir/ "/orad59/10gAS/infrastructure/j2ee/OC4J_SECURITY/applications/sso/web/jsp/myagentdir/"
    <Directory "/orad59/10gAS/infrastructure/j2ee/OC4J_SECURITY/applications/sso/web/jsp/myagentdir/">
    AuthType Basic
    Require valid-user
    AuthName MYAUTH
    </Directory>
    </IfModule>

    Hi,
    I wanted to post what we found on this.
    As indicated in my original msg, we had an Alias directory in the httpd.conf. However, after thinking about the problem a bit, I think that the Alias was not the right thing to do.
    The Alias tells Apache to map a URL fragment to a FILESYSTEM location. Well, obviously, Apache only SERVES pages... it doesn't process JSPs.
    We switched to using a Redirect directive instead of the Alias, and things worked a little better, but we've run into a bit of a problem with "Redirect looping", but that's a different story :)...
    Jim

  • Problems with 8.1.7 Solaris/32bits

    I tried to download the 8.1.7 for Sparc Solaris 32bits but when I called gzip it returned a message that it is not on gzip format. I downloaded again and the same message was reported by gzip. I compared the two files and no differences was encountered. Is there any problem with the image ?
    File : 817solaris.cpio.gz
    Browser : M$-Internet Explorer 5.0 on Window$ 2000
    OS : SPARC Solaris 8
    Thanks,
    Daniel Vermes

    Hans,
    It is a known problem on Windows 98, Windows and Windows 2000 if you are using Intel Pentium 4 processor with Sun JRE and Symantec JIT. I had the same problem with Windows 98. Oracle has a patch. Please see Note:131299.1 on metalink for details.

  • Problems with Archiso

    Hi guys,
    I've got problems  with creating my own live-cd with archiso. I hope you are able to solve them.
    Here is the log describing my two ERRORs i get when i want to build it.
    init: /dev/initctl: No such file or directory
    ERROR: Root file system type detection failed.
    And here is my full log:
    mkarchiso -D myarch -p base create work
    mkarchiso : Configuration Settings
    working directory: work
    image name: none
    ====> Creating working directory: work
    ====> Installing packages to 'work/root-image/'
    ERROR: Root file system type detection failed.
    Cleaning up what we can
    mkarchiso -D myarch -p "dnsmasq dnsutils aufs2 aufs2-util base bash coreutils cpio dhcpcd dnsutils file fuse kernel26 syslinux nano" create work
    mkarchiso : Configuration Settings
    working directory: work
    image name: none
    ====> Creating working directory: work
    ====> Installing packages to 'work/root-image/'
    init: /dev/initctl: No such file or directory
    ERROR: Root file system type detection failed.
    init: /dev/initctl: No such file or directory
    Cleaning up what we can
    mkdir -p work/iso/myarch/boot/i686
    cp work/root-image/boot/System.map26 work/iso/myarch/boot/i686/
    cp work/root-image/boot/vmlinuz26 work/iso/myarch/boot/i686/
    mkdir -p work/iso/syslinux
    cp work/root-image/usr/lib/syslinux/isolinux.bin work/iso/syslinux/
    cp boot-files/syslinux/syslinux.cfg work/iso/syslinux/syslinux.cfg
    mkdir -p work/iso/myarch/boot/i686/
    mkinitcpio -c ./mkinitcpio.conf -b work/root-image -k '2.6.37-ARCH' -g work/iso/myarch/boot/i686/archiso.img
    :: Begin build
    :: Parsing hook [base]
    :: Parsing hook [udev]
    :: Parsing hook [archiso]
    :: Parsing hook [pata]
    :: Parsing hook [scsi]
    :: Parsing hook [sata]
    :: Parsing hook [usb]
    :: Parsing hook [fw]
    :: Parsing hook [pcmcia]
    :: Parsing hook [filesystems]
    :: Parsing hook [usbinput]
    :: Generating module dependencies
    :: Generating image 'work/iso/myarch/boot/i686/archiso.img'...SUCCESS
    cp -r overlay work/
    sed "s|@ARCH@|i686|g" isomounts > work/iso/myarch/isomounts
    mkarchiso -D myarch -c gzip iso work /root/myarch/LocCon-2011.03.16-i686.iso
    mkarchiso : Configuration Settings
    working directory: work
    image name: /root/myarch/LocCon-2011.03.16-i686.iso
    ====> Generating SquashFS image for 'work/root-image'
    Creating SquashFS image. This may take some time...
    Image creation done in 1.47 minutes.
    ====> Generating SquashFS image for 'work/overlay'
    Creating SquashFS image. This may take some time...
    Image creation done in 0.00 minutes.
    ====> Making bootable image
    Creating ISO image...
    You can see, that even with the errors it builds the iso, but when i try to boot it, i get an error, that no default or ui is available. This may be caused by the errors while building...
    Last edited by Adock (2011-03-16 17:29:27)

    You want me to paste the output of help??
    [bran@ra ~/archlive]$ sudo bash build.sh -h
    usage build.sh [options]
    General options:
    -N <iso_name> Set an iso filename (prefix)
    Default: archlinux
    -V <iso_version> Set an iso version (in filename)
    Default: 2013.11.12
    -L <iso_label> Set an iso label (disk label)
    Default: ARCH_201311
    -D <install_dir> Set an install_dir (directory inside iso)
    Default: arch
    -w <work_dir> Set the working directory
    Default: work
    -o <out_dir> Set the output directory
    Default: out
    -v Enable verbose output
    -h This help message
    Your suspicion seems to be correct, but do you know why? I'm curious.
    [bran@ra ~]$ cp -r /usr/share/archiso/configs/releng .
    [bran@ra ~]$ cd releng/
    [bran@ra ~/releng]$ sudo bash build.sh -v
    sed: can't read /home/bran/releng/build.sh/pacman.conf: Not a directory
    [bran@ra ~/releng]$ sudo ./build.sh -v
    [mkarchiso] INFO: Configuration settings
    [mkarchiso] INFO: Command: init
    [mkarchiso] INFO: Architecture: i686
    [mkarchiso] INFO: Working directory: work/i686
    [mkarchiso] INFO: Installation directory: arch
    [mkarchiso] INFO: Pacman config file: work/pacman.conf
    [mkarchiso] INFO: Installing packages to 'work/i686/root-image/'...
    ==> Creating install root at work/i686/root-image
    ==> Installing packages to work/i686/root-image
    :: Synchronizing package databases...
    core 106.8 KiB 380K/s 00:00 [############################################################] 100%
    ^Cxtra 849.6 KiB 735K/s 00:00 [##################################--------------------------] 57%
    Interrupt signal received

  • Problems with Yaourt and makepkg.conf

    Hi all,
    So, I've recently switched all the way over to Arch Linux after playing around with it for some time.  And it's been great!  I am very glad I did it. 
    I've been using yaourt to install all of my humble indie bundle games, and it's been going well until I tried to install mark of the ninja. 
    Every time I try to install ANYTHING on yaourt now, I get these types of error messages:
    [nicholas@nicholas ~]$ yaourt -s markoftheninja-hib
    1 aur/markoftheninja-hib 1.38+h20131002-1 (4)
        Mark of the Ninja, a side-scrolling stealth game (Humble Bundle version)
    ==> Enter n° of packages to be installed (ex: 1 2 3 or 1-3)
    ==> -------------------------------------------------------
    ==> 1
    /etc/makepkg.conf: line 89: for: command not found
    ==> Downloading markoftheninja-hib PKGBUILD from AUR...
    x markoftheninja-hib.desktop
    x PKGBUILD
    markoftheninja-hib 1.38+h20131002-1  (Wed Sep 11 20:25:29 EDT 2013)
    ( Unsupported package: Potentially dangerous ! )
    ==> Edit PKGBUILD ? [Y/n] ("A" to abort)
    ==> ------------------------------------
    ==> n
    /etc/makepkg.conf: line 89: for: command not found
    ==> WARNING: Running makepkg as an unprivileged user will result in non-root
    ownership of the packaged files. Try using the fakeroot environment by
    placing 'fakeroot' in the BUILDENV array in /etc/makepkg.conf.
    ==> markoftheninja-hib dependencies:
    - sdl (already installed)
    - libgl (already installed)
    - gcc-libs (already installed)
    - xdg-utils (already installed)
    ==> Continue building markoftheninja-hib ? [Y/n]
    ==> --------------------------------------------
    ==>
    ==> Building and installing package
    /etc/makepkg.conf: line 89: for: command not found
    ==> WARNING: Running makepkg as an unprivileged user will result in non-root
    ownership of the packaged files. Try using the fakeroot environment by
    placing 'fakeroot' in the BUILDENV array in /etc/makepkg.conf.
    ==> ERROR: markoftheninja-hib is not available for the '' architecture.
        Note that many packages may need a line added to their PKGBUILD
        such as arch=('').
    ==> ERROR: Makepkg was unable to build markoftheninja-hib.
    ==> Restart building markoftheninja-hib ? [y/N]
    ==> -------------------------------------------
    ==>
    [nicholas@nicholas ~]$ sudo gedit /etc/makepkg.conf
    So, I already have fakeroot properly activated IN makepkg.conf.  This is my makepkg.conf setup:
    # /etc/makepkg.conf
    # SOURCE ACQUISITION
    #-- The download utilities that makepkg should use to acquire sources
    #  Format: 'protocol::agent'
    DLAGENTS=('ftp::/usr/bin/curl -fC - --ftp-pasv --retry 3 --retry-delay 3 -o %o %u'
              'http::/usr/bin/curl -fLC - --retry 3 --retry-delay 3 -o %o %u'
              'https::/usr/bin/curl -fLC - --retry 3 --retry-delay 3 -o %o %u'
              'rsync::/usr/bin/rsync --no-motd -z %u %o'
              'scp::/usr/bin/scp -C %u %o'
              'hib::/usr/bin/find /home/nicholas/Downloads -name $(echo %u | cut -c 7-) -exec ln -s \{\} %o \; -quit')'
    # Other common tools:
    # /usr/bin/snarf
    # /usr/bin/lftpget -c
    # /usr/bin/wget
    # ARCHITECTURE, COMPILE FLAGS
    CARCH="x86_64"
    CHOST="x86_64-unknown-linux-gnu"
    #-- Compiler and Linker Flags
    # -march (or -mcpu) builds exclusively for an architecture
    # -mtune optimizes for an architecture, but builds for whole processor family
    CPPFLAGS="-D_FORTIFY_SOURCE=2"
    CFLAGS="-march=x86-64 -mtune=generic -O2 -pipe -fstack-protector --param=ssp-buffer-size=4"
    CXXFLAGS="-march=x86-64 -mtune=generic -O2 -pipe -fstack-protector --param=ssp-buffer-size=4"
    LDFLAGS="-Wl,-O1,--sort-common,--as-needed,-z,relro"
    #-- Make Flags: change this for DistCC/SMP systems
    #MAKEFLAGS="-j2"
    #-- Debugging flags
    DEBUG_CFLAGS="-g -fvar-tracking-assignments"
    DEBUG_CXXFLAGS="-g -fvar-tracking-assignments"
    # BUILD ENVIRONMENT
    # Defaults: BUILDENV=(fakeroot !distcc color !ccache check !sign)
    #  A negated environment option will do the opposite of the comments below.
    #-- fakeroot: Allow building packages as a non-root user
    #-- distcc:   Use the Distributed C/C++/ObjC compiler
    #-- color:    Colorize output messages
    #-- ccache:   Use ccache to cache compilation
    #-- check:    Run the check() function if present in the PKGBUILD
    #-- sign:     Generate PGP signature file
    BUILDENV=(fakeroot !distcc color !ccache check !sign)
    #-- If using DistCC, your MAKEFLAGS will also need modification. In addition,
    #-- specify a space-delimited list of hosts running in the DistCC cluster.
    #DISTCC_HOSTS=""
    #-- Specify a directory for package building.
    #BUILDDIR=/tmp/makepkg
    # GLOBAL PACKAGE OPTIONS
    #   These are default values for the options=() settings
    # Default: OPTIONS=(strip docs !libtool !staticlibs emptydirs zipman purge !upx !debug)
    #  A negated option will do the opposite of the comments below.
    #-- strip:      Strip symbols from binaries/libraries
    #-- docs:       Save doc directories specified by DOC_DIRS
    #-- libtool:    Leave libtool (.la) files in packages
    #-- staticlibs: Leave static library (.a) files in packages
    #-- emptydirs:  Leave empty directories in packages
    #-- zipman:     Compress manual (man and info) pages in MAN_DIRS with gzip
    #-- purge:      Remove files specified by PURGE_TARGETS
    #-- upx:        Compress binary executable files using UPX
    #-- debug:      Add debugging flags as specified in DEBUG_* variables
    OPTIONS=(strip docs !libtool !staticlibs emptydirs zipman purge !upx !debug)
    #-- File integrity checks to use. Valid: md5, sha1, sha256, sha384, sha512
    INTEGRITY_CHECK=(md5)
    #-- Options to be used when stripping binaries. See `man strip' for details.
    STRIP_BINARIES="--strip-all"
    #-- Options to be used when stripping shared libraries. See `man strip' for details.
    STRIP_SHARED="--strip-unneeded"
    #-- Options to be used when stripping static libraries. See `man strip' for details.
    STRIP_STATIC="--strip-debug"
    #-- Manual (man and info) directories to compress (if zipman is specified)
    MAN_DIRS=({usr{,/local}{,/share},opt/*}/{man,info})
    #-- Doc directories to remove (if !docs is specified)
    DOC_DIRS=(usr/{,local/}{,share/}{doc,gtk-doc} opt/*/{doc,gtk-doc})
    #-- Files to be removed from all packages (if purge is specified)
    PURGE_TARGETS=(usr/{,share}/info/dir .packlist *.pod)
    # PACKAGE OUTPUT
    # Default: put built package and cached source in build directory
    #-- Destination: specify a fixed directory where all packages will be placed
    #PKGDEST=/home/packages
    #-- Source cache: specify a fixed directory where source files will be cached
    #SRCDEST=/home/sources
    #-- Source packages: specify a fixed directory where all src packages will be placed
    #SRCPKGDEST=/home/srcpackages
    #-- Log files: specify a fixed directory where all log files will be placed
    #LOGDEST=/home/makepkglogs
    #-- Packager: name/email of the person or organization building packages
    #PACKAGER="John Doe <[email protected]>"
    #-- Specify a key to use for package signing
    #GPGKEY=""
    # COMPRESSION DEFAULTS
    COMPRESSGZ=(gzip -c -f -n)
    COMPRESSBZ2=(bzip2 -c -f)
    COMPRESSXZ=(xz -c -z -)
    COMPRESSLRZ=(lrzip -q)
    COMPRESSLZO=(lzop -q)
    COMPRESSZ=(compress -c -f)
    # EXTENSION DEFAULTS
    # WARNING: Do NOT modify these variables unless you know what you are
    #          doing.
    PKGEXT='.pkg.tar.xz'
    SRCEXT='.src.tar.gz'
    # vim: set ft=sh ts=2 sw=2 et:
    Here is line 89, which is the one that yaourt flags:
    - Options to be used when stripping binaries. See `man strip' for 
    It's almost as if it is treating "for" as a command.  This is very strange. 
    Also, I do have the architecture specified in the makepkg.  It doesn't matter which package I try to install: it does the same thing. 
    Does anyone have any ideas?  I'd really appreciate your help.
    Thank you.
    Sincerely,
    Corey Goettsch

    Karol,
    Thank you for the suggestion.  Here are the code outputs
    [nicholas@nicholas ~]$ yaourt -S markoftheninja-hib
    /etc/makepkg.conf: line 89: for: command not found
    ==> Downloading markoftheninja-hib PKGBUILD from AUR...
    x markoftheninja-hib.desktop
    x PKGBUILD
    markoftheninja-hib 1.38+h20131002-1 (Wed Sep 11 20:25:29 EDT 2013)
    ( Unsupported package: Potentially dangerous ! )
    ==> Edit PKGBUILD ? [Y/n] ("A" to abort)
    ==> ------------------------------------
    ==> n
    /etc/makepkg.conf: line 89: for: command not found
    ==> WARNING: Running makepkg as an unprivileged user will result in non-root
    ownership of the packaged files. Try using the fakeroot environment by
    placing 'fakeroot' in the BUILDENV array in /etc/makepkg.conf.
    ==> markoftheninja-hib dependencies:
    - sdl (already installed)
    - libgl (already installed)
    - gcc-libs (already installed)
    - xdg-utils (already installed)
    ==> Continue building markoftheninja-hib ? [Y/n]
    ==> --------------------------------------------
    ==>
    ==> Building and installing package
    /etc/makepkg.conf: line 89: for: command not found
    ==> WARNING: Running makepkg as an unprivileged user will result in non-root
    ownership of the packaged files. Try using the fakeroot environment by
    placing 'fakeroot' in the BUILDENV array in /etc/makepkg.conf.
    ==> ERROR: markoftheninja-hib is not available for the '' architecture.
    Note that many packages may need a line added to their PKGBUILD
    such as arch=('').
    ==> ERROR: Makepkg was unable to build markoftheninja-hib.
    ==> Restart building markoftheninja-hib ? [y/N]
    ==> -------------------------------------------
    ==>
    [nicholas@nicholas ~]$ sudo gedit /etc/makepkg.conf
    [sudo] password for nicholas:
    (gedit:2211): Gtk-WARNING **: Theme parsing error: notebook.css:6:13: Theming engine 'unico' not found
    (gedit:2211): Gtk-WARNING **: Theme parsing error: nemo.css:90:13: Theming engine 'unico' not found
    And this is my makepkg.conf:
    # /etc/makepkg.conf
    # SOURCE ACQUISITION
    #-- The download utilities that makepkg should use to acquire sources
    # Format: 'protocol::agent'
    DLAGENTS=('ftp::/usr/bin/curl -fC - --ftp-pasv --retry 3 --retry-delay 3 -o %o %u'
    'http::/usr/bin/curl -fLC - --retry 3 --retry-delay 3 -o %o %u'
    'https::/usr/bin/curl -fLC - --retry 3 --retry-delay 3 -o %o %u'
    'rsync::/usr/bin/rsync --no-motd -z %u %o'
    'scp::/usr/bin/scp -C %u %o'
    'hib::/usr/bin/find /home/nicholas/Downloads -name $(echo %u | cut -c 7-) -exec ln -s \{\} %o \; -quit')'
    # Other common tools:
    # /usr/bin/snarf
    # /usr/bin/lftpget -c
    # /usr/bin/wget
    # ARCHITECTURE, COMPILE FLAGS
    CARCH="x86_64"
    CHOST="x86_64-unknown-linux-gnu"
    #-- Compiler and Linker Flags
    # -march (or -mcpu) builds exclusively for an architecture
    # -mtune optimizes for an architecture, but builds for whole processor family
    CPPFLAGS="-D_FORTIFY_SOURCE=2"
    CFLAGS="-march=x86-64 -mtune=generic -O2 -pipe -fstack-protector --param=ssp-buffer-size=4"
    CXXFLAGS="-march=x86-64 -mtune=generic -O2 -pipe -fstack-protector --param=ssp-buffer-size=4"
    LDFLAGS="-Wl,-O1,--sort-common,--as-needed,-z,relro"
    #-- Make Flags: change this for DistCC/SMP systems
    #MAKEFLAGS="-j2"
    #-- Debugging flags
    DEBUG_CFLAGS="-g -fvar-tracking-assignments"
    DEBUG_CXXFLAGS="-g -fvar-tracking-assignments"
    # BUILD ENVIRONMENT
    # Defaults: BUILDENV=(fakeroot !distcc color !ccache check !sign)
    # A negated environment option will do the opposite of the comments below.
    #-- fakeroot: Allow building packages as a non-root user
    #-- distcc: Use the Distributed C/C++/ObjC compiler
    #-- color: Colorize output messages
    #-- ccache: Use ccache to cache compilation
    #-- check: Run the check() function if present in the PKGBUILD
    #-- sign: Generate PGP signature file
    BUILDENV=(fakeroot !distcc color !ccache check !sign)
    #-- If using DistCC, your MAKEFLAGS will also need modification. In addition,
    #-- specify a space-delimited list of hosts running in the DistCC cluster.
    #DISTCC_HOSTS=""
    #-- Specify a directory for package building.
    #BUILDDIR=/tmp/makepkg
    # GLOBAL PACKAGE OPTIONS
    # These are default values for the options=() settings
    # Default: OPTIONS=(strip docs !libtool !staticlibs emptydirs zipman purge !upx !debug)
    # A negated option will do the opposite of the comments below.
    #-- strip: Strip symbols from binaries/libraries
    #-- docs: Save doc directories specified by DOC_DIRS
    #-- libtool: Leave libtool (.la) files in packages
    #-- staticlibs: Leave static library (.a) files in packages
    #-- emptydirs: Leave empty directories in packages
    #-- zipman: Compress manual (man and info) pages in MAN_DIRS with gzip
    #-- purge: Remove files specified by PURGE_TARGETS
    #-- upx: Compress binary executable files using UPX
    #-- debug: Add debugging flags as specified in DEBUG_* variables
    OPTIONS=(strip docs !libtool !staticlibs emptydirs zipman purge !upx !debug)
    #-- File integrity checks to use. Valid: md5, sha1, sha256, sha384, sha512
    INTEGRITY_CHECK=(md5)
    #-- Options to be used when stripping binaries. See `man strip' for details.
    STRIP_BINARIES="--strip-all"
    #-- Options to be used when stripping shared libraries. See `man strip' for details.
    STRIP_SHARED="--strip-unneeded"
    #-- Options to be used when stripping static libraries. See `man strip' for details.
    STRIP_STATIC="--strip-debug"
    #-- Manual (man and info) directories to compress (if zipman is specified)
    MAN_DIRS=({usr{,/local}{,/share},opt/*}/{man,info})
    #-- Doc directories to remove (if !docs is specified)
    DOC_DIRS=(usr/{,local/}{,share/}{doc,gtk-doc} opt/*/{doc,gtk-doc})
    #-- Files to be removed from all packages (if purge is specified)
    PURGE_TARGETS=(usr/{,share}/info/dir .packlist *.pod)
    # PACKAGE OUTPUT
    # Default: put built package and cached source in build directory
    #-- Destination: specify a fixed directory where all packages will be placed
    #PKGDEST=/home/packages
    #-- Source cache: specify a fixed directory where source files will be cached
    #SRCDEST=/home/sources
    #-- Source packages: specify a fixed directory where all src packages will be placed
    #SRCPKGDEST=/home/srcpackages
    #-- Log files: specify a fixed directory where all log files will be placed
    #LOGDEST=/home/makepkglogs
    #-- Packager: name/email of the person or organization building packages
    #PACKAGER="John Doe <[email protected]>"
    #-- Specify a key to use for package signing
    #GPGKEY=""
    # COMPRESSION DEFAULTS
    COMPRESSGZ=(gzip -c -f -n)
    COMPRESSBZ2=(bzip2 -c -f)
    COMPRESSXZ=(xz -c -z -)
    COMPRESSLRZ=(lrzip -q)
    COMPRESSLZO=(lzop -q)
    COMPRESSZ=(compress -c -f)
    # EXTENSION DEFAULTS
    # WARNING: Do NOT modify these variables unless you know what you are
    # doing.
    PKGEXT='.pkg.tar.xz'
    SRCEXT='.src.tar.gz'
    # vim: set ft=sh ts=2 sw=2 et:
    And, last, here is the output from line 89:
    #-- Options to be used when stripping binaries. See `man strip' for details.
    So, the problem is that "for" in line 89 is being treated like a command.  Which is very strange.  Also, I already have fakeroot set up in makepkg.conf.  And, last, I also have the architecture specified in the PKGBUILD.  So, I'm a bit at a loss here.  I would really appreciate any help.

  • [2.6.37] Problems with module compression

    Hello,
    during the last days I had problems installing carl9170-driver package from the aur. It is a package based on compat-wireless.
    Some other people had similar problems with other compat-wireless aur packages
    All the packages that are based on compat-wireless provide new versions of already existing kernel modules. They put those modules under /lib/modules/kernel-version/updates.
    After installing depmod -a should find the new modules in the /updates folder and after a reboot you can use the updated wireless drivers.
    This does not work for kernel 2.6.37 because all the in-kernel modules are .gz compressed but the carl9170-driver package produces uncompressed modules.
    I guess that depmod is not able to work correctly if you mix compressed modules with uncompressed ones.
    I found this https://patchwork.kernel.org/patch/4039/ and it seems that there are configuration options wheter you get a compressed or uncompressed module when you run "make install_modules" in a PKGBUILD.
    These configuration is made in "Makefile.modinst"
    So the question is: Is this a problem with arch's kernel? I think when compressed in-kernel-modules are used, then external modules should compile in the same way.

    Thanks for your post. I've been reporting this problem for weeks:
    https://aur.archlinux.org/packages.php?ID=41472
    https://aur.archlinux.org/packages.php?ID=41485
    https://bugs.archlinux.org/task/22633
    I solved the problem by going to /lib/modules/kernel2.6.37ARCH/updates...iwlwifi and then ran:
    cd /lib/modules/2.6.37ARCH/update
    gzip -r *
    depmod
    Then I reloaded the modules and finally depmod would report that the compat-wireless one was loaded.
    The above instructions only worked with compat-wireless-patched from AUR. I'm still unable to use compat-wireless-patched-daily even with the above trick (no module get loaded at all).
    Last edited by alphazo (2011-02-20 19:54:59)

  • ACE : Stickyness problem with http cookies

    Hi,
    I am facing a serious problem with stickyness in a e-commerce configuration.
    Here is the setup :
    An ACE load balance user requests on two Apache servers
    cookie-insert is used to stick a user on one Apache server
    The home page is accessed via http on port 80
    On the Home page, there is a link to allowing the user to login
    The login process uses SSL
    During the login, backend SSL is required between the ACE and the selected Apache server
    The login is a POST request to the Apache server
    After a successful login, the home page is reloaded on port 80 and the name of the user should appear on the top of the page
    The ACE configuration :
    Two sticky groups are configured : one for HTTP acess and another for HTTPS access
    Two server farms are defined, both using the same real servers, but with different ports (80 and 441)
         sticky http-cookie STICKED-TO ECOM_STICKY_TEST_HTTP
           cookie insert browser-expire
           timeout 240
           replicate sticky
           serverfarm ECOM_FARM_TEST_HTTP
              sticky http-cookie STICKED-TO ECOM_STICKY_TEST_HTTPS
           cookie insert browser-expire
           timeout 240
           replicate sticky
           serverfarm ECOM_FARM_TEST_HTTPS
         serverfarm host ECOM_FARM_TEST_HTTP
           description *** e-Commerce Test Server Farm ***
           probe ECOM_PROBE_TEST
           rserver HQCHECOM01 80
            inservice
           rserver HQCHECOM02 80
            inservice
             serverfarm host ECOM_FARM_TEST_HTTPS
          description *** e-Commerce Test Server Farm ***
          probe ECOM_PROBE_TEST
          rserver HQCHECOM01 443
           inservice
          rserver HQCHECOM02 443
           inservice
    The problem :
    Let analyse the sequence of events and the value of the http cookie for each of them :
    When the the home page is originally loaded, the ACE selects SERVER-1
    The ACE inserts the cookie "A" in the server responses
    The user is sticked to SERVER-1
    Then, the user tries to login and an SSL session is established with the ACE
    The user sends a POST request containing the cookie "A"
    A backend SSL session is established with SERVER-1
    The POST request is forwarded to SERVER-1
    SERVER-1 responds with a 200 OK and the ACE generates another cookie "B" as it belongs to the sticky group ECOM_STICKY_TEST_HTTPS
    The client browser reloads the page on port 80 and provides the cookie "B" (the last received) !!
    The ACE sees the cookie "B" but does not find it in its database for the sticky group ECOM_STICKY_TEST_HTTP
    The ACE perform another load balancing decision and selects SERVER-2 ! (instead of SERVER-1)
    The page is reloaded, but the name of the user does not appear on it
    The question :
    As it is not possible to have only one sticky group in this configuration what would be the solution to make sure that the same server is selected for http and https ?
    Thank you for any hints,
    Yves

    Hi Gilles,
    I followed your recommendation to configure static cookie entries in each sticky group, but I still experience the problem of sessions getting re-load balanced to the second server when returning from HTTPS to HTTP :
    It seems that the ACE ignores the static entries !
    To make my question clear, I repeat hereafter the setup and the encountered problem :
    Here is the setup :
    An ACE load balance user requests on two Apache servers
    cookie-insert is used to stick a user on one Apache server
    The home page is accessed via http on port 80
    On the Home page, there is a link to allowing the user to login
    The login process uses SSL
    During the login, backend SSL is required between the ACE and the selected Apache server
    The login is a POST request to the Apache server
    After a successful login, the home page is reloaded on port 80 and the name of the user should appear on the top of the page
    The ACE configuration :
    Two sticky groups are configured : one for HTTP acess and another for HTTPS access
    Two server farms are defined, both using the same real servers, but with different ports (80 and 443)
    In the ECOM_STICKY_TEST_HTTP stick group the two following cookies are automatically generated :
    R105816849   for the server HQCHECOM01
    R105852786   for the server HQCHECOM02
    In the ECOM_STICKY_TEST_HTTPS stick group the two following cookies are automatically generated :
    R355972695   for the server HQCHECOM01
    R357158616   for the server HQCHECOM02
    I statically configured in the each sticky group the cookies used by the other sticky group, to allow stickiness when the browser switches from HTTP to HTTPS and vice versa :
    sticky http-cookie STICKED-TO ECOM_STICKY_TEST_HTTP
      cookie insert browser-expire
      timeout 240
      replicate sticky
      serverfarm ECOM_FARM_TEST_HTTP backup WEB_REDIRECT_001
      56 static cookie-value "R355972695" rserver HQCHECOM01
      64 static cookie-value "R357158616" rserver HQCHECOM02
    sticky http-cookie STICKED-TO ECOM_STICKY_TEST_HTTPS
      cookie insert browser-expire
      timeout 240
      replicate sticky
      serverfarm ECOM_FARM_TEST_HTTPS backup WEB_REDIRECT_001
      72 static cookie-value "R105816849" rserver HQCHECOM01
      80 static cookie-value "R105852786" rserver HQCHECOM02
    serverfarm host ECOM_FARM_TEST_HTTP
      description *** e-Commerce Test Server Farm ***
      probe ECOM_PROBE_TEST
      rserver HQCHECOM01 80
       inservice
      rserver HQCHECOM02 80
       inservice
    serverfarm host ECOM_FARM_TEST_HTTPS
      description *** e-Commerce Test Server Farm ***
      probe ECOM_PROBE_TEST
      rserver HQCHECOM01 443
       inservice
      rserver HQCHECOM02 443
       inservice
    The problem :
    Let analyse the sequence of events and the value of the http cookie for each of them :
    When the the home page is originally loaded, the ACE selects SERVER-1
    The ACE inserts the cookie "A" in the server responses
    The user is sticked to SERVER-1
    Then, the user tries to login and an SSL session is established with the ACE
    The user sends a POST request containing the cookie "A"
    A backend SSL session is established with SERVER-1
    The POST request is forwarded to SERVER-1
    SERVER-1 responds with a 200 OK and the ACE generates another cookie "B" as it belongs to the sticky group ECOM_STICKY_TEST_HTTPS
    The client browser reloads the page on port 80 and provides the cookie "B" (the last received)
    The ACE sees the cookie "B" and should use the static cookie entry to select the SERVER-1
    But instead, the ACE perform another load balancing decision and selects SERVER-2 !
    The page is reloaded, but the name of the user does not appear on it
    LiveHTTP Trace on Firefox :
    GET /ecom/medias/sys_master/8800775602206/Home-page-main-banners-video.jpg HTTP/1.1
    Host: ecom.test.toto.com
    User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.1.8) Gecko/20100202 (CK-IBM) Firefox/3.5.8
    Accept: image/png,image/*;q=0.8,*/*;q=0.5
    Accept-Language: en-us,en;q=0.5
    Accept-Encoding: gzip,deflate
    Accept-Charset: ISO-8859-1,utf-8;q=0.7,*;q=0.7
    Keep-Alive: 300
    Connection: keep-alive
    Referer: http://ecom.test.toto.com/uk/en/home
    Cookie: STICKED-TO=R105816849;
    HTTP/1.1 200 OK
    Set-Cookie: STICKED-TO=R105816849; path=/
    Date: Mon, 18 Oct 2010 15:31:37 GMT
    Server: Apache/2.2.13 (Red Hat)
    Connection: close
    Transfer-Encoding: chunked
    Content-Type: image/jpeg
    Here we switch on HTTPS :
    https://ecom.test.toto.com/uk/en/j_spring_security_check
    POST /uk/en/j_spring_security_check HTTP/1.1
    Host: ecom.test.toto.com
    User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.1.8) Gecko/20100202 (CK-IBM) Firefox/3.5.8
    Accept: text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8
    Accept-Language: en-us,en;q=0.5
    Accept-Encoding: gzip,deflate
    Accept-Charset: ISO-8859-1,utf-8;q=0.7,*;q=0.7
    Keep-Alive: 300
    Connection: keep-alive
    Referer: http://ecom.test.toto.com/uk/en/home
    Cookie: STICKED-TO=R105816849; JSESSIONID=089DCF987DC03CAE0F516298EB886DAB.node1;
    Content-Type: application/x-www-form-urlencoded
    Content-Length: 75
    spring-security-redirect=&j_username=yves144%40yahoo.com&j_password=junon01
    Here we see cookie for the same server but for the HTTPS sticky group :
    HTTP/1.1 302 Moved Temporarily
    Set-Cookie: STICKED-TO=R355972695; path=/
    Set-Cookie: _hybris.tenantID_=""; Expires=Thu, 01-Jan-1970 00:00:10 GMT; Path=/; HttpOnly
    Date: Mon, 18 Oct 2010 15:31:39 GMT
    Server: Apache/2.2.13 (Red Hat)
    Location: http://ecom.test.toto.com/uk/en/home
    Content-Length: 0
    Connection: close
    Content-Type: text/plain; charset=UTF-8
    Here we switch back to HTTP :
    http://ecom.test.toto.com/uk/en/home
    GET /uk/en/home HTTP/1.1
    Host: ecom.test.toto.com
    User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.1.8) Gecko/20100202 (CK-IBM) Firefox/3.5.8
    Accept: text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8
    Accept-Language: en-us,en;q=0.5
    Accept-Encoding: gzip,deflate
    Accept-Charset: ISO-8859-1,utf-8;q=0.7,*;q=0.7
    Keep-Alive: 300
    Connection: keep-alive
    Referer: http://ecom.test.toto.com/uk/en/home
    Cookie: STICKED-TO=R355972695; JSESSIONID=089DCF987DC03CAE0F516298EB886DAB.node1;
    Here we see that the second server has been wrongly selected !
    HTTP/1.1 200 OK
    Set-Cookie: STICKED-TO=R105852786; path=/
    Set-Cookie: _hybris.tenantID_=""; Expires=Thu, 01-Jan-1970 00:00:10 GMT; Path=/; HttpOnly
    Set-Cookie: JSESSIONID=5A0F6EB8FBF63D5D0590FECEC62A302E.node2; Path=/; HttpOnly
    Date: Mon, 18 Oct 2010 15:31:40 GMT
    Server: Apache/2.2.13 (Red Hat)
    Pragma: no-cache
    Expires: Thu, 01 Jan 1970 00:00:00 GMT
    Cache-Control: no-cache, no-store
    Content-Language: en-GB
    Connection: close
    Transfer-Encoding: chunked
    Content-Type: text/html;charset=UTF-8
    http://ecom.test.toto.com/ecom/medias/sys_master/8796174057502/uk.gif
    GET /ecom/medias/sys_master/8796174057502/uk.gif HTTP/1.1
    Host: ecom.test.toto.com
    User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.1.8) Gecko/20100202 (CK-IBM) Firefox/3.5.8
    Accept: image/png,image/*;q=0.8,*/*;q=0.5
    Accept-Language: en-us,en;q=0.5
    Accept-Encoding: gzip,deflate
    Accept-Charset: ISO-8859-1,utf-8;q=0.7,*;q=0.7
    Keep-Alive: 300
    Connection: keep-alive
    Referer: http://ecom.test.toto.com/uk/en/home
    Cookie: STICKED-TO=R105852786; JSESSIONID=5A0F6EB8FBF63D5D0590FECEC62A302E.node2;
    HTTP/1.1 200 OK
    Set-Cookie: STICKED-TO=R105852786; path=/
    Date: Mon, 18 Oct 2010 15:31:40 GMT
    Server: Apache/2.2.13 (Red Hat)
    Content-Length: 382
    Connection: close
    Content-Type: image/gif
    Hypothesis :
    It seems that the static entries are not considered by the ACE...

  • Problem with initialization environment files

    I'm trying to get a .profile file to work in my login environment, but it just doesn't want to cooperate. I get errors on just about everything. In fact, the only thing I've been able to get to work is the echo command. It doesn't matter whether or not I use fully qualified paths for the commands or not. Here's a short list of some of the problems.
    1. Blank lines generate the following error...
    : command not found
    2. pwd command generates the following error...
    : command not found
    3. /bin/ls command generates the following error...
    : No such file or directory
    4. Echoing the PATH environment variable actually works...
    /usr/bin:/bin:/usr/sbin:/sbin:/usr/local/bin:/usr/X11/bin
    BTW, these commands work just fine from the command line. But if I manually run .profile, or have it run automatically when I launch a terminal window, these errors appear. I'm very familiar with command line interfaces as I've used a multitude of shells over the years in both Solaris and Linux environments. I just don't get what's going on with the Mac. Searching with Google has also drawn a blank, so far. I'm hoping someone has a simple answer for this.

    First, by any chance did your .profile get transferred to your Mac via a Windows system so that it is now <CR><LF> terminated. That will mess up just about every Unix shell
    Here are the steps I used to initially get my environment files over to the Mac.
    1. Created a tar file on a linux platform with my pre-existing environment files.
    2. Tar file was compressed with gzip.
    3. Compressed tar file was then burned to CD.
    4. CD loaded onto a Windows platform.
    5. From Windows platform, tried to email tar file to myself but it was too big to send.
    6. From Windows used WinZip to uncompress and open the tar file.
    7. Extracted the contents to a folder.
    8. Removed unnecessary files from folder to make result smaller. Also split contents of folder into multiple folders.
    9. Used WinZip to zip new folders containing necessary files into multiple zip files.
    10. Emailed zipped files to my home email account.
    11. Opened email from Mac and downloaded zip files.
    12. From a terminal window unzipped files using /usr/bin/unzip.
    13. Copied environment files to home directory with a cp –pr command.
    14. Disabled all environment files (by adding different file extensions) so I could begin experimenting with what I needed to change.
    15. Started with the .profile file by commenting out most of the file and leaving just a few commands. This is when my problems began. BTW, I used xemacs to edit the file. Xemacs was download and installed via Macports a while back in preparation for creating a development environment for myself. Getting my login environment going was my next step in the process.
    16. Since I couldn't get it to work, I then put nothing but some simple shell commands in the .profile to see what would happen. Commands like pwd, ls, and echo. And as I explained in the original post, the only thing that worked was the echo command.
    Looking at the preceding steps, the files were never opened on the Windows platform… is it possible that the WinZip steps caused <CR><LF> characters to appear somehow? Or, is it possible that xemacs messed up my file? I use emacs and xemacs all the time on linux and solaris systems with no such problems. Actually, at one point in my messing with the .profile file, in frustration, I decided to open it with vi. I hate vi, but know just enough to be dangerous. What I did was to remove a blank line (remember, blank lines are generating errors too) and insert another one. I figured vi is about as basic and primitive an editor as you can get. So, if any funny control characters are present, that should at least alleviate the problem. Unfortunately, even that still generated the same error.
    Have you tried a simplified .profile?
    Yes. See #16 above.
    Do you have more than one shell initialization file. Bash will look for
    .bash_profile
    .bash_login
    .profile
    in that order and use the first one it finds, then stop looking. If you any of the 2 earlier initialization files, bash will not bother looking at your .profile
    No, I do not have more than one initialization file... at the moment. And yes, I know what bash looks for, and in what order. At the moment I am only using a .profile just to see if I can get things working. See #14 and #15 above.
    I am assuming your shell is 'bash', the current Mac OS X default, however, if you started using Macs back in the Jaguar days, and have just been upgrading, then you shell might be tcsh, which would not even look at .profile, and trying to run it interactively would generate strange results when interpreted by tcsh.
    And of course, it is always possible you intentionally changed your shell. If you did that would be useful information. I suspect you did not, but I figured I would ask.
    Yes, I'm using the bash shell. $SHELL returns /bin/bash, and $0 returns -bash.
    If your lines end in ^M, then your .profile has been DOS'ified.
    Ok, I did the cat command you've suggested. BTW, thanks for the options on the cat command. I didn’t realize cat had options to show special characters. I’ve used it for years and never really looked at the man page on it. I believe there is also a way to see control characters within xemacs, but I can’t remember how to do that.
    Anyway, the file is definitely showing ^M characters. My first question is, is ^M the same as <CR><LF>? The reason I ask is it may have been xemacs that put those there, or they may have already been there from the files I transferred from the linux platform. I'm pretty sure xemacs uses ^M's because whatever mode I was able to put xemacs in in the past to see control characters, I'm about 99% sure I've seen all lines ending in that. Of course, that brings me to my next question. If that's true, why do these files work on linux and solaris platforms and not OS X? Like I said, I do most of my editing with xemacs, and I know the environment files were originally created on the other platforms using xemacs.
    If you have any ideas on these questions, please enlighten me. In the mean time, I'll play around with trying to get rid of the ^M's to see what happens. Not sure how I'm going to do that though since I'm not that familiar with a lot of other editors, so I wouldn't know how to load the files and remove the invisible ^M characters. I also really do not want to hand type in all my environment files if this turns out to be the problem. And if I use xemacs to perform the editing, then it'll just save the file with ^M's anyway.
    Thanks for your help.

  • A problem with threads

    I am trying to implement some kind of a server listening for requests. The listener part of the app, is a daemon thread that listens for connections and instantiates a handling daemon thread once it gets some. However, my problem is that i must be able to kill the listening thread at the user's will (say via a sto button). I have done this via the Sun's proposed way, by testing a boolean flag in the loop, which is set to false when i wish to kill the thread. The problem with this thing is the following...
    Once the thread starts excecuting, it will test the flag, find it true and enter the loop. At some point it will LOCK on the server socket waiting for connection. Unless some client actually connects, it will keep on listening indefinatelly whithought ever bothering to check for the flag again (no matter how many times you set the damn thing to false).
    My question is this: Is there any real, non-theoretical, applied way to stop thread in java safely?
    Thank you in advance,
    Lefty

    This was one solution from the socket programming forum, have you tried this??
    public Thread MyThread extends Thread{
         boolean active = true;          
         public void run(){
              ss.setSoTimeout(90);               
              while (active){                   
                   try{                       
                        serverSocket = ss.accept();
                   catch (SocketTimeoutException ste){
                   // do nothing                   
         // interrupt thread           
         public void deactivate(){               
              active = false;
              // you gotta sleep for a time longer than the               
              // accept() timeout to make sure that timeout is finished.               
              try{
                   sleep(91);               
              }catch (InterruptedException ie){            
              interrupt();
    }

Maybe you are looking for