[SOLVED]fail to build package: no such file or directory error

EDIT1: read my last post
I'm getting an error while installing pacman-color from the aur repository. I'm still a newbie so my only guess is to make such directory? why should I have to do that? anyone help?
==> Validating source files with md5sums...
    pacman-3.4.2.tar.gz ... Passed
    pacman-color-3.4.2-1.patch ... Passed
    color.conf ... Passed
==> Extracting Sources...
==> Removing existing pkg/ directory...
==> Starting build()...
/tmp/yaourt-tmp-root/aur-pacman-color/./PKGBUILD: line 21: cd: pacman-3.4.2: No such file or directory
    Aborting...
==> ERROR: Makepkg was unable to build pacman-color.
Last edited by aluser (2011-01-21 04:48:16)

Here once again a failed attempt after removing pacman-color. I am beginning to think that maybe running yaourt as sudo is probably a bad idea. I think that may have had something to do with it.
archuser@archws ~ % sudo yaourt -S abiword-light <11:54>
Password:
==> Downloading abiword-light PKGBUILD from AUR...
x PKGBUILD
Comment by: mango on Thu, 25 Mar 2010 21:53:12 +0000
./configure --prefix=/usr \
--disable-spell \
--disable-print
Comment by: chessboxing on Wed, 19 May 2010 14:33:51 +0000
doesn't want to build
rule 23: make: command not found
== ERROR: Build Failed.
Aborting...
Eventhough I Had to install flex psiconv, it didn't help.
Its a minefield man.
Comment by: sHyLoCk on Wed, 02 Jun 2010 13:54:43 +0000
http://aur.archlinux.org/packages.php?ID=37738
Comment by: zenny on Thu, 02 Sep 2010 05:59:05 +0000
Quite confusing statements. Below sHyLoCk recommends http://aur.archlinux.org/packages.php?ID=37738 on June 2 2010 and on June 27 he declares his recommended package obsolet and ask a TU to delete! The problem with the sHyLoCk package is there is not page setup option. So I installed this package, it has got the page setup menu, but once I click the option, the application dies with the following output (Maybe helpful to debug for the maintainer, I am not an expert):
(abiword:32455): Gtk-CRITICAL **: gtk_label_set_text: assertion `GTK_IS_LABEL (label)' failed
(abiword:32455): Gtk-CRITICAL **: gtk_label_set_text: assertion `GTK_IS_LABEL (label)' failed
(abiword:32455): Gtk-CRITICAL **: gtk_label_get_label: assertion `GTK_IS_LABEL (label)' failed
(abiword:32455): Gtk-CRITICAL **: gtk_label_set_markup: assertion `GTK_IS_LABEL (label)' failed
(abiword:32455): Gtk-CRITICAL **: gtk_label_set_text: assertion `GTK_IS_LABEL (label)' failed
(abiword:32455): Gtk-CRITICAL **: gtk_label_set_text: assertion `GTK_IS_LABEL (label)' failed
(abiword:32455): Gtk-CRITICAL **: gtk_label_set_text: assertion `GTK_IS_LABEL (label)' failed
(abiword:32455): Gtk-CRITICAL **: gtk_label_set_text: assertion `GTK_IS_LABEL (label)' failed
(abiword:32455): Gtk-CRITICAL **: gtk_label_get_label: assertion `GTK_IS_LABEL (label)' failed
(abiword:32455): Gtk-CRITICAL **: gtk_label_set_markup: assertion `GTK_IS_LABEL (label)' failed
(abiword:32455): Gtk-CRITICAL **: gtk_container_foreach: assertion `GTK_IS_CONTAINER (container)' failed
(abiword:32455): Gtk-CRITICAL **: gtk_label_set_text: assertion `GTK_IS_LABEL (label)' failed
(abiword:32455): Gtk-CRITICAL **: gtk_label_set_text: assertion `GTK_IS_LABEL (label)' failed
(abiword:32455): Gtk-CRITICAL **: gtk_label_set_text: assertion `GTK_IS_LABEL (label)' failed
(abiword:32455): Gtk-CRITICAL **: gtk_label_get_label: assertion `GTK_IS_LABEL (label)' failed
(abiword:32455): Gtk-CRITICAL **: gtk_label_set_markup: assertion `GTK_IS_LABEL (label)' failed
(abiword:32455): Gtk-CRITICAL **: gtk_label_set_text: assertion `GTK_IS_LABEL (label)' failed
(abiword:32455): Gtk-CRITICAL **: gtk_label_set_text: assertion `GTK_IS_LABEL (label)' failed
(abiword:32455): Gtk-CRITICAL **: gtk_label_set_text: assertion `GTK_IS_LABEL (label)' failed
(abiword:32455): Gtk-CRITICAL **: gtk_label_set_text: assertion `GTK_IS_LABEL (label)' failed
(abiword:32455): Gtk-CRITICAL **: gtk_label_get_label: assertion `GTK_IS_LABEL (label)' failed
(abiword:32455): Gtk-CRITICAL **: gtk_label_set_markup: assertion `GTK_IS_LABEL (label)' failed
(abiword:32455): Gtk-CRITICAL **: gtk_container_foreach: assertion `GTK_IS_CONTAINER (container)' failed
(abiword:32455): Gtk-CRITICAL **: gtk_label_set_text: assertion `GTK_IS_LABEL (label)' failed
(abiword:32455): Gtk-CRITICAL **: gtk_container_foreach: assertion `GTK_IS_CONTAINER (container)' failed
(abiword:32455): Gtk-CRITICAL **: gtk_label_set_text: assertion `GTK_IS_LABEL (label)' failed
(abiword:32455): Gtk-CRITICAL **: gtk_label_get_label: assertion `GTK_IS_LABEL (label)' failed
(abiword:32455): Gtk-CRITICAL **: gtk_label_set_markup: assertion `GTK_IS_LABEL (label)' failed
(abiword:32455): Gtk-CRITICAL **: gtk_label_set_text: assertion `GTK_IS_LABEL (label)' failed
(abiword:32455): Gtk-CRITICAL **: gtk_label_set_text: assertion `GTK_IS_LABEL (label)' failed
(abiword:32455): Gtk-CRITICAL **: gtk_label_set_text: assertion `GTK_IS_LABEL (label)' failed
(abiword:32455): Gtk-CRITICAL **: gtk_label_set_text: assertion `GTK_IS_LABEL (label)' failed
(abiword:32455): Gtk-CRITICAL **: gtk_label_set_text: assertion `GTK_IS_LABEL (label)' failed
(abiword:32455): Gtk-CRITICAL **: gtk_label_set_text: assertion `GTK_IS_LABEL (label)' failed
(abiword:32455): Gtk-CRITICAL **: gtk_label_set_text: assertion `GTK_IS_LABEL (label)' failed
(abiword:32455): Gtk-CRITICAL **: gtk_label_set_text: assertion `GTK_IS_LABEL (label)' failed
(abiword:32455): Gtk-CRITICAL **: gtk_label_set_text: assertion `GTK_IS_LABEL (label)' failed
(abiword:32455): Gtk-CRITICAL **: gtk_spin_button_set_value: assertion `GTK_IS_SPIN_BUTTON (spin_button)' failed
(abiword:32455): Gtk-CRITICAL **: gtk_spin_button_set_value: assertion `GTK_IS_SPIN_BUTTON (spin_button)' failed
(abiword:32455): Gtk-CRITICAL **: gtk_spin_button_set_value: assertion `GTK_IS_SPIN_BUTTON (spin_button)' failed
(abiword:32455): Gtk-CRITICAL **: gtk_spin_button_set_value: assertion `GTK_IS_SPIN_BUTTON (spin_button)' failed
(abiword:32455): Gtk-CRITICAL **: gtk_spin_button_set_value: assertion `GTK_IS_SPIN_BUTTON (spin_button)' failed
(abiword:32455): Gtk-CRITICAL **: gtk_spin_button_set_value: assertion `GTK_IS_SPIN_BUTTON (spin_button)' failed
(abiword:32455): Gtk-CRITICAL **: gtk_spin_button_set_value: assertion `GTK_IS_SPIN_BUTTON (spin_button)' failed
(abiword:32455): Gtk-CRITICAL **: gtk_spin_button_set_value: assertion `GTK_IS_SPIN_BUTTON (spin_button)' failed
(abiword:32455): Gtk-CRITICAL **: gtk_spin_button_set_value: assertion `GTK_IS_SPIN_BUTTON (spin_button)' failed
(abiword:32455): Gtk-CRITICAL **: gtk_combo_box_set_model: assertion `GTK_IS_COMBO_BOX (combo_box)' failed
(abiword:32455): GLib-GObject-WARNING **: invalid (NULL) pointer instance
(abiword:32455): GLib-GObject-CRITICAL **: g_signal_connect_data: assertion `G_TYPE_CHECK_INSTANCE (instance)' failed
(abiword:32455): Gtk-CRITICAL **: gtk_combo_box_set_model: assertion `GTK_IS_COMBO_BOX (combo_box)' failed
(abiword:32455): Gtk-CRITICAL **: gtk_cell_layout_clear: assertion `GTK_IS_CELL_LAYOUT (cell_layout)' failed
(abiword:32455): Gtk-CRITICAL **: gtk_cell_layout_pack_start: assertion `GTK_IS_CELL_LAYOUT (cell_layout)' failed
(abiword:32455): Gtk-CRITICAL **: gtk_cell_layout_set_attributes: assertion `GTK_IS_CELL_LAYOUT (cell_layout)' failed
(abiword:32455): Gtk-CRITICAL **: gtk_combo_box_get_model: assertion `GTK_IS_COMBO_BOX (combo_box)' failed
(abiword:32455): Gtk-CRITICAL **: gtk_list_store_append: assertion `GTK_IS_LIST_STORE (list_store)' failed
(abiword:32455): Gtk-CRITICAL **: gtk_list_store_set_valist: assertion `GTK_IS_LIST_STORE (list_store)' failed
(abiword:32455): Gtk-CRITICAL **: gtk_combo_box_get_model: assertion `GTK_IS_COMBO_BOX (combo_box)' failed
(abiword:32455): Gtk-CRITICAL **: gtk_list_store_append: assertion `GTK_IS_LIST_STORE (list_store)' failed
(abiword:32455): Gtk-CRITICAL **: gtk_list_store_set_valist: assertion `GTK_IS_LIST_STORE (list_store)' failed
(abiword:32455): Gtk-CRITICAL **: gtk_combo_box_get_model: assertion `GTK_IS_COMBO_BOX (combo_box)' failed
(abiword:32455): Gtk-CRITICAL **: gtk_list_store_append: assertion `GTK_IS_LIST_STORE (list_store)' failed
(abiword:32455): Gtk-CRITICAL **: gtk_list_store_set_valist: assertion `GTK_IS_LIST_STORE (list_store)' failed
(abiword:32455): Gtk-CRITICAL **: gtk_combo_box_get_model: assertion `GTK_IS_COMBO_BOX (combo_box)' failed
(abiword:32455): Gtk-CRITICAL **: gtk_tree_model_get_iter_first: assertion `GTK_IS_TREE_MODEL (tree_model)' failed
(abiword:32455): Gtk-CRITICAL **: gtk_combo_box_set_model: assertion `GTK_IS_COMBO_BOX (combo_box)' failed
(abiword:32455): Gtk-CRITICAL **: gtk_cell_layout_clear: assertion `GTK_IS_CELL_LAYOUT (cell_layout)' failed
(abiword:32455): Gtk-CRITICAL **: gtk_cell_layout_pack_start: assertion `GTK_IS_CELL_LAYOUT (cell_layout)' failed
(abiword:32455): Gtk-CRITICAL **: gtk_cell_layout_set_attributes: assertion `GTK_IS_CELL_LAYOUT (cell_layout)' failed
(abiword:32455): Gtk-CRITICAL **: gtk_combo_box_get_model: assertion `GTK_IS_COMBO_BOX (combo_box)' failed
(abiword:32455): Gtk-CRITICAL **: gtk_list_store_append: assertion `GTK_IS_LIST_STORE (list_store)' failed
(abiword:32455): Gtk-CRITICAL **: gtk_list_store_set_valist: assertion `GTK_IS_LIST_STORE (list_store)' failed
(abiword:32455): Gtk-CRITICAL **: gtk_combo_box_get_model: assertion `GTK_IS_COMBO_BOX (combo_box)' failed
(abiword:32455): Gtk-CRITICAL **: gtk_list_store_append: assertion `GTK_IS_LIST_STORE (list_store)' failed
(abiword:32455): Gtk-CRITICAL **: gtk_list_store_set_valist: assertion `GTK_IS_LIST_STORE (list_store)' failed
(abiword:32455): Gtk-CRITICAL **: gtk_combo_box_get_model: assertion `GTK_IS_COMBO_BOX (combo_box)' failed
(abiword:32455): Gtk-CRITICAL **: gtk_list_store_append: assertion `GTK_IS_LIST_STORE (list_store)' failed
(abiword:32455): Gtk-CRITICAL **: gtk_list_store_set_valist: assertion `GTK_IS_LIST_STORE (list_store)' failed
(abiword:32455): Gtk-CRITICAL **: gtk_combo_box_get_model: assertion `GTK_IS_COMBO_BOX (combo_box)' failed
(abiword:32455): Gtk-CRITICAL **: gtk_tree_model_get_iter_first: assertion `GTK_IS_TREE_MODEL (tree_model)' failed
(abiword:32455): Gtk-CRITICAL **: gtk_widget_get_colormap: assertion `GTK_IS_WIDGET (widget)' failed
(abiword:32455): Gdk-CRITICAL **: gdk_pixmap_colormap_create_from_xpm_d: assertion `drawable != NULL || colormap != NULL' failed
(abiword:32455): Gtk-CRITICAL **: gtk_image_set_from_pixmap: assertion `mask == NULL || GDK_IS_PIXMAP (mask)' failed
(abiword:32455): GLib-GObject-CRITICAL **: g_object_unref: assertion `G_IS_OBJECT (object)' failed
(abiword:32455): GLib-GObject-CRITICAL **: g_object_unref: assertion `G_IS_OBJECT (object)' failed
(abiword:32455): Gtk-CRITICAL **: gtk_box_pack: assertion `GTK_IS_BOX (box)' failed
(abiword:32455): Gtk-CRITICAL **: gtk_toggle_button_set_active: assertion `GTK_IS_TOGGLE_BUTTON (toggle_button)' failed
(abiword:32455): Gtk-CRITICAL **: gtk_widget_get_colormap: assertion `GTK_IS_WIDGET (widget)' failed
(abiword:32455): Gdk-CRITICAL **: gdk_pixmap_colormap_create_from_xpm_d: assertion `drawable != NULL || colormap != NULL' failed
Aborted
First Submitted: Wed, 15 Apr 2009 17:01:46 +0000
abiword-light 2.8.6-2 : A fully-featured word processor without some gnome dependencies
( Unsupported package: Potentially dangerous ! )
==> Edit PKGBUILD ? [Y/n] ("A" to abort)
==> ------------------------------------
==> n
==> abiword-light dependencies:
- fribidi>=0.10.9 (already installed)
- wv>=1.2.4 (already installed)
- libglade>=2.0 (already installed)
- pkgconfig (already installed)
==> Continue building abiword-light ? [Y/n]
==> ---------------------------------------
==>
==> Building and installing package
==> WARNING: Building package as root is dangerous.
Please run yaourt as a non-privileged user.
==> Making package: abiword-light 2.8.6-2 (Fri Jan 21 11:54:35 JST 2011)
==> Checking Runtime Dependencies...
==> Checking Buildtime Dependencies...
==> Retrieving Sources...
-> Downloading abiword-2.8.6.tar.gz...
--2011-01-21 11:54:35-- http://www.abisource.com/downloads/abiword/2.8.6/source/abiword-2.8.6.tar.gz
Resolving www.abisource.com... 130.89.149.216
Connecting to www.abisource.com|130.89.149.216|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 9218827 (8.8M) [application/x-gzip]
Saving to: "abiword-2.8.6.tar.gz.part"
100%[=======================================>] 9,218,827 414K/s in 28s
2011-01-21 11:55:04 (325 KB/s) - "abiword-2.8.6.tar.gz.part" saved [9218827/9218827]
==> Validating source files with md5sums...
abiword-2.8.6.tar.gz ... Passed
==> Extracting Sources...
==> Starting build()...
/tmp/yaourt-tmp-root/aur-abiword-light/./PKGBUILD: line 16: cd: /tmp/yaourt-tmp-root/aur-abiword-light/src/abiword-2.8.6/: No such file or directory
Aborting...
==> ERROR: Makepkg was unable to build abiword-light.
==> Restart building abiword-light ? [y/N]
==> --------------------------------------
==> archuser@archws ~ % <11:find /usr/{bin,lib} -type f -size 0
/usr/lib/python3.1/tkinter/test/__init__.py
/usr/lib/python3.1/tkinter/test/test_ttk/__init__.py
/usr/lib/python3.1/tkinter/test/test_tkinter/__init__.py
/usr/lib/python3.1/test/nullcert.pem
/usr/lib/python3.1/site-packages/ranger/gui/__init__.py
/usr/lib/python3.1/email/mime/__init__.py
/usr/lib/python3.1/email/test/__init__.py
/usr/lib/python3.1/urllib/__init__.py
/usr/lib/python3.1/sqlite3/test/__init__.py
/usr/lib/python3.1/pydoc_data/__init__.py
/usr/lib/python3.1/lib2to3/tests/data/fixers/myfixes/__init__.py
/usr/lib/python2.7/test/nullcert.pem
/usr/lib/python2.7/site-packages/git_remote_helpers/git/__init__.py
/usr/lib/python2.7/site-packages/OpenGL/GL/MESAX/__init__.py
/usr/lib/python2.7/site-packages/OpenGL/GL/VERSION/__init__.py
/usr/lib/python2.7/site-packages/OpenGL/GLU/EXT/__init__.py
/usr/lib/python2.7/site-packages/OpenGL/AGL/__init__.py
/usr/lib/python2.7/site-packages/pychess/__init__.py
/usr/lib/python2.7/site-packages/pychess/widgets/__init__.py
/usr/lib/python2.7/site-packages/pychess/Utils/__init__.py
/usr/lib/python2.7/site-packages/pychess/Utils/lutils/__init__.py
/usr/lib/python2.7/site-packages/pychess/ic/__init__.py
/usr/lib/python2.7/site-packages/pychess/ic/managers/__init__.py
/usr/lib/python2.7/site-packages/pychess/System/__init__.py
/usr/lib/python2.7/site-packages/pychess/Players/__init__.py
/usr/lib/python2.7/site-packages/pychess/gfx/__init__.py
/usr/lib/python2.7/site-packages/xml2po/modes/__init__.py
/usr/lib/python2.7/site-packages/numpy/distutils/tests/gen_ext/__init__.py
/usr/lib/python2.7/site-packages/numpy/distutils/tests/f2py_ext/__init__.py
/usr/lib/python2.7/site-packages/numpy/distutils/tests/pyrex_ext/__init__.py
/usr/lib/python2.7/site-packages/numpy/distutils/tests/swig_ext/__init__.py
/usr/lib/python2.7/site-packages/numpy/distutils/tests/f2py_f90_ext/__init__.py
/usr/lib/python2.7/site-packages/bzrlib/util/__init__.py
/usr/lib/python2.7/site-packages/bzrlib/util/configobj/__init__.py
/usr/lib/python2.7/site-packages/pygame/tests/util/build_page/libs/build_client/__init__.py
/usr/lib/python2.7/site-packages/pygame/tests/util/build_page/libs/build_client/test_fixtures/BUILD_LINK_FAILED
/usr/lib/python2.7/site-packages/pygame/tests/util/build_page/libs/build_client/test_fixtures/BUILD_FAILED_EXCEPTION
/usr/lib/python2.7/site-packages/pygame/tests/util/build_page/libs/build_client/test_fixtures/BUILD_FAILED_UNPARSEABLE
/usr/lib/python2.7/site-packages/pygame/tests/util/build_page/libs/build_client/test_fixtures/TESTS_FAILED
/usr/lib/python2.7/site-packages/pygame/tests/util/build_page/libs/build_client/test_fixtures/BUILD_FAILED
/usr/lib/python2.7/site-packages/pygame/tests/util/build_page/libs/build_client/test_fixtures/TESTS_INVALID
/usr/lib/python2.7/site-packages/pygame/tests/util/build_page/libs/build_client/test_fixtures/BUILD_FAILED_UNKNOWN
/usr/lib/python2.7/site-packages/pygame/examples/__init__.py
/usr/lib/python2.7/site-packages/gtk-2.0/egg/__init__.py
/usr/lib/python2.7/site-packages/gtk-2.0/gi/overrides/__init__.py
/usr/lib/python2.7/site-packages/sonata/__init__.py
/usr/lib/python2.7/site-packages/sonata/plugins/__init__.py
/usr/lib/python2.7/email/mime/__init__.py
/usr/lib/python2.7/email/test/__init__.py
/usr/lib/python2.7/sqlite3/test/__init__.py
/usr/lib/python2.7/pydoc_data/__init__.py
/usr/lib/python2.7/bsddb/test/__init__.py
/usr/lib/python2.7/lib-tk/test/test_ttk/__init__.py
/usr/lib/python2.7/lib-tk/test/test_tkinter/__init__.py
/usr/lib/python2.7/lib2to3/tests/data/fixers/myfixes/__init__.py
/usr/lib/purple-2/perl/auto/Purple/Purple.bs
/usr/lib/perl5/vendor_perl/auto/HTML/Parser/Parser.bs
/usr/lib/perl5/vendor_perl/auto/XML/Parser/Expat/Expat.bs
/usr/lib/perl5/vendor_perl/auto/Crypt/SSLeay/SSLeay.bs
/usr/lib/perl5/vendor_perl/auto/Irssi/Irssi.bs
/usr/lib/perl5/vendor_perl/auto/Irssi/UI/UI.bs
/usr/lib/perl5/vendor_perl/auto/Irssi/Irc/Irc.bs
/usr/lib/perl5/vendor_perl/auto/Irssi/TextUI/TextUI.bs
/usr/lib/pidgin/perl/auto/Pidgin/Pidgin.bs
/usr/lib/firefox-3.6/.autoreg
archuser@archws ~ %
Last edited by aluser (2011-01-21 03:02:22)

Similar Messages

  • [SOLVED] zsh: Failed to execute operation: No such file or directory

    I recently ordered a chromebook (acer c720) and have successfully replaced ChromeOS with Arch Linux. Things were going great the past 2 days but all of a sudden whenever I try to use tab completion on zsh (does not happen in bash or any other shell I've tested) I receive the message:
    Failed to execute operation: No such file or directory
    My .zprofile is:
    emulate sh -c 'source /etc/profile'
    #[[ -f ~/.zshrc ]] && . ~/.zshrc
    if [[ -z $DISPLAY ]] && [[ $(tty) = /dev/tty1 ]]; then
    startx
    fi
    My .zshenv is:
    export PATH=/home/zach/.bin:$PATH
    export EDITOR=nano
    export BROWSER=firefox
    [[ $(tty) = /dev/tty1 ]] && xrdb merge /home/zach/.config/xresources
    My .zshrc is:
    #source ~/.zshenv
    # Lines configured by zsh-newuser-install
    HISTFILE=~/.histfile
    HISTSIZE=100000
    SAVEHIST=100000
    HISTCONTROL=ignoredups
    setopt appendhistory autocd extendedglob nomatch
    bindkey -e
    # End of lines configured by zsh-newuser-install
    # The following lines were added by compinstall
    zstyle :compinstall filename '/home/zach/.zshrc'
    autoload -Uz compinit
    compinit
    # End of lines added by compinstall
    PS1=$'\e[1;36m%~\e[0m >>\e[1;36m>\e[0m%] '
    #Begin Aliases
    alias edit='$EDITOR'
    alias sedit='sudo $EDITOR'
    alias pacman='sudo pacman'
    # Listing
    alias ls='ls --color=auto --group-directories-first'
    alias lsl='ls --color=auto --group-directories-first -l'
    alias lsa='ls --color=auto --group-directories-first -al'
    alias lsp='ls --color=auto --group-directories-first -alp'
    # Moving/Copying
    alias cp='cp -r'
    alias rm='rm -r'
    alias ...='cd ../..'
    alias ....='cd ../../..'
    alias bd='cd -'
    alias mkdir='mkdir -p'
    # System
    alias systemctl='sudo systemctl'
    alias journalctl='sudo journalctl'
    alias cronedit='EDITOR=nano crontab -e'
    alias reload-daemons='sudo systemctl daemon-reload'
    alias enable='sudo systemctl enable'
    alias disable='sudo systemctl disable'
    alias start='sudo systemctl start'
    alias stop='sudo systemctl stop'
    Is there something I'm missing or not considering? The tab completion still works, it just displays that message every time inline and it's really annoying. Also I searched google, the wiki, and the forums for any information regarding this and either my search-fu isn't strong enough or it's not showing up elsewhere.
    Last edited by revoltorb (2014-09-13 14:05:44)

    Rename the "enable" and "disable" aliases. They are zsh hash table operators.

  • ORA-27369: job of type EXECUTABLE failed with exit code: No such file or directory

    Hi,
    I am using the scheduler to take backup of the dev database and it was working fine. Then I added notification to the scripts and then the scheduler started failing with the following code .
    BEGIN dbms_scheduler.run_job('BACKUP_DEV'); END;
    ERROR at line 1:
    ORA-27369: job of type EXECUTABLE failed with exit code: No such file or
    directory
    ORA-06512: at "SYS.DBMS_ISCHED", line 150
    ORA-06512: at "SYS.DBMS_SCHEDULER", line 441
    ORA-06512: at line 1
    Here' the original which has no issues
    #!/bin/bash -x
    echo $@
    if [ -z "$ORACLE_HOME" ]; then
    source /path/oracle/.bash_profile
    fi
    RMAN="${ORACLE_HOME}/bin/rman";
    ${RMAN} $@
    exit $?
    And here's the one which gives me the errors. Also if I run this script from command line it works perfectly fine
    #!/bin/bash -x
    echo $@
    if [ -z "$ORACLE_HOME" ]; then
    source /path/oracle/.bash_profile
    fi
    RMAN="${ORACLE_HOME}/bin/rman";
    exec >> temp_log
    ${RMAN} $@
    /usr/bin/mailx -s "Backup status of $ORACLE_SID " [email protected] < temp_log
    /usr/bin/rm temp_log
    exit $?
    Pls let me know what could be the reason that the script fails with the scheduler.

    Hi,
    The user oracle who owns the scheduler already has permissions for the mailx and the same script is able to send notifications when run manully. Do I need to set additional permissions for scheduler ?
    Also the db version is 10.2.0.5.
    Thanks

  • "No such file or directory" errors on Time Machine backup volume

    I remotely mounted the Time Machine backup volume onto another Mac and was looking around it in a Terminal window and discovered what appeared to be a funny problem. If I "cd" into some folders (but not all) and do a "ls -la" command, I get a lot of "No such file or directory" errors for all the subfolders, but all the files look fine. Yet if I go log onto the Mac that has the backup volume mounted as a local volume, these errors never appear for the exact same location. Even more weird is that if I do "ls -a" everything appears normal on both systems (no error messages anyway).
    It appears to be the case that the folders that have the problem are folders that Time Machine has created as "hard links" to other folders which is something that Time Machine does and is only available as of Mac OS X 10.5 and is the secret behind how it avoids using up disk space for files that are the same in the different backups.
    I moved the Time Machine disk to the second Mac and mounted the volume locally onto it (the second Mac that was showing the problems), so that now the volume is local to it instead of a remote mounted volume via AFP and the problem goes away, and if I do a remote mount on the first Mac of the Time Machine volume the problem appears on the first Mac system that was OK - so basically by switching the volume the problem switches also on who shows the "no such file or directory" errors.
    Because of the way the problem occurs, ie only when the volume is remote mounted, it would appear to be an issue with AFP mounted volumes that contain these "hard links" to folders.
    There is utility program written by Amit Singh, the fella who wrote the "Mac OS X Internals" book, called hfsdebug (you can get it from his website if you want - just do a web search for "Mac OS X Internals hfsdebug" if you want to find it ). If you use it to get a little bit more info on what's going on, it shows a lot of details about one of the problematic folders. Here is what things look like on the first Mac (mac1) with the Time Machine locally mounted:
    mac1:xxx me$ pwd
    /Volumes/MyBackups/yyy/xxx
    mac1:xxx me$ ls -a
    . .DS_Store D2
    .. Documents D3
    mac1:xxx me$ ls -lai
    total 48
    280678 drwxr-xr-x 5 me staff 204 Jan 20 01:23 .
    282780 drwxr-xr-x 12 me staff 442 Jan 17 14:03 ..
    286678 -rw-r--r--@ 1 me staff 21508 Jan 19 10:43 .DS_Store
    135 drwxrwxrwx 91 me staff 3944 Jan 7 02:53 Documents
    729750 drwx------ 104 me staff 7378 Jan 15 14:17 D2
    728506 drwx------ 19 me staff 850 Jan 14 09:19 D3
    mac1:xxx me$ hfsdebug Documents/ | head
    <Catalog B-Tree node = 12589 (sector 0x18837)>
    path = MyBackups:/yyy/xxx/Documents
    # Catalog File Record
    type = file (alias, directory hard link)
    indirect folder = MyBackups:/.HFS+ Private Directory Data%000d/dir_135
    file ID = 728505
    flags = 0000000000100010
    . File has a thread record in the catalog.
    . File has hardlink chain.
    reserved1 = 0 (first link ID)
    mac1:xxx me$ cd Documents
    mac1:xxx me$ ls -a | head
    .DS_Store
    .localized
    .parallels-vm-directory
    .promptCache
    ACPI
    ActivityMonitor2010-12-1710p32.txt
    ActivityMonitor2010-12-179pxx.txt
    mac1:Documents me$ ls -lai | head
    total 17720
    135 drwxrwxrwx 91 me staff 3944 Jan 7 02:53 .
    280678 drwxr-xr-x 5 me staff 204 Jan 20 01:23 ..
    144 -rw-------@ 1 me staff 39940 Jan 15 14:27 .DS_Store
    145 -rw-r--r-- 1 me staff 0 Oct 20 2008 .localized
    146 drwxr-xr-x 2 me staff 68 Feb 17 2009 .parallels-vm-directory
    147 -rwxr-xr-x 1 me staff 8 Mar 20 2010 .promptCache
    148 drwxr-xr-x 2 me staff 136 Aug 28 2009 ACPI
    151 -rw-r--r-- 1 me staff 6893 Dec 17 10:36 A.txt
    152 -rw-r--r--@ 1 me staff 7717 Dec 17 10:54 A9.txt
    So you can see from the first few lines of the "ls -a" command, it shows some file/folders but you can't tell which yet. The next "ls -la" command shows which names are files and folders - that there are some folders (like ACPI) and some files (like A.txt and A9.txt) and all looks normal. And the "hfsdebug" info shows some details of what is really happening in the "Documents" folder, but more about that in a bit.
    And here are what a "ls -a" and "ls -al" look like for the same locations on the second Mac (mac2) where the Time Machine volume is remote mounted:
    mac2:xxx me$ pwd
    /Volumes/MyBackups/yyy/xxx
    mac2:xxx me$ ls -a
    . .DS_Store D2
    .. Documents D3
    mac2:xxx me$ ls -lai
    total 56
    280678 drwxr-xr-x 6 me staff 264 Jan 20 01:23 .
    282780 drwxr-xr-x 13 me staff 398 Jan 17 14:03 ..
    286678 -rw-r--r--@ 1 me staff 21508 Jan 19 10:43 .DS_Store
    728505 drwxrwxrwx 116 me staff 3900 Jan 7 02:53 Documents
    729750 drwx------ 217 me staff 7334 Jan 15 14:17 D2
    728506 drwx------ 25 me staff 806 Jan 14 09:19 D3
    mac2:xxx me$ cd Documents
    mac2:Documents me$ ls -a | head
    .DS_Store
    .localized
    .parallels-vm-directory
    .promptCache
    ACPI
    ActivityMonitor2010-12-1710p32.txt
    ActivityMonitor2010-12-179pxx.txt
    mac2:Documents me$ ls -lai | head
    ls: .parallels-vm-directory: No such file or directory
    ls: ACPI: No such file or directory
    ... many more "ls: ddd: No such file or directory" error messages appear - there is a one-to-one
    correspondence between the "ddd" folders and the "no such file or directory" error messages
    total 17912
    728505 drwxrwxrwx 116 me staff 3900 Jan 7 02:53 .
    280678 drwxr-xr-x 6 me staff 264 Jan 20 01:23 ..
    144 -rw-------@ 1 me staff 39940 Jan 15 14:27 .DS_Store
    145 -rw-r--r-- 1 me staff 0 Oct 20 2008 .localized
    147 -rwxr-xr-x 1 me staff 8 Mar 20 2010 .promptCache
    151 -rw-r--r-- 1 me staff 6893 Dec 17 10:36 A.txt
    152 -rw-r--r--@ 1 me staff 7717 Dec 17 10:54 A9.txt
    If you look very close a hint as to what is going on is obvious - the inode for the Documents folder is 152 on the local mounted case (the first set of code above for mac1), and it's 728505 in the remote mounted case for mac2. So it appears that these "hard links" to folders have an extra level of folder that is hidden from you and that AFP fails to take into account, and that is what the "hfsdebug" shows even better as you can clearly see the REAL location of the Documents folder is in something called "/.HFS+ Private Directory Data%000d/dir_135" that is not even visible to the shell. And if you look closely in the remote mac2 case, when I did the "cd Documents" I don't go into the inode 135, but into the inode 728505 (look close at the "." entry for the "ls -la" commands on both mac1 and mac2) which is the REAL problem, but have no idea how to get AFP to follow the extra level of indirection.
    Anyone have any ideas how to fix this so that "ls -l" commands don't generate these "no such file or folder" messages?
    I am guessing that the issue is really something to do with AFP (Apple File Protocol) mounted remote volumes. The TimeMachine example is something that I used as an example that anyone could verify the problem. The real problem for me has nothing to do with Time Machine, but has to do with some hard links to folders that I created on another file system totally separate from the Time Machine volume. They exhibit the same problem as these Time Machine created folders, so am pretty sure the problem has nothing to do with how I created hard links to folders which is not doable normally without writing a super simple little 10 line program using the link() system call - do a "man 2 link" if you are curious how it works.
    I'm well aware of the issues and the conditions when they can and can't be used and the potential hazards. I have an issue in which they are the best way to solve a problem. And after the problem was solved, is when I noticed this issue that appears to be a by-product of using them.
    Do not try these hard links to folders on your own without knowing what they're for and how to use them and not use them. They can cause real problems if not used correctly. So if you decide to try them out and you loose some files or your entire drive, don't say I didn't warn you first.
    Thanks ...
    -Bob

    The problem is Mac to Mac - the volume that I'm having the issue with is not related in any way to Time Machine or to TimeCapsule. The reference to TIme Machine is just to illustrate the problem exists outside of my own personal work with hard links to folders on HFS Extended volumes (case-sensitive in this particular case in case that matters).
    I'm not too excited about the idea of snooping AFP protocol to discover anything that might be learned there.
    The most significant clue that I've seen so far has to do with the inode numbers for the two folders shown in the Terminal window snippets in the original post. The local mounted case uses the inode=728505 of the problematic folder which is in turn linked to the hidden original inode of 135 via the super-secret /.HFS+... folder that you can't see unless using something like the "hfsdebug" program I mentioned.
    The remote mounted case uses the inode=728505 but does not make the additional jump to the inode=135 which is where lower level folders appear to be physically stored.
    Hence the behavior that is seen - the local mounted case is happy and shows what would be expected and the remote mounted case shows only files contained in the problem folder but not lower-level folders or their contents.
    From my little knowledge of how these inode entries really work, I think that they are some sort of linked list chain of values, so that you have to follow the entire chain to get at what you're looking for. If the chain is broken somewhere along the line or not followed correctly, things like this can happen. I think this is a case of things not being followed correctly, as if it were a broken chain problem then the local mounted case would have problems also.
    But the information for this link in the chain is there (from 728505 to the magic-135) but for some reason AFP doesn't make this extra jump.
    Yesterday I heard back from Apple tech support and they have confirmed this problem and say that it is a "implementation limitation" with the AFP client. I think it's a bug, but that will have to be up to Apple to decide now that it's been reported. I just finished reporting this as a bug via the Apple Bug Reporter web site -- it's bug id 8926401 if you want to keep track it.
    Thanks for the insights...
    -Bob

  • Getting `No such file or directory` error while trying to open bdb database

    I have four multi-threaded processes (2 writer and 2 reader processes), which make use of Berkeley DB transactional data store. I have multiple environments and the associated database files and log files are located in separate directories (please refer to the DB_CONFIG below). When all these four processes start to perform open and close of databases in the environments very quickly, one of the reader process is throwing a No such file or directory error even though the file actually exists.
    I am making use of Berkeley DB 4.7.25 for testing out these applications.
    The four application names are as follows:
    Writer 1
    Writer 2
    Reader 1
    Reader 2
    The application description is as follows:
    &lsquo;*Writer 1*&rsquo; owns 8 environments and each environment having 123 Berkeley databases created using HASH access method. At any point of time, &lsquo;*Writer 1*&rsquo; will be acting on 24 database files across 8 environments (3 database files per environment) for carrying out write operation. Where as reader process will be accessing all 123 database files / per environment (Total = 123 * 8 environments = 984 database files) for read activities. Similar configuration for Writer 2 as well &ndash; 8 separate environments and so on.
    Writer 1, Reader 1 and Reader 2 processes share the environments created by Writer 1
    Writer 2 and Reader 2 processes share the environments created by Writer 2
    My DB_CONFIG file is configured as follows
    set_cachesize 0 104857600 1   # 100 MB
    set_lg_bsize 2097152                # 2 MB
    set_data_dir ../../vol1/data/
    set_lg_dir ../../vol31/logs/SUBID/
    set_lk_max_locks 1500
    set_lk_max_lockers 1500
    set_lk_max_objects 1500
    set_flags db_auto_commit
    set_tx_max 200
    mutex_set_increment 7500
    Has anyone come across this problem before or is it something to do with the configuration?

    Hi Michael,
    I should have included about how we are making use of DB_TRUNCATE flag in my previous reply itself. Sorry for that.
    From writers, DB truncation happens periodically. During truncate (DB handle is not associated with any environment handle i.e. stand-alone DB
    ) following parameters are passed to db-&gt;open function call:
    DB-&gt;open(DB *db,                    
    DB_TXN *txnid,          =&gt; NULL
    const char *file,          =&gt; file name (absolute DB file path)
    const char *database,  =&gt; NULL
    DBTYPE type, =&gt; DB_HASH
    u_int32_t flags, =&gt; DB_READ_UNCOMMITTED | DB_TRUNCATE | DB_CREATE | DB_THREAD
    int mode); =&gt; 0
    Also, DB_DUP flag is set.
    As you have rightly pointed out, `No such file or directory` is occuring during truncation.
    While a database is being truncated it will not be found by others trying to open it. We simulated this by stopping the writer process (responsible for truncation) and by opening & closing the databases repeatedly via readers. The reader process did not crash. When readers and writers were run simultaneously, we got `No such file or directory` error.Is there any solution to tackle this problem (because in our case writers and readers are run independently. So readers won't come to know about truncation from writers)?
    Also, we are facing one more issue related to DB_TRUNCATE. Consider the following scenario:
    <ul><li>Reader process holds reference of database (X) handle in environment 'Y' at time t1
    </li>
    <li>Writer process opens the database (X) in DB_TRUNCATE mode at time t2 (where t2 &gt; t1)</li>
    <li>After truncation, writer process closes the database and joins the environment 'Y'</li>
    <li>After this any writes to database X is not visible to the reader process</li>
    <li>Once reader process closes the database X and re-joins the environment, all the records inserted from writer process are visible</li>
    </ul>
    Is it the right behavior? If yes, how to make any writes visible to a reader process without closing and re-opening the database in the above-mentioned scenario?
    Also, when [db_set_errfile|http://www.oracle.com/technology/documentation/berkeley-db/db/api_c/db_set_errfile.html] was set, we did not get any additional information in the error file.
    Thanks,
    Magesh

  • I keep getting the "No such file or directory" error when files really

    I keep getting the "No such file or directory" error when files really
    i did some research online and found nothing yet, can anyone help, this has been happening with new files for like a week. thanks

    additional information needed.
    solely stating "i hav problemz plz halp" never leads to a solution
    read this:
    http://www.catb.org/~esr/faqs/smart-questions.html
    Last edited by robmaloy (2009-04-21 07:16:16)

  • 10.2.0.4 Agent startup fails "/libjvm.so, because No such file or directory

    Hi Team,
    10.2.0.4 Agent startup fails with below errors.Customer is having 30 agents in failover on the same system .Issue is happening for his newly installed agents and existing agents also.
    When he stop few agents(like 26th agent and 27th agent... ) and he able to start the agent which is failed to start with below error.Issue looks like lack of some resources to start the agent.
    oracle@sorapx2:/u00/app/oracle/ [AGENTFSP] emctl status agent
    Oracle Enterprise Manager 10g Release 4 Grid Control 10.2.0.4.0.
    Copyright (c) 1996, 2007 Oracle Corporation. All rights reserved.
    sh: 28400 Killed
    /usr/lib/hpux32/dld.so: Cannot map text for library</pkg/FSP/u00/app/oracle/product/agent10g/jdk/jre/lib/IA64N/hotspot/libjvm.so>: mmap(0x0, 0xd51870, 0x5, 0x41, 3, 0x0) returns Not enough space.
    oracle@sorapx2:/pkg/FSP/u00/app/oracle/product/agent10g/ [AGENTFSP] emctl start agent
    Oracle Enterprise Manager 10g Release 4 Grid Control 10.2.0.4.0.
    Copyright (c) 1996, 2007 Oracle Corporation. All rights reserved.
    sh: 20806 Killed
    Agent is already running
    oracle@sorapx2:/pkg/FSP/u00/app/oracle/product/agent10g/ [AGENTFSP] emctl upload agent
    Oracle Enterprise Manager 10g Release 4 Grid Control 10.2.0.4.0.
    Copyright (c) 1996, 2007 Oracle Corporation. All rights reserved.
    sh: 22988 Killed
    /usr/lib/hpux32/dld.so: Cannot map text for library</pkg/FSP/u00/app/oracle/product/agent10g/jdk/jre/lib/IA64N/hotspot/libjvm.so>: mmap(0x0, 0xd51870, 0x5, 0x41, 3, 0x0) returns Not enough space.
    + No issues with space:
    oracle@sorapx2:/pkg/FSP/u00/app/oracle/product/agent10g/ [AGENTFSP] bdf .
    Filesystem kbytes used avail %used Mounted on
    /dev/vgfsp1/lvol1 5144576 1973904 3146008 39% /pkg/FSP/u00
    Agent also gives below error:
    oracle@sorapx2:/u00/app/oracle/emdiag/log/ [AGENTGCP] emctl status agent
    Error: failed to load /pkg/GCP/u00/app/oracle/product/agent10g/jdk/jre/lib/IA64N/server/libjvm.so, because No such file or directory
    Oracle Enterprise Manager 10g Release 4 Grid Control 10.2.0.4.0.
    Copyright (c) 1996, 2007 Oracle Corporation. All rights reserved.
    sh: 25923 Killed
    /usr/lib/hpux32/dld.so: Cannot map text for library</pkg/GCP/u00/app/oracle/product/agent10g/lib32/libclntsh.so.10.1>: mmap(0x0, 0x21cded0, 0x5, 0x41, 3, 0x0) returns Not enough space.
    Here emctl agent start command is trying to to load a 32 bit library in stead of the 64 bit.which is causing the issue:
    There are a 32 Bit Library and a 64Bit Library available for the agent
    oracle@vorakx2:/pkg/HYK/u00/app/oracle/product/agent10g/lib/ [HYK]
    file libagtsh.so.1.0
    libagtsh.so.1.0: ELF-64 shared object file - IA64
    oracle@vorakx2:/pkg/HYK/u00/app/oracle/product/agent10g/lib32/ [HYK]
    file libagtsh.so.1.0
    libagtsh.so.1.0: ELF-32 shared object file - IA64
    set below things properly still same problem.:
    export ORACLE_HOME=<path of the agent10g installation>
    export PATH=$ORACLE_HOME/bin:$PATH
    export LD_LIBRARY_PATH=$ORACLE_HOME/lib
    Please suggest me further
    +what emctl status agent is loading 32 bit library
    +how to resolve the "Not enough space."
    Environment Details:
    10.2.0.4 OMS
    10.2.0.4 Agent
    Operating System HP-UX B.11.31 U (64)
    SR 3-4636880901
    Thanks
    Narendra

    Hi Narendra,
    I just checked the link and it was ok. So maybe try again?
    Copy/past Alain's post:
    Hi,
    -Buf cache is too high: SAM->kernel-> change dbc_pct_max from 50% to 10%.
    -Whith GPM and command "extract" you can find which process consumme too much memory.
    -Install lastest Quality Pack.
    -With 32 bits processes, you can have problem with memory quadrant restriction. <= you have 64 bit so this is not of use to you
    -Check kernel parameter related to max memory used by each process: maxdsiz
    -Verify with swapinfo -tam and GPM -> memory.
    See doc http://docs.hp.com/en/1218/mem_mgt.html
    http://docs.hp.com/en/5580/Misconfigured_Resources.pdf
    Alain.
    Eric

  • [solved] ArchCK boot: /bin/sh: No such file or directory

    I am getting some weird errors on my arch install.
    I chrooted to my install, mounted tmp, and "pacman -Syu"'d.  I'm using the archck kernel in extra.  Now when I try to boot, I get the following errors:
    mount: Mounting none on /proc failed: Device or resource busy.
    mknod: /dev/null: File exists.
    mount: Mounting /dev/root on /new_root failed: No such device or address
    pivot_root: pivot_root: No such file or directory
    chroot: cannot execute /bin/sh: No such file or directory
    Kernel panic - not syncing: Attempted to kill init!
    I really don't know what to do with this.  Any help?  I think it has to do with how I am using mkinitramfs in a chrooted filesystem.  I'm not sure thogh.  And yes, all my paths in configs are right.

    Ok, it seems that your initramfs image doesn't contain all the necesary modules to access your boot partition. To boot, use
    mkinitramfs full
    to create an image with all the modules, it should be named initramfs26-full.img or something similar. Configure your bootloader accordingly. It shoudl boot.
    After that you should tweak your mkinitramfs.conf file so it includes only the modules you need, so you don't need ot use the "full" image.

  • Disk Imag Failed to mount Reason: No such file or directory

    Hello,
    I've been trying to download firefox and msn messenger for my mac!
    Everytime i try to launch the .dmg it says 'Failed to mount' and the 'reason' is 'No such file or directory'
    This happens with everything i download!
    I dn't know what to do!
    I've searched it, found some soloutions but nothing works!
    Thanks Steve

    I've had this happen before, if I remember correctly it's just because of a corrupt download. Try downloading the .dmg files again and they should work. The other problem is it may be a permissions error. Where are the files located that you're trying to mount? Try putting them in your home directory. My first guess would be a corrupt download though.
    I was suprised to find no information in the support database, or on google for this erorr with disk images.
    Hope this helps.

  • [SOLVED] startx - open /dev/fb0: No such file or directory

    Hej,
    it was a long time since I've boot my Arch Linux. So I did all the updates. After rebooting my X was broken. He said that some Modules are missing: sis, vga and fbdev. So I've installed them with pacman. But now he sais the following when I try to start X with 'startx':
    (EE) open dev/fb0: No such file or directory
    So, anyone knows about what to do now?
    And I'm also wondering if it was right, that Arch dont use a xorg.conf?
    Thanks
    neb.anch
    Last edited by neb.anch (2008-07-18 10:57:31)

    neb.anch:  xorg-server-1.4.2-2 with a similar card is working fine over here, try https://belug.de/~lutz/pub/v5535/sis_vg … .04.tar.gz and extract the sis_drv.so into your /usr/lib/xrog/modules/drivers
    Although a poster who gave that link to a newer/unoffcial driver for the said SIS card is still strugling, but the driver worked fine for both my Debian and Archlinx.

  • [SOLVED] mkfifo: cannot create fifo '': No such file or directory

    Hi, I'm trying to get Bar working on bspwm but I'm getting an error whenever I try to load it.
    mkfifo: cannot create fifo ‘’: No such file or directory
    At first I fiddled with it a bit and it didn't work. I figured I was making some syntax errors or whatever but the example code gives me the same errors.
    I've tried to read up on mkfifo but I'm a bit lost now. I hope someone can push me in the right direction. :)
    Last edited by Mnk (2014-08-29 16:24:37)

    I'm guessing you are running the panel script without the PANEL_FIFO environment variable set, so the script is trying to open an empty file name.
    Use the profile script to set the PANEL_FIFO variable, or set it explicitly in the panel script.
    If this is not the problem, please provide more information about exactly what you are doing.

  • "No such file or directory" error, Include header path not working?

    Hello all,
    I am porting some software from Microsoft visual studio to Xcode and i am having some trouble building a library. I keep getting an error about the include files not being found: " no such file or directory". I've searched and the remedy for this is to change the active target's "Header Search Paths" and it worked in one of the targets. Now I am trying to build a new target and for some reason i keep getting the same error and can not get rid of it. Thanks a bunch in advance!

    The one that works is a static library, while the one that isn't compiling is a dynamic one.

  • /bin/cp: cannot stat 'a/b/c/* : No such file or directory error

    When I attempt the following
    String cmdCopy[] = {"cp'", "-r", "a/b/c/*", "."};
    Process p = Runtime.getRuntime().exec(cmdCopy);
    I get the following error
    /bin/cp: cannot stat 'a/b/c/* : No such file or directory

    Is there an a/b/c directory in the structure where you are starting your java program from?
    --John                                                                                                                                                                                                       

  • [SOLVED] Error : sys\stat.h: No such file or directory

    I get "...sys\stat.h: No such file or directory" error when compiling a simple C program. i have been searching for a while on web and see people writing "# pacman -S base-devel" i have that already and some more packages like glib ...
    These are the includes i am using :
    #include <stdio.h>
    #include <stdlib.h>
    #include <io.h>
    #include <fcntl.h>
    #include <sys\stat.h>
    // here is when i use the libraries sys/stats.h
    struct stat stbuf;
    stat(argv[2], &stbuf);
    int infSize = stbuf.size;
    This is the output of the command "gcc -o copy copy.c" :
    copy.c:3:16: error: io.h: No such file or directory
    copy.c:5:22: error: sys\stat.h: No such file or directory
    copy.c: In function 'main':
    copy.c:35: error: storage size of 'stbuf' isn't known
    Either i am missing any package needed or the gcc compiler is missing any lib directory. But i dont know which one is it.
    Any ideas are apreciated. Thanks you
    EDIT : The error was actually on #Include <io.h> , but i dunno why it conflicted with #include <sys\stat.h>.
    Anyway Problem Solved.
    Last edited by puzzled (2008-10-05 17:07:03)

    If you're not sure if you have the SDKs, can you confirm you have the files under /Developer? Check for /Developer/SDKs/MacOSX10.4u.sdk/usr/X11R6/include/X11
    I don't remember having to do anything special to get gcc to find these files.
    From what I've noted, the usual trigger seems to be that the X11SDK.pkg package wasn't installed.
    Typical PATH export is:
    export PATH="/bin:/sbin:/usr/bin:/usr/sbin"
    If you're working with Fink, there's a call to the following needed:
    . /sw/bin/init.sh
    See http://finkproject.org/doc/users-guide/install.php
    But I'd first make sure the X11 SDK was installed. I'd guess that is missing.

  • ORA-27369: job of type EXECUTABLE failed with exit code:No such file or dir

    Hi all,
    i am new with DBMS_SCHEDULER and my need is to create a job, without program and schedule, that i can call in an Apex app.
    This job run a window *.bat* file via cmd.exe
    I test the .bat with doubleclick and it work.
    I test window run with the string c:\windows\system32\cmd.exe/c C:/mycompletepath/myfilename.bat > nul and it work.
    I execute the following execute DBMS_SCHEDULER.create_job (
                   job_name=>'EIM_JOB',
                   job_type=>'EXECUTABLE',
                   job_action=>'c:\windows\system32\cmd.exe',
                   number_of_arguments=>1,
                   auto_drop=>FALSE,
                   enabled=>FALSE,
                   comments=>'Job Lancio EIM'
              ); and the job is created.
    I execute this execute DBMS_SCHEDULER.set_job_argument_value('EIM_JOB',1,' /c C:/mycompletepath/myfilename.bat > nul');
    execute DBMS_SCHEDULER.enable('EIM_JOB');
    execute DBMS_SCHEDULER.PURGE_LOG(job_name=>'EIM_JOB');
    execute DBMS_SCHEDULER.run_job('EIM_JOB');but the error ORA-27369: job of type EXECUTABLE failed with exit code: No such file or directory is raised
    The argument is uge and reading about it here https://forums.oracle.com/forums/thread.jspa?threadID=701740 here https://forums.oracle.com/forums/thread.jspa?threadID=555102 and here http://www.oracle-base.com/articles/11g/SchedulerEnhancements11gR1.php_ i suppose that my problem is quite about credentials but i need some help or tips to clearly identify, verify and solve the problem.
    Any kind of help will be appreciated.
    Thanks
    Alex

    Hi Ravi,
    thank you for your helpful reply.
    I am changing my script in order to meet your advices but when i run this execute DBMS_SCHEDULER.CREATE_CREDENTIAL (
       credential_name=>'SIECRMWIN',
       username=>'myusername',
       password=>'mypassword',
       database_role=>NULL,
       windows_domain=>'SIECRM',
       comments=>'Windows credential to run job'); the error PLS-00302: component 'CREATE_CREDENTIAL' must be declared is raised.
    My DB is Oracle Database 10g Enterprise Edition Release 10.2.0.5.0 - 64bi
    PL/SQL Release 10.2.0.5.0 - Production
    CORE     10.2.0.5.0     Production
    TNS for IBM/AIX RISC System/6000: Version 10.2.0.5.0 - Productio
    NLSRTL Version 10.2.0.5.0 - ProductionWhich is my mistakes?
    Searchibg the internet i found this OracleJobScheduler Windows service, how i can verify if service exist and start it on my server?
    Thanks again for any kind of help.
    Edited by: OraclePSP on 23-mar-2012 5.59

Maybe you are looking for

  • How to fill data when call function of sap standard script form?

    Hi every experts, <Priority Normalized> In our system, when we log in 'FR', we can print purchase order in language Franch,in t_code:ME22N.  And when logging in 'EN', we can print it in language English, in ME22N. The English form is just only transl

  • Guest Domain Freezes with 100% utilization

    I setup LDOM on a Sun Fire T2000 with one control domain and one guest domain. The guest domain is sharing the disk (on slice 6) with the control domain. The slice is set as boot disk for the guest domain. Upon starting the guest domain, the utilizat

  • I have installed Adobe Creative Cloud and Muse hangs on publishing? Help?

    I am working within the Cloud now as subscribed. I installed Muse with intention of continuing building websites with the Muse Release Candadate, from Muse Beta that I learned and used for months. The sites that I had created with Muse Beta usually p

  • Itunes will not open after updating to the 10.2 version

    After updating itunes does not open, an error messege pops up saying iTunes has encountered a problem and needs to close, and this is what the data says... Exception Information Code: 0xc0000005 Flags: 0x00000000 Record: 0x0000000000000000 Address: 0

  • Problem w/ InitialContext

    Here is my issue: 1. I have and stateless session EJB deploy to OC4J (the preview release). 2. I have a servlet that access the the EJB using the "RMInitialContextFactory" factory. 3. When I deploy the servlet to Tomcat on a different box it works fi