AIX

AIX

Connect with fellow AIX users and experts to gain knowledge, share insights, and solve problems.


#Power
#Power
 View Only
  • 1.  wget error: unlink: A file or directory in the path name does not exist.

    Posted Tue April 01, 2008 07:13 AM

    Originally posted by: apple08


    dear gurus,
    i tried to wget one file, it was connected, but it says this error:
    09:07:22 ftp://db2bop:*password*@10.103.10.50/disc5/db2bop/BOP/tablespace/data/
    => `.listing'
    Connecting to 10.103.10.50:21... connected.

    Logging in as db2bop ... Logged in!
    ==> SYST ... done. ==> PWD ... done.
    ==> TYPE I ... done. ==> CWD /user2/dept/dba/db2bop/disc5/db2bop/BOP/tablespace/data ...
    No such directory `disc5/db2bop/BOP/tablespace/data'.

    unlink: A file or directory in the path name does not exist.
    how can i resolve this? would really appreciate your advice. urgently need your advice
    #AIX-Forum


  • 2.  Re: wget error: unlink: A file or directory in the path name does not exist.

    Posted Tue April 01, 2008 07:21 AM

    Originally posted by: apple08


    but when i tried to use root id, it was ok halfway. it was aborted due to coredump or something. i'm very confusee
    the output:
    Removed `.listing'.
    08:40:22 ftp://root:*password*@10.103.10.50/disc5/db2bop/BOP/tablespace/data/DATBOP04K01_01.dbf
    => `DATBOP04K01_01.dbf'
    ==> CWD not required.
    ==> PORT ... done. ==> RETR DATBOP04K01_01.dbf ... done.
    Length: 488,112,128

    100%==================================> 2,147,426,280 11.18M/s ETA 00:00The assert subroutine failed: insz <= dlsz, file progress.c, line 704
    IOT/Abort trap(coredump)
    ut
    #AIX-Forum


  • 3.  Re: wget error: unlink: A file or directory in the path name does not exist.

    Posted Tue April 01, 2008 09:03 AM

    Originally posted by: apple08


    is because of CWD command? can we disable CWD command so that the server don't recongnize the ftp user home directory? does it make sense?
    #AIX-Forum


  • 4.  Re: wget error: unlink: A file or directory in the path name does not exist

    Posted Tue April 01, 2008 02:26 PM

    Originally posted by: kappa


    Hi,

    I guess you are running into a file limit problem.
    Look at the number next to the 100% field in your posting.

    Do you have a jfs or jfs2 filesystem?
    type ulimit -a before doing wget.
    What is your filesize limit?
    #AIX-Forum


  • 5.  Re: wget error: unlink: A file or directory in the path name does not exist

    Posted Tue April 01, 2008 08:31 PM

    Originally posted by: apple08


    dear sir,

    Look at the number next to the 100% field in your posting.
    apple >> what this 100 % tells?

    Do you have a jfs or jfs2 filesystem?
    apple >> we have jfs2

    type ulimit -a before doing wget.
    What is your filesize limit?
    apple >> ulimit in the destination server
    1. ulimit -a
    time(seconds) unlimited
    file(blocks) unlimited
    data(kbytes) unlimited
    stack(kbytes) 4194304
    memory(kbytes) 32768
    coredump(blocks) 2097151
    nofiles(descriptors) 2000

    apple >> ulimit in the source server

    1. ulimit -a
    time(seconds) unlimited
    file(blocks) unlimited
    data(kbytes) unlimited
    stack(kbytes) unlimited
    memory(kbytes) 32768
    coredump(blocks) unlimited
    nofiles(descriptors) 2000

    apple >> but sir because this it works in 4 of our server, i just check the ulimit, it same the ulimit.

    thanks a lot.
    #AIX-Forum


  • 6.  Re: wget error: unlink: A file or directory in the path name does not exist

    Posted Wed April 02, 2008 03:22 PM

    Originally posted by: kappa


    Hi,

    I have seen this line in your posting:
    100%==================================> 2,147,426,280 (about 2GB)

    Other references describe wget bugs with large files in wget/UNIX, e.g.
    http://osdir.com/ml/web.wget.general/2004-12/msg00019.html

    As of 2004.11.13 the latest official version of wget cannot download files of size more than 2Gb.
    http://software.lpetrov.net/wget-LFS/

    Good luck!
    #AIX-Forum


  • 7.  Re: wget error: unlink: A file or directory in the path name does not exist.

    Posted Wed December 04, 2013 06:26 AM

    Originally posted by: aliceten


    You can use Long Path Tool for this problem, it works good.


    #AIX-Forum


  • 8.  Re: wget error: unlink: A file or directory in the path name does not exist.

    Posted Mon December 30, 2013 01:39 PM

    Originally posted by: FFD78


    Hello,

    use // to specify root folder instead / for user folder :

    ftp://db2bop:*password*@10.103.10.50//disc5/

    that have work for me

    Best regards


    #AIX-Forum