FTP issues

amsy10 Posted messages 78 Status Member -  
Dinath Posted messages 1697 Status Security Contributor -
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

Dinath Posted messages 1697 Status Security Contributor 218
 
Hello,

Are you the owner of the FTP (10.12.12.22)?

Have you searched the internet for the error?
0
Alming Posted messages 60 Registration date   Status Member Last intervention   16
 
Essaye de remplacer file:/// par file://.

--
Rien ne sert de courir, il faut cuire à point !
0
jeanbi Posted messages 15399 Registration date   Status Contributor Last intervention   2 383
 
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)
0
Alming Posted messages 60 Registration date   Status Member Last intervention   16
 
The problem is that he can't access this file. ;)
0
jeanbi Posted messages 15399 Registration date   Status Contributor Last intervention   2 383
 
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)
0
Alming Posted messages 60 Registration date   Status Member Last intervention   16
 
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.
0
Dinath Posted messages 1697 Status Security Contributor 218
 
You need to check the rights on it.

ls -l /var/log | grep xferlog
0
amsy10
 
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
0
Dinath Posted messages 1697 Status Security Contributor 218
 
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}'
0