Delete Access And Error Logs On Server

Jun 28, 2008

After a full year of operation, I think I need to delete some log files. What types of files can I safely delete (and is deletion the best option, i.e. will the files be regenerated from zero length?)

For example, my server's error_log file is 193 Mb and my access_log file is 14 Mb. Can I "rm" them both?

Are there any other such files I can safely delete that occupy space on the server?

View 6 Replies


ADVERTISEMENT

Can We Delete Sql Logs

Jul 7, 2008

Can we delete sql logs ? as it occupies 2.97gb

All the log is under a single file, occupying huge amount of space on our server
use lxadmin for the vps

we are unable to even open up the file, as we have almost run out of space, we would atleast like to delete around old logs older than a month, this logs are from 3 months, so please help us in solving this problem

if we delete the sql log, will a new log be created automatically or it gives an error?

View 13 Replies View Related

Shared Hosting With Access To Server Logs

Mar 23, 2007

=We are trying to integrate eBay.com feeds into our site and for some reason we are not able to get expected results on current shared hosting server. We tested the same on another server and we are able to get the right results. And the current host doesn't allow us to access the server logs unless we upgrade the account to VPS and Dedicated server. But we are pretty new to launch the site, hence we don't want to buy any VPS or Dedicated server for now. Now we are looking for another shared hosting who can offer to access server logs.

View 0 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

Plesk 12.x / Linux :: Save Access Logs Of Websites On External Server

Oct 24, 2014

I want to save the access logs of our websites on an external server. If I do this now with the default setup, the gets overwritten every day. The desired file name format whould be: websitedomain-tld-access-2014-10-24.log

How can I tell Plesk to do this and how can I make sure the statistics keep working?

On our other servers we use rotatelogs for this.

View 3 Replies View Related

Cannot Delete My Visitor Logs !! And Ping My Site Work By In Brows Nop

Oct 19, 2007

when i delete my log [ last visitors ] its give me this error !

Code:
Fatal error: Call to a member function getClname() on a non-object in

/usr/local/lxlabs/lxadmin/httpdocs/htmllib/phplib/lib/lxclass.php on line 15
dont know why ?

and have another problem with my sites !

it's all down now ! but i can access my control panel ????

when i ping my domain !

Code:
C:Documents and SettingsAdministrator>ping www.site.com

Pinging www.site.com [xx.x.xxx.xx] with 32 bytes of data:

Reply from xx.x.xxx.xx: bytes=32 time=226ms TTL=48
Reply from xx.x.xxx.xx: bytes=32 time=280ms TTL=48
Reply from xx.x.xxx.xx: bytes=32 time=210ms TTL=48
Reply from xx.x.xxx.xx: bytes=32 time=207ms TTL=48

Ping statistics for xx.x.xxx.xx:
Packets: Sent = 4, Received = 4, Lost = 0 (0% loss),
Approximate round trip times in milli-seconds:
Minimum = 207ms, Maximum = 280ms, Average = 230ms

C:Documents and SettingsAdministrator>
and i can to log in myserver domain host @ 7778 and log incontrol pannel!

View 5 Replies View Related

Strange Access Logs

Jun 3, 2008

Lately we have been getting log entries similar to the following from different IPs all over the US:

74.249.4.234 - - [03/Jun/2008:18:12:36 -0500] "GET / HTTP/1.1" 200 6205 "-" "Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1;1813)"

74.249.4.234 - - [03/Jun/2008:18:12:37 -0500] "GET /scripts/javascript.js HTTP/1.1" 200 9153 "-" "Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1;1813)"

74.249.4.234 - - [03/Jun/2008:18:12:37 -0500] "GET /scripts/overlib.js HTTP/1.1" 200 50733 "-" "Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1;1813)"

That is all there is to each hit.

Obviously, the default index.php file is being loaded and is calling the javascript files, but what we can't understand is why the CSS files and images are not being downloaded as well.

Any ideas on why this would be occurring?

Caching and text based browsing are unlikely scenarios due to the quantity and varied locations of the IPs.

View 0 Replies View Related

CPanel Access Logs Deleted/refreshed

Mar 31, 2009

I am in need to troubleshoot some bandwidth theft and the logs are 4 hours old, where can I find the archives fo rthe month? This is a cpanel server.

View 2 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

Plesk 12.x / Linux :: Disable Access Logs For Vhosts?

Mar 4, 2015

We run a high traffic server and the access logs get filled up very quick. I know we could implement rotation, but I would also like to prevent performance loss by having an access log, doesnt matter how marginal that would be.

View 6 Replies View Related

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

MYSQL Gives Access Error After Server Move

Jun 20, 2008

I can't find any straight answers when searching Google. I've been stuck in a what has become a nightmare server move for about 2 weeks now.

After finally getting a mysql.sock issue fixed I can get the MYSQL dbs over to the new server but it appears that their permissions need to be changed. Is there a way to handle this from the root level? I have roughly 120 dbs to process

I am moving from a VPS to a dedicated server - both have root access.

View 11 Replies View Related

Where Should I Keep My Error Logs

Mar 30, 2008

I have recently started a forum and am wondering where I should locate the error logs for such things as database backups and failed admin panel login attempts.

There is the public_html folder, but I'm concerned that Anything contained within this folder is accessible to prying eyes. Is this true?

I have also heard of directory traversal, which I imagine could fall under the same category.

Would I perhaps be best off creating a folder outside of public_html for the holding of these valuable 'targets'?

What would I best to do to secure my server in this regard? It would have to be writeable for the system to be operational.

View 7 Replies View Related

Apache :: Cannot Access Web Server - No Data Received Error

May 2, 2014

I am having a peculiar problem, when ever I attempt to access my server globally I get the dreaded 'No Data Received' error.

The machine is running Ubuntu 13.10 and is a dedicated server (I do not have GUI or physical access to the machine). All ports are open, iptables disabled, yet nothing works (running on port 80). I loaded the files onto a different computer at home and it works nicely, but not on the dedicated server.

Also, when the Apache server is off it says it can not connect in my browser, and when the server is on it says 'No Data Received' ...

View 4 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

View Error Logs

Feb 4, 2007

I am running Plesk on a VPS and a page on one of my websites won't load no matter what I try, I want to view the error logs but aren't sure how to go about it on this system...

View 4 Replies View Related

Apache :: Error Log - How To Delete All Via SSH

Dec 6, 2011

Today I check few of my websites folder under my web server I found that most of the folders contains the file "error_log" at some folders it is in smaller size but in others its around 600-900 MB in size per file. My question is

1. Whether its wise to stop creation of that file by Apache? If yes then how to stop it?

2. Second question is can we stop it for only few websites?

3. And is that safe to delete error_log file? If yes how to search that file in SSH and how to delete it using one command as it would be really hard to delete one by one from each folder.

I found this command:

cd /home
find . -name error_log
find . -name error_log -exe rm -f {} ;
find . -name error_log

the above commands will first find all files and list them, the next one will find all files and remove them, the last will confirm that all the error log files have been deleted.

View 8 Replies View Related

Where To Check Error Logs In Hypervm

Jun 26, 2009

I want to check error logs in hypervm in my friend vps , as I haven't done before, I want to know where can I view error logs

I have a doubt if there was an error in installation of kloxo, as I couldn't find an option to add ip address in kloxo or any other error which is troubling in adding an ip to kloxo

View 3 Replies View Related

Command To Check Error Logs In SSH

Jan 22, 2008

what is causing this error,

"Internal Server Error. The server encountered an internal error or misconfiguration and was unable to complete your request."

View 4 Replies View Related

How Can I Fake A Directory/file For Error Logs

Nov 26, 2007

I was checking my error_log today and found thousands of 404 errors for these 2 files:

/flashtalking/ftlocal.html
/doubleclick/DARTIframe.html

I assume they are file requests made from ads on the site.

Right now I've just added those directories and files to appease the error logs, but can I fake their existence somehow without having to clutter up my file structure?

View 1 Replies View Related

Plesk 12.x / Linux :: No Error Logs For One Domain

May 26, 2015

We have running a Plesk 12.0.18 update #47 on a CentOS 6.6 VPS.

Suddenly one of the domains hosted has stopped recording the error logs from apache so we can't troubleshoot the web issues. All other hosts are working right.

View 2 Replies View Related

Where Do I Find My Server Logs

Jun 27, 2009

as the title states,where do i find my server logs?

i run LAMP and have root access.

and once i find the file,how do i view it through shell?

View 12 Replies View Related

Server Crash No Logs

Jan 28, 2007

we have dual xeon linux server redhat 9 / cpanel

we have a strange crash .... you cant access ftp /ssh / httpd ...

i need to request a server reboot to get access ... and everything after this run ok...

i have check message log .. nothing in it for example

10:20:10 ftp log
11:15:60 rebootlog

also the same in httpd log ...

so as you see there is a gab between the server crash till reboot....

this happen 3 times till now ...

View 3 Replies View Related

Server Down, Reason With Logs?

Jun 10, 2007

my server was down today and i want to know the reason can you please help me by pointing out the log files i should check?

Am runing CentOS 4.x with many domains on the server,

View 4 Replies View Related

How Can I See The Logs For My Server Before Doing Reboot

Mar 26, 2007

How can I see the logs for my server before doing reboot to see why was high load in my server?

View 2 Replies View Related

Delete Everything On Server Before Cancelling

Mar 21, 2008

I am currently transferring from a VPS to a dedicated server.

After you have made the transition, do you delete everything on your previous server? Or can I expect that everything be deleted anyway when my subscription runs out?

I bring this up because there sometimes is sensitive data stored there (ie. databases with personal info) and I'm wondering how much I should delete. Obviously I'll get rid of the DBs, but what about essential stuff like the operating system?

View 5 Replies View Related







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