Where can I find CSF logs?

David Beroff

Well-known member
Joined
Jun 14, 2016
Messages
819
Best answers
0
Ratings
50
Points
28
#1
I have installed CSF on my VPS hosting and there are some people contacted me they could not access my site like they were blocked by my firewall, I want to find out the problem from log files of CSF, where can I find it and how solve this problem?
 

AlbaHost

Well-known member
Joined
Jan 18, 2017
Messages
264
Best answers
1
Ratings
52 3
Points
28
#2
Joined
Jan 18, 2017
Messages
48
Best answers
0
Points
6
#3
If you type the below command you can see the reason for the IP block in your server.
csf -g IP_ADDRESS

csf -dr IP_ADDRESS ( to remove the IP from your firewall)

After that type csf -r to restart the firewall.
 

Dewlance

Well-known member
Joined
Dec 20, 2014
Messages
99
Best answers
0
Ratings
17 1
Points
0
#4
In my server I found /var/log/lfd.logs file.

Other is /var/logs/messages and also monitor CSF alert (Enable alert/notify option in your CSF configuration).
 
Joined
Jan 16, 2017
Messages
53
Best answers
0
Ratings
4
Points
0
#5
CSF logs are stored in /var/log/lfd.logs
 

David Beroff

Well-known member
Joined
Jun 14, 2016
Messages
819
Best answers
0
Ratings
50
Points
28
#6
In my server I found /var/log/lfd.logs file.

Other is /var/logs/messages and also monitor CSF alert (Enable alert/notify option in your CSF configuration).
CSF logs are stored in /var/log/lfd.logs
thanks you guys for sharing this piece of this info but when I typed this in SSH

nano /var/log/lfd.logs
there is no content there.

Is it possible to check if a file is existing in a folder in VPS, for example lfd.logs is existing in /var/log/?
 
Joined
Jan 16, 2017
Messages
53
Best answers
0
Ratings
4
Points
0
#7
You can run below command to confirm if file is present:

------
[[email protected] ~]# ls -ld /var/log/lfd.log
-rw------- 1 root root 12059 Mar 2 00:00 /var/log/lfd.log
------
 
Latest Threads

Latest postsNew threads

Latest Hosting OffersNew Reviews

Web Hosting

Most Likes - Past 30 Days

Tag Cloud

You are using an out of date browser. It may not display this or other websites correctly.
You should upgrade or use an alternative browser.