Apache :: How To Create Rotated Logs For Every Periodic Time

Aug 26, 2014

I have configure my Apache to create rotated logs for every periodic time. It worked fine with my local PC, but when it is being configured on to a server system, the actual error.log file is not being update, only the rotated logs are created. If i remove the Error Log command from httpd.conf for Error Log Rotation, again it works fine as usual.

View 1 Replies


ADVERTISEMENT

How To Configure Apache To Update Access Logs Files In Real Time

Jul 19, 2014

I'm trying to configure an custom access_log file for an custom file called "extra.php"

How I can make an log file that's log only "extra.php" ....

View 1 Replies View Related

Apache :: Periodic Request Timed-out Warnings

Sep 21, 2013

So I've set everything up manually a few times before now, but I got so bored of configuring everything for a manual install I just said screw it and used XAMPP this time - so my circumstances are not completely ideal.

Basically what I am looking to find out is how to improve loading speeds for Apache, PHP and MySQL on my dedi server?

The server I have is of the following spec:
Intel Xeon CPU E5-1650 V2 (3.50Ghz with 12 cores total)
64 GB DDR3 ECC
2 x 2TB SATA3 (RAID 0/1)

use Windows Web 2008 R2 so only 32GB of the RAM is usable.

With all the abive aside, here is the important part: Whilst people are browsing the websites I have configured they are random hit with a blank white page saying "Your request has timed out. Please retry the request." - I have about 100 unique hits daily and a lot of people report the same problem, and I have even had it myself.

It feels as if the server has much more power than Apache and co. is trying to utilize - what can I do?

View 4 Replies View Related

Apache :: Server Going Down From Time To Time

Feb 6, 2013

The server is going down from time to time, every 12 days or so the site hosted there is no longer accesible, everything starts with the site slowing don and down and then is not longer reachable, what we do is to request a power cycle, and with this we start all over again till next power cycle, so on so on, of course, here are my server details and more info on this:

- MySQL - 5.1.41-3ubuntu12.10
- Apache - 2.2.14-5ubuntu8.4
- PHP - 5.3.2-1ubuntu4.9
- operating system: Ubuntu Server 10.04 LTS

After some time emailing the support guys to barely check about what's going on, we received an email with a few things:

1.- found a few errors that likely would cause issues with Apache. The first error is:
[Mon Feb 04 05:03:10 2013] [error] mod_fcgid: fcgid process manager died, restarting the server and the next error is:
[Mon Feb 04 14:32:34 2013] [error] server reached MaxClients setting, consider raising the MaxClients setting ...

Both these errors seem to indicate that you have a process that is running out of control on your server. We were unable to determine what script on your site is running caused your connections to be maxed out however it does appear that before these errors were generated there was a WordPress plugin referenced in your access logs...

2.- Additionally during our review we did find that your error log for mercadodedinerousa.com is 45 GB's which is excessively large and can cause problems when Apache is trying to write a such a large file.

3.- The majority of the errors being logged are:
[Wed Feb 06 12:12:31 2013] [error] [client 200.76.90.5] Options FollowSymLinks or SymLinksIfOwnerMatch is off which implies that RewriteRule directive is forbidden: /var/www/vhosts/mercadodedinerousa.com/httpdocs/index.pl, referer: [URL]

View 6 Replies View Related

Periodic Reboot

Jun 1, 2009

how to configure a periodic reboot, for example, each 4h the server will be reboot automatic.

i think i do configure a cron, but i can't find anything for periodic rebooting on freebsd.

this is a temporary solution for a issue of php.

View 13 Replies View Related

Apache Logs Error

May 29, 2009

since i take server i got a lot of errors on my apche logs when i post this command on my shell:-

Code:
tail -f /usr/local/apache/logs/error_log
will coming a lot & fast error and not stop until i stop the apache:-

Code:
[Fri May 29 11:37:52 2009] [error] [client 77.167.228.165] File does not exist: /usr/local/apache/htdocs/40E80014354C4C30365047322020202020202020202020206C0000004D6600000001760000005CEB000530E1E8EEF4
[Fri May 29 11:37:52 2009] [error] [client 89.215.36.123] File does not exist: /usr/local/apache/htdocs/40E80014202020202020465032443031324B3842364842456C000000446600000001760000005CEB000530797F848A
[Fri May 29 11:37:52 2009] [error] [client 93.185.179.132] File does not exist: /usr/local/apache/htdocs/40E800006C000001596600000001760000005CEB0005307587A8B4

every thing is ok but i need to remove this error and i can't under stand from where comming ! "/usr/local/apache/htdocs"

View 4 Replies View Related

Huge Apache Logs

Feb 3, 2008

I'm sure this question has been asked before, but I'm looking for a nice and simply way of breaking up log files into smaller chunks.

I've been running apache2 on a VPS for the past few months and one of the access.log files is now 700mb big... bit of a waste of space. I'm currently just doing:

CustomLog /var/www/logs/domain.com/access.log combined
ErrorLog /var/www/logs/domain.com/error.log

In my apache config.

Is there any easy way of telling apache to just keep the last week or months worth of logs?

View 7 Replies View Related

Configure Web Logs In Apache

Apr 26, 2008

I use linux server with Cpanel control panel.

default default apache logs folder is in /usr/local/apache/logs/error_log

I want to monitor errors . How can I have an error log file for each individual domain?

View 3 Replies View Related

Weird Periodic Hang

Jul 9, 2007

For the last week, my vps (directadmin on centos on xen) has become unresponsive every three days at approximately 5 AM, and I'm baffled about why. It doesn't crash, but it stops accepting incoming connections until it's rebooted.

I'm not sure how to troubleshoot this. /var/log/messages gives no useful information. There are no unusual cronjobs running at that time.

Anyone heard of anything like this before or have any advice about how to troubleshoot?

View 6 Replies View Related

Extract IP Addresses From Apache Logs

Sep 18, 2007

How can I extract a list of visitor ip addresses from apache logs for a cpanel account?

are there any tools that will do a whois lookup for all the IP's?

View 2 Replies View Related

Worrying Apache Logs Showing 401s

Jun 3, 2008

I've just taken a look at the raw apache logs on my cpanel machine here:-

/usr/local/cpanel/logs/access_log

And there are many hundreds of these:-

127.0.0.1 - - [06/03/2008:21:55:22 -0000] "GET / HTTP/1." 401 0 "" ""
127.0.0.1 - - [06/03/2008:21:55:22 -0000] "GET / HTTP/1." 401 0 "" ""
127.0.0.1 - - [06/03/2008:22:03:42 -0000] "GET / HTTP/1." 401 0 "" ""
127.0.0.1 - - [06/03/2008:22:03:42 -0000] "GET / HTTP/1." 401 0 "" ""
127.0.0.1 - - [06/03/2008:22:12:02 -0000] "GET / HTTP/1." 401 0 "" ""
127.0.0.1 - - [06/03/2008:22:12:02 -0000] "GET / HTTP/1." 401 0 "" ""
127.0.0.1 - - [06/03/2008:22:20:22 -0000] "GET / HTTP/1." 401 0 "" ""
127.0.0.1 - - [06/03/2008:22:20:22 -0000] "GET / HTTP/1." 401 0 "" ""

what is happening to my server to generate these log entries?

View 4 Replies View Related

Apache Logs - Viewing POST Data

Mar 20, 2007

I suspect that somebody is trying to do SQL injections on one of my websites. Is the POST information that is send using forms logged anywhere so I can read it in the same way I can read the GET requests in Apache logs?

View 6 Replies View Related

Apache :: Preferred Method For Centralizing Logs

Mar 23, 2015

Which method do you prefer for centralizing your logs: file monitoring or Pipe to Logger?

View 4 Replies View Related

Apache :: Unable To Open Logs On Restart

Jan 19, 2015

Sometimes when I try to restart Apache 2.4 using the supplied ApacheMonitor.exe I get this error. Then, I have to "taskkill /f /im httpd.exe" or wait like 30 sec before trying to start Apache again.

View 1 Replies View Related

Slow Periodic Site Speed (SLHost)

Nov 5, 2007

I moved from shared host to VPS a few days back. Since the move, the site becomes slow during particular time of the day. It appeared to be an issue of cron run by their another client and after promising that they would move that client to another node (I have spent more than 25 days to follow up on this till now) they backed off from their words but informed me about an alternative. Now, they say that the cron of that client was executing many scripts and they have spaced those scripts.

I am looking for a long-term host and was wondering:

1. VPS provides a minimum guaranteed stuff so what is the use of that guarantee if one client can make the server crawl (imagine 5 minutes or more to open a site).

2. Can a host be trusted who does not honour words.

View 14 Replies View Related

Plesk 11.x / Linux :: Disable Apache Access Logs

Sep 27, 2014

I need to disable apache access logs. I commented out the access log path in /etc/httpd/conf/httpd.conf and restarted the server but it's still logging access.

View 3 Replies View Related

Apache Logs :: Directory Index Forbidden By Options Directive

Dec 19, 2008

i have apache 2 and centos with plesk . when i see my apache error log it shows me :
[Fri Dec 19 05:56:35 2008] [error] [client ::1] Directory index forbidden by Options directive: /var/
www/html/

View 1 Replies View Related

How To Configure Apache Logs For Virtual Host (copy Log File To Homedir Of User )

Jul 19, 2014

I'm trying to configure Apache logs to split logs files for every virtual host on the server

for example: {site1 .com} => copy access_log to /home/site1/public_html/logs {site2 .com} => copy access_log to /home/site2/public_html/logs .. {site3 .com} => copy access_log to /home/site3/public_html/logs

i want to also to make sure is the logs files updated in the real time

operating system is CentOs6, with Apache and cPanel

View 1 Replies View Related

Apache :: 2.4.9 Needs More Time For Syncing

Mar 21, 2014

Working condition: Server 2008 R2

Server: Apache 2.4.9 (Win32-VC10) as reverse proxy - same configuration as before

Since the change to apache 2.4.9 we discover 5 log-entries for one sync-process via mobile device where before (2.4.7) there have been only 3 entries for the same sync-process with the same device. Besides this it takes a bit longer.

View 4 Replies View Related

Access Logs And Errors Logs

Jul 25, 2007

is it possiable to delete these files in the server access_logs and errors_logs

View 1 Replies View Related

Apache :: Create HTAccess Redirect?

Feb 3, 2014

Google keeps indexing some of my articles in this form:

mywebsite.com/item/my-article

However I'm mainly using:

mywebsite.com/item/articles/my-article

So in a way I have duplicated content and also the first link does not show the modules I want. I want to create a .htaccess redirect than whenever someone joins on the first link to be automatically redirected to the second link.

View 5 Replies View Related

Apache :: Running Htcacheclean For The First Time

Mar 29, 2015

We run httpd-2.2.3 on CentOS 5.8 with caching enable. The server has been running for 4 years, but htcacheclean has never been run. The cache folder is about 10GB now (a "du" on the folder takes a very long time to complete). Should we expect any problem when running htcacheclean for a first time such as server slowing or freezing, ... Furthermore, in case of freezing, if we disable caching and restart the server, do we expect any problems? We did a few test on our test servers, and everything was fine, but our test servers do not have a large cache folder.

View 7 Replies View Related

Apache :: How To Create Proxy Tunnel For A Website

Mar 11, 2013

Some of websites like youtube and facebook are blocked in my country and we can't access them .in addition most of tunneling protocols like PPTP are blocked too . I want to create a website that tunnels between our network and this website like proxy or other ways. Scripts like phpProxy are not secure and many websites don't permit the visitors who come with this scripts. A very good sample for my idea is walww.com . This websites is like alternate for blocked addresses like facebook, but it's premium and require charging cash .

How can I create website like walww.com . I have my own VPS and Host for this issue. Is that possible to serve this blocked websites trough proxy by configuring apache settings?

View 1 Replies View Related

Apache :: Create Redirect To Non Existing Page

Apr 10, 2015

I need to create a redirect to a non existing page.

Here is my code and the site is on shared hosting

<IfModule mod_rewrite.c>
Options +FollowSymLinks
RewriteEngine On
RewriteBase /
RewriteRule ^index2.php#!(.*)$ /index2.php/$1 [R=301,L]
</IfModule>

This would be [URL] ....

I would like to redirect Every request with "#!string" to new url (same page) - [URL] ....

I know that the code above needs

RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d

to be added but it doesnt even makes the redirect to 404. The url doesn't change.

View 8 Replies View Related

Apache :: Can Have HTAccess File Which Create Links

Mar 16, 2013

In my personal website at URL.... I have the top like 'index.php?pg=profile', 'index.php?pg=home' or 'index.php' (without any querystring), 'index.php?pg=diary' etc. I am looking to see if I can have .htaccess file which can make me create links like

index.php/
index.php
index.php/home
index.php/profile
index.php/diary

write an .htaccess for the same?

View 1 Replies View Related

Serving Domain Through Apache And Lighttpd At Same Time

Jan 11, 2008

There are 2 different domains with the same IP being served by Apache. I want one of the domains to be served by lighttpd, is it possible without having to change the IP of that domain?

View 11 Replies View Related

Apache :: Files In Server Can Be Accessed Only Once At A Time

Mar 17, 2013

I have a tiny "webpage" in an Apache server running on my computer. I've got for it this .htaccess file: URL...I have written it by googling,.(I don't really know very much about Apache HTTPD, but my Java suite requires this stuff, so here I am). Supposedly the first paragraph is to avoid Google Chrome from caching my files and the second part (the Order sentences) are to allow anyone to view only those kinds of files (which is otherwise let them see everything but folder roots.

And here is the httpd.conf, which I've modified almost only to change the listen port, the server name, and to replace the AllowOverride None into AllowOverride All so that .htaccess is actually used (I've deleted the comments for readability).URL....

I had never heard of something similar, "I can only load one instance of each file". In explanation, the only html file there's, runs from time to time a PHP script. Let's say I run it on localhost for example. Then everything is going fine. But I open a new tab, and load the same page (while the another one is yet open), and I'll get a 412 HTTP error. Similar thing happens if I try to load the webpage from another device. And, with my little experience with Apache HTTPD, I guess it's because of this .htaccess or httpd.conf files. Why does this happen or how can I solve it (either it be or not related to one of these files, I'll do whatever is needed)?

Apache 2.2.22 which can be found [link URL....]here[/link] in Windows 8 x86.

View 6 Replies View Related







Copyrights 2005-15 www.BigResource.com, All rights reserved