Dealing With Log Files
Jan 21, 2007
I have apache rotate the logs daily and keep them in the users home directory in /logs/, however; these logs pile up over time and I need to delete them by hand. What is the best way to automate deletion of these log files? For example, i'd like to delete the logs after 7 days of logging. Can I do this with newsystemlog or somethign similar? Or do I need a shell script?
View 2 Replies
ADVERTISEMENT
Jun 20, 2008
I've had a problem a couple of times where there is a bad ftp connection to a host. A trace reveals that there is a node timing out. What is a good way to work around this. Web based ftp client or other solution?
View 0 Replies
View Related
Jun 13, 2007
I've had an issue come up recently that I haven't had to deal with before. I'm starting to get regular errors during peak traffic times saying that I have more then the max_user_connections allowed.
I tried setting this to a higher number using ini_set. Unfortunately my host overrides this. I've talked with the host and they cannot up the 15 user maximum.
I've been with this host a while and they have great support and really great service. I understand their need to limit this because it is a shared environment.
I'm wondering if there's anything I can do on my end to help avoid this problem.
Is the only option switching somewhere that lets me have more maximum connections? At the rate I'm going this problem will continue to grow, so it needs to be solved quickly.
View 4 Replies
View Related
Feb 8, 2008
I've got CSF setup, but the problem is, I can't seem to keep the SYN Attack blocked without blocking all my legit hits.
View 5 Replies
View Related
Aug 25, 2007
I was checking my business server's IIS errors logs when I ran across the following error:
2007-05-19 08:21:10 00.000.000.00 2243 00.000.000.000 80 HTTP/1.1 GET
/w00tw00t.at.ISC.SANS.DFind 400 - Hostname -
Additional information about the those responsible for the hack attempts are as follows
(retrieved from domaintools.com):
CustName: ----------------(hidden by me)
Address: Private Address
City: Plano
StateProv: TX
PostalCode: 75075
Country: US
RegDate: 2005-08-27
Updated: 2005-08-27
Apparently this person was trying to use the dfind hacker tool to find vulnerabilities on my server. The IP address belongs to AT&T Yahoo; and I've already contacted them by email. I believe that subsequent hack attempts have originated from this IP, however, the IP address has been masked by the use of proxies. I think that this may be someone I know because the IP is only about an hours drive from me. I'm starting to suspect a disgruntled former client who has friends living where that IP's from.
Has anyone here had any similar experiences?
What do you think AT&T Yahoo's response will be?
Is there anything else I can do or should not do?
I am also considering reimaging my server because of system issues but I am concerned that would erase any information needed for investigative purposes. I have saved my log files, though, on a CD but I'm thinking that AT&T Yahoo or whoever investigates this needs the server as it is.
View 8 Replies
View Related
Apr 30, 2007
I have a spider that is saving a few images files everyday on my servers. Due to the fact that the images are dynamically created the spider is not only saving them without an extention, but also using charachters from the link to create those file names.
I end up with:
0&Y=0
1&Y=0
2&Y=0
3&Y=0
.... and so on.
(there is no problems browsing those image files
What I need is to copy those files or move them to file names with an extention (png) for protection reasons.
I failed using cp, mv in doing so. it seams that the OS doesn't see those files as files.
That is how those files appear in ssh:
0&Y=0
1&Y=0
2&Y=0 ...
View 3 Replies
View Related
May 16, 2007
We've been seeing sluggish performance on our mail gateways, and so I started doing some digging in the logs. It looks like we are filling up with messages like:
2007-05-16 12:22:16 Connection from [xx.xx.xx.xx] refused: too many connections
We have our max connections set to 20 (total, not host-specific) in exim4. So I started tailing the logs, and sure enough, we are getting bombarded with requests to randomstring@ourdomain.com coming from all over the map. The requests are getting denied of course, but that doesn't help the connection issue since they are consuming all of them, preventing real mail (for the most part) from getting through.
What is the proper way to deal with something like this? I could certainly just up the max connections value from 20 to 40 or 50 or whatever, but I'm not sure what kind of performance impact that will have on the rest of the traffic going through our gateways.
Since the spam attempts are coming from all over the place, it doesn't seem like I can just firewall out a few addresses and be done with it.
This particular rack is a cluster of web and database servers behind two gateway boxes, which handle the mail traffic (so this problem is on the gateways, the actual mail server itself sits behind the gateways and never actually sees these fake emails).
View 1 Replies
View Related
Apr 17, 2008
I've been pretty happy with my servers with theplanet/ev1servers for the past, err, 5 years. But the OSes were out of date and it seemed like I could stand to get some significantly improved hardware for what I'm paying now (or, comparable hardware for a lot less).
I put in a RFQ from ThePlanet to see what I could do as far as upgrading my current server, hoping for something a little better than buying a new server while the old one is up and moving everything over, and also hopefully avoiding re-paying a one-time fee I had for a secondary hard drive.
Now I have no problem whatsoever with the result -- that my only option is to buy a new server, they won't migrate my HDs, and they won't upgrade my current server, and they won't give me any kind of credit for the second hard drive or let me transfer it to a new server. I get where they're coming form, even though it might make sense to figure out something a little better for a customer of 5 years that's dropped about $25k over that time period.
The problem is their sales staff. I'm surprised that theplanet (at least theplanet I remember from when I signed up) would have sales people so apathetic and basically useless.
Getting information I requested in my initial ticket took back-and-forth with a sales rep over the span of over 24 hours (and I still haven't really gotten an answer on one part, about my secondary hard drive). Actually looking at the ticket now, the initial response was over 24 hours after I opened a ticket (and it was opened during working hours).
Heck, the first two responses didn't even include a price for the hardware he wanted me to buy, just if I wanted to proceed and buy it.
Figuring it beats waiting I did one of their instant chats and before answering my questions I was told to be sure to give the guy credit for the servers I order. In fact, him telling me his contact information and to choose him were the only complete sentences I got, and roughly 80% of the communication I received.
I haven't needed support on my server recently, so I can't speak to if this is the quality of their support department now. I don't think I'll be around to find out though.
(Executive summary: Hello SoftLayer!)
View 5 Replies
View Related
Jan 2, 2008
I couldn't keep my mouth shut (technically fingers). A customer wanted to upgrade servers and he needed a way to move the data across. Since I don't allow hard drives to be swapped, they have to do it manually all by themselves. I generally allow up-to 4 days for them to transfer data and make DNS changes, etc. But this time, I offered help! I agreed to move the data (darn me) and it just came out of me, involuntarily.
God knows what just happened... but in a positive way, customer is extremely happy!
So...
Both servers are on cPanel - with root access (duh)
200 odd files which total to 25 GB
1 database about 100 MB in size (no biggie)
I was planning on using one of my Windows 2003 servers (via remote desktop) to download the 25 GB and upload the 25 GB, but that sounds like a waste of resources and time.
View 8 Replies
View Related
Dec 21, 2008
i had a problem with one of my servers
due to changes in the firewall couldn't i login anymore.
Someone had to go over and undo that modification.
Now i am checking the log files like secure and
messages logs, but logs of the day he logged in are simply not
there (along with some days more).
View 3 Replies
View Related
Jul 20, 2008
When I upload a file in FTP I can not see the file, When I upload the file again asked me to file any replaced it exists, When using Cpanel can upload any file, And working well.
When watching the size of folders I find little in the FTP but sized Cpanel see him very different.
I have done this:
1-Restart FTP Server.
2-permit folders to 644.
3-permit files to 744.
View 2 Replies
View Related
Jun 3, 2007
Is there a way to see your os files in ftp software like cute ftp n edit them?
View 3 Replies
View Related
Mar 26, 2007
i received this message for my host
"The proxy sites hosted on your server are being used to send spam comments on blogs"
How can i view the log files in order to find that info and block the domains or IP?
I am on Centos.
View 2 Replies
View Related
Jan 28, 2007
In the last couple of days my server/website has been acting a little strange and I can't recall doing anything to it in this time.
1) Now and again a normal PHP page will pop-up in the Firefox download manager. Usually the page is simply compiled and shown to the browser.
2) Images that really are present on the server sometimes randomly don't show in IE.
PHP 5.1.4
MYSQL 5.0.27
Apache 1.3.37
APC 3.0.12p2 (latest)
View 3 Replies
View Related
Jul 26, 2006
I found that recently a lot of nobody files appear in my /tmp.
I delete and delete.. by still same. I don't know how to trace where they from. I suspect is from my hosting users, but I don't know how to check and trace. Anybody can give me some guide?
View 5 Replies
View Related
Jun 2, 2009
my site cannot run php files
move from server 1 to server 2
another site no ploblem move from server 1 to server 2 too
What ploblem i need fix this
here my site
[url]
View 5 Replies
View Related
Mar 20, 2009
Can anyone recommend the best cost-effective solution for serving up video files to websites on other servers?
Basically looking for a central storage location to hold video files (flv, swf) that will be hotlinked from websites on other servers.
I'm currently using about 200GB bandwidth monthly, and need to increase that to about 500GB without violating any TOS or getting cut-off/suspended.
Not sure if the best option will be a hosting account, file storage site, etc.
View 4 Replies
View Related
Jan 28, 2009
I've just uploaded my website files onto the server, the website is working fine, but I'm not sure my files are 'arranged' right. I uploaded my images in a folder, but all the rest of the files are 'loose' along with the index file. If I go to either of my domain names, the website appears, which is ok for now, but I only really intended it to under one domain name, so there may be problems if I want another site up there. I think my files should be in a folder. Is this right? Should the index file be in the same folder, or should it be outside the folder with the links changed accordingly. I've been emailing my hosting service, and they 've been trying to help, but I feel a bit thick because I don't really understand what they're saying. Could someone tell me in very plain english how the files should be arranged?
View 11 Replies
View Related
Jun 23, 2009
i just bought php file management script, its running smoothly, the only problem was i cant upload big file ( > 1 Gigs ) using that script, then i ask the developer and he said it shouldnt be a problem since he sold that software before people and he never got a problem like that.
OS : Slamd64
apache 2.2.10
php 5.2.8
i tried to changed
post_max_size = 1900M
upload_max_filesize = 1500M
View 10 Replies
View Related
May 20, 2009
There is a directory with many files and subdirectories. I want to copy ALL the filesnames beginning with post-1111 to another folder. What is the command to do this?
View 5 Replies
View Related
Jan 19, 2009
Whcih kind of server would i need to stream mp3 files, similar to this site....
I was told a vps shared server with high bandwidth would do, i was also told by server crowd id need dedicated?
View 14 Replies
View Related
Jun 15, 2009
I run a fairly popular file hosting service and in the process of moving servers.
At the moment i have a system that automatic create a new folder each day and store new uploaded files into this folder. The name of the folder match the current date etc.
Example:
/2009/06/15/...
I find this system a bit "outdated" and belive there is a smarter way to do this.
My new fileservers contain ~10TB of available diskspace (each).
Average filesize is around 10MB.
I was told not to put all the files into one folder, still the case?
View 3 Replies
View Related
Mar 29, 2009
im on a vps with linux and directadmin installed, how do i activate the function to show all files in ftp including hidden files and also how to prevent hidden files from creating?
I need to perform this functions on multiple accounts under my vps, how do i do it?
View 1 Replies
View Related
Jul 12, 2009
im try to delete some file from cpanel but everytime i delete nad refresh they come back
also if i try to change the perms it does not let me?
View 14 Replies
View Related
Apr 28, 2009
i deleted the files db files in /var/named/
how could i can restore it?
what i want is how can i recreate the dns zone files again for all my accounts in the server
note : i have whm/cpanel running on centos box
View 3 Replies
View Related
Nov 9, 2009
Why would .bash_history, .cups and .fontconfig would have suddenly shown up among the contents of a specific directory?
View 4 Replies
View Related
Aug 13, 2008
i have installed the Domain Technologie Control Panel on Debian Etch, and have 2 folders that will not delete via FTP
I was wondering if anyone had a tutorial or could tell me how to be able to delete them....
View 14 Replies
View Related
Dec 8, 2008
how would i search for any files modified between such and such date using SSH
some one seems to have downloaded some malicious codes on to some on one of my sites and the files are infected
however i have 1000's of files and some are infected wheras some hasnt so iw ant to check what files have been modified between a date range or on a particular day
using Linux with apache
View 2 Replies
View Related
Aug 18, 2008
I have a problem with a .dat file on my webserver. It seems to download correctly (I have added the mime type), but my application refuses to use/read the file correctly.
This is moving from an Apache server, where it worked perfectly, to IIS6. Apache reported the mime as text/plain, whereas I've tried both this and application/octet-stream on IIS.
The dat-file is actually a ZIP password protected file containing an XML-file.
Could there perhaps be some issues with dato format? I'm most greatful for any insigth into the matter.
View 17 Replies
View Related
Oct 30, 2008
im in the midst of doing my school final year project and i done some codings of asp pages but when i tried to upload to a linux server, i can only view the webpage with codes instead of the gui interface....i tried to upload my files to free asp host but same thing i cant view my webpages...
to upload this files online and present it to my teachers for grading...
the files are here [url]I hope i can find a free host dun need domain name with free ftp to upload these files and work properly...
View 14 Replies
View Related
Jul 8, 2008
I know which is the transfer speed of my hosting? I have hired a plan with bluehost and I can only transfer files at 40 kb/s
View 14 Replies
View Related