vsftpd status failed

MCarr

New Member
Joined
Jan 19, 2023
Messages
12
Reaction score
0
Credits
86
Hello All,

I have installed vsftpd on my linux mint web server, but can not get the service to run. does anyone no a resolution to this problem if so your help would be appreciated.

Kind regards





Marlon Carr
 


dos2unix

Well-Known Member
Joined
May 3, 2019
Messages
1,911
Reaction score
1,507
Credits
13,113
What is the error?
 
OP
M

MCarr

New Member
Joined
Jan 19, 2023
Messages
12
Reaction score
0
Credits
86
Hello dos2unix,

How are you,

After checking status of vsftpd service in the command line i get loaded service enabled

Active: failed

(code=exited, status=2)

both of these show up red

vsftpd.service: failed with result 'exit-code'.

are you familiar whit this ?



Marlon Carr
 
OP
M

MCarr

New Member
Joined
Jan 19, 2023
Messages
12
Reaction score
0
Credits
86
Hello dos2unix,

I have checked to see if the ports are listening
I have enabled ports on UFW

but can't get the service to start running





Marlon Carr
 

dos2unix

Well-Known Member
Joined
May 3, 2019
Messages
1,911
Reaction score
1,507
Credits
13,113
How are you checking from the command line?

systemctl status vsftp

or

journalctl -u vsftp

Are there errors in the log files?
 
OP
M

MCarr

New Member
Joined
Jan 19, 2023
Messages
12
Reaction score
0
Credits
86
Hello dos2uinx,

Where are the log files ?





Marlon Carr
 

dos2unix

Well-Known Member
Joined
May 3, 2019
Messages
1,911
Reaction score
1,507
Credits
13,113
add a dash L

systemctl status -l vsftp

and paste the entire output here.
Also check journalctl errors and log files.

paste errors here.
If we can't see any errors, we can't help.
 

dos2unix

Well-Known Member
Joined
May 3, 2019
Messages
1,911
Reaction score
1,507
Credits
13,113
Usually /var/log/xferlog

But it depends on your distro. I don't use Mint, so it may be different.
 

dos2unix

Well-Known Member
Joined
May 3, 2019
Messages
1,911
Reaction score
1,507
Credits
13,113
Do you have to be in root ?

Yes, or have sudo.

What is output of...

systemctl cat vsftpd | grep vsftpd.conf
For me... it looks like this...

ExecStart=/usr/sbin/vsftpd /etc/vsftpd/vsftpd.conf

This will tell you where your conf file is.
Then you can run...

cat /etc/vsftpd/vsftpd.conf | grep log
(change the location to wherever your conf file is).

... and that will tell you where your log files are.
 
Last edited:
OP
M

MCarr

New Member
Joined
Jan 19, 2023
Messages
12
Reaction score
0
Credits
86
Hello dos2unix,

What log files do I need to find, I will see if I can find them then and i'll make a post.





Marlon Carr
 
OP
M

MCarr

New Member
Joined
Jan 19, 2023
Messages
12
Reaction score
0
Credits
86
Hello dos2unix,

I have attached a print out of the vsftpd status.

kind regards





Marlon Carr
 
OP
M

MCarr

New Member
Joined
Jan 19, 2023
Messages
12
Reaction score
0
Credits
86
dos2unix,

Thnaks for the help, i'll try again tommorw.

Kind regards,





Marlon Carr
 

Staff online

Members online


Top