Find: stat() error /proc/26354: No such file or directory

Dear everyone,
I am using Solaris 10u8 on 02 Sun Fire X4240 servers. I also installed Sun Cluster 3.2u3 and Oracle RAC 10gR2 for these 2 servers.
When I tried to execute the find command, I receive the result I need. However, in the end of the output, I saw additional lines:
+# find / -name * log -print | grep samba+
+/var/svc/log/network-samba:default.log+
+/var/samba/log+
+/etc/svc/volatile/network-samba:default.log+
+{color:#ff0000}find: stat() error /proc/26354: No such file or directory{color}+
I also tried with less complex syntax but got the same result, for example:
+# find / -name samba+
+/var/spool/samba+
+/var/samba+
+/usr/sfw/lib/webmin/caldera/samba+
+/usr/sfw/lib/webmin/mscstyle3/samba+
+/usr/sfw/lib/webmin/samba+
+/etc/init.d/samba+
+/etc/webmin/samba+
+/opt/SUNWscsmb/samba+
+{color:#ff0000}find: stat() error /proc/24252: No such file or directory+
+find: stat() error /proc/24345: No such file or directory{color}+
I don't know why these unormal outputs appeared. Does anyone know what the problem is here ?
Any advice from you is appreciated. Thanks for your help and please help me in this case.
Thanks.
HuyNQ.

/proc is a virtual filesystem reperesenting running processes.
By doing a a find from / your allowing find to pass though /proc.
Those errors indicate processes that exited while the find was running. So the files suddenly disappeared.
The errors are harmless. But if possible, try not to allow find to scan /proc.

Similar Messages

  • /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                                                                                                                                                                                                       

  • Error: sysace_stdio.h: No such file or directory

    i create an application "read_from_compact_flash"  with edk tool ,this application contain the flowing sources :
    ReadText.c
    StackAndHeap.c
    StackAndHeap.h
    when i try to bluid this application the errors is occur:
    cygdrive/e/p08/module2/ReadText.c:1:26: error: sysace_stdio.h: No such file or directory
    /cygdrive/e/p08/module2/ReadText.c: In function 'main':
    /cygdrive/e/p08/module2/ReadText.c:13: error: 'FILE' undeclared (first use in this function)
    /cygdrive/e/p08/module2/ReadText.c:13: error: (Each undeclared identifier is reported only once
    /cygdrive/e/p08/module2/ReadText.c:13: error: for each function it appears in.)
    /cygdrive/e/p08/module2/ReadText.c:13: error: 'TextFp' undeclared (first use in this function)
    /cygdrive/e/p08/module2/ReadText.c:21: warning: incompatible implicit declaration of built-in function 'malloc'
    /cygdrive/e/p08/module2/ReadText.c:23: error: 'NULL' undeclared (first use in this function)
    make: *** [compact_flash/executable.elf] Error 1
    Done!
    just for information i import the library  "xilfatfs" in mss fille.
    any one help me please and thinks

    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.

  • Hard Drive Error after Erasing - "No Such File or Directory"

    I have a Western Digital My Passport 400GB external HD (bought in April 09). It's been working great but I had it on FAT formatting and let's just say transfers are slow. I borrowed another external drive to back everything up so I could reformat this drive to Mac OS.
    Problem came after I backed up everything...I ran Disk Utility to erase the HD and format it in Mac OS Extended (journaled). It successfully erased the Hard Drive on All Zeros, taking 6 days, 5 hours, 50 minutes. Then when it tried to partition, I got the error No Such File or Directory. Here's the log:
    "Preparing to zero disk : “Untitled”
    Secure Erase completed successfully in 6 days, 5 hours, 50 minutes.
    Preparing to erase : “Untitled”
    Creating Partition Map
    Disk Erase failed with the error:
    No such file or directory
    Erase complete."
    So now the hard drive icon doesn't show up on my desktop, but is recognized in DU (without a volume however). Therefore there is no Mount Point and the drive remains unformatted. Any attempt in DU to partition or erase yields the same error message. Searched these discussions for days now without any luck. Please help!

    Welcome to the Apple discussions.
    I'm not following your problem description .... You said that you successfully erased the hard drive. The next step would be to partition it by giving it a name (you can give it a name under partition or under the erase function) - don't leave it as 'untitled', using Mac OS extended (journaled), a partition size, and ensure under options it says Apple partition map. There are no erasures involved when you partition the drive, which is where I'm confused over your problem description.

  • Error: jndi.properties (No such file or directory)

    Hi,
    I created my EJB and a desktop application in the NetBeans.
    I load my EJB on GlassFish
    I still load my appCliente on NetBeans, nice it works.
    But when I try to run my appClient just clicking on its icon in
    its directory it doesn't work.
    The message is jndi.properties (No such file or directory), but
    the file is there.
    My peace code:
    Properties props = new Properties();
    try{
    props.load(new FileInputStream("jndi.properties"));
    TesteEJBRemote t = (TesteEJBRemote) new InitialContext(props).lookup("Teste");
    jTextField2.setText(t.getMessage() + t.toString());
    }catch (IOException ex) {                                       
    //atxErros.setText(ex.getMessage());
    Logger.getLogger(frmFrame.class.getName()).log(Level.SEVERE, null, ex);
    jTextField2.setText(ex.getMessage());
    } catch (NamingException ex) {                                       
    //atxErros.setText(this.atxErros + " " + ex.getMessage());
    Logger.getLogger(frmFrame.class.getName()).log(Level.SEVERE, null, ex);
    What shoud I do?

    I've looked into Oracle Database 10g Express Edition (Universal), a .deb file, found no occi.h but did find lots of .so files (linux shared libraries). I'll try and adapt my code and Netbeans/g++ to that and see if it works...
    I can't really install it since my 4GB computer is x64 and my i386 "only" has 186RAM... Enterprise Linux Release 5 Media Pack for x86 64 (64 bit) is 5.1GB+updates (~5GB each)... Not gonna waste my time installing that just for a project.
    I sense i'm missing something obvious... although there's nothing obvious about *.oracle.com... information company they say? ;)

  • Pacman issue - error: .. : No such file or directory.

    It seems I have my first issue, and it's with Pacman. I get this error everytime I sync the database or install a package, even though everything seems to go fine.
    error: /var/lib/pacman/extra/flite-1.3-2/desc: No such file or directory
    I don't know what flite is but it won't install it as it doesn't exist even though there is a directory called "flite-1.3-2" and it's empty. I've tried removing the directory but synching the database doesn't put it back. Also I've used 'pacman -Scc' to clear cache but still no joy.

    archuser wrote:
    It seems I have my first issue, and it's with Pacman. I get this error everytime I sync the database or install a package, even though everything seems to go fine.
    error: /var/lib/pacman/extra/flite-1.3-2/desc: No such file or directory
    I don't know what flite is but it won't install it as it doesn't exist even though there is a directory called "flite-1.3-2" and it's empty. I've tried removing the directory but synching the database doesn't put it back. Also I've used 'pacman -Scc' to clear cache but still no joy.
    delete the directory /var/lib/pacman/extra and run pacman -Sy to restore. I believe if you delete just the flite directory it won't restore with Sy.

  • Error: bad interpreter: No such file or directory

    Solved....if you ever executing any file from the $iAS/bin directory and get the "bad interpreter: No such file or directory" then all you do is edit that file in vi or whatever, the look at the first line where it said #!/bin/ksh (in by case, it uses Korn shell I guess to interpret the script, in fact I don't have ksh install) and check to see if you have that particular file in /bin directory. If not, all you do is just make a sym link to /bin/sh under the name of /bin/ksh (assuming you have bash shell installed). The problem will be solved then.
    Hope this help some of you out as it does for me as a newbie in Oracle products. :)

    Hi,
    Rather, you can refer the below note and use the attached SQL script to create OPS$ user. It is for windows but works for unix also.
    50088 - Creating OPS$ users on Windows NT-Oracle
    use the attachement ORADBUSER.SQL.
    OR refer the below post. I have replied  to the similar query (Oracle Procedure usign SQLPLUS)..
    [Re: Backup recovery test|Re: Backup recovery test]
    Regards,
    Rajesh Narrkhede

  • Error: occi.h: No such file or directory

    I'm working on an university project where Oracle is imposed, so i need to configure it on my machine.
    I downloaded the instant client for AMD64 (64bit version) here, for it appears that's the place where occi.h would be. I also downloaded OCCI and tried using the occiCommon.h it contained, but it too refers occi.h, so i'm stranded. Plus, that .tar.gz is for RedHat and for an old version of g++. I'm using Debian (kernel 2.6.26-1-amd64) and g++ 4.3.2 - i assume the distro is irrelevant, but g++ version might not be.
    So far the best post i've found was this, but it relies on rpm packages which are not available, only zips. Later on it provides instructions on where to unzip them to, but the files it refers seem different from those in the actual zip and i have no oracle/ in my /usr/lib
    Where can i get the required files to connect to an Oracle 10g database using C++? Are there any alternatives to OCCI? Would Netbeans be easier to use? Where do i put them? What would the g++ command be? I'm using with -l and -L pointing to the same directory, where i've unziped everything, but that doesn't seem to do it. Also the files are mostly .o and .jar, not .h.
    Thanks.

    I've looked into Oracle Database 10g Express Edition (Universal), a .deb file, found no occi.h but did find lots of .so files (linux shared libraries). I'll try and adapt my code and Netbeans/g++ to that and see if it works...
    I can't really install it since my 4GB computer is x64 and my i386 "only" has 186RAM... Enterprise Linux Release 5 Media Pack for x86 64 (64 bit) is 5.1GB+updates (~5GB each)... Not gonna waste my time installing that just for a project.
    I sense i'm missing something obvious... although there's nothing obvious about *.oracle.com... information company they say? ;)

  • [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.

  • Compile error during make: ansidecl.h: No such file or directory

    Hi - I was trying to make a ruby app and I ran into the following error which seems to have originated in gcc. I can't seem to find much about it on Google, would very much appreciate some help with how to get to the bottom of this, thanks!:
    checking for main() in -liberty... no
    creating Makefile
    In file included from dirfibheap.h:5,
    from dirfibheap.c:2:
    *fibheap.h:44:22: error: ansidecl.h: No such file or directory*
    make: * \[dirfibheap.o] Error 1
    gcc -fno-common -g -Os -pipe -fno-common -pipe -fno-common -pipe -fno-common -I. -I/usr/lib/ruby/1.8/universal-darwin8.0 -I/usr/lib/ruby/1.8/universal-darwin8.0 -I. -c dirfibheap.c

    Apple's gcc doesn't come with this file. It is unlikely that simply getting a version of the file will work. My guess is that you would have to either install an alternative version of gcc which includes it or edit the source code of the app you're compiling to avoid it. Whether either of these would work, I can't say. Obviously this application is not ported to or supported on Mac OS X (if it is meant to be, report the bug). That means there are likely other issues which will crop up if you sort this one. I don't say this to put you off but only as a warning. (This may be superfluous and you may know all this very well. If so, my apologies.)
    What are you trying to compile? Have you tried the forums for the application? Has anybody else compiled it for OS X? Have you seen if Fink or Mac Ports have it?
    - cfr

  • Not such file or directory, icloud garageband

    hello, i just got in a very disappointing trouble using garageband, i uploaded songs to icloud and the i donloaded them again and edited them, everything was ok, till one day , i wanted to download one of my song from icloud but when i tapped on the green arrow for downloading, it told so:
    an unexpected error has ocurred, not such file or directory"
    but the preiew image of my song seems to be just like the last time i used it, and all my other songs downloaded ok, but this one just cant be downloaded
    any solution?
    i am even able to give a $0.99 app for the one who can get me oof this trouble

    Hi--
    mahongue wrote:
    But what is strange is that even the commands stored in /usr/sbin were not recognized and this directory needed to be added as well. Strange.
    One thing you have to keep in mind is that scripts like this aren't necessarily run by the same user as you, so they get a different environment. While I'm not familiar with Sleepwatcher and how it runs, I can give you different example of where this tripped me up.
    I was setting up a backup script to run once a week as part of the periodic tasks that run overnight. When I tested them from the Terminal app, they worked fine. They even worked when I put the script into the /etc/periodic/weekly folder, and ran the weekly jobs like so:
    <pre class="command">sudo periodic weekly</pre>
    But they failed when run by the system at the appointed time. This was very frustrating until someone here pointed out that they were being run as root at the appointed time, so I need to take the root environment into account. Sure enough, if I made my self the root user like so ( "-" means to change to the new user's environment):
    <pre class="command">sudo su -</pre>
    I would get the same environment as the weekly periodic tasks were getting, so I could debug the script using the same environment where it was running.
    I'm not sure why /usr/sbin wasn't in your $PATH, but don't forget that you can always use echo in your scripts to see that value of environment variables (if your script's output gets logged somewhere). I use that constantly as I'm working on scripts.
    charlie

  • Sysctl: cannot stat /proc/sys/enable: No such file or directory sysctl

    When attempting to use sysctl to enable or disable anything I get
    sysctl: cannot stat /proc/sys/enable: No such file or directory
    sysctl: cannot stat /proc/sys/wicd: No such file or directory
    THIS HAPPENS ON BOTH MY DESKTOP AND LAPTOP
    It happens regardless of what service I try to enable or disable
    I checked the permissions/owner on both and it is...
    Proc is dr-xr-xr-x root:root
    and /proc/sys is dr-xr-xr-x, root:root
    Any idea whats going on?
    Google turned up nothing...
    I'm sure I'm missing something simple...
    Last edited by ShadowfoxXXX (2013-02-28 04:55:24)

    ShadowfoxXXX wrote:
    When attempting to use sysctl to enable or disable anything I get
    sysctl: cannot stat /proc/sys/enable: No such file or directory
    sysctl: cannot stat /proc/sys/wicd: No such file or directory
    THIS HAPPENS ON BOTH MY DESKTOP AND LAPTOP
    It happens regardless of what service I try to enable or disable
    sysctl is used to modify kernel parameters. If you are trying to enable/disable/start/stop services, then you'll need to be running systemctl.
    Cheers
    Patrick

  • [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)

  • [SOLVED] updating aur package "install: cannot stat ...: No such file"

    This is my first attempt at creating a new package so I decided to update the orphaned crtmpserver package and I'm getting an error where makepkg cannot locate a file...
    I'm test building the package in /var/abs/local/rtmpd directory which contains two files PKGBUILD and rtmpd.service.
    PKGBUILD:
    pkgname=rtmpd-svn
    pkgver=811
    pkgrel=1.1
    pkgdesc="High performance rtmp streaming server"
    arch=('i686' 'x86_64')
    url="http://www.rtmpd.com"
    license=('GPL')
    depends=('openssl')
    makedepends=('subversion' 'cmake' 'lua')
    provides=('crtmpserver')
    conflicts=('crtmpserver')
    _svntrunk='https://svn.rtmpd.com/crtmpserver/trunk'
    _svnmod='crtmpserver'
    _svnbuild='crtmpserver/crtmpserver'
    source=('rtmpd.service')
    md5sums=('SKIP')
    build() {
    msg "Starting SVN checkout"
    svn co --non-interactive --no-auth-cache --username anonymous --password "" https://svn.rtmpd.com/crtmpserver/trunk crtmpserver
    cd $_svnmod/builders/cmake
    sh cleanup.sh
    cmake -DCRTMPSERVER_INSTALL_PREFIX=/usr
    make
    package(){
    cd $_svnmod/builders/cmake
    make DESTDIR="$pkgdir" install
    install -dm644 "$pkgdir/etc/crtmpserver"
    mv "$pkgdir/usr/etc/crtmpserver.lua.sample" "$pkgdir/etc/crtmpserver"
    rm -rf "$pkgdir/usr/etc"
    install -D -m644 "rtmpd.service" "$pkgdir/usr/lib/systemd/system/rtmpd.service"
    Here's the output from running makepkg
    [ourhome@server rtmpd]$ makepkg > log
    ==> Making package: rtmpd-svn 811-1.1 (Sun Feb 8 14:42:27 PST 2015)
    ==> Checking runtime dependencies...
    ==> Checking buildtime dependencies...
    ==> Retrieving sources...
    -> Found rtmpd.service
    ==> Validating source files with md5sums...
    rtmpd.service ... Skipped
    ==> Extracting sources...
    ==> Starting build()...
    ==> Starting SVN checkout
    A crtmpserver/3rdparty
    A crtmpserver/3rdparty/lua-dev
    A crtmpserver/3rdparty/lua-dev/lundump.h
    A crtmpserver/3rdparty/lua-dev/lapi.h
    A crtmpserver/sources/androidapplestreaming/src/variantconnection.cpp
    A crtmpserver/sources/androidapplestreaming/src/jniwrapper.cpp
    Checked out revision 811.
    -- The C compiler identification is GNU 4.9.2
    -- The CXX compiler identification is GNU 4.9.2
    -- Check for working C compiler: /usr/bin/cc
    ==> Entering fakeroot environment...
    ==> Starting package()...
    Install the project...
    -- Install configuration: "Debug"
    -- Installing: /var/abs/local/rtmpd/pkg/rtmpd-svn/usr/lib/crtmpserver/libtinyxml.so
    -- Installing: /var/abs/local/rtmpd/pkg/rtmpd-svn/usr/lib/crtmpserver/libcommon.so
    -- Installing: /var/abs/local/rtmpd/pkg/rtmpd-svn/usr/lib/crtmpserver/libthelib.so
    -- Installing: /var/abs/local/rtmpd/pkg/rtmpd-svn/usr/lib/crtmpserver/applications/flvplayback/libflvplayback.so
    -- Installing: /var/abs/local/rtmpd/pkg/rtmpd-svn/usr/lib/crtmpserver/applications/appselector/libappselector.so
    -- Installing: /var/abs/local/rtmpd/pkg/rtmpd-svn/usr/lib/crtmpserver/applications/samplefactory/libsamplefactory.so
    -- Installing: /var/abs/local/rtmpd/pkg/rtmpd-svn/usr/lib/crtmpserver/applications/vptests/libvptests.so
    -- Installing: /var/abs/local/rtmpd/pkg/rtmpd-svn/usr/lib/crtmpserver/applications/admin/libadmin.so
    -- Installing: /var/abs/local/rtmpd/pkg/rtmpd-svn/usr/lib/crtmpserver/applications/proxypublish/libproxypublish.so
    -- Installing: /var/abs/local/rtmpd/pkg/rtmpd-svn/usr/lib/crtmpserver/applications/stresstest/libstresstest.so
    -- Installing: /var/abs/local/rtmpd/pkg/rtmpd-svn/usr/sbin/crtmpserver
    -- Installing: /var/abs/local/rtmpd/pkg/rtmpd-svn/usr/etc/crtmpserver.lua.sample
    -- Installing: /var/abs/local/rtmpd/pkg/rtmpd-svn/usr/man/man1/crtmpserver.1
    install: cannot stat ‘rtmpd.service’: No such file or directory
    ==> ERROR: A failure occurred in package().
    Aborting...
    and that's the mystery to me.  Makepkg finds rtmpd.service when it starts but cannot find it when it's time to package.
    Where's it looking ?
    Last edited by gillecaluim (2015-02-08 23:36:50)

    The service file is in $srcdir, not $_svnmod/builders/cmake.
    You're using an outdated PKGBUILD template too. The svn source should be included in the source array and not checked out manually during the build process.
    EDIT: since this repository requires authentication, perhaps the correct format won't work.
    Last edited by WorMzy (2015-02-08 23:07:59)

  • "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

Maybe you are looking for

  • Wrong parameter substitution in named query

    We are on TopLink 10.1.3 We have a named query – 'Select * from table where userid = #userid and status = #status' This query executes correctly most of the times, but intermittently it will substitute the first parameter's(id) value for both id and

  • Is MBP a good choice here?

    My son is looking at getting a MacBook pro, after several years of pc laptops (lenovo, etc). He is not a gamer, but is inclined to have a lot of tabs open at once, download music, maybe movies. His previous laptops have died at about the four year po

  • Average HTTP response time going up week by week as said by SAP

    Hello All, I was looking into our SRM earlywatch report,SRM is on windows SQL server 2005 with Windows 2003 server In the performance indicators,there is an interseting trend though nothing is in yellow or red The values of following parameters : ave

  • Same class in different package

    I am facing a design decision, I have a set of classes which defined the values of all variables. However, I realized that I need to prepare separate set of these classes for different countries (as they may vary), i.e my.package.us      PriceList.ja

  • How do I resolve error 42110?

    I am trying to down load movies and it loads until the last second when it says that there is a problem on itunes and to try again later. Well... I have tried again later with same result.