how to rename access logs according to Week Number?
I notice that 1&1 do this, producing a file like "access.log.31.gz". I'd like the access log to be in this format: access_log_[domain-name]_[Week-Number].gz, or if domain-name is not possible: access_log_[Week-Number].gz
Here's my current logrotate script for access_log:
servage.net is Broke down?... NO Dummy! They just changed their business to be SCAM
I am writing this to just let other friends here to be aware of this scam, they used to be host providers and now they've just become SCAM.
So my experience story goes like this:
Some days ago I ordered a 6month plan and paid by VCC, And got an email from them saying that my order is declined due to VCC not charged so I checked the balance of VCC and just knew that my poor little VCC is charged 45$ by this Green Giant named servage, So I let them know asap, I emailed back and told them to re-check and now it is days (5 days actually) that I am sending daily mails to Mr.Servage Scam and All I've gotten to now is nothing (actualy they don't respond anymore) wish they be alive at least (is it war or something running in their country? )
I really got disappointed at them I thought that since they have been in business for some time they can be reliable (at least at selling), However I just wrote back in here to let others know that servage.net is actually broke down or at least changed his hosting business to become a fast reliable scam (perhaps more profitable, who knows?)
All I wanted was a simple sweat hosting plan for my friend.
BTW If any of servage.net staff is here: Hey man that's not necessary to do illegal actions! Let's face it you need money? right? OK just put a donation button in the homepage and take my word on this always some good people exist out there to donate some bucks to you ( I will donate you too ), just don't be like this, this is shame.
I'm thinking over filling a dispute against them right now. Who know perhaps some days they respond back (At least I can re-check my email every day till next 50 years)
do Dedicated Server hosting plans always allow for unlimited domains?"
It would be great if it was so, but I have NO idea if it is that way. My common sense says "of course stupid, you have the whole box for yourself", but my guts tell me I should know better before assuming it.
I have a server that has multiple IPs, one of which I'm using for a VM that is bridged.
The issue is, internally, that IP is trying to point to itself rather then the bridged nic (which is technically a whole other server plugged into the same switch, logically).
I think I know why, I just don't know how to fix it. This is the config file for the ranges:
When trying to access my webpage (www.avillafan.com) i get this message:
Quote:
Internal Server Error The server encountered an internal error or misconfiguration and was unable to complete your request. Please contact the server administrator, webmaster@avillafan.com and inform them of the time the error occurred, and anything you might have done that may have caused the error.
More information about this error may be available in the server error log.
Additionally, a 404 Not Found error was encountered while trying to use an ErrorDocument to handle the request.
So i contacted my host and he says its not a problem he can solve. Its a problem my end. However i cant see how as my site was working fine this morning.
So i accessed my cpanel and looked at the Error Log. And it says this message about 300 times!
Quote:
File does not exist: /home/villafan/public_html/500.shtml
I came across below link on one of the other forums:
[url]
It shows that there are big problems with ultimahosts. I am observing more of such issues recently amongst many companies. Is this something to do with the current economic situation?
I run a proxy. First, I was on shared hosting. Worked for 2 months. then, bam! 500 internal server error.
I moved to a smaller VPS with 128 MB RAM. Worked for 30 min, then 500 internal server error again...
So now I moved to a larger VPS with 512 MB RAM, 1 GB burstable. Worked for 2 days, and now the 500's is back...
Rebooting the VPS usually fixes it, but I can not be sure I can continue rebooting it, as I expect it getting worse later.
It usually starts with lighttpd goes insane. One minute it's using 30 mb RAM, ok that's good. Then suddenly it uses 300 mb. then 500 mb. Then the 500 internal server error occur.
So any ideas of how I should configure this so it would work in a better way?
This is filled in the error log:
2009-06-02 13:21:16: (mod_indexfile.c.182) file not found ... or so: Too many open files / -> /home/admin/datashelf.net/
I have been trying to create my own web gallery using Adobe's Web Photo Gallery (as it seem to be so easy to use). I have created my gallery and it all seems to work fine when testing on my desktop. However, once I upload the files I get the error "internal Server Error"
what is a 500 internal server error? i was uploading things to my site and all the sudden on one of the pages where i submit a form it gives me a 500 internal server error. i contacted support and they said they were working on it. i have tried to upload an old version of the file that worked before but it still gave me the same error. they said they would get back to me within 24 hours, its been three days and i still have the problem and no notes/email from them . does internal sever error mean its not a problem on my side or could it be some of my code causing the problem?
I have two separate C-class IPs in my vlan and use one single gigabit switch for the uplink and internal/external traffic.
Since last month, I noticed that internal traffic is included in my bandwidth usage. Somehow, traffic from server A to server B is billed! The strange thing is that the traceroute is showing that traffic is not going through the routers, its one single hop.
So I am really wondering how this is possible. Could it be that the provider has changed some vlan settings to let me pay massive overage fees?
In a linux webserver how can you setup two servers to communicate via eth1 rather than eth0. We wish to use eth1 for internal communication between our public webserver and our database server. So that we do not incurr charges on the public switch.
We offer colocation & dedicated servers as well as shared & reseller hosting services.
Our colocation customers and dedicated server customers are definitely on their own VLANs for obvious reasons.
Up until now, we have been using separate VLANS and ip allocations for each of the servers in our shared & reseller server fleet. I'm starting to question this policy for many reasons:
1) We directly manage all of the servers and it is very rare that any servers are compromised to the point where they can steal an IP address.
2) We are wasting IP addresses - network, broadcast and gateway addresses are required for each vlan. Additionally, if a server needs 1 more IP address, we need to add a whole new block.
If all of the servers are under our direct management, does it make sense for us to use any vlans at all? It seems that it only serves to complicate things, waste ips and add management overhead.
I have six dedicated servers on a VPR. I use one of these as the Database server and the other five connects to that server to read the Database.
When I setup my scripts for the first time I used the external IP to connect to the DB server. Everything worked perfect for these weeks:
mysql_connect('174.xxx.xxx.xx', 'user', 'pass');
Since three days ago I finally received the internal IPs of my servers and now I use the internal IP of the DB server:
mysql_connect('10.0.0.1:3306', 'user', 'pass');
When I did this last change this my database started to collapse. Queries stuck on a bottleneck every 10 minutes. Here's an example:
40468 simon 10.0.0.7:47002 pkindigo_db Query 115 Locked update `captured` set hp_left = '79', status = 'normal', att1pp = '25', att2pp = '30', att3p 40523 simon 10.0.0.2:58080 pkindigo_db Query 115 Locked update `captured` set experience = '5120', level = '16', hp_left = '58', hp = '58', status = ... (tons of locked queries before) ...
As you may see table is locked since 115 seconds for a simple update... after some hours this ends on a "#1135 - Can't create a new thread (errno 13); if you are not out of available memory, you can consult the manual for a possible OS-dependent bug" and even some of my tables finally crashing.
I think that my Database stuck because of a DNS lookup delay. When I had this problem before using the external IPs, I added skip-name-resolve and the problem was fixed. But now with the internal IPs it seems that's not enough.
my friend is getting frequently 500 - Internal Error on his sites when ever he starts to get good amount of traffic at a moment, and by the time it resets to normal more than half the traffic is lost, he is using wordpress blog, some other applications not of any traffic, an IPB forum, and some other image hosting script in total he has 3 databases used, he's not running to outage of RAM, he is using max.
70% of RAM at the pt. when this occurs, checked once long way back..
he usually gets lots of traffic to blog and image host as he posts some real good stuff..
None of security rules is listed in that error log, so I am totally lost. It's working once when I restart apache, but after that, it's not working anymore.
My web host provider uses suPHP and I'm having a lot of trouble installing a php script correctly. Even something as simple as <?php phpinfo(); ?> seems to give me an internal server error.
Here's my story: The landlord provides the internet for the house and it goes through a server which has squid installed. Squid in turn seems to block the internal port (or whatever the exact term for that is) for phpmyadmin or webmail in cpanel so I cannot access them.
At my reseller account at Hostgator they said they redirected that port to port80 via mod rewrite and that now works for me. I wonder how I would do the same thing on a dedicated server. I can't see what Hostgator did since it's happening out of my sight somewhere. Otherwise I would just replicate that on my box.
connection is about 1000. the load average is only 0.78.
Is lighttpd good for dynamic site?
Maybe I need to switch back to apache.
Here is the log file.
Quote:
2008-03-06 10:45:00: (mod_fastcgi.c.2855) backend is overloaded; we'll disable it for 2 seconds and send the request to another backend instead: reconnects: 1 load: 545 2008-03-06 10:45:00: (mod_fastcgi.c.2855) backend is overloaded; we'll disable it for 2 seconds and send the request to another backend instead: reconnects: 0 load: 546 2008-03-06 10:45:00: (mod_fastcgi.c.2855) backend is overloaded; we'll disable it for 2 seconds and send the request to another backend instead: reconnects: 1 load: 546 2008-03-06 10:45:00: (mod_fastcgi.c.3496) all handlers for /view_video.php on .php are down. 2008-03-06 10:45:03: (mod_fastcgi.c.2633) fcgi-server re-enabled: 0 /var/run/lighttpd/php-fastcgi.socket 2008-03-06 10:45:03: (mod_fastcgi.c.2633) fcgi-server re-enabled: 0 /var/run/lighttpd/php-fastcgi.socket 2008-03-06 10:45:03: (mod_fastcgi.c.2633) fcgi-server re-enabled: 0 /var/run/lighttpd/php-fastcgi.socket 2008-03-06 10:45:03: (mod_fastcgi.c.2633) fcgi-server re-enabled: 0 /var/run/lighttpd/php-fastcgi.socket
I switched over a new host and everything was working perfectly. I then uploaded one last directory but it had a weird internal server error when trying to access the index.php file. I then googled it and changed directory permissions to 755, and I am not sure if it is a coincidence but now every site on my server with php files displays that error but html pages are fine.
each web sites hosted on my server which use phpflag in .htaccess show the Internal Server Error, when I comment the phpflag line by # , the website work correctly.