Is There A Way To View The Error_log Starting From The Bottom
Aug 3, 2008Is there a way to view the error_log starting from the bottom? My error_log is HUGE.
View 4 RepliesIs there a way to view the error_log starting from the bottom? My error_log is HUGE.
View 4 Repliesi am running a nph-proxy.cgi (aka CGI-proxy) script. there is "HTTP/1.1 200 OK Date: Fri, 06 Nov 2009 00:35:42 GMT Server: Apache Content-Length: 0 Keep-Alive: timeout=15, max=100 Connection: Keep-Alive Content-Type: text/plain"
below every css, js, html file loaded...no where in .cgi script is such output specified!
how to resolve ? i already turned off ServerSignatures, and set it to Production in apache2.conf.
We used to be on a reseller acct (RedHat Enterprise, Apache 1.x, PHP4, cPanel 10) that would generate error_log files under the directory of the error(s). This was done without any special scripts under those directories or anything, it just did it.
Googling it, it appears that Apache did this by default but apparently it doesn't anymore.
With CentOS 5, Apache 2.2.x, PHP5 and cPanel 11 I can't figure out how to enable these error logs. I've Googled my brains out, been through the php.ini and httpd.conf and nada, nothing. The errors show up in the cPanel error logs but it's much easier and quicker when it generates the log file in the offending directory.
I rely heavily on these log files.
I've just had my server transfered and many files were missing. So, now I have a 100 Mb error_log file...
What should I do ?
If I rename it, I suppose the server will create a new one and it will be ok ?
How can I fix a size limit to the error_log files ?
I'm using Centos 5 + CPanel.
i have error show always in the apache error_log
[Fri Jan 18 07:17:06 2008] [notice] cannot use a full URL in a 401 ErrorDocument directive --- ignoring! ...
In /usr/local/apache/logs/error_log there are hundreds of these lines:
Quote:
mod_security: Filtering against POST payload requested but payload is not available [hostname "www.somedomain.com"]
This is a result of:
Code:
SecFilterScanPOST Off
Is there a way to exclude that line being logged in error_log file? If I turn it ON, those errors won't show up in error_log anymore, however, it'll break some scripts on my server. I prefer to leave it OFF.
The filesize is almost 200MB, how can I set log rotator to rotate them every 2 weeks?
I typed touch error_log in ssh but the filesize didn't change to 0
When I was a customer at hostgator, whenever a terminating error within php was displayed it would log in the parent directory in a file called "error_log".
I want this to happen now on our dedicated server. I've looked at my local apache error log and it doesn't appear to show the same info as hostgator's setup showed.
Can anyone tell me how to set that up?
All accounst in my dedicated server start to show a very strange error_log with the following entries:
====
[04-Nov-2009 21:28:51] PHP Warning: PHP Startup: Unable to load dynamic library '/usr/local/lib/php/extensions/no-debug-non-zts-20060613/php_interbase.dll' - /usr/local/lib/php/extensions/no-debug-non-zts-20060613/php_interbase.dll: cannot open shared object file: No such file or directory in Unknown on line 0 .....
====
Always when a php script is accessed, new entrie with this error above is created.
I dont understand because php script have not any relation with intebase or pgsql and my server have not this e db installed.
I want to provide access to the last 50 entries of my error_log to my programmer. I do not want to provide him ssh access to my server for this.
I am on a Virtuozzo VPS with Plesk as my Control Panel.
Lately our VPS has needed to be restarted frequently (1-2x daily for the past 5 or so days).
I have pulled our eror_log file and pasted below the last several days. I am hoping someone can take a look at it and point me in the right direction.
Because of limitations, I cannot post anything with urls, but the two errors that have been occuring most frequently are below
Code:
[Mon Mar 3 07:37:22 2008] [error] (12)Cannot allocate memory: fork: Unable to fork new process
[Mon Mar 3 07:37:32 2008] [error] (12)Cannot allocate memory: fork: Unable to fork new process
[Mon Mar 3 07:37:42 2008] [error] (12)Cannot allocate memory: fork: Unable to fork new process
[Mon Mar 3 07:37:52 2008] [error] (12)Cannot allocate memory: fork: Unable to fork new process
[Mon Mar 3 07:38:02 2008] [error] (12)Cannot allocate memory: fork: Unable to fork new process
[Mon Mar 3 07:38:12 2008] [error] (12)Cannot allocate memory: fork: Unable to fork new process
[Wed Mar 5 07:44:02 2008] [error] Bad pid (15524) in scoreboard slot 44
[Wed Mar 5 07:44:02 2008] [error] Bad pid (3750) in scoreboard slot 46
[Wed Mar 5 07:44:02 2008] [error] Bad pid (3751) in scoreboard slot 47
My error logs say the following:
[Wed Jan 30 22:31:33 2008] [error] [client 150.101.99.206] File does not exist: /home/soupnazi/public_html/404.shtml
[Wed Jan 30 22:31:33 2008] [error] [client 150.101.99.206] File does not exist: /home/soupnazi/public_html/favicon.ico
[Wed Jan 30 22:29:36 2008] [error] [client 150.101.99.206] File does not exist: /home/soupnazi/public_html/404.shtml
[Wed Jan 30 22:29:36 2008] [error] [client 150.101.99.206] File does not exist: /home/soupnazi/public_html/favicon.ico
[Wed Jan 30 22:27:18 2008] [error] [client 150.101.99.206] File does not exist: /home/soupnazi/public_html/404.shtml
[Wed Jan 30 22:27:18 2008] [error] [client 150.101.99.206] File does not exist: /home/soupnazi/public_html/favicon.ico
[Wed Jan 30 22:26:48 2008] [error] [client 150.101.99.206] File does not exist: /home/soupnazi/public_html/404.shtml
[Wed Jan 30 22:26:48 2008] [error] [client 150.101.99.206] File does not exist: /home/soupnazi/public_html/favicon.ico
[Wed Jan 30 22:26:47 2008] [error] [client 150.101.99.206] File does not exist: /home/soupnazi/public_html/500.shtml
[Wed Jan 30 22:26:47 2008] [alert] [client 150.101.99.206] /home/soupnazi/public_html/Dolphin/.htaccess: Invalid command 'php_flag', perhaps misspelled or defined by a module not included in the server configuration
[Wed Jan 30 22:20:21 2008] [error] [client 150.101.99.206] File does not exist: /home/soupnazi/public_html/404.shtml
[Wed Jan 30 22:20:21 2008] [error] [client 150.101.99.206] File does not exist: /home/soupnazi/public_html/favicon.ico
[Wed Jan 30 22:20:19 2008] [error] [client 150.101.99.206] File does not exist: /home/soupnazi/public_html/500.shtml
Apache/1.3.41 (Unix) PHP/4.4.7 mod_log_bytes/1.2 mod_bwlimited/1.4 mod_auth_passthrough/1.8 FrontPage/5.0.2.2635 mod_ssl/2.8.30 OpenSSL/0.9.7a
I need to delete that file its huge.
I can't get any man pages. For some reason when I try to use it, I continue to get this error:
Code:
XXX
XXX WARNING: old character encoding and/or character set
XXX
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...
how can I view the desktop of my server remotely through ssh.
View 3 Replies View RelatedIm with easyspace, we ordered an ssl with them a few weeks ago, after a few days they finally installed it for us, then they gave us some ftp details to reupload our site to, we did that but when we try and access our site now it forwards to iomartinternet.com
our website is thescotlandkiltcompany.co.uk
i went and looked at my domain control panel, i see that the nameservers are pointed to ns4.easyspace.com and ns5.easyspace.com
but in the dns control panel the nameservers were ns.iomart.co.uk and ns2.iomart.co.uk
anyone have any ideas whats going on?
Im summary, i am able to ftp.thescotlandkiltcompany.co.uk (this works)
Im able to upload files
Im able to view www.thescotlandkiltcompany.co.uk/images
but im unable to see my index page or anything else (any files or directories on my root or any other folder
I already created a www folder, public_html folder etc. etc. changed permissions on files and folders, nothing worked, anyone have a clue whats going on?
I did an dnsreport on the site too on dnsstuff.com
Im with easyspace, we ordered an ssl with them a few weeks ago, after a few days they finally installed it for us, then they gave us some ftp details to reupload our site to, we did that but when we try and access our site now it forwards to iomartinternet[dot]com
our website is thescotlandkiltcompany [dot]co[dot]uk
i went and looked at my domain control panel, i see that the nameservers are pointed to ns4.easyspace.com and ns5.easyspace.com
but in the dns control panel the nameservers were ns.iomart.co.uk and ns2.iomart.co.uk
anyone have any ideas whats going on?
Im summary, i am able to ftp[dot]thescotlandkiltcompany[dot]co[dot]uk (this works)
Im able to upload files
Im able to view www[dot]thescotlandkiltcompany[dot]co[dot]uk/images
but im unable to see my index page or anything else (any files or directories on my root or any other folder
I already created a www folder, public_html folder etc. etc. changed permissions on files and folders, nothing worked, anyone have a clue whats going on?
I did an dnsreport on the site too on dnsstuff[dot]com
This review is based on my subjective experience with this service provider. Please take into consideration that each customer experience is unique in nature and can be heavily influenced by circumstances and cultural differences. My reviews are more prone to usability aspects rather than mips and milliseconds.
This review has not been financially influenced by the provider in question.
SOFTLAYER from the European perspective
Background:
I work for a value-added reseller hosting company in the Northern Europe and take care of server provisioning, offer request and service definition for our company needs.
We have used this company for the business hosting needs for over a year - we do yearly offer rounds and move our services should the need arise. Currently we are not hosting with Softlayer.
Experience is based on one dedicated server AMD Opteron 1216 with 4GB, 2x500GB RAID1 and Plesk 100 - location Dallas and Washinton DC facility. Reviewed services; control panel, private networking, help desk, sales support
Overview:
Softlayer has been in business for a while. They offer wide range of servers from single processor multicore to quad processor multicore servers. They have 3 different facilities in U.S; Seattle, Dallas and Washington DC. There are no Softlayer facilities available in Europe, but they do offer services to European customers as well. ( which is not the case with all the U.S based providers )
They offer fully automated services, an integrated control panel, developer API and wide range of software solutions for their server range plus number of other services that we have no experience with.
Privacy Policy:
Standard privacy policy with one side note; Softlayer follows the EU privacy protection laws and participates in the EU Safe Harbor program. This is more important for us Europeans; we are obliged to treat customer data in a specific way. (It's a long story, I'm going to spare you from the details)
Contract terms:
Monthly contract with server cancellation, at the latest 3 days prior the monthly anniversary. The cancellation can be done with the customer control panel. No questions asked - you do get a sales rep email and confirmation enquiry surely, for your own protection.
Installation
The server provisioning was really fast - in a few hours we had fully functioning server available with the specs as ordered and tested. This was a great service, we've had experiences with 10 day provisioning times.
Control Panel ( Customer Portal):
Softlayer customer portal is a comprehensive one. You can handle everything related to your server with a click of a button; reboots, OS reloads, reconfigurations, support requests and sales orders. One of the notable features was the ability to test firewall settings with external scanning provided by SL; easily done with a novice understandable report and suggestions.
You can give different access rights, access levels to users and share the control panel with the system administrators and support people. Overall usability of the control panel is good, navigation is simple, the screen is calm and there are no distractive elements. Softlayer has done a rather good job in handling comprehensive set of features in customer control panel.
For a beginner, the control panel can be a bit overwhelming though - it has been designed for the professional administrators with tens/hundreads of servers and whilst supporting this purpose well, a novice user would feel more confident with more narrow set of features. My preference for the novice user would be the server-centric usability focus; choose the server you manage and then the tasks related to that specific server. Help could be more easily available; there is a comprehensive knowledge base, but task oriented help is not necessarily available where the task is at the control panel.
Out of 10 points, Softlayer deservers 8,5 to the customer portal
Private Network
This is one of the brand marks of the Softlayer. They offer an excellent private network with PPTP & SSL access. The bandwidth is unlimited between you and your servers and even between your servers. You can truly shut down the external traffic to your server and still manage it from the background. The access is granted using PPTP (1 user) or SSL browser access with (Java plugin?). I used the PPTP, so the experience with SSL is limited.
This feature is free, which is exceptional. The true value comes when you have several servers with Softlayer and you interchange data between server. For single server owner this is of a less benefit, but surely a secure feature to access your server. The setup for private networking is seamless, easy to understand for a novice and wins my vote hands down
Out of 10 points, Softlayer deserves 9 for their private networking.
Network
Softlayer network is well connected, a connection to Northern Europe is around 80 - 100 ms from the WDC data center, it is barely noticeable for standard web user. During the year with SL, we did not experience any problems with their network connections. Some minor issues with private networking side ( nothing to do with SL )
Out of 10 points, Softlayer deserves 8 for their network connections to Europe
Help desk
Support ticket system; the response times are adequate, but you can sense that there is a night in the U.S and day in Europe. The response time improves at our night time and the tone tends to get more cheerful in the evenings. The responses were always professional though, and we never had a problem that wasn't resolved in a matter of an hour. The hardware was replaced and problems solved efficiently.
Out of 10 points, Softlayer deserves 8 for their helpdesk (If I were in U.S, I might give a 9)
Sales
Like with any service provider contact their sales before ordering; you might get lucky and get unlisted offers and pricing for your server. Softlayer has a good sales staff, but the service level is not consistent . If you are lucky, you might get a sales person not the "I just working here" - type. Their sales people are cheerful, genuine problem solvers and would like to find you the best alternative - the "I just work here" will read their price list and give you exactly what you asked; ie. they might have a great offer on AMD opteron 1216, but you asked for 1212. You'll get what you asked for - not the great offer available. Reason being, "you never asked".
Out of 10 points, I give 8 for the Softlayer sales.
Server pricing
Softlayer is not cheap and not even competitive always. The have a new outlet for bargain servers, but their pricing seems to start with USD119 what ever the case or name of the bargain is. Before signing-up with them, you should always do your own shopping around.
Out of 10 points, I give 7 for the Softlayer pricing
Conclusion
I would suggest Softlayer to any business owner with some experience and with several dedicated servers. For the novice user, with some reservations - maybe a smaller hosting provider would be better to start with. Their technical service is professional, coherent and they certainly know what they are doing.
Softlayer has an impressive service offering, especially with their private networking, but you need to be prepared to pay for it as well.
How can I view the email que? I have no control panel using CentOS5
View 10 Replies View RelatedHow to view all ip on the server ?
os linux
Is there a way to see what was happening on the server the last 24 hours for example in WHM ? A log or something.. To see if there was any high loads etc..
View 4 Replies View RelatedHere you can see the problem and I am unsure how to fix it.
I am using a phproxy script on this domain
www.youtubetvshow.com
When you browse through this site, and look at youtube.com and try and watch a video, it does not allow you to view the flash.
I know this script works as I was using it on my past server.
My server is running on CentOS, with WHM
Does anyone know how to fix this on my server so people can view flash through my proxy site?
Am running FreeBSD and MySQL. How do i check the login history for MySQL?
View 2 Replies View RelatedHow do I few my server's kernel logs created by klogd?
View 1 Replies View RelatedI try view error log of server with this command
/usr/local/cpanel/logs/access_log
/usr/local/cpanel/logs/*
/usr/local/cpanel/logs/access_log
/usr/local/apache/logs/error_log
but it tell me permission denied
so how I view it?
can I view it with WHM or CP?
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(windows Sever)
I have FreeProxy Control center
(freeproxy.exe)
w w w handcraftedsoftware o r g
The problem is I recently got my Deiticated reformated.. and now every time i run it it says "Run-time error; "9" Subscript out of range,
but it ust to work before they reformated it. And when i install it on my home pc or any other pc it works fine...
I dont understand whats wrong or how you fix it...
Other Exe's work fine ive also added it to Exmeptions, This is the only Program i can find that will do run mutiable Proxys off a deicated with mutiable Ips -.-
I brought a managed vps but I don't know how I can view my site on my vps? without waiting for domain propagation
View 6 Replies View RelatedCommand: CWD /public_html
Response: 550 Can't change directory to /public_html: Permission denied
Error: Failed to retrieve directory listing
That's what I see in FTP, but in File Manager in cPanel I don't see any files.
What do I do?
The permissions is set to 750 for /public_html and I cannot change them
I am running my own webserver and up untill now checked my sites on a second broadband connection. Due to an accident i can now only afford the one connection.
My question is, how can i view my sites using domain name or static ip (not local)
I am running windows server 2003
I saw a post mentioning host files but did not quite understand if that is what was deeded, I am assuming that i need to loopback somehow.
My router has no loopback