Unix error command: 9

Hi,
I've setup a test cluster with Qmaster to evaluate it's potential use in our studio. Maya renders work without a problem but when I try to generate an After Effects render it fails and the Qmaster admin log tells me that:
exception = "Unix command error:9
I've run a command line render using the same remote assets as Qmaster is using and it renders correctly so the assets can at least be seen over the network and the network drive can be written to as well.
Just wondering if anyone has had this error before and if they know what it's referring to.
Thanks
Bruce

Hi Jouni,
Here is more info on the issue.
This ASA is acting as DHCP server for users.
Now it is not providing IP to the users.
Also users PC who have IP from ASA i am unable to ping their IP address.
First we thought it was bad cable from patch panel to user.
Then we unplug the failover cable from standby firewall after this i was able to run all the commands and users were
able to get the IP address from the ASA.
Seems it is synch issue between 2 ASA.
After this i put failover cable back to standby and we lost access to primary firewall and our internet was not working.
Then we shutdwon the standby ASA  and reboot the Primary ASA then everything was back to normal.
Currently standby ASA is standalone and not connecting to anything.
When i power on the standby ASA all hardware looks ok and is up and running.
Regards
Mahesh
Message was edited by: mahesh parmar

Similar Messages

  • Problem with unix "foreach" command

    Hi,
    I am facing a problem with unix command "foreach". I trying to process files using unix foreach command. When running the script with 500 or 1000 files. It is running fine. But when I am trying to the script with 2000+ files. Its throwing an error "Arguments too long".
    below is the syntax I am using in the script:
    foreach name (*)
    end
    Could anybody help me on this issue.
    Thanks in Advance.
    Manasa.

    UNIX/Linux systems expand wildcards onto the command line before invoking the
    individual commands. In effect, the shell rewrites the command line you give
    substituting the wildcard expansion. There is a limit to how long this command
    line can get.
    For example, suppose you have two files ("foo" and "bar") in your directory.
    The line:
    foreach name (*)
      echo $name
    endgets rewritten to:
    foreach name (foo bar)
      echo $name
    endand then the shell starts interpreting your script. So if you have many, many
    files, the rewritten line becomes:
    foreach name (f1 f2 f3 ... f10927)
      echo $name
    endso chances are the "foreach" line simply gets too long. To avoid problems do
    it this way; it avoids any problems based on how many files you have:
    ls | while read name
    do
      echo $name
    doneThis way the shell never exceeds its line length limitations because the
    wildcard is never expanded.
    Cheers

  • Unix find command...

    My problem exists with the behavior on the unix find command, or my lack of understanding of it.
    For example, I work for a graphics company and we have a constant folder structure like this:
    *12345 Apple - Poster*
    ~....~01_Layouts
    ~....~02_Images
    ~....~03_Fonts
    ~....~04ClientOriginals
    ~........~01.28.08_14:46
    ~........~03.07.08_15.03
    ~........~03.10.08_17.22
    When we receive files from a customer, the CSR creates a folder inside 04ClientOriginals following a format like 03.06.08_10.15, and copies the files/folders from customer supplied media into them.
    I have set up a launchd script that finds all of the date/time stamped folders inside of 04ClientOriginals that have not been modified within the past month and stuff them with the Stuffit command line utility. I do that with this command:
    find . -type d –mtime +30 -ipath #/04ClientOriginals/# -exec /usr/local/bin/stuff -f sit5 -m 2 -o -D {} \;
    This command works fine except in those cases where there are folders over 30 days old inside of a parent directory that is not 30 days old yet. I only want the find to descend to one level below 04ClientOriginals, and no further.
    I thought by adding an extra "/" at the end of the path #/04ClientOriginals/#/ instead of #/04ClientOriginals/# would keep it from descending further down, but when I try this the search returns no results. Also, I can’t use -maxdepth in my find arguments because the depth of 04ClientOriginals is not always constant.
    Any help would be greatly appreciated.
    Thanks.
    Edit: Due to the lack of decent markup tools for formatting code on the Apple Discussion Board, the wildcards in my file paths have been substituted with a "#". Kind of ridiculous for a unix discussion board to not have code highlighting capability.
    Message was edited by: Guriboy

    etresoft wrote:
    I don't know if these will work or not. Regular expressions are powerful, but tricky. Plus, there are a few different, but similar, varieties. Also, I don't know if the find within a find syntax will work. This might be something that is better suited to Perl. You would then have much more control over what you are doing.
    Running this find command finds exactly what I'm looking for:
    find . -type d -name "04ClientOriginals" -exec find {} -mtime +30 -type d -maxdepth 1 ;
    I hope I'm wrong, but can't you call -exec only once? As a test I ran this:
    find . -type d -name "04ClientOriginals" -exec find {} -mtime +30 -type d -maxdepth 1 -exec ls -l {} ;
    If I invoke -exec a second time, I get this error:
    find: -exec: no terminating ";" or "+"
    find: -exec: no terminating ";" or "+"
    find: -exec: no terminating ";" or "+"
    I've searched high and low and I cannot find an example of the find command calling -exec more than once.
    My regex skills are pretty weak, so I'll only tread those waters if I have to.

  • "error: command failed to execute correctly" on several packages

    Last night, when I updated before shutting down, I got a few errors, as in the subject. As it was very late, I thought I'd pick it up today.
    Unfortunately, the pacman log only lists one of the ones that failed as libgpg-error. The other one that I remember erroring was gawk. There were a few others, maybe four or five, but I couln't reliably recall them all, so won't guess.
    Here's a new attempt to reinstall gawk with --debug. I did the same with libgpg-error and the error occurred at the same place, with very similar output, so I think the issue is the same for all failures.
    debug: pacman v4.2.1 - libalpm v9.0.1
    debug: parseconfig: options pass
    debug: config: attempting to read file /etc/pacman.conf
    debug: config: finish section '(null)'
    debug: config: new section 'options'
    debug: config: HoldPkg: pacman
    debug: config: HoldPkg: glibc
    debug: config: usedelta (default 0.7)
    debug: config: arch: x86_64
    debug: config: verbosepkglists
    debug: config: chomp
    debug: config: SigLevel: Required
    debug: config: SigLevel: DatabaseOptional
    debug: config: SigLevel: TrustedOnly
    debug: config: LocalFileSigLevel: Optional
    debug: config: finish section 'options'
    debug: config: new section 'core'
    debug: config file /etc/pacman.conf, line 78: including /etc/pacman.d/mirrorlist
    debug: config: attempting to read file /etc/pacman.d/mirrorlist
    debug: config: finished parsing /etc/pacman.d/mirrorlist
    debug: config: finish section 'core'
    debug: config: new section 'extra'
    debug: config file /etc/pacman.conf, line 81: including /etc/pacman.d/mirrorlist
    debug: config: attempting to read file /etc/pacman.d/mirrorlist
    debug: config: finished parsing /etc/pacman.d/mirrorlist
    debug: config: finish section 'extra'
    debug: config: new section 'xyne-x86_64'
    debug: config: finish section 'xyne-x86_64'
    debug: config: new section 'community'
    debug: config file /etc/pacman.conf, line 91: including /etc/pacman.d/mirrorlist
    debug: config: attempting to read file /etc/pacman.d/mirrorlist
    debug: config: finished parsing /etc/pacman.d/mirrorlist
    debug: config: finish section 'community'
    debug: config: new section 'multilib'
    debug: config file /etc/pacman.conf, line 100: including /etc/pacman.d/mirrorlist
    debug: config: attempting to read file /etc/pacman.d/mirrorlist
    debug: config: finished parsing /etc/pacman.d/mirrorlist
    debug: config: finish section 'multilib'
    debug: config: new section 'infinality-bundle'
    debug: config: finish section 'infinality-bundle'
    debug: config: new section 'infinality-bundle-multilib'
    debug: config: finish section 'infinality-bundle-multilib'
    debug: config: new section 'infinality-bundle-fonts'
    debug: config: finish section 'infinality-bundle-fonts'
    debug: config: new section '(null)'
    debug: config: finished parsing /etc/pacman.conf
    debug: setup_libalpm called
    debug: option 'logfile' = /var/log/pacman.log
    debug: option 'gpgdir' = /etc/pacman.d/gnupg/
    debug: option 'cachedir' = /var/cache/pacman/pkg/
    debug: parseconfig: repo pass
    debug: config: attempting to read file /etc/pacman.conf
    debug: config: finish section '(null)'
    debug: config: new section 'options'
    debug: config: finish section 'options'
    debug: config: new section 'core'
    debug: config file /etc/pacman.conf, line 78: including /etc/pacman.d/mirrorlist
    debug: config: attempting to read file /etc/pacman.d/mirrorlist
    debug: config: finished parsing /etc/pacman.d/mirrorlist
    debug: config: finish section 'core'
    debug: registering sync database 'core'
    debug: database path for tree core set to /var/lib/pacman/sync/core.db
    debug: "/var/lib/pacman/sync/core.db.sig" is not readable: No such file or directory
    debug: sig path /var/lib/pacman/sync/core.db.sig could not be opened
    debug: missing optional signature
    debug: setting usage of 15 for core repoistory
    debug: adding new server URL to database 'core': http://arch.tamcore.eu/core/os/x86_64
    debug: adding new server URL to database 'core': http://mirror.one.com/archlinux/core/os/x86_64
    debug: adding new server URL to database 'core': http://mirror.gnomus.de/core/os/x86_64
    debug: adding new server URL to database 'core': http://mirror.js-webcoding.de/pub/archlinux/core/os/x86_64
    debug: adding new server URL to database 'core': http://archlinux.polymorf.fr/core/os/x86_64
    debug: config: new section 'extra'
    debug: config file /etc/pacman.conf, line 81: including /etc/pacman.d/mirrorlist
    debug: config: attempting to read file /etc/pacman.d/mirrorlist
    debug: config: finished parsing /etc/pacman.d/mirrorlist
    debug: config: finish section 'extra'
    debug: registering sync database 'extra'
    debug: database path for tree extra set to /var/lib/pacman/sync/extra.db
    debug: "/var/lib/pacman/sync/extra.db.sig" is not readable: No such file or directory
    debug: sig path /var/lib/pacman/sync/extra.db.sig could not be opened
    debug: missing optional signature
    debug: setting usage of 15 for extra repoistory
    debug: adding new server URL to database 'extra': http://arch.tamcore.eu/extra/os/x86_64
    debug: adding new server URL to database 'extra': http://mirror.one.com/archlinux/extra/os/x86_64
    debug: adding new server URL to database 'extra': http://mirror.gnomus.de/extra/os/x86_64
    debug: adding new server URL to database 'extra': http://mirror.js-webcoding.de/pub/archlinux/extra/os/x86_64
    debug: adding new server URL to database 'extra': http://archlinux.polymorf.fr/extra/os/x86_64
    debug: config: new section 'xyne-x86_64'
    debug: config: SigLevel: Required
    debug: config: finish section 'xyne-x86_64'
    debug: registering sync database 'xyne-x86_64'
    debug: database path for tree xyne-x86_64 set to /var/lib/pacman/sync/xyne-x86_64.db
    debug: GPGME version: 1.5.4
    debug: GPGME engine info: file=/usr/bin/gpg2, home=/etc/pacman.d/gnupg/
    debug: checking signature for /var/lib/pacman/sync/xyne-x86_64.db
    debug: 1 signatures returned
    debug: fingerprint: EC3CBE7F607D11E663149E811D1F0DC78F173680
    debug: summary: valid
    debug: summary: green
    debug: status: Success
    debug: timestamp: 1430676813
    debug: exp_timestamp: 0
    debug: validity: full; reason: Success
    debug: key: EC3CBE7F607D11E663149E811D1F0DC78F173680, Xyne. (key #3) <[email protected]>, owner_trust unknown, disabled 0
    debug: signature is valid
    debug: signature is fully trusted
    debug: setting usage of 15 for xyne-x86_64 repoistory
    debug: adding new server URL to database 'xyne-x86_64': http://xyne.archlinux.ca/repos/xyne
    debug: config: new section 'community'
    debug: config file /etc/pacman.conf, line 91: including /etc/pacman.d/mirrorlist
    debug: config: attempting to read file /etc/pacman.d/mirrorlist
    debug: config: finished parsing /etc/pacman.d/mirrorlist
    debug: config: finish section 'community'
    debug: registering sync database 'community'
    debug: database path for tree community set to /var/lib/pacman/sync/community.db
    debug: "/var/lib/pacman/sync/community.db.sig" is not readable: No such file or directory
    debug: sig path /var/lib/pacman/sync/community.db.sig could not be opened
    debug: missing optional signature
    debug: setting usage of 15 for community repoistory
    debug: adding new server URL to database 'community': http://arch.tamcore.eu/community/os/x86_64
    debug: adding new server URL to database 'community': http://mirror.one.com/archlinux/community/os/x86_64
    debug: adding new server URL to database 'community': http://mirror.gnomus.de/community/os/x86_64
    debug: adding new server URL to database 'community': http://mirror.js-webcoding.de/pub/archlinux/community/os/x86_64
    debug: adding new server URL to database 'community': http://archlinux.polymorf.fr/community/os/x86_64
    debug: config: new section 'multilib'
    debug: config file /etc/pacman.conf, line 100: including /etc/pacman.d/mirrorlist
    debug: config: attempting to read file /etc/pacman.d/mirrorlist
    debug: config: finished parsing /etc/pacman.d/mirrorlist
    debug: config: finish section 'multilib'
    debug: registering sync database 'multilib'
    debug: database path for tree multilib set to /var/lib/pacman/sync/multilib.db
    debug: "/var/lib/pacman/sync/multilib.db.sig" is not readable: No such file or directory
    debug: sig path /var/lib/pacman/sync/multilib.db.sig could not be opened
    debug: missing optional signature
    debug: setting usage of 15 for multilib repoistory
    debug: adding new server URL to database 'multilib': http://arch.tamcore.eu/multilib/os/x86_64
    debug: adding new server URL to database 'multilib': http://mirror.one.com/archlinux/multilib/os/x86_64
    debug: adding new server URL to database 'multilib': http://mirror.gnomus.de/multilib/os/x86_64
    debug: adding new server URL to database 'multilib': http://mirror.js-webcoding.de/pub/archlinux/multilib/os/x86_64
    debug: adding new server URL to database 'multilib': http://archlinux.polymorf.fr/multilib/os/x86_64
    debug: config: new section 'infinality-bundle'
    debug: config: finish section 'infinality-bundle'
    debug: registering sync database 'infinality-bundle'
    debug: database path for tree infinality-bundle set to /var/lib/pacman/sync/infinality-bundle.db
    debug: checking signature for /var/lib/pacman/sync/infinality-bundle.db
    debug: 1 signatures returned
    debug: fingerprint: A9244FB5E93F11F0E975337FAE6866C7962DDE58
    debug: summary: valid
    debug: summary: green
    debug: status: Success
    debug: timestamp: 1430276639
    debug: exp_timestamp: 0
    debug: validity: full; reason: Success
    debug: key: A9244FB5E93F11F0E975337FAE6866C7962DDE58, bohoomil (dev key) <[email protected]>, owner_trust unknown, disabled 0
    debug: signature is valid
    debug: signature is fully trusted
    debug: setting usage of 15 for infinality-bundle repoistory
    debug: adding new server URL to database 'infinality-bundle': http://bohoomil.com/repo/x86_64
    debug: config: new section 'infinality-bundle-multilib'
    debug: config: finish section 'infinality-bundle-multilib'
    debug: registering sync database 'infinality-bundle-multilib'
    debug: database path for tree infinality-bundle-multilib set to /var/lib/pacman/sync/infinality-bundle-multilib.db
    debug: checking signature for /var/lib/pacman/sync/infinality-bundle-multilib.db
    debug: 1 signatures returned
    debug: fingerprint: A9244FB5E93F11F0E975337FAE6866C7962DDE58
    debug: summary: valid
    debug: summary: green
    debug: status: Success
    debug: timestamp: 1430087321
    debug: exp_timestamp: 0
    debug: validity: full; reason: Success
    debug: key: A9244FB5E93F11F0E975337FAE6866C7962DDE58, bohoomil (dev key) <[email protected]>, owner_trust unknown, disabled 0
    debug: signature is valid
    debug: signature is fully trusted
    debug: setting usage of 15 for infinality-bundle-multilib repoistory
    debug: adding new server URL to database 'infinality-bundle-multilib': http://bohoomil.com/repo/multilib/x86_64
    debug: config: new section 'infinality-bundle-fonts'
    debug: config: finish section 'infinality-bundle-fonts'
    debug: registering sync database 'infinality-bundle-fonts'
    debug: database path for tree infinality-bundle-fonts set to /var/lib/pacman/sync/infinality-bundle-fonts.db
    debug: checking signature for /var/lib/pacman/sync/infinality-bundle-fonts.db
    debug: 1 signatures returned
    debug: fingerprint: A9244FB5E93F11F0E975337FAE6866C7962DDE58
    debug: summary: valid
    debug: summary: green
    debug: status: Success
    debug: timestamp: 1430276566
    debug: exp_timestamp: 0
    debug: validity: full; reason: Success
    debug: key: A9244FB5E93F11F0E975337FAE6866C7962DDE58, bohoomil (dev key) <[email protected]>, owner_trust unknown, disabled 0
    debug: signature is valid
    debug: signature is fully trusted
    debug: setting usage of 15 for infinality-bundle-fonts repoistory
    debug: adding new server URL to database 'infinality-bundle-fonts': http://bohoomil.com/repo/fonts
    debug: config: new section '(null)'
    debug: config: finished parsing /etc/pacman.conf
    debug: loading package cache for repository 'core'
    debug: opening archive /var/lib/pacman/sync/core.db
    debug: added 208 packages to package cache for db 'core'
    debug: adding package 'gawk'
    debug: loading package cache for repository 'local'
    debug: added 1122 packages to package cache for db 'local'
    warning: gawk-4.1.2-1 is up to date -- reinstalling
    debug: adding package gawk-4.1.2-1 to the transaction add list
    resolving dependencies...
    debug: resolving target's dependencies
    debug: started resolving dependencies
    debug: checkdeps: package gawk-4.1.2-1
    debug: finished resolving dependencies
    looking for conflicting packages...
    debug: looking for conflicts
    debug: check targets vs targets
    debug: check targets vs targets
    debug: check targets vs db and db vs targets
    debug: check targets vs db
    debug: check db vs targets
    debug: checking dependencies
    debug: checkdeps: package gawk-4.1.2-1
    debug: found cached pkg: /var/cache/pacman/pkg/gawk-4.1.2-1-x86_64.pkg.tar.xz
    debug: setting download size 0 for pkg gawk
    debug: sorting by dependencies
    debug: started sorting dependencies
    debug: sorting dependencies finished
    Package (1) Old Version New Version Net Change
    core/gawk 4.1.2-1 4.1.2-1 0.00 MiB
    Total Installed Size: 2.19 MiB
    Net Upgrade Size: 0.00 MiB
    :: Proceed with installation? [Y/n] y
    debug: using cachedir: /var/cache/pacman/pkg/
    debug: using cachedir: /var/cache/pacman/pkg/
    checking keyring...
    debug: looking up key 771DF6627EDF681F locally
    debug: key lookup success, key exists
    checking package integrity...
    debug: found cached pkg: /var/cache/pacman/pkg/gawk-4.1.2-1-x86_64.pkg.tar.xz
    debug: sig data: iQEcBAABCAAGBQJVQNc+AAoJEHcd9mJ+32gfQZgH/jkRiirmPTb4nE0xgcFGKc8wrxw3k9ooGyMFoeqAthTICB/5dBzNfEQ8b4X74gi8KiYQVYm4WE8kWIidUj5ekJhGwngO6Gk+lwyBq+Uh8rUHDJKw557fImM2bBah2lxNUxqZzxYTA1FByq2lptLB5EPJgAPemyUXACMXITDfqtWMpuHIEPLZi5WW9+cB0eMKz5IeEEfZi4lO2fyfRqxNkRDNSmC5NEDkfhm+XVXBEd4gugSOmYpKzlA67mjw2HP+oOyNheL8st4SjgFr/qVDdbfiBbaTTujC4mF1n73z5qp4K5/xgHqk42ftoo003XFQYVOAg3bDWMvUF5d63D4+HKg=
    debug: checking signature for /var/cache/pacman/pkg/gawk-4.1.2-1-x86_64.pkg.tar.xz
    debug: 1 signatures returned
    debug: fingerprint: 5B7E3FB71B7F10329A1C03AB771DF6627EDF681F
    debug: summary: valid
    debug: summary: green
    debug: status: Success
    debug: timestamp: 1430312766
    debug: exp_timestamp: 0
    debug: validity: full; reason: Success
    debug: key: 5B7E3FB71B7F10329A1C03AB771DF6627EDF681F, Tobias Powalowski <[email protected]>, owner_trust unknown, disabled 0
    debug: signature is valid
    debug: signature is fully trusted
    loading package files...
    debug: found cached pkg: /var/cache/pacman/pkg/gawk-4.1.2-1-x86_64.pkg.tar.xz
    debug: replacing pkgcache entry with package file for target gawk
    debug: opening archive /var/cache/pacman/pkg/gawk-4.1.2-1-x86_64.pkg.tar.xz
    debug: starting package load for /var/cache/pacman/pkg/gawk-4.1.2-1-x86_64.pkg.tar.xz
    debug: found mtree for package /var/cache/pacman/pkg/gawk-4.1.2-1-x86_64.pkg.tar.xz, getting file list
    debug: finished mtree reading for /var/cache/pacman/pkg/gawk-4.1.2-1-x86_64.pkg.tar.xz
    debug: sorting package filelist for /var/cache/pacman/pkg/gawk-4.1.2-1-x86_64.pkg.tar.xz
    checking for file conflicts...
    debug: looking for file conflicts
    debug: searching for file conflicts: gawk
    debug: searching for filesystem conflicts: gawk
    checking available disk space...
    debug: checking available disk space
    debug: discovered mountpoint: /tmp
    debug: discovered mountpoint: /sys/kernel/security
    debug: discovered mountpoint: /sys/kernel/debug
    debug: discovered mountpoint: /sys/kernel/config
    debug: discovered mountpoint: /sys/fs/pstore
    debug: discovered mountpoint: /sys/fs/cgroup/systemd
    debug: discovered mountpoint: /sys/fs/cgroup/net_cls
    debug: discovered mountpoint: /sys/fs/cgroup/memory
    debug: discovered mountpoint: /sys/fs/cgroup/freezer
    debug: discovered mountpoint: /sys/fs/cgroup/devices
    debug: discovered mountpoint: /sys/fs/cgroup/cpuset
    debug: discovered mountpoint: /sys/fs/cgroup/cpu,cpuacct
    debug: discovered mountpoint: /sys/fs/cgroup/blkio
    debug: discovered mountpoint: /sys/fs/cgroup
    debug: discovered mountpoint: /sys
    debug: discovered mountpoint: /run/user/1000
    debug: discovered mountpoint: /run
    debug: discovered mountpoint: /proc/sys/fs/binfmt_misc
    debug: discovered mountpoint: /proc
    debug: discovered mountpoint: /home/skanky/personal
    debug: discovered mountpoint: /home
    debug: discovered mountpoint: /dev/shm
    debug: discovered mountpoint: /dev/pts
    debug: discovered mountpoint: /dev/mqueue
    debug: discovered mountpoint: /dev/hugepages
    debug: discovered mountpoint: /dev
    debug: discovered mountpoint: /
    debug: loading fsinfo for /
    debug: partition /, needed 0, cushion 5121, free 1174711
    debug: installing packages
    reinstalling gawk...
    debug: reinstalling package gawk-4.1.2-1
    debug: opening archive /var/cache/pacman/pkg/gawk-4.1.2-1-x86_64.pkg.tar.xz
    debug: extracting: .INSTALL
    debug: removing old package first (gawk-4.1.2-1)
    debug: removing 110 files
    debug: unlinking /usr/share/man/man3/time.3am.gz
    debug: unlinking /usr/share/man/man3/rwarray.3am.gz
    debug: unlinking /usr/share/man/man3/revtwoway.3am.gz
    debug: unlinking /usr/share/man/man3/revoutput.3am.gz
    debug: unlinking /usr/share/man/man3/readfile.3am.gz
    debug: unlinking /usr/share/man/man3/readdir.3am.gz
    debug: unlinking /usr/share/man/man3/ordchr.3am.gz
    debug: unlinking /usr/share/man/man3/inplace.3am.gz
    debug: unlinking /usr/share/man/man3/fork.3am.gz
    debug: unlinking /usr/share/man/man3/fnmatch.3am.gz
    debug: unlinking /usr/share/man/man3/filefuncs.3am.gz
    debug: keeping directory /usr/share/man/man3/ (contains files)
    debug: unlinking /usr/share/man/man1/igawk.1.gz
    debug: unlinking /usr/share/man/man1/gawk.1.gz
    debug: keeping directory /usr/share/man/man1/ (contains files)
    debug: keeping directory /usr/share/man/ (contains files)
    debug: unlinking /usr/share/locale/vi/LC_MESSAGES/gawk.mo
    debug: keeping directory /usr/share/locale/vi/LC_MESSAGES/ (contains files)
    debug: keeping directory /usr/share/locale/vi/ (contains files)
    debug: unlinking /usr/share/locale/sv/LC_MESSAGES/gawk.mo
    debug: keeping directory /usr/share/locale/sv/LC_MESSAGES/ (contains files)
    debug: keeping directory /usr/share/locale/sv/ (contains files)
    debug: unlinking /usr/share/locale/pl/LC_MESSAGES/gawk.mo
    debug: keeping directory /usr/share/locale/pl/LC_MESSAGES/ (contains files)
    debug: keeping directory /usr/share/locale/pl/ (contains files)
    debug: unlinking /usr/share/locale/nl/LC_MESSAGES/gawk.mo
    debug: keeping directory /usr/share/locale/nl/LC_MESSAGES/ (contains files)
    debug: keeping directory /usr/share/locale/nl/ (contains files)
    debug: unlinking /usr/share/locale/ms/LC_MESSAGES/gawk.mo
    debug: keeping directory /usr/share/locale/ms/LC_MESSAGES/ (contains files)
    debug: keeping directory /usr/share/locale/ms/ (contains files)
    debug: unlinking /usr/share/locale/ja/LC_MESSAGES/gawk.mo
    debug: keeping directory /usr/share/locale/ja/LC_MESSAGES/ (contains files)
    debug: keeping directory /usr/share/locale/ja/ (contains files)
    debug: unlinking /usr/share/locale/it/LC_MESSAGES/gawk.mo
    debug: keeping directory /usr/share/locale/it/LC_MESSAGES/ (contains files)
    debug: keeping directory /usr/share/locale/it/ (contains files)
    debug: unlinking /usr/share/locale/fr/LC_MESSAGES/gawk.mo
    debug: keeping directory /usr/share/locale/fr/LC_MESSAGES/ (contains files)
    debug: keeping directory /usr/share/locale/fr/ (contains files)
    debug: unlinking /usr/share/locale/fi/LC_MESSAGES/gawk.mo
    debug: keeping directory /usr/share/locale/fi/LC_MESSAGES/ (contains files)
    debug: keeping directory /usr/share/locale/fi/ (contains files)
    debug: unlinking /usr/share/locale/es/LC_MESSAGES/gawk.mo
    debug: keeping directory /usr/share/locale/es/LC_MESSAGES/ (contains files)
    debug: keeping directory /usr/share/locale/es/ (contains files)
    debug: unlinking /usr/share/locale/de/LC_MESSAGES/gawk.mo
    debug: keeping directory /usr/share/locale/de/LC_MESSAGES/ (contains files)
    debug: keeping directory /usr/share/locale/de/ (contains files)
    debug: unlinking /usr/share/locale/da/LC_MESSAGES/gawk.mo
    debug: keeping directory /usr/share/locale/da/LC_MESSAGES/ (contains files)
    debug: keeping directory /usr/share/locale/da/ (contains files)
    debug: unlinking /usr/share/locale/ca/LC_MESSAGES/gawk.mo
    debug: keeping directory /usr/share/locale/ca/LC_MESSAGES/ (contains files)
    debug: keeping directory /usr/share/locale/ca/ (contains files)
    debug: keeping directory /usr/share/locale/ (contains files)
    debug: unlinking /usr/share/info/gawkinet.info.gz
    debug: unlinking /usr/share/info/gawk.info.gz
    debug: keeping directory /usr/share/info/ (contains files)
    debug: unlinking /usr/share/awk/zerofile.awk
    debug: unlinking /usr/share/awk/walkarray.awk
    debug: unlinking /usr/share/awk/strtonum.awk
    debug: unlinking /usr/share/awk/shellquote.awk
    debug: unlinking /usr/share/awk/round.awk
    debug: unlinking /usr/share/awk/rewind.awk
    debug: unlinking /usr/share/awk/readfile.awk
    debug: unlinking /usr/share/awk/readable.awk
    debug: unlinking /usr/share/awk/quicksort.awk
    debug: unlinking /usr/share/awk/processarray.awk
    debug: unlinking /usr/share/awk/passwd.awk
    debug: unlinking /usr/share/awk/ord.awk
    debug: unlinking /usr/share/awk/noassign.awk
    debug: unlinking /usr/share/awk/libintl.awk
    debug: unlinking /usr/share/awk/join.awk
    debug: unlinking /usr/share/awk/inplace.awk
    debug: unlinking /usr/share/awk/group.awk
    debug: unlinking /usr/share/awk/gettime.awk
    debug: unlinking /usr/share/awk/getopt.awk
    debug: unlinking /usr/share/awk/ftrans.awk
    debug: unlinking /usr/share/awk/ctime.awk
    debug: unlinking /usr/share/awk/cliff_rand.awk
    debug: unlinking /usr/share/awk/bits2str.awk
    debug: unlinking /usr/share/awk/assert.awk
    debug: keeping directory /usr/share/awk/ (in new package)
    debug: keeping directory /usr/share/ (contains files)
    debug: unlinking /usr/lib/gawk/time.so
    debug: unlinking /usr/lib/gawk/testext.so
    debug: unlinking /usr/lib/gawk/rwarray.so
    debug: unlinking /usr/lib/gawk/revtwoway.so
    debug: unlinking /usr/lib/gawk/revoutput.so
    debug: unlinking /usr/lib/gawk/readfile.so
    debug: unlinking /usr/lib/gawk/readdir.so
    debug: unlinking /usr/lib/gawk/ordchr.so
    debug: unlinking /usr/lib/gawk/inplace.so
    debug: unlinking /usr/lib/gawk/fork.so
    debug: unlinking /usr/lib/gawk/fnmatch.so
    debug: unlinking /usr/lib/gawk/filefuncs.so
    debug: keeping directory /usr/lib/gawk/ (in new package)
    debug: unlinking /usr/lib/awk/pwcat
    debug: unlinking /usr/lib/awk/grcat
    debug: keeping directory /usr/lib/awk/ (in new package)
    debug: keeping directory /usr/lib/ (contains files)
    debug: unlinking /usr/include/gawkapi.h
    debug: keeping directory /usr/include/ (contains files)
    debug: unlinking /usr/bin/igawk
    debug: unlinking /usr/bin/gawk-4.1.2
    debug: unlinking /usr/bin/gawk
    debug: unlinking /usr/bin/awk
    debug: keeping directory /usr/bin/ (contains files)
    debug: keeping directory /usr/ (contains files)
    debug: removing database entry 'gawk'
    debug: removing entry 'gawk' from 'local' cache
    debug: extracting files
    debug: opening archive /var/cache/pacman/pkg/gawk-4.1.2-1-x86_64.pkg.tar.xz
    debug: skipping extraction of '.PKGINFO'
    debug: extracting /var/lib/pacman/local/gawk-4.1.2-1/install
    debug: extracting /var/lib/pacman/local/gawk-4.1.2-1/mtree
    debug: extract: skipping dir extraction of /usr/
    debug: extract: skipping dir extraction of /usr/lib/
    debug: extract: skipping dir extraction of /usr/share/
    debug: extract: skipping dir extraction of /usr/include/
    debug: extract: skipping dir extraction of /usr/bin/
    debug: extracting /usr/bin/igawk
    debug: extracting /usr/bin/awk
    debug: extracting /usr/bin/gawk-4.1.2
    debug: extracting /usr/bin/gawk
    debug: extracting /usr/include/gawkapi.h
    debug: extract: skipping dir extraction of /usr/share/locale/
    debug: extract: skipping dir extraction of /usr/share/awk/
    debug: extract: skipping dir extraction of /usr/share/info/
    debug: extract: skipping dir extraction of /usr/share/man/
    debug: extract: skipping dir extraction of /usr/share/man/man3/
    debug: extract: skipping dir extraction of /usr/share/man/man1/
    debug: extracting /usr/share/man/man1/gawk.1.gz
    debug: extracting /usr/share/man/man1/igawk.1.gz
    debug: extracting /usr/share/man/man3/filefuncs.3am.gz
    debug: extracting /usr/share/man/man3/fnmatch.3am.gz
    debug: extracting /usr/share/man/man3/fork.3am.gz
    debug: extracting /usr/share/man/man3/inplace.3am.gz
    debug: extracting /usr/share/man/man3/ordchr.3am.gz
    debug: extracting /usr/share/man/man3/readdir.3am.gz
    debug: extracting /usr/share/man/man3/readfile.3am.gz
    debug: extracting /usr/share/man/man3/revoutput.3am.gz
    debug: extracting /usr/share/man/man3/revtwoway.3am.gz
    debug: extracting /usr/share/man/man3/rwarray.3am.gz
    debug: extracting /usr/share/man/man3/time.3am.gz
    debug: extracting /usr/share/info/gawk.info.gz
    debug: extracting /usr/share/info/gawkinet.info.gz
    debug: extracting /usr/share/awk/zerofile.awk
    debug: extracting /usr/share/awk/walkarray.awk
    debug: extracting /usr/share/awk/strtonum.awk
    debug: extracting /usr/share/awk/shellquote.awk
    debug: extracting /usr/share/awk/round.awk
    debug: extracting /usr/share/awk/rewind.awk
    debug: extracting /usr/share/awk/readfile.awk
    debug: extracting /usr/share/awk/readable.awk
    debug: extracting /usr/share/awk/quicksort.awk
    debug: extracting /usr/share/awk/processarray.awk
    debug: extracting /usr/share/awk/ord.awk
    debug: extracting /usr/share/awk/noassign.awk
    debug: extracting /usr/share/awk/libintl.awk
    debug: extracting /usr/share/awk/join.awk
    debug: extracting /usr/share/awk/inplace.awk
    debug: extracting /usr/share/awk/gettime.awk
    debug: extracting /usr/share/awk/getopt.awk
    debug: extracting /usr/share/awk/ftrans.awk
    debug: extracting /usr/share/awk/ctime.awk
    debug: extracting /usr/share/awk/cliff_rand.awk
    debug: extracting /usr/share/awk/bits2str.awk
    debug: extracting /usr/share/awk/assert.awk
    debug: extracting /usr/share/awk/group.awk
    debug: extracting /usr/share/awk/passwd.awk
    debug: extract: skipping dir extraction of /usr/share/locale/vi/
    debug: extract: skipping dir extraction of /usr/share/locale/sv/
    debug: extract: skipping dir extraction of /usr/share/locale/pl/
    debug: extract: skipping dir extraction of /usr/share/locale/nl/
    debug: extract: skipping dir extraction of /usr/share/locale/ms/
    debug: extract: skipping dir extraction of /usr/share/locale/ja/
    debug: extract: skipping dir extraction of /usr/share/locale/it/
    debug: extract: skipping dir extraction of /usr/share/locale/fr/
    debug: extract: skipping dir extraction of /usr/share/locale/fi/
    debug: extract: skipping dir extraction of /usr/share/locale/es/
    debug: extract: skipping dir extraction of /usr/share/locale/de/
    debug: extract: skipping dir extraction of /usr/share/locale/da/
    debug: extract: skipping dir extraction of /usr/share/locale/ca/
    debug: extract: skipping dir extraction of /usr/share/locale/ca/LC_MESSAGES/
    debug: extracting /usr/share/locale/ca/LC_MESSAGES/gawk.mo
    debug: extract: skipping dir extraction of /usr/share/locale/da/LC_MESSAGES/
    debug: extracting /usr/share/locale/da/LC_MESSAGES/gawk.mo
    debug: extract: skipping dir extraction of /usr/share/locale/de/LC_MESSAGES/
    debug: extracting /usr/share/locale/de/LC_MESSAGES/gawk.mo
    debug: extract: skipping dir extraction of /usr/share/locale/es/LC_MESSAGES/
    debug: extracting /usr/share/locale/es/LC_MESSAGES/gawk.mo
    debug: extract: skipping dir extraction of /usr/share/locale/fi/LC_MESSAGES/
    debug: extracting /usr/share/locale/fi/LC_MESSAGES/gawk.mo
    debug: extract: skipping dir extraction of /usr/share/locale/fr/LC_MESSAGES/
    debug: extracting /usr/share/locale/fr/LC_MESSAGES/gawk.mo
    debug: extract: skipping dir extraction of /usr/share/locale/it/LC_MESSAGES/
    debug: extracting /usr/share/locale/it/LC_MESSAGES/gawk.mo
    debug: extract: skipping dir extraction of /usr/share/locale/ja/LC_MESSAGES/
    debug: extracting /usr/share/locale/ja/LC_MESSAGES/gawk.mo
    debug: extract: skipping dir extraction of /usr/share/locale/ms/LC_MESSAGES/
    debug: extracting /usr/share/locale/ms/LC_MESSAGES/gawk.mo
    debug: extract: skipping dir extraction of /usr/share/locale/nl/LC_MESSAGES/
    debug: extracting /usr/share/locale/nl/LC_MESSAGES/gawk.mo
    debug: extract: skipping dir extraction of /usr/share/locale/pl/LC_MESSAGES/
    debug: extracting /usr/share/locale/pl/LC_MESSAGES/gawk.mo
    debug: extract: skipping dir extraction of /usr/share/locale/sv/LC_MESSAGES/
    debug: extracting /usr/share/locale/sv/LC_MESSAGES/gawk.mo
    debug: extract: skipping dir extraction of /usr/share/locale/vi/LC_MESSAGES/
    debug: extracting /usr/share/locale/vi/LC_MESSAGES/gawk.mo
    debug: extract: skipping dir extraction of /usr/lib/gawk/
    debug: extract: skipping dir extraction of /usr/lib/awk/
    debug: extracting /usr/lib/awk/pwcat
    debug: extracting /usr/lib/awk/grcat
    debug: extracting /usr/lib/gawk/filefuncs.so
    debug: extracting /usr/lib/gawk/fnmatch.so
    debug: extracting /usr/lib/gawk/fork.so
    debug: extracting /usr/lib/gawk/inplace.so
    debug: extracting /usr/lib/gawk/ordchr.so
    debug: extracting /usr/lib/gawk/readdir.so
    debug: extracting /usr/lib/gawk/readfile.so
    debug: extracting /usr/lib/gawk/revoutput.so
    debug: extracting /usr/lib/gawk/revtwoway.so
    debug: extracting /usr/lib/gawk/rwarray.so
    debug: extracting /usr/lib/gawk/testext.so
    debug: extracting /usr/lib/gawk/time.so
    debug: updating database
    debug: adding database entry 'gawk'
    debug: writing gawk-4.1.2-1 DESC information back to db
    debug: writing gawk-4.1.2-1 FILES information back to db
    debug: adding entry 'gawk' in 'local' cache
    debug: executing ". /tmp/alpm_r21DA5/.INSTALL; post_upgrade 4.1.2-1 4.1.2-1"
    debug: executing "/usr/bin/bash" under chroot "/"
    debug: call to waitpid succeeded
    error: command failed to execute correctly
    debug: running ldconfig
    debug: executing "/usr/bin/ldconfig" under chroot "/"
    debug: call to waitpid succeeded
    debug: unregistering database 'local'
    debug: freeing package cache for repository 'local'
    debug: unregistering database 'core'
    debug: freeing package cache for repository 'core'
    debug: unregistering database 'extra'
    debug: unregistering database 'xyne-x86_64'
    debug: unregistering database 'community'
    debug: unregistering database 'multilib'
    debug: unregistering database 'infinality-bundle'
    debug: unregistering database 'infinality-bundle-multilib'
    debug: unregistering database 'infinality-bundle-fonts'
    pacman thinks the upgrade/reinstall was successful in that the latest version is installed.
    I did a search on the forums and the only other issue that I thought was connected might be microcode not up to date, but I had followed the update instructions some time back and as far as I can tell, the microcode  is up to date.
    I have two main questions:
    1) How do I work out what's causing the error, from above?
    2) Is there a way I can work out which packages gave the error, so I can make sure they're installed properly?
    Thanks.

    The following packages also had problems
    ( 2/17) upgrading glibc
    error: command failed to execute correctly
    ( 3/17) upgrading binutils
    error: command failed to execute correctly
    ( 4/17) upgrading coreutils
    error: command failed to execute correctly
    ( 8/17) upgrading gcc
    error: command failed to execute correctly
    ( 9/17) upgrading gcc-fortran
    error: command failed to execute correctly
    (10/17) upgrading gcc-libs
    error: command failed to execute correctly
    Does anybody have a clue?
    Thanks,

  • ERROR Command File filename Not Found.

    Hi all,
    I am trying to automate the import of interface tables into Planning Dimension library. I am getting the below error. I have tried lot of methods in the way I call the Import.txt from epma-batch-client.bat but nothing seem to work. Your help appreciated. Thanks in advance.
    Error -> ERROR Command File "E:\\Import.txt" Not Found.
    Way Executed ->
    E:\Oracle\Middleware\EPMSystem11R1\products\Foundation\BPMA\EPMABatchClient>epma
    -batch-client.bat -C"E:\\Import.txt" -Uhypadmin -Ppassword
    Welcome to EPM Architect command line processing...
    Version:11.1.2.1.00
    2012-09-25 09:49:21,116 INFO Validating the command file E:\\Import.txt
    2012-09-25 09:49:21,117 ERROR Command File "E:\\Import.txt" Not Found.
    2012-09-25 09:49:21,118 INFO Exiting with return code 1 - Command File Validati
    on Error
    2012-09-25 09:49:21,118 INFO Thank you for using EPMA Batch Client!
    E:\Oracle\Middleware\EPMSystem11R1\products\Foundation\BPMA\EPMABatchClient>
    Contents of Import.txt ->
    set bpmaserverurl=http://server/hyperion-bpma-server;
    set workspaceurl=http://server:19000/workspace;
    Login hypadmin,password;
    Execute Import Parameters(importtype, profilename, filename, waitforcompletion) Values ('InterfaceTables','customertest','.txt','true');
    Logout;
    QUIT;

    Thanks all, It was an oversight. A very silly mistake and I took a lot of your time, sorry about that.
    I had the folder structure set as "hide known file types". And I named the file with an extension import.txt assuming the file's name is import and the extension is .txt. That was the error and that is why epma-batch-client could not locate the file called import.txt in the E: drive while the file name was actually import.txt.txt.
    I fixed that and now it runs fine as expected.

  • UNIX sed commands to clean up data before loading into BI

    Hi all,
    we are trying to load the data into BI from text files.. This data needs to be cleaned before it can be loaded into BI and this has to be done using UNIX sed commands!!
    We basically need to do a data cleansing act, like removing unwanted characters (tab values and newline values as part of the characteristic values). How can it be done using unix sed commands??
    your help is very much appreciated.
    Regards

    Hi all,
    we are trying to load the data into BI from text files.. This data needs to be cleaned before it can be loaded into BI and this has to be done using UNIX sed commands!!
    We basically need to do a data cleansing act, like removing unwanted characters (tab values and newline values as part of the characteristic values). How can it be done using unix sed commands??
    your help is very much appreciated.
    Regards

  • Alter mount database failing: Intel SVR4 UNIX Error: 79: Value too large for defined data type

    Hi there,
    I am having a kind of weird issues with my oracle enterprise db which was perfectly working since 2009. After having had some trouble with my network switch (replaced the switch) the all network came back and all subnet devices are functioning perfect.
    This is an NFS for oracle db backup and the oracle is not starting in mount/alter etc.
    Here the details of my server:
    - SunOS 5.10 Generic_141445-09 i86pc i386 i86pc
    - Oracle Database 10g Enterprise Edition Release 10.2.0.2.0
    - 38TB disk space (plenty free)
    - 4GB RAM
    And when I attempt to start the db, here the logs:
    Starting up ORACLE RDBMS Version: 10.2.0.2.0.
    System parameters with non-default values:
      processes                = 150
      shared_pool_size         = 209715200
      control_files            = /opt/oracle/oradata/CATL/control01.ctl, /opt/oracle/oradata/CATL/control02.ctl, /opt/oracle/oradata/CATL/control03.ctl
      db_cache_size            = 104857600
      compatible               = 10.2.0
      log_archive_dest         = /opt/oracle/oradata/CATL/archive
      log_buffer               = 2867200
      db_files                 = 80
      db_file_multiblock_read_count= 32
      undo_management          = AUTO
      global_names             = TRUE
      instance_name            = CATL
      parallel_max_servers     = 5
      background_dump_dest     = /opt/oracle/admin/CATL/bdump
      user_dump_dest           = /opt/oracle/admin/CATL/udump
      max_dump_file_size       = 10240
      core_dump_dest           = /opt/oracle/admin/CATL/cdump
      db_name                  = CATL
      open_cursors             = 300
    PMON started with pid=2, OS id=10751
    PSP0 started with pid=3, OS id=10753
    MMAN started with pid=4, OS id=10755
    DBW0 started with pid=5, OS id=10757
    LGWR started with pid=6, OS id=10759
    CKPT started with pid=7, OS id=10761
    SMON started with pid=8, OS id=10763
    RECO started with pid=9, OS id=10765
    MMON started with pid=10, OS id=10767
    MMNL started with pid=11, OS id=10769
    Thu Nov 28 05:49:02 2013
    ALTER DATABASE   MOUNT
    Thu Nov 28 05:49:02 2013
    ORA-00202: control file: '/opt/oracle/oradata/CATL/control01.ctl'
    ORA-27037: unable to obtain file status
    Intel SVR4 UNIX Error: 79: Value too large for defined data type
    Additional information: 45
    Trying to start db without mount it starts without issues:
    SQL> startup nomount
    ORACLE instance started.
    Total System Global Area  343932928 bytes
    Fixed Size                  1280132 bytes
    Variable Size             234882940 bytes
    Database Buffers          104857600 bytes
    Redo Buffers                2912256 bytes
    SQL>
    But when I try to mount or alter db:
    SQL> alter database mount;
    alter database mount
    ERROR at line 1:
    ORA-00205: error in identifying control file, check alert log for more info
    SQL>
    From the logs again:
    alter database mount
    Thu Nov 28 06:00:20 2013
    ORA-00202: control file: '/opt/oracle/oradata/CATL/control01.ctl'
    ORA-27037: unable to obtain file status
    Intel SVR4 UNIX Error: 79: Value too large for defined data type
    Additional information: 45
    Thu Nov 28 06:00:20 2013
    ORA-205 signalled during: alter database mount
    We have already checked in everywhere in the system, got oracle support as well without success. The control files are in the place and checked with strings, they are correct.
    Can somebody give a clue please?
    Maybe somebody had similar issue here....
    Thanks in advance.

    Did the touch to update the date, but no joy either....
    These are further logs, so maybe can give a clue:
    Wed Nov 20 05:58:27 2013
    Errors in file /opt/oracle/admin/CATL/bdump/catl_j000_7304.trc:
    ORA-12012: error on auto execute of job 5324
    ORA-27468: "SYS.PURGE_LOG" is locked by another process
    Sun Nov 24 20:13:40 2013
    Starting ORACLE instance (normal)
    control_files = /opt/oracle/oradata/CATL/control01.ctl, /opt/oracle/oradata/CATL/control02.ctl, /opt/oracle/oradata/CATL/control03.ctl
    Sun Nov 24 20:15:42 2013
    alter database mount
    Sun Nov 24 20:15:42 2013
    ORA-00202: control file: '/opt/oracle/oradata/CATL/control01.ctl'
    ORA-27037: unable to obtain file status
    Intel SVR4 UNIX Error: 79: Value too large for defined data type
    Additional information: 45
    Sun Nov 24 20:15:42 2013
    ORA-205 signalled during: alter database mount

  • How to call unix script/command in ODI

    Hello Gurus,
    Please let me know how to call unix script/command in ODI?
    Thanks
    Shridhar

    you can call shell script using the OS command found in Package.
    Step 1. Drag the OS Command in the Packgae
    Step 2. In the Text mentiond call the script say for ex sh /opt/path/script.sh
    Step 3. Execute.
    Note : Make sure the User through which ODI is triggering does have the required permission to execute shellscript , also always provide the full path , since scripts are execute from the oracldi/bin folder so its necessary to provide the complete path of the script location.
    Hope this helps.

  • Invoking a UNIX shell command from Java stored procedure

    The program below is suppose do send an email using UNIX mailx program. It works correctly when I compile it in UNIX and invoke it from the command line by sending an email to the given address.
    I need this program to run as a stored procedure, however. I deploy it as such and try to invoke it. It prints the results correctly to the standard output. It does not send any emails, however. One other difference in execution is that when invoked from the command line, the program takes about a minute to return. When invoked as a stored procedure in PL/SQL program or SQL*Plus anonymous block, it returns immediately.
    Why would mailx invocation not work from a stored procedure? Are there other ways to invoke mailx from PL/SQL?
    Thank you.
    Michael
    import java.io.BufferedWriter;
    import java.io.IOException;
    import java.io.OutputStreamWriter;
    public class MailUtility
    public static void main(String[] args)
    System.out.println(mailx("Hey, there", "Hello", "oracle@solaris10ora", 1));
    * Sends a message using UNIX mailx command.
    * @param message message contents
    * @param subject message subject
    * @param addressee message addressee
    * @param display if greater than 0, display the command
    * @return OS process return code
    public static int mailx(String message, String subject,
    String addressee, int display)
    System.out.println("In mailx()");
    try
    String command =
    "echo \"" + message + "\" | mailx -r [email protected]" + " -s \"" + subject + "\" " + addressee;
    if (display > 0)
    System.out.println(command);
    try
    Process process = Runtime.getRuntime().exec("/bin/bash");
    BufferedWriter outCommand =
    new BufferedWriter(new OutputStreamWriter(process.getOutputStream()));
    outCommand.write(command, 0, command.length());
    outCommand.newLine();
    outCommand.write("exit", 0, 4);
    outCommand.newLine();
    outCommand.flush();
    process.waitFor();
    outCommand.close();
    return process.exitValue();
    catch (IOException e)
    e.printStackTrace();
    return -1;
    catch (Exception e)
    e.printStackTrace();
    return -1;

    try adding the full explicit path to "mailx" in the command string that gets sent to Runtime. i would guess that the shell that gets spawned might not have a proper environment and thus mailx might not be found.
    == sfisque

  • Error when upgrading kernel (error: command failed to execute corre...

    Hi, twice now when upgrading the kernel I have seen
    "error: command failed to execute correctly"
    in pacmans output, any ideas as to what it might be?
    Bit of pacman output:
    ( 4/11) upgrading fontconfig [###################] 100%
    updating font cache... done.
    ( 5/11) upgrading gpm [###################] 100%
    ( 6/11) upgrading linux [###################] 100%
    >>> Updating module dependencies. Please wait ...
    >>> Generating initial ramdisk, using mkinitcpio. Please wait...
    ==> Building image from preset: /etc/mkinitcpio.d/linux.preset: 'default'
    -> -k /boot/vmlinuz-linux -c /etc/mkinitcpio.conf -g /boot/initramfs-linux.img
    ==> Starting build: 3.9.3-1-ARCH
    -> Running build hook: [base]
    -> Running build hook: [udev]
    -> Running build hook: [autodetect]
    -> Running build hook: [modconf]
    -> Running build hook: [block]
    -> Running build hook: [filesystems]
    -> Running build hook: [keyboard]
    -> Running build hook: [fsck]
    ==> ERROR: file not found: `fsck.btrfs'
    ==> WARNING: No fsck helpers found. fsck will not be run on boot.
    ==> Generating module dependencies
    ==> Creating gzip initcpio image: /boot/initramfs-linux.img
    ==> WARNING: errors were encountered during the build. The image may not be complete.
    ==> Building image from preset: /etc/mkinitcpio.d/linux.preset: 'fallback'
    -> -k /boot/vmlinuz-linux -c /etc/mkinitcpio.conf -g /boot/initramfs-linux-fallback.img -S autodetect
    ==> Starting build: 3.9.3-1-ARCH
    -> Running build hook: [base]
    -> Running build hook: [udev]
    -> Running build hook: [modconf]
    -> Running build hook: [block]
    ==> WARNING: Possibly missing firmware for module: aic94xx
    ==> WARNING: Possibly missing firmware for module: bfa
    -> Running build hook: [filesystems]
    -> Running build hook: [keyboard]
    -> Running build hook: [fsck]
    ==> Generating module dependencies
    ==> Creating gzip initcpio image: /boot/initramfs-linux-fallback.img
    ==> Image generation successful
    error: command failed to execute correctly
    ( 7/11) upgrading man-db [###################] 100%
    ( 8/11) upgrading mdadm
    jason@jason-laptop ~ % sudo mkinitcpio -p linux
    ==> Building image from preset: /etc/mkinitcpio.d/linux.preset: 'default'
    -> -k /boot/vmlinuz-linux -c /etc/mkinitcpio.conf -g /boot/initramfs-linux.img
    ==> Starting build: 3.9.3-1-ARCH
    -> Running build hook: [base]
    -> Running build hook: [udev]
    -> Running build hook: [autodetect]
    -> Running build hook: [modconf]
    -> Running build hook: [block]
    -> Running build hook: [filesystems]
    -> Running build hook: [keyboard]
    -> Running build hook: [fsck]
    ==> ERROR: file not found: `fsck.btrfs'
    ==> WARNING: No fsck helpers found. fsck will not be run on boot.
    ==> Generating module dependencies
    ==> Creating gzip initcpio image: /boot/initramfs-linux.img
    ==> WARNING: errors were encountered during the build. The image may not be complete.
    ==> Building image from preset: /etc/mkinitcpio.d/linux.preset: 'fallback'
    -> -k /boot/vmlinuz-linux -c /etc/mkinitcpio.conf -g /boot/initramfs-linux-fallback.img -S autodetect
    ==> Starting build: 3.9.3-1-ARCH
    -> Running build hook: [base]
    -> Running build hook: [udev]
    -> Running build hook: [modconf]
    -> Running build hook: [block]
    ==> WARNING: Possibly missing firmware for module: aic94xx
    ==> WARNING: Possibly missing firmware for module: bfa
    -> Running build hook: [filesystems]
    -> Running build hook: [keyboard]
    -> Running build hook: [fsck]
    ==> Generating module dependencies
    ==> Creating gzip initcpio image: /boot/initramfs-linux-fallback.img
    ==> Image generation successful

    First search result: https://bbs.archlinux.org/viewtopic.php?id=139370
    Please make some effort yourself...

  • Error Command /usr/bin/codesign failed with exit code 1

    Hello everyone, I take this opportunity to greet and thank all in advance.
    I develop Android in for a long time and I just started trying with xcode. But I have this compilation error:
    Command /usr/bin/codesign failed with exit code 1
    I found it on google but nothing that I have solved the problem.
    Here is the error log:
    CodeSign /Users/paolotuttoilmondo/Library/Developer/Xcode/DerivedData/veneziawebcam-dbkg muothgsyigeuuxsxjflreufo/Build/Products/Distribution-iphoneos/veneziawebcam.app
    cd /Users/paolotuttoilmondo/Documents/Applications/veneziawebcam
    setenv CODESIGN_ALLOCATE /Developer/Platforms/iPhoneOS.platform/Developer/usr/bin/codesign_allocate
    setenv PATH "/Developer/Platforms/iPhoneOS.platform/Developer/usr/bin:/Developer/usr/bin:/u sr/bin:/bin:/usr/sbin:/sbin"
    /usr/bin/codesign --force --sign "iPhone Distribution: Paolo Tuttoilmondo" --resource-rules=/Users/paolotuttoilmondo/Library/Developer/Xcode/DerivedData/v eneziawebcam-dbkgmuothgsyigeuuxsxjflreufo/Build/Products/Distribution-iphoneos/v eneziawebcam.app/ResourceRules.plist --entitlements /Users/paolotuttoilmondo/Library/Developer/Xcode/DerivedData/veneziawebcam-dbkg muothgsyigeuuxsxjflreufo/Build/Intermediates/veneziawebcam.build/Distribution-ip honeos/veneziawebcam.build/veneziawebcam.xcent  /Users/paolotuttoilmondo/Library/Developer/Xcode/DerivedData/veneziawebcam-dbkg muothgsyigeuuxsxjflreufo/Build/Products/Distribution-iphoneos/veneziawebcam.app
    /Users/paolotuttoilmondo/Library/Developer/Xcode/DerivedData/veneziawebcam-dbkgm uothgsyigeuuxsxjflreufo/Build/Products/Distribution-iphoneos/veneziawebcam.app: CSSMERR_TP_NOT_TRUSTED
    Command /usr/bin/codesign failed with exit code 1
    My certificated Key:
    I think the problem is in the certificates
    I use Xcode 4.2.3
    Thanks in advance.
    Paolo

    Hello everyone, I solved the problem by me, I missed the certificate WWDR.
    Thanks

  • Starting Unix shell command with 7.3.4

    Hallo,
    does anybody have a easy to use solution to start an
    Unix shell command with Oracle 7.3.4 ????
    Thanx

    found on metalink :
    Certify - Certification Matrix: Oracle Server - Enterprise Edition on HP Tru64 UNIX
    Server Certifications
    OS        Product Certified With Version Status Addtl. Info. Components Other
    5.1b 8.1.7   (8i) 64-bit N/A N/A Certified Yes None None
    5.1a 8.1.7   (8i) 64-bit N/A N/A Certified Yes None None
    5.1 8.1.7    (8i) 64-bit N/A N/A Certified Yes None None
    5.0a 8.1.7   (8i) 64-bit N/A N/A Certified Yes None None
    5.0 8.1.7    (8i) 64-bit N/A N/A Desup:OS Yes None N/A
    4.0f-g 8.1.7 (8i) 64-bit N/A N/A Certified Yes None None
    4.0d-e 8.1.7 (8i) 64-bit N/A N/A Desup:OS Yes None N/A --------------------------------------------------------------------------------
    Copyright (c) 1995,2000 Oracle Corporation. All Rights Reserved. Legal Notices and Terms of Use.

  • Linux/Unix error messages & troubleshooting notes

    I am looking for some book/notes where i can check linux/unix error messages and what's there meaning? & possible what's fix? & any troubleshooting guide would help too....
    eg
    SQL> connect /as sysdba;
    ERROR:
    ORA-09925: Unable to create audit trail file
    IBM AIX RISC System/6000 Error: 89: Invalid file system control data detected
    Additional information: 9925
    ORA-09925: Unable to create audit trail file
    IBM AIX RISC System/6000 Error: 89: Invalid file system control data detected
    Additional information: 9925

    DBA2008 wrote:
    I am looking for some metalink notes# /document for Linux Troubleshooting, i want to know more about these topics
    1. Troubleshooting Techniques
    Troubleshooting methods
    Best practices
    Tools
    2. Troubleshooting Boot Issues
    Working with advanced GRUB features
    Rescue and GRUB CDs
    Advanced ext2/ext3 filesystem repair
    Rescuing RAID and LVM volumes
    3. Local Configuration
    Tools to identify configuration problems
    4. Hardware
    Preempting hardware failures (looking for the signs)
    Protecting against hardware failures
    Redundant configurations
    Tools to help identify hardware failures and intermittent problems
    5. Applications
    Tools and techniques for troubleshooting applications
    Common application problems and how to solve them
    6. Network
    Manual configuration of network cards
    Troubleshooting advanced setups (bonded interfaces, virtual interfaces)
    Connectivity issues
    Network diagnostic tools
    7. Security
    Working effectively with (and not against) security tools, including SELinux, SSL, and authentication
    8. Red Hat Resources and Reporting Problems
    Support options
    Knowledgebase
    Certified training
    Initiating support calls
    TAM support
    Developer support
    Bugzillas
    Support workflow
    Diagnostic and information-gathering tools
    Edited by: DBA2008 on May 14, 2009 4:02 PMHave you done and got the training for RHCT/RCHE or taken advantage of training, eg cdrom or classrom, as listed here:
    [http://education.oracle.com/pls/web_prod-plq-dad/db_pages.getsearchpage?page_id=13&p_search_category_id=1345]
    or
    [http://education.oracle.com/pls/web_prod-plq-dad/show_desc.redirect?dc=D46590GC10&p_org_id=28&lang=US]
    That would seem the most sensible way of covering that vastness of ground.

  • ERROR: Command Ignored, Configuration in progress...

    Hi Everone,
    When i type sh run on ASA 5520
    it gives error
    ERROR: Command Ignored, Configuration in progress...
    Any fix other than reboot?
    Regards
    Mahesh

    Hi Jouni,
    Here is more info on the issue.
    This ASA is acting as DHCP server for users.
    Now it is not providing IP to the users.
    Also users PC who have IP from ASA i am unable to ping their IP address.
    First we thought it was bad cable from patch panel to user.
    Then we unplug the failover cable from standby firewall after this i was able to run all the commands and users were
    able to get the IP address from the ASA.
    Seems it is synch issue between 2 ASA.
    After this i put failover cable back to standby and we lost access to primary firewall and our internet was not working.
    Then we shutdwon the standby ASA  and reboot the Primary ASA then everything was back to normal.
    Currently standby ASA is standalone and not connecting to anything.
    When i power on the standby ASA all hardware looks ok and is up and running.
    Regards
    Mahesh
    Message was edited by: mahesh parmar

  • Hi..everyone..plz share realtime unix shellscript commands

    hi..everyone..plz share realtime unix shellscript commands that are used in oracle pl/sql development my mailid: [email protected]

    rajsekharb wrote:
    hi..everyone..plz share realtime unix shellscript commands that are used in oracle pl/sql development my mailid: ????????????
    You are unwise to publish your email address on public forums, as spambots will pick it up and you will be inundated with spam.
    Also, consider that the Oracle forums are a community where people support each other on the forums, they are NOT a personal support desk for you, so it is considered quite rude to ask people to email you answers to your question as if you are not wanting to spend your time on the forums discussing your requirements.
    As Billy says, your question doesn't make much sense.  You've used the word "realtime" completely out of context.  Perhaps you were referring to scripts that people use for real in their businesses to help support pl/sql development?  but still it's not clear what sort of scripts you are looking for, and considering this forum is for SQL and PL/SQL programming assistance, your requesting Unix scripts is not really appropriate unless you explain yourself and how your requirement relates to SQL and/or PL/SQL.

Maybe you are looking for