Page 1 of 4 123 ... LastLast
Results 1 to 10 of 32

Thread: error message: mv: cannot stat

  1. #1
    Join Date
    Jun 2011
    Beans
    16

    error message: mv: cannot stat

    I have tried a couple different types of Linux and I keep getting the same error messages.

    mv: cannot stat log/syslog.#: No such file or directory
    fgrep syslog.#: No such file or directory

    I did a google search and found a forum entry that said:

    "The following could be the cause of this, as I did the same installation and have no problems installing ISPConfig on my Ubuntu 6.10.
    Ubuntu developers have replaced Bash with Dash, so the regular /bin/sh that is used to be linked to /bin/bash is now pointing to /bin/dash.

    You can remove the /bin/sh and create a new link using:
    rm /bin/sh (or if you want to be safe: mv /bin/sh /bin/sh.dash)
    ln -s /bin/bash /bin/sh"

    I got a message saying that it create the (synthetic) directory, but when I tried to run autorun again, I got the same error messages.

    I was able to compile the code and makefile in the scr directory, but autorun keeps giving me problems. I can manually find the files so I know they exist. I have tried giving myself several permissions uneer Users and Groups, but nothing has helped so far.

    Oh, I nearly forgot. I am new to Unix/Linux so I am just starting with the commands.

  2. #2
    Join Date
    Dec 2008
    Location
    43° 7' 41" 131° 54' 3"
    Beans
    Hidden!

    Re: error message: mv: cannot stat

    Quote Originally Posted by Ceddrwyn View Post
    I have tried a couple different types of Linux and I keep getting the same error messages.

    mv: cannot stat log/syslog.#: No such file or directory
    fgrep syslog.#: No such file or directory

    I did a google search and found a forum entry that said:

    "The following could be the cause of this, as I did the same installation and have no problems installing ISPConfig on my Ubuntu 6.10.
    Ubuntu developers have replaced Bash with Dash, so the regular /bin/sh that is used to be linked to /bin/bash is now pointing to /bin/dash.

    You can remove the /bin/sh and create a new link using:
    rm /bin/sh (or if you want to be safe: mv /bin/sh /bin/sh.dash)
    ln -s /bin/bash /bin/sh"

    I got a message saying that it create the (synthetic) directory, but when I tried to run autorun again, I got the same error messages.

    I was able to compile the code and makefile in the scr directory, but autorun keeps giving me problems. I can manually find the files so I know they exist. I have tried giving myself several permissions uneer Users and Groups, but nothing has helped so far.

    Oh, I nearly forgot. I am new to Unix/Linux so I am just starting with the commands.
    Preface your command with "sudo" to become root and if that doesn't work try "sudo mv /var/log/sys.log <tonewlocation>

    Remember you only own files in "/home/username". Root (sudo) owns everything else.....practically.
    EasyBCD.
    PrintersDatabase
    Boot Info Script: How to
    The post above and the post below suffer from the Rashomon effect!

  3. #3
    Join Date
    Jun 2011
    Beans
    16

    Re: error message: mv: cannot stat

    I did all of that,no luck. I made sure to move everything to my home folder, but that didn't work. The instructions say I can type

    sh ./autorun & so I typed sudo sh ./autorun &

    This is what keeps repeating...

    ceddrwyn@Destiny-VirtualBox:~/tbamud/tbamud-3.62$ ./autorun: 174: cannot create log/olc: Permission denied
    tail: cannot open `log/olc' for reading: Permission denied
    ./autorun: 174: cannot create log/trigger: Permission denied
    tail: cannot open `log/trigger' for reading: Permission denied
    ./autorun: 174: cannot create log/usage: Permission denied
    tail: cannot open `log/usage' for reading: Permission denied
    ./autorun: 174: cannot create log/errors: Permission denied
    tail: cannot open `log/errors' for reading: Permission denied
    ./autorun: 174: cannot create log/olc: Permission denied
    tail: cannot open `log/olc' for reading: Permission denied
    ./autorun: 174: cannot create log/trigger: Permission denied
    tail: cannot open `log/trigger' for reading: Permission de

    (I can't remember what to type for code, sorry.)

    I also tried following th steps here:

    http://ubuntuforums.org/showthread.php?t=1128388

    I upgraded and updated, but no such luck. I didn't get the same exact error messages he did as he was following the guru's instructions, but it is still not working.

    I need Linux to run this application, but I can't get the permissions to work as I want. I am not sure how to proceed.
    Last edited by Ceddrwyn; June 8th, 2011 at 10:17 AM.

  4. #4
    Join Date
    Dec 2008
    Location
    43° 7' 41" 131° 54' 3"
    Beans
    Hidden!

    Re: error message: mv: cannot stat

    sudo sh ./autorun &
    EasyBCD.
    PrintersDatabase
    Boot Info Script: How to
    The post above and the post below suffer from the Rashomon effect!

  5. #5
    Join Date
    Jun 2011
    Beans
    16

    Re: error message: mv: cannot stat

    I typed that, I pasted how my error message changed above. Now instead of mv Cannot stat and fgrep, I am getting tail and autorun 174.

    I went to my home folder and I noticed the files had images of locks on them. I right-clicked and choose permissions. Even though this is in my home folder, it says that root is the owner not me. How do I become the owner?
    Last edited by Ceddrwyn; June 8th, 2011 at 10:30 AM.

  6. #6
    Join Date
    Dec 2008
    Location
    43° 7' 41" 131° 54' 3"
    Beans
    Hidden!

    Re: error message: mv: cannot stat

    Read that post again and start from message #12
    EasyBCD.
    PrintersDatabase
    Boot Info Script: How to
    The post above and the post below suffer from the Rashomon effect!

  7. #7
    Join Date
    Jun 2011
    Beans
    16

    Re: error message: mv: cannot stat

    I don't have any broken packages. I updated 4 pkg, but I am still getting the same error messages.

  8. #8
    Join Date
    Dec 2008
    Location
    43° 7' 41" 131° 54' 3"
    Beans
    Hidden!

    Re: error message: mv: cannot stat

    Quote Originally Posted by Ceddrwyn View Post
    I typed that, I pasted how my error message changed above. Now instead of mv Cannot stat and fgrep, I am getting tail and autorun 174.

    I went to my home folder and I noticed the files had images of locks on them. I right-clicked and choose permissions. Even though this is in my home folder, it says that root is the owner not me. How do I become the owner?
    Right-click on your /home/username directory and choose properties. Change "root" to your username then logout and then back in. If permissions are changed don't do anything until you post here again and I or someone responds. Your following instructions from other site then coming here for help. Start here and explain in detail what you are trying to do. If you are trying to install some software.....what is the name of the software and I will look and help you install it.
    Last edited by jtarin; June 8th, 2011 at 11:50 AM.
    EasyBCD.
    PrintersDatabase
    Boot Info Script: How to
    The post above and the post below suffer from the Rashomon effect!

  9. #9
    Join Date
    Jun 2011
    Beans
    16

    Re: error message: mv: cannot stat

    Okay, I have done what you asked.
    I am trying to compile and run TBAmud. Here is the webpage:

    http://www.tbamud.com/content/readmebsd

  10. #10
    Join Date
    Feb 2008
    Location
    Texas
    Beans
    14,845
    Distro
    Ubuntu 12.04 Precise Pangolin

    Re: error message: mv: cannot stat

    Quote Originally Posted by Ceddrwyn View Post
    Okay, I have done what you asked.
    I am trying to compile and run TBAmud. Here is the webpage:

    http://www.tbamud.com/content/readmebsd
    Hi, this should help with permissions.
    http://www.tuxfiles.org/linuxhelp/filepermissions.html

Page 1 of 4 123 ... LastLast

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •