FTP issues

Hello,
I have a problem with my FTP server, when I try I get this error message:

[root@amstrong]# ftp 10.12.12.22
Connected to 10.12.12.22 (10.12.12.22).
500 OOPS: failed to open xferlog log file:/var/log/xferlog
ftp>

7 answers

  • Votes
  • Date
  • Descending date
  1. Security Contributor
    Hello,

    Are you the owner of the FTP (10.12.12.22)?

    Have you searched the internet for the error?
    1. Essaye de remplacer file:/// par file://.

      --
      Rien ne sert de courir, il faut cuire à point !
      1. Contributor
        Hello,
        the details of the errors
         file:/var/log/xferlog 

        are here
        see you later

        --
        FC 18 - Mandriva 2010 -Debian 6.0-
        The best things require patience. (JC ANGLADE)
        1. The problem is that he can't access this file. ;)
      2. Contributor
        re
        how so?
        cat /var/log/xferlog
        at worst
        sudo cat /var/log/xferlog
        see you later

        --
        FC 18 - Mandriva 2010 -Debian 6.0-
        The best things require patience. (JC ANGLADE)
        1. 500 OOPS: failed to open xferlog log file:/var/log/xferlog

          It cannot access the file, and it is possible that its FTP server does not handle Unix commands.
      3. Security Contributor
        You need to check the rights on it.

        ls -l /var/log | grep xferlog
        1. hello,

          hello,
          should I give the rights?
          [root@amstrong]# ls -l /var/log | grep xferlog
          -rw------- 1 root root 1714879 Jul 10 09:12 xferlog
          1. Security Contributor
            I suppose that FTP does not use the root user but has its own user.

            We will list the users and give rights (to the FTP user).

            cat /etc/passwd | awk -F: '{print $1}'