Browsing articles tagged with "logfiles - 4/30 - Admins Goodies"
Nov 23, 2011
tom

Unable to administer WSS 3.0 using SQL Studio Express

I have a WSS 3.0 running on Server 2008 R1. The log files have grown to almost 15GB and need to be compressed/purged as we are running out of space on the hard drive. I have connected to the database “.pipemssql$microsoft##sseesqlquery” using SQL Studio Express, however I get the following error when right-clicking on the SharePoint_Config database and selecting Properties: =================================== Property Owner is not available for Database ‘[SharePoint_Config_29c26fca-17b8-48c1-9704-b869932abcb6]‘. This property may not exist for […]

Continue Reading »
Nov 23, 2011
tom

What the heck is a OPTIONS method in a IIS 7.5 web Log?

I know what a GET and a POST are, but it’s almost impossible to Google for the word OPTIONS. Here’s what I see (i deleted all the stuff at the end) of each: 11/23/11 0:02:13 10.100.0.14 GET /CUpdate2.cshtml _=1322006533495 11/23/11 0:02:13 10.200.0.10 OPTIONS /AssignmentCount _=1322006576798 11/23/11 0:02:13 10.200.0.10 GET /media/faxSound.wav – 11/23/11 0:02:13 10.200.0.10 GET /Star/StarUpdates _=1322006578729 11/23/11 0:02:13 10.100.0.10 GET /CUpdate2.cshtml _=1322006533268 Check out section 9.2 of this W3 Spec: The OPTIONS method represents […]

Continue Reading »
Nov 19, 2011
tom

In User Agent strings, what does “AskTbTRL” denote?

Here are a bunch of examples: http://www.botsvsbrowsers.com/listings.asp?search=asktbtrl I would’ve guessed an Ask.com-related bot, but apparently not according to their FAQ. A quick google search shows that it’s the user agent for the ask.com toolbar. Check more discussion of this question. Bookmark on Delicious Digg this post Recommend on Facebook share via Reddit Share with Stumblers Tweet about it Print for later Bookmark in Browser Tell a friend

Continue Reading »
Nov 18, 2011
tom

Newsyslog wildcards – rotate all logs in a directory

I am running FreeBSD 8.1. I am trying to make newsyslog rotate logs defined by a dynamic path: # logfilename [owner:group] mode count size when flags [/pid_file] [sig_num] /path/logs/*.log 644 7 100 $D0 J /path/logs/*/*.log 644 7 100 $D0 J Basically I want newsyslog to rotate all files ending with .log in directory /path/logs/. i also want to do the same for all subdirectories of /path/logs/ which is the second line of my config file. […]

Continue Reading »
Nov 17, 2011
tom

nginx: rewrite URL but have original URL stored in access.log as 200

I’m setting up a link tracking system, which (temporarily) involves adding /link/id/ in front of URL (like http://server/data/id/publication/id/). rewrite data/id/(.*) http://server/$1; The request is logged as: ip – – [17/Nov/2011:10:07:19 +0300] “GET /data/id/publication/id.html HTTP/1.1″ 302 154 “-” “UA”` For some reason (keeping the compatibility with AWStats) it is wanted to have 200 logged instead of 302. (nginx allows to get 301 code out of box with permanent option, but thats inappropriate too) What are my […]

Continue Reading »
Nov 13, 2011
tom

how can i use apache log files to recreate usage scenario

Recently i installed a website that had too many requests and it was too slow. Many improvements have been made to the web site code and we’ve also bought a new server. I want to test the new server with exactly the same requests that made the old server slow. After that, i will double the requests, make new tests and so on. These requests are logged in the apache log files. So, I can […]

Continue Reading »
Oct 16, 2011
tom

init script that logs output of the script

How can this be done? I know it’s pretty simple and includes appending something like & or &> to the actual command that starts the init script. But, what is the best approach and how can it be ensured that the init script detaches itself, suppose the log file is /var/log/customDaemon.log ? Here’s the init script I have. I’m also not sure if the approach in the script is neat or just a nasty hack. […]

Continue Reading »
Oct 13, 2011
tom

SSH server breakin attempt?

I am running a Gentoo Linux server, and use Fail2Ban to block the script kiddies and their relentless banging on my SSH port. (Yes I know I can move to a different port number, but that is work, and who wants to do that? ) So anyway, that is working great, I catch a lot of people trying to break in, and ban them, but then I noticed this interesting message, and LOTS of them. […]

Continue Reading »
Oct 6, 2011
tom

AWStats out result in a single html file?

AWStats generates many htmls, e.g. awstats.mysite.alldomains.html awstats.mysite.allhosts.html awstats.mysite.allrobots.html awstats.mysite.browserdetail.html awstats.mysite.errors404.html awstats.mysite.html awstats.mysite.keyphrases.html awstats.mysite.keywords.html awstats.mysite.lasthosts.html awstats.mysite.lastrobots.html awstats.mysite.osdetail.html awstats.mysite.refererpages.html awstats.mysite.refererse.html awstats.mysite.session.html awstats.mysite.unknownbrowser.html awstats.mysite.unknownip.html awstats.mysite.unknownos.html awstats.mysite.urldetail.html awstats.mysite.urlentry.html awstats.mysite.urlexit.html Is there an option to output in a single large html, instead of 20 html files? Just use -output: perl awstats.pl -config=mysite -output -staticlinks > awstats.mysite.html instead of -output=x: perl awstats.pl -config=mysite -output=alldomains -staticlinks > awstats.mysite.alldomains.html perl awstats.pl -config=mysite -output=allhosts -staticlinks > awstats.mysite.allhosts.html Check more discussion of this question. Bookmark […]

Continue Reading »
Sep 29, 2011
tom

Is there a performance advantage to isolating database logs and data on different volumes (same RAID array) across a SAN?

On my old server, I separated them on to different RAID arrays to improve performance. Using a SAN is new to me, so I’m not sure of the optimal configuration. SAN: 48 drives. 10K 600GB SAS. RAID 50. 4 Gbps connection. Updated info: All 48 drives are part of the same RAID array. I would like to know if there is any benefit to having data and logs in different volumes. I know that if […]

Continue Reading »
Pages:«1234567...30»