How to log rotate ~/public_html/example.com/logs/access.log ?

I followed the instructions on this site on how to setup my httpd server.My server stopped responding and I realized my access.log was 15GB! OMG!I deleted it but that didn't free up the space. Well, until I figure the above problem out I'm wondering how would I set up log rotate to delete that file ...

odd entries in my access log

guys and gals I am getting some strange things in my access log, slightly concerned as they return 200 and 400. Can anyone shed some light on this for me?115.134.147.233 - - [22/Jun/2010:13:22:11 +0000] "CONNECT zildjan.mine.nu:7000 HTTP/1.0" 200 5766 "-" "-"84.113.50.239 - - [22/Jun/2010:13:24:31 + ...

Fields in Apache Web server access log

In the apache web server access log I got output as ......."POST url.... HTTP/1.1" 200 418 ** 418 4337......."GET url... HTTP/1.1" 200 977 ** 977 55262what does the numbers 200, 418, 4337, 977 and 55262 represents....All these numbers are HTTP status codes....??Please help, ...

Apache Access Log is empty

My /var/log/apache2/access.log is empty. Does anyone know why that may be? Is there a different log file for Ubuntu 8?Any help would be greatly appreciated. ...

Slightly Scared by monsters/spammers in my access log - any advice?

I have a hardy slice setup with php, mysql. apache and postfix and have run through the setups here provided by pickled onion.But I have recently noticed I am getting some rather scary looking items in my access log61.139.105.163 - - [21/May/2009:06:49:55 +0000] "GET http://proxyjudge1.proxyfire.net ...

Apache access.log file filled up remaining diskspace

My Apache2 access.log grew in size (13GB) and eventually took up all my diskspace (20GB). I couldn't figure out what to do; couldn't compress it, split it, etc., so I just removed it and created a new one.How can I keep this from happening again? ...

How do you handle access log?

Do you donwload the access log and view it outside of your slice, or do you install a log program to view it on your slice? Are the log viewer programs such as awstats, analog etc resource intensive? I only have a 256M slice. Which log program do you recommend? ...

MySQL Query from access log

I need help with query. I have access log table something like this: session_id (int) | user (varchar) | login_time (datetime) | logout_time (datetime) 1 | JOHN | 2007-03-02 15:32:01 | 2007-03-02 18:01:55 2 | JOHN | 2007-03-09 11:43:33 | 2007-03-09 21:02:25 3 | JOHN | 2007-03-15 22:00:05 | 2007-03-1 ...

Query from access log

I need help with query. I have access log table something like this:session_id (int) | user (varchar) | login_time (datetime) | logout_time (datetime)1 | JOHN | 2007-03-02 15:32:01 | 2007-03-02 18:01:552 | JOHN | 2007-03-09 11:43:33 | 2007-03-09 21:02:253 | JOHN | 2007-03-15 22:00:05 | 2007-03-16 06 ...

access log question

Hi, reckon this is an easy one to answer:looking at my apache access log is see lines like:10.100.75.65 - - [06/Jul/2001:16:08:32 0100] "GET /another.html HTTP/1.1" 200 400to me this looks like the request is being ok'd (200) and then it goes bad (!) (400)Is this really what it means or is ...

httpd access log

this is a portion of an access log of a web serverthoughts?ThanksMB24.174.171.118 - - [29/Apr/2004:19:14:36 -0700] "GET /scripts/root.exe?/c+dir HTTP/1.0" 404 1041 "-" "-"24.174.171.118 - - [29/Apr/2004:19:14:36 -0700] "GET /MSADC/root.exe?/c+dir HTTP/1.0" 404 ...

squid and access.log permissions

I have just setup a new server using Suse Linux, apache and squid. I needsquid to be running as a proxy server. Everything is working okay on the server,but I need to set the access.log file for a different output. From time to time Ineed to check the proxy access.log file. The file keeps records of ...

Access Log

HiI am going to create an access log mechanism for samba, nfs etc...so that i can keep a record of the access to the systemi will be using the FC3 distro and the latest rpmsAnyone has any idea how the authentication in samba and nfs worksand where it is stored and how do i retrieve the relevant info ...

Changing access log format

I'd like to pattern used for the access log file from "common" to "combined". Can someone tell me how to do this? I tried updating config.xml, but I must have done it incorrectly, because now it's not writing to the access log file at all. The documentation at http://publib.boulder.ibm.com/wasce/V2. ...

Access Log Need Help.

In my access log file, I found a lot of records from the same ip, I think that it may not be the real ip of the visitor.Can anyone tell me how to get the real ip of the visitor? ...

External IPs in access.log (Squid)

I am running Squid/2.4.STABLE6 under Redhat Linux 9. Couple of days before suddenly access.log started showing entries like below:1176886755.670 17 122.124.64.157 TCP_DENIED/403 985 CONNECT 203.188.197.10:25 - NONE/- -1176886756.000 21 220.137.115.196 TCP_DENIED/403 979 CONNECT 168.95.5.25:25 - NONE ...

apache2, mod_auth_kerb and access.log

I'm using kerberos for authentication and its working great. I'm also using PHP's $_SERVER['REMOTE_USER'] to display the user info.the only problem is apache cant make up its mind on the REMOTE_USER in the access.log. about 2/3rds of the logs are simply user and about 1/3rd are the full user@DOMAIN ...

caching an access.log problems

I am attempting to read the access log for squid and store the last position read so it does not have to reread the file. I am running into many problems with my current code for it. I was wondering if you can help me write a more efficient code and/or help with my current error which is: Traceback ...

extracting visitors from access log

Hallo,I want to extract the total number of visitors from access.log. (Like in webalizer) I want to place this number as a simple counter on a webapge. Opening the log file and loop through all rows to get the unique visitors sounds a little to heavy for a counter. Is there something other to do? ...

Access log

I am trying write the day the person logs in in a txt file.Format: 1 2 3 4 6 8 9delimieter is a space.I dont want duplicate entries but my code will continue to add a day even if it already exists.My Code:<? //**Catch variable values from Flash program**//$filename = $_POST['filename'];//server d ...

Ubuntu Squid Access.log user rights change every night

As a relative new comer, I am a having trouble working out what it going on here.Every night, the user ownership on Squid's access.log changes from proxy proxy to syslog adm.I thought it was logrotate that was doing it, but doing a forcerotate of the logs doesn't, and I can't find what other daily p ...

Optimizing the program generating access log reports

I'll try my best to make this as understandable as possible. Please do ask if any clarification is required. I had made this program to create a report from the apache access log files, of top entry pages and top exit pages of our site. What the program does is take a date as argument form the shell ...

Ubuntu [Apache + mod_proxy] access log shows my server is being used as a proxy

My apache access log keeps getting filled up with GET request from an external ip and I can't seem to configure it correctly to block these requests. server.example.com:80 61.139.105.162 - - [30/Jun/2009:21:55:20 +0200] "GET http://ad.yieldmanager.com/imp?z=10&s=431934&u=http%3A%2F%2Fww ...

Oracle Can't get plain access.log

I am trying to log access by changing product/10.1.8/ses1/oc4j/j2ee/OC4J_SEARCH/config/http-web-site.xmllike <web-app application="system" name="dms" root="/dmsoc4j" access-log="true"/>and<access-log path="../log/default-web-access.log" format="$ip - $user - [$time] '$request' $status $size ...

Ubuntu Apache access.log file empty

Hi, my Apache access.log file is empty. I was assuming that it could be a permission problem:-rw-r----- 1 root adm 0 2008-08-17 06:53 access.logI found one apache process running under apache and several under www-data. I was hoping with changing the file owner to www-data:adm it would work but afte ...

Ubuntu Apache Access Log, whats this mean

Recently I setup Xampp and opened a port on my router so Myself and a mate could work on a webpage project. In the access log I seem to be getting a lot of internet users trying to connect and the log records a few things I need advice on.75.127.97.213 - - [09/Aug/2008:02:25:29 +1000] "CONNECT ...

Ubuntu Prevent access log from recording directory

I am building AJAX into my website and obviously, every HTTP request is being recorded in the access log. I have Googled how to avoid this but I haven't been able to make it work.Here is the line that I found...SetEnvIf Request_URI "^/ajax$" dontlogIf I had a directory in my htdocs folder ...

Ubuntu Apache access log stopped,

Hyyas, I am running an apache server thru webmin, on a 8.04 install. Attempting to install awstats I have realized that access.log stopped writing some months ago. Went back thru the error logs and found I had deleted the virtual server, and started a new one. Everything else works fine, it never ev ...

Ubuntu Apache how to include hostname in access.log and error.log file names

I am sure this information is out there somewhere, but Googling apache access.log and hostname does not give you any good leads... so I hope someone here might be able to provide me with a quick answer...I am setting up a cluster of web servers, so I would like to name the access.log and error.log w ...

Ubuntu Error and Access Log

Hi, Im not sure if Im posting in the right tread but here it goes for a simple question.First: Is there a way to extract the error log of an ubuntu web server by date frame ie( from 100109 to 101509 ) rather than extracting the entire log from the begening of time to present day?If yes can someone w ...

Ubuntu can open sudo tail -F /var/log/squid/access.log

cant open the the access.log how to change permission to this file, anybody help ...

Ubuntu Apache 2 access log for each subdir

Ive setup an apache 2 webserver containing several virtual hosts. Now on one of the hosts I want a subdirectory that has a different access log then the rest of that virtual host (its a site with multple tools who need different access logs)Is this possible? ...

Ubuntu Dansguardian + Squid No Username in access.log

I'm posting here in the hopes that somebody has experience with this and maybe help me or point me in the right direction.I have set up a server with dansguardian + squid for browsing the internet. The browsing will be done in the same server with locally logged users.Everything is working but if yo ...

Ubuntu access.log available over HTTP = bad idea?

Is there any reason NOT to make access.log available via HTTP? I'm thinking of making a PHP script which reads the last 20 lines of access.log and making it visible to the public for demonstration purposes. Beside invading the privacy of certain people (showing IPs and perhaps what they Google for t ...

Ubuntu access.log blocked - can I generate one with php?

I have a PHP-enabled website that's hosted professionally, but they don't give me access to my logfiles. Is there an easy way to use PHP to generate my own "access.log", so that I can analyze it myself with stats programs (like awstats)? ...

Ubuntu filter apache2 logging into access.log?

I would like to filter what is wrote to access.logLike template entries for my website (every little image for my template) or, more importantly, a certain page within my website. It uses ajax to ping the log every second to tail the log, for real time monitoring while I test stuff but, obviously it ...

Ubuntu apache access log

sometimes (it's not predefined times) my apache stops, so I start watching logs to understand the problem. The first log that I investigated is access.log that it shows a strange entry:...82.57.15.220 - - [20/Nov/2008:10:30:08 +0100] "GET /med/course/category.php?id=18 HTTP/1.1" 200 11303 ...

Ubuntu Apache's Access Log - Can I...?

I am running an Apache2 server and mainly use it for personal use. It is open to the public; however, my use takes up about 90% of the logs.Is there anyway I can remove all lines from my IP (basically static as long as I pay the bill) from the access.log?Also, can I limit the logs by size, instead o ...

Ubuntu Apache access log and document root

I am using the default configurations of apache and my website is working but I have 2 problems. One is that the access log is completely blank and 2 is that apache insists that my website be located in /htdocs even though there is no mention in any of the config files about /htdocs. I figuered out ...

Ubuntu Apache2.2 isn't keeping access log

I am using the default configurations of apache and my website is working but I have 2 problems. One is that the access log is completely blank and 2 is that my website is located in /htdocs even though there is no mention in any of the config files about /htdocs. I figuered out it need to be there ...

Ubuntu Possible use of server as an open proxy? Information from access log.

I checked my access log this moring on my hardy server and was greeted with a few of the following enteries:207.45.69.69 - - [05/Jun/2008:08:45:44 +0100] "POST http://207.45.69.69:11111/ HTTP/1.0" 200 274 "-" "-"207.45.69.69 - - [05/Jun/2008:08:45:44 +0100] "CONNEC ...

Oracle Is it possible to clean up the http-web-access.log?

The size of the file http-web-access.log has increase drastically and I've just started facing disk full problems on my Server. We have are using Oracle 10g. I was wondering if someone could give me any advice how I can cleanup this file.Thank you in adavnce.Edited by: user8378419 on Apr 24, 2009 10 ...

Oracle How to shrink huge ..OC4J_DBConsole_server-02_RAC2/log/http-web-access.log?

I have a huge (7.3G) logfile and it looks like dbconsole is responsible for the cause. Is there a way I can recycle this without stopping emctl agent or dbconsole? or do I even need to worry about it? Or can I zip it directly. Ideally I think there got to be away to stop the log, then zip it, and th ...

Oracle How to shrink huge ..OC4J_DBConsole_server-02_RAC2/log/http-web-access.log?

I have a huge (7.3G) logfile and it looks like dbconsole is responsible for the cause. Is there a way I can recycle this without stopping emctl agent or dbconsole? or do I even need to worry about it? Or can I zip it directly. Ideally I think there got to be away to stop the log, then zip it, and th ...

Ubuntu Squid Access.log

I can get into the access.log file, however I do not know how to close it and get back to the prompt.Please help! ...

Ubuntu Raw access log files.

Is there a program in Ubuntu that will analyze my raw access log files from my website, and if so what is it called? ...

Ubuntu Access log blank?

I took over our webserver after someone left our company and it is doing something odd that I as a noob can't figure out. I was looking at the web stats and it only showed one day. I thought webalizer was messed up until I looked at the access log file. It was blank, nothing in it at all. After rese ...

Ubuntu Strange apache access.log entry

I'm running a simple apache server to host a couple of files I regularly need at school, and I ended up with a really strange entry in my access.log file:80.83.238.231 - - [26/Jan/2008:03:22:03 -0500] "T\x1d\xacS[\x1d\x9fj2\x94\xed\x9b5@\x01\xf6\x89eF\xc0o\x10\xf 5r\xecp\x89E\xad\xe7G\x89W\xc0\ ...

Ubuntu Awstats & Apache access.log

Hello, I just installed Awstats and obviously it's reading my /var/log/apache2/access.log file, but what I don't understand, If I remove that current log file and let Apache recreate the new one. Why is Awstats still showing me the older log information, I want to reset that info, Any one? I just ke ...

Ubuntu apache2/access.log

> cat /var/log/apache2/access.log grep -v 192.168207.210.117.* - - [15/Jan/2007:00:35:57 -0500] "GET http://www.ougo.com/proxytest.php HTTP/1.0" 404 299 "-" "-"207.210.117.* - - [15/Jan/2007:00:37:58 -0500] "GET http://www.ougo.com/proxytest.php HTTP/1.0" 4 ...