The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
![]()
How do i check httpd loges in ssh?
anyone help me with this please |
#2
|
|||
|
|||
![]()
Go to:
/home/user/logs/domain.com/http where 'user' is your actual user and 'domain.com' is one of your domains - you'll want to do this for each of the domains under your user You can use the cd /home/user/logs/domain.com/http command to get there thats where your logs are |
#3
|
|||
|
|||
![]()
No such file or directory
im getting this error when i type "the cd /home/user/logs/domain.com/http "on ssh |
#4
|
|||
|
|||
![]()
You have to replace user with your user name and domain.com with your domain name
like if user was bob and domain google.com cd /home/bob/logs/google.com/http get it now? |
#5
|
|||
|
|||
![]()
ya i did it before.
i typed "cd /home/badboyz/logs/mydomain.com/http" it said No such file or directory ![]() .. I have linux Dedicated Server |
#6
|
|||
|
|||
![]()
Well if your having problems getting the logs this way. You could just ftp to your server and grab them. You server may be setup different. But for most servers that is the default way to do it.
|
#7
|
|||
|
|||
![]() Quote:
MY server loads high i am trying to do this |
#8
|
|||
|
|||
![]()
Ahh then you would want to do something like this. All the lines with code tags or the commands.
The main causes you will find are abuse from specific IPs or inefficient scripts. In the case where it is abuse you should be able to determine the cause if you specifically look at each of the access logs for your domains. Go to: HTML Code:
/home/user/logs/domain.com/http HTML Code:
tail -10000 access.log| awk '{print $1}' | sort | uniq -c |sort -n HTML Code:
cat access.log| awk '{print $1}' | sort | uniq -c |sort -n 364 65.214.44.72 436 64.172.17.3 657 204.74.126.70 1799 33.36.52.212 1847 66.249.66.167 If you find IPs that are connecting a lot first check to see who it is: HTML Code:
host ipaddy so HTML Code:
host 66.249.66.167 Then you would block the ip addy connecting alot. Maybe that will help if you can find the logs ![]() |
#9
|
|||
|
|||
![]()
the problem is when i type
(with my own user name and domain name) /home/user/logs/domain.com/http it says no such a file |
#10
|
||||
|
||||
![]()
Hi, whats your Administration Panel? regards
|
![]() |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|