Error With Apache - All Sites And Panel Are Down

Apr 17, 2015

I think my server underwent a DDoS attack a couple weekends ago. Anywho, I get over 300 CRON emails with this error in it, they were supposed to be sent over the several weeks, I Hard-rebooted my server and it then finally sent all those emails at once. Running Debian 7.8. The email said this:

Email Heading:
Cron <root@raptor2720> [ -x /usr/lib/php5/maxlifetime ] && [ -x /usr/lib/php5/sessionclean ] && [ -d /var/lib/php5 ] && /usr/lib/php5/sessionclean /var/lib/php5 $(/usr/lib/php5/maxlifetime)

Email Body: find: invalid predicate `-ignore_readdir_race'

I try command line:

ROOT: sudo /etc/init.d/psa start
[FAILing psa... [....] Starting Plesk engine pool manager: sw-engine-fpm failed!

[Code] .....

View 1 Replies


ADVERTISEMENT

Plesk 11.x / Linux :: Deleted Panel And Sites Are Gone

Sep 9, 2014

I just want to remove plesk and installed again. i saw (URL...) this page. use this code but plesk not removed. my sites are gone.how can i get back my site? what i should install.When i try install plesk 12 says you already install version 11.0.9

View 7 Replies View Related

Helm Control Panel Error

Apr 11, 2008

WE are having Helm control panel.

And the login to the control panel We are getting following error.

=========================================================
Server object error 'ASP 0177 : 8007000e'

Server.CreateObject Failed

/interfaces/standard/include/headerMain.asp, line 146

8007000e
=========================================================

View 2 Replies View Related

Plesk 12.x / Linux :: Error 403 Forbidden On All Sites After Migration

Dec 17, 2014

We have installed Plesk 12 on a fresh up to date Ubuntu 14.04 x64 server.

After installation, and before any migration, we have moved some folders:

- /var/www/vhosts -> /opt/vhosts
- /var/qmail -> /opt/qmail
- /var/mysql -> /opt/mysql

We have created symlinks, modified some configuration files (Plesk included) and ran domains reconfiguration script (zero domain installed, but just in case the script will do anything else).

After that, we have launched Plesk Migration Wizard (from Plesk 9 to last release).

Everything has worked fine: all domains have been migrated on our new folders (/opt based) and owners has been correctly defined for each domain. The same for MySQL and all mail accounts.

We have checked Apache VirtualHost configured by Plesk Migration Wizard : our new folders are used (/opt).

So all seems to be ok.

But now, all websites (configured with Apache and Apache PHP module) returns 403 Forbidden error.

We have try changing to FastCGI with Apache same error.

We have try changing to full Nginx (PHP and static files), some websites run.

We have checked some KB (112884, 800) but all seems to be good.

Is there any steps we have omitted when we move folders ?

View 11 Replies View Related

How Many Sites Possible With Apache

Mar 4, 2008

if there is a general rule of thumb on the amount of web sites can be loaded onto an Apache server which has 4Gb RAM and RAID. Each site will utilize one database, of about 5 Mb max. Preferably CPanel, else is there something else recommended for managing lots of sites?

Can I conceivably get 1000 sites per server or more?

What/where in httpd.conf do i tweak to allow more files to be open?

View 3 Replies View Related

Plesk 12.x / Windows :: Error When Adding IP On Panel

Oct 10, 2014

We are getting an error every time that i try to add a new IP on Plesk panel. I go to "Tool and settings" than "IP address", "Add ip address" on fields i already try to ip:

xx.xx.xx.xx/32
and
xx.xx.xx.xx/submask

every time that i click on OK, the button become loading an never finish....

View 7 Replies View Related

Plesk 12.x / Linux :: Panel Login 404 Error

Jun 9, 2014

After a fresh install on a Debian Wheezy system, I get the following error(s) when trying to access the control panel.

https://sub.example.com:8443/
404 Not Found
Nginx

My log

Code:
2014/06/09 19:04:15 [warn] 32236#0: conflicting server name "" on 0.0.0.0:8443, ignored
2014/06/09 19:04:26 [error] 22597#0: *43 "/usr/share/html/index.html" is not found (2: No such file or directory), client: 68.51.77.126, server: , request: "GET / HTTP/1.1", host: "sub.example.com:8443"

While http://sub.example.com:8880/ works fine

View 4 Replies View Related

Plesk 12.x / Linux :: Prevent 502 Error For All Sites When Changing Configs

Nov 19, 2014

I have a Plesk 12 server running that works great. But the problem is that whenever one of my shared hosting customers changes something out a domain or subdomain, all the other sites on the server give a 502 error.

The reason why is clear to me: apache is reloading its config while nginx is still active, but sees apache as being down and therefor throws a 502 error.

Is there any way to prevent this from happening? Because it's happening a lot and people are sending in 'site down' reports while there's actually nothing wrong with the server or their site.

View 2 Replies View Related

Multiple Sites On Apache

Jul 8, 2007

Can i run multiple sites on apache? and if so how do i do it.

View 3 Replies View Related

Proxy Error While Viewing Bandwidth At Reseller Panel

Oct 20, 2007

Everytime I try to see the bandwidth in the reseller panel, i got this failure:

Code:
"Proxy Error
The proxy server received an invalid response from an upstream server.
The proxy server could not handle the request GET /reseller/services/bandwidth/show_bandwidth.
Reason: Error reading from remote server"

I already restarted epld, httpd, named, and mysql daemons and the error stills...

Im using Ensim Pro 10.2.0 + RHE 4

View 1 Replies View Related

Plesk 12.x / Linux :: Error Opening Panel After Upgrade To 12.0.18

Jun 17, 2014

I have a V-Server account with Strato and just upgraded to 12.0.18 through the panel updater. The installation completed successfully, at least the installer gave me no error.

After the installation I tried to login and got the following error (I wasn't able to enter my credentials..):

I tried to repair permissions with:

Code:
/usr/local/psa/bin/repair --restore-vhosts-permissions

Which worked and I could now login. The Panel opened with the following error:

I can access certain areas of the panel without error (i.e. tools and settings etc, but I get the error when I try to access the control panel for single domains etc...)

Here an extract from the panel.log

Code:
[17-Jun-2014 19:49:12 Europe/Berlin] Exception: Permission denied
file: /opt/psa/admin/plib/Lock/Manager/Hierarchical.php
line: 105
code: 0
trace: #0 /opt/psa/admin/plib/Lock/Manager/Hierarchical.php(105): LockManagerClient->__construct()

[Code] ......

View 19 Replies View Related

Plesk 11.x / Windows :: Panel 11.5 Backup Manager Error

Jun 6, 2014

I am now fgetting an error while clicking the Backup Manager option in Plesk panel 11.5 in Windows 2008 R2. see the error below:-

===========
Error: 'ascii' codec can't encode character u'xc2' in position 392: ordinal not in range(128)
===========

View 3 Replies View Related

Plesk 12.x / Linux :: Migrated From Debian 7 To Centos X64 - All Php / Wordpress Sites 502 Error

Jan 31, 2015

For some reason I am having issues with latest Plesk with php and wordpress. HTML sites are fine, but all php and wordpress sites are giving a 502 error after fully migrating. I repaired with Webserver Configurations Troubleshooter and rebooted and its still giving me the same issue.Also, noticed my previous server had php 5.4.36, the new CentOS server has 5.4.37.

View 5 Replies View Related

What Sites Are Best For MySQL/Apache Optimization

Jan 27, 2007

I just switched to a new server - I went from a Dual Opteron 248 with 3GB of RAM to a Dual Clovertown with 4GB of RAM. Yet, despite having mild traffic right now, my load is rather high and my memory usage is like 80% (which is ridiculous, since that would mean I would be maxing out on the old box).

For some reason, my servers usually lose access when I get around 400 people on TEXT-BASED, non-MySQL pages? How is that possible? I have really solid servers, yet people running basic Pentiums with 1 or 2GB never run into this issue.

Is there any good, cheap site that would be able to properly optimize mySQL and Apache to lower the load and figure out why the memory usage is so high? Platinum Server Management never really got this done, so even though they're great for other support issues, please don't recommend them.

View 0 Replies View Related

Plesk 11.x / Linux :: Failed To Update Panel - Error Message

Feb 10, 2015

I'm using Plesk 11 in a Ubuntu 12.04 Linux environment on a remote dedicated server. I am NOT trying to upgrade to Plesk 12. But, every time I log onto the panel, I get the error message shown on the subject line. Afterward, it says, "To solve this problem, send an update log to Parallels support." I have the update log ... but "where" to send it. Is there an email address? A webpage?

View 10 Replies View Related

Plesk 11.x / Linux :: General Error 1030 - Can't Access Panel

Apr 11, 2015

the Error Code is :SQLSTATE[HY000]: General error: 1030 Got error -1 from storage engine Knowledge base says I am out of storage but I am not .But the output of command df -h returns this:

Code:
Filesystem Size Used Avail Use% Mounted on
/dev/vda3 825G 673G 110G 86% /
tmpfs 9.8G 0 9.8G 0% /dev/shm
/dev/vda1 477M 59M 393M 13% /boot

Restarting sw-cp-server doesn't shows any error.However , I was getting some problems with mysql socket and I wasn't able to use the plesk still then currently a custom installation of phpmyadmin lets me access the databases but I can't access any of my websites either (Wordpress). Apache returns 504 Gateway Error .

View 1 Replies View Related

Plesk 11.x / Linux :: Admin Panel - 500 Internal Server Error

Oct 29, 2014

I have experiencing strange behaviour of Plesk admin panel. Actually there were a lot of issues similar with 500 Internal Server error but mine is a bit different..

This is the log came from the '/var/log/sw-cp-server/error_log'

/bin/sh: /usr/share/sw-cp-server/applications-conf.sh: Permission denied
Cannot find config item ["global/SERVERsocket==:8443", ".php", 0]
2014-10-29 19:38:22: (mod_fastcgi.c.1068)

[Code] ....

As you can see there is a line starts with /bin/sh: /usr/share/sw-cp-server/applications-conf.sh: Permission denied and i tried to change this one for permission like 0755 or alternatives for a run but nothings changed. Btw i have plenty of disk space, it wasn't also the case.

I cannot even login with my domain name without 'https' and with the port 8880. It's again giving me the same issue.

BTW i want to give a little extra information; it was a long time that Plesk admin panel working but after today it's stuck in 500 Internal server error. What i tried today that to follow 'How to generate custom self-signed SSL certificates and apply it to Postfix: [URL] ....' , but after 6th step i was decied to stop because i couldnt find the root.pem file a minute and than i wanted to try on plesk and i saw the bad news I don't know it was related but i wanted to share.

View 5 Replies View Related

Plesk 12.x / Linux :: Uninstall Parallels Panel News Extension Error

Sep 12, 2014

when trying to uninstall this extension I get the following error: Executing /opt/psa/admin/plib/modules/panel-news/scripts/pre-uninstall.php failed.

View 3 Replies View Related

Plesk 11.x / Windows :: Unable To Read Control Panel Configuration File Error

Aug 29, 2014

I'm unable to access my plesk control panel .its giving this error "Unable to read Control Panel configuration file";tried all available solution for permissions but the problem remains.

View 3 Replies View Related

Plesk 12 Permissions For Sites Using Apache For User And Group

Jan 6, 2015

We have several sites on one server. When I use the plesk wordpress manager it some how updates the User and Group permissions on folders and files with the username apache. How or what command do I run to get it to use the site username and psacln. It appears something maybe in an update or whatever has caused this issue. This only occurs with wordpress and drupal updates from the plesk interface.

What command can I run just to update the permissions to update all users to a username and psacln security settings on folders and directories.Running Plesk 12.0.18 and CentOS7

View 1 Replies View Related

Apache :: Configuration Error Causing Internal Server Error

Oct 10, 2012

- Apache version : 2.2.21
- operating system : MAC OS Lion Server
- mod_ssl : 2.2.21

I have a certain area on a homepage which is protected by an .htaccess file. The code of the .htaccess file is the following:

Code:

AuthType Digest
AuthName "Password Required"
Options +Indexes
# code for HTTPS
RewriteEngine On
RewriteCond
%{SERVER_PORT} !^443$
RewriteRule (.*) https://%{SERVER_NAME}%{REQUEST_URI}
Require valid-user

Usually everything has been working fine with this .htaccess-file until today. There hasn't been any change on the system.

If you click on the hyperlink to the restricted area the login window appears where you need to type in your username and a password. After typing in these data the following message appears in the browser:

500 Internal Server Error

The server encountered an internal error or
misconfigruation and was unable to complete your request. (…)

The apache error log file contains the following message:

Request exceeded the limit of 10 sub request nesting levels due to probable configuration error.

Use 'LimitInternalRecursion' to increase the limit if necessary.
Use 'LogLevel debug' to get a backtrace.

The increase of the LimitInternalRecursion does not solve the problem. So I switched the LogLevel in the httpd.conf file from warn to debug and looked again on the entries of the error log.

The following appeared (I have replaced ip addresses, usernames and URL by xyz or <URL>) :

Code:

[error] [client xyz]
mod_digest_apple: Client is using a nonce not issued by this server for this context:/rb/Vorlesung/WS12/Downloads/, referer:
http:<URL>

[Code] ....

View 3 Replies View Related

Can I Setup My Control Panel To Update The Apache Config File

May 26, 2009

How can I setup my control panel to update the Apache config file

View 4 Replies View Related

Plesk Vs. C-Panel / Control Panel

Oct 11, 2007

I indicated that I've basically been using my webhosting company as "file storage".

1) I create all my files in .html using notepad

2) My files are limited to .html, .jpg, .gif, (and a couple of .js and .css) files.

3) My domain is not connected with my webhost; I use the nameserver zoneedit.com and I use URL forwarding and mask/cloak the domain the address bar (using multiple domains) as follows:

domain1.com --> forwards to [url]

domain2.com --> forwards to [url]

domain3.com --> forwards to [url]

4) For uploading files, I go to ftp://123.456.78 and drop/drag/copy/paste files into the window using my browser

5) I'm able to password protect the subdirectories as I choose.

---------------

I called my webhost, Hostik, and told them that I was unable to do anything on my web console. I can't change a password, create a user, or even access my usage/bandwidth quotas.

They told me that I'm on an "old server" using the windows-based console (probably C-Panel / Control Panel) and they're in the process over the next three months of transfering everyone over to "Plesk".

So, they set me up with a new Plesk account, while keeping the old one in place, so that I could move/transfer my files to the Plesk account.

When I went to Plesk, I realized things are not the same:

1) In my Control Panel / C-Panel, I had a unique IP URL Address - [url]

2) In Plesk, it seems there's a set IP URL Address - [url] - that everyone shares.

3) I was told that in Plesk, many people use that IP URL address and that I'm supposed to place my files into the "httpdocs" folder.

Appearently, this is a system of shared hosting whereby many people have the same IP URL address (different from what I had before) and it recognizes each account by the login or something, so the "httpdocs" folder would identify my domain.

I was then told that in Plesk, I must have my domain affixed to the Plesk account.

In other words, I can no longer do what I was doing before, having my domain separated in another location and using URL forwarding from an outside nameserver.

--------------------------

So, my original question is what's the difference between Plesk vs. C-Panel/Control Panel?

Perhaps I answered most of it above.

Is it correct that I can't do things the way I've been doing them so far if that's the case?

It might be that Plesk is not for me and I may need to find a host that gives me my own unique IP URL Address. However, I was informed that not many companies are doing that as most are switching over to Plesk.

In addition, Hostik does not offer multiple domains.

In response to this thread, David recommended I try synhosting.com

synhosting.com has "Multiple Websites". I assume this means mulitiple domains. Correct?

What's my best option at this point?

1) Find a host that has C-Panel / Control Panel (if any there are)?

2) Use a service such as synhosting.com and move all my domains over to them?

3) If I do use synhosting.com, am I required to move my domains over to their nameservers?

4) I have my MX Mail records pointing to Fastmail.fm for my email virtual domains. Would I still be able to do this if my domain is dedicated to a webhost and opt not to use their email feature?

5) Should I get rid of this old-school thought of using my web host as "file storage" and stop this practice of using URL forwarding and cloaking?

View 7 Replies View Related

Apache Error

Sep 12, 2007

The loading time of the webpage in my server become slower and slower in these few day.

After I've checked the apache log, I find that there're many many error occur continously.

I think that this is the main cause of the slowing. May I have any suggestions for sloving this problem? Thank you very much

[Wed Sep 12 21:36:39 2007] [error] [client 218.252.200.94] File does not exist: /home/winds/public_html/redirect.php
[Wed Sep 12 21:36:47 2007] [error] [client 218.252.200.94] File does not exist: /home/winds/public_html/redirect.php
[Wed Sep 12 21:37:10 2007] [error] [client 218.252.200.94] File does not exist: /home/winds/public_html/redirect.php
[Wed Sep 12 21:37:47 2007] [error] [client 218.252.200.94] File does not exist: /home/winds/public_html/space.php
[Wed Sep 12 21:38:08 2007] [error] [client 218.252.200.94] File does not exist: /home/winds/public_html/redirect.php
[Wed Sep 12 21:39:12 2007] [error] [client 61.92.19.80] File does not exist: /home/winds/public_html/index.php
[Wed Sep 12 21:39:18 2007] [error] [client 218.252.200.94] File does not exist: /home/winds/public_html/redirect.php
[Wed Sep 12 21:39:24 2007] [error] [client 61.92.19.80] File does not exist: /home/winds/public_html/index.php
[Wed Sep 12 21:39:33 2007] [error] [client 218.252.200.94] File does not exist: /home/winds/public_html/redirect.php
[Wed Sep 12 21:39:41 2007] [error] [client 218.252.200.94] File does not exist: /home/winds/public_html/redirect.php
[Wed Sep 12 21:39:54 2007] [error] [client 218.252.200.94] File does not exist: /home/winds/public_html/redirect.php
[Wed Sep 12 21:40:29 2007] [error] [client 125.31.15.88] File does not exist: /home/winds/public_html/index.php
[Wed Sep 12 21:40:36 2007] [error] [client 66.249.73.250] File does not exist: /var/www/html/robots.txt
[Wed Sep 12 21:40:37 2007] [error] [client 66.249.73.250] File does not exist: /var/www/html/forum/index.php
[Wed Sep 12 21:48:17 2007] [error] [client 218.252.200.94] File does not exist: /home/winds/public_html/redirect.php
[Wed Sep 12 21:49:18 2007] [error] [client 218.252.200.94] File does not exist: /home/winds/public_html/redirect.php
[Wed Sep 12 21:49:25 2007] [error] [client 218.252.200.94] File does not exist: /home/winds/public_html/redirect.php
[Wed Sep 12 21:54:48 2007] [error] [client 218.252.200.94] File does not exist: /home/winds/public_html/redirect.php

View 11 Replies View Related

How To Analyze Apache Error Log

Jan 18, 2008

How can I analyze apache error log on linux server ? I need to analyze it on the server because some issue caused that its size for today is 1.2GB!! and it's impossible to go over it line by line.

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

Apache VHosts Error

Nov 13, 2007

I've been having some trouble with Apache 2.0 recently. Whenever I load somewhere between 200 and 230 virtual hosts into Apache's config (as per my hosting control panel), Apache will fail to restart when the command "apache2ctl restart" is run. The command "/etc/init.d/apache2 restart" fails as well. All it does is signal all child processes of Apache to be terminated and fail to start again.

Here's what the log has to say:

Code:
[Tue Nov 13 19:04:18 2007] [notice] SIGHUP received. Attempting to restart
[Tue Nov 13 19:04:18 2007] [notice] seg fault or similar nasty error detected in the parent process
Is it that Apache is too bloated with vhosts to restart or is it something else?

FYI, I'm running Debian 3.1 (Sarge).

View 10 Replies View Related

Major Apache 2.0.54 Error

Oct 14, 2007

I'm having a serious problem with Apache 2.0.54. I'm running Debian Sarge (3.1) and I cannot upgrade Apache (easily) so I am stuck using 2.0.54 (2.2+ are not supported on Sarge). I have been trying everything with config changes and different tweaks but Apache is giving me lots of trouble. Whenever I run "apache2ctl restart" Apache will crash and will not start. But when I run "apache2ctl start" Apache will run and in the log, it simply puts "[warn] pid file /var/run/apache2.pid overwritten -- Unclean shutdown of previous Apache run?". I get nothing else before or after I run those commands. Running "apache2ctl graceful" starts messing with it giving me "apache2 <defunct>" errors and "apache2ctl configtest" gives me nothing except "Syntax OK."

Here is my "apache2.conf" file:

Code:
# Based upon the NCSA server configuration files originally by Rob McCool.
# Changed extensively for the Debian package by Daniel Stone <daniel@sfarc.net>
# and also by Thom May <thom@debian.org>.

# ServerRoot: The top of the directory tree under which the server's
# configuration, error, and log files are kept.
#
# NOTE! If you intend to place this on an NFS (or otherwise network)
# mounted filesystem then please read the LockFile documentation
# (available at <URL:http://www.apache.org/docs/mod/core.html#lockfile>);
# you will save yourself a lot of trouble.

ServerRoot "/etc/apache2"

# The LockFile directive sets the path to the lockfile used when Apache
# is compiled with either USE_FCNTL_SERIALIZED_ACCEPT or
# USE_FLOCK_SERIALIZED_ACCEPT. This directive should normally be left at
# its default value. The main reason for changing it is if the logs
# directory is NFS mounted, since the lockfile MUST BE STORED ON A LOCAL
# DISK. The PID of the main server process is automatically appended to
# the filename.

LockFile /var/lock/apache2/accept.lock

# PidFile: The file in which the server should record its process
# identification number when it starts.

PidFile /var/run/apache2.pid

# Timeout: The number of seconds before receives and sends time out.

Timeout 300

# KeepAlive: Whether or not to allow persistent connections (more than
# one request per connection). Set to "Off" to deactivate.

KeepAlive On

# MaxKeepAliveRequests: The maximum number of requests to allow
# during a persistent connection. Set to 0 to allow an unlimited amount.
# We recommend you leave this number high, for maximum performance.

MaxKeepAliveRequests 100

# KeepAliveTimeout: Number of seconds to wait for the next request from the
# same client on the same connection.

KeepAliveTimeout 15

##
## Server-Pool Size Regulation (MPM specific)
##

# prefork MPM
# StartServers ......... number of server processes to start
# MinSpareServers ...... minimum number of server processes which are kept spare
# MaxSpareServers ...... maximum number of server processes which are kept spare
# MaxClients ........... maximum number of server processes allowed to start
# MaxRequestsPerChild .. maximum number of requests a server process serves
<IfModule prefork.c>
StartServers 5
MinSpareServers 5
MaxSpareServers 10
MaxClients 150
MaxRequestsPerChild 0
</IfModule>

# pthread MPM
# StartServers ......... initial number of server processes to start
# MaxClients ........... maximum number of server processes allowed to start
# MinSpareThreads ...... minimum number of worker threads which are kept spare
# MaxSpareThreads ...... maximum number of worker threads which are kept spare
# ThreadsPerChild ...... constant number of worker threads in each server process
# MaxRequestsPerChild .. maximum number of requests a server process serves
<IfModule worker.c>
StartServers 2
MaxClients 150
MinSpareThreads 25
MaxSpareThreads 75
ThreadsPerChild 25
MaxRequestsPerChild 0
</IfModule>

# perchild MPM
# NumServers ........... constant number of server processes
# StartThreads ......... initial number of worker threads in each server process
# MinSpareThreads ...... minimum number of worker threads which are kept spare
# MaxSpareThreads ...... maximum number of worker threads which are kept spare
# MaxThreadsPerChild ... maximum number of worker threads in each server process
# MaxRequestsPerChild .. maximum number of connections per server process (then it dies)
<IfModule perchild.c>
NumServers 5
StartThreads 5
MinSpareThreads 5
MaxSpareThreads 10
MaxThreadsPerChild 20
MaxRequestsPerChild 0
AcceptMutex fcntl
</IfModule>

User www-data
Group www-data

# The following directives define some format nicknames for use with
# a CustomLog directive (see below).
LogFormat "%h %l %u %t "%r" %>s %b "%{Referer}i" "%{User-Agent}i"" combined
LogFormat "%h %l %u %t "%r" %>s %b" common
LogFormat "%{Referer}i -> %U" referer
LogFormat "%{User-agent}i" agent

# Global error log.
ErrorLog /var/log/apache2/error.log

# Include module configuration:
Include /etc/apache2/mods-enabled/*.load
Include /etc/apache2/mods-enabled/*.conf

# Include all the user configurations:
Include /etc/apache2/httpd.conf

# Include ports listing
Include /etc/apache2/ports.conf

# Include generic snippets of statements
Include /etc/apache2/conf.d/[^.#]*

#Let's have some Icons, shall we?
Alias /icons/ "/usr/share/apache2/icons/"
<Directory "/usr/share/apache2/icons">
Options Indexes MultiViews
AllowOverride None
Order allow,deny
Allow from all
</Directory>

# Set up the default error docs.
#
# Customizable error responses come in three flavors:
# 1) plain text 2) local redirects 3) external redirects
#
# Some examples:
#ErrorDocument 500 "The server made a boo boo."
#ErrorDocument 404 /missing.html
#ErrorDocument 404 "/cgi-bin/missing_handler.pl"
#ErrorDocument 402 http://www.example.com/subscription_info.html
#

#
# Putting this all together, we can Internationalize error responses.
#
# We use Alias to redirect any /error/HTTP_<error>.html.var response to
# our collection of by-error message multi-language collections. We use
# includes to substitute the appropriate text.
#
# You can modify the messages' appearance without changing any of the
# default HTTP_<error>.html.var files by adding the line;
#
# Alias /error/include/ "/your/include/path/"
#
# which allows you to create your own set of files by starting with the
# /usr/local/apache2/error/include/ files and
# copying them to /your/include/path/, even on a per-VirtualHost basis.
#

<IfModule mod_negotiation.c>
<IfModule mod_include.c>
Alias /error/ "/usr/share/apache2/error/"

<Directory "/usr/share/apache2/error">
AllowOverride None
Options IncludesNoExec
AddOutputFilter Includes html
AddHandler type-map var
Order allow,deny
Allow from all
LanguagePriority en es de fr
ForceLanguagePriority Prefer Fallback
</Directory>

ErrorDocument 400 /error/HTTP_BAD_REQUEST.html.var
ErrorDocument 401 /error/HTTP_UNAUTHORIZED.html.var
ErrorDocument 403 /error/HTTP_FORBIDDEN.html.var
ErrorDocument 404 /error/HTTP_NOT_FOUND.html.var
ErrorDocument 405 /error/HTTP_METHOD_NOT_ALLOWED.html.var
ErrorDocument 408 /error/HTTP_REQUEST_TIME_OUT.html.var
ErrorDocument 410 /error/HTTP_GONE.html.var
ErrorDocument 411 /error/HTTP_LENGTH_REQUIRED.html.var
ErrorDocument 412 /error/HTTP_PRECONDITION_FAILED.html.var
ErrorDocument 413 /error/HTTP_REQUEST_ENTITY_TOO_LARGE.html.var
ErrorDocument 414 /error/HTTP_REQUEST_URI_TOO_LARGE.html.var
ErrorDocument 415 /error/HTTP_SERVICE_UNAVAILABLE.html.var
ErrorDocument 500 /error/HTTP_INTERNAL_SERVER_ERROR.html.var
ErrorDocument 501 /error/HTTP_NOT_IMPLEMENTED.html.var
ErrorDocument 502 /error/HTTP_BAD_GATEWAY.html.var
ErrorDocument 503 /error/HTTP_SERVICE_UNAVAILABLE.html.var
ErrorDocument 506 /error/HTTP_VARIANT_ALSO_VARIES.html.var

</IfModule>
</IfModule>

DirectoryIndex index.html index.cgi index.pl index.php index.xhtml

# UserDir is now a module
#UserDir public_html
#UserDir disabled root

#<Directory /home/*/public_html>
# AllowOverride FileInfo AuthConfig Limit
# Options Indexes SymLinksIfOwnerMatch IncludesNoExec
#</Directory>

AccessFileName .htaccess

<Files ~ "^.ht">
Order allow,deny
Deny from all
</Files>

UseCanonicalName On

TypesConfig /etc/mime.types
DefaultType text/plain

HostnameLookups Off

IndexOptions FancyIndexing VersionSort

AddIconByEncoding (CMP,/icons/compressed.gif) x-compress x-gzip

AddIconByType (TXT,/icons/text.gif) text/*
AddIconByType (IMG,/icons/image2.gif) image/*
AddIconByType (SND,/icons/sound2.gif) audio/*
AddIconByType (VID,/icons/movie.gif) video/*

# This really should be .jpg.

AddIcon /icons/binary.gif .bin .exe
AddIcon /icons/binhex.gif .hqx
AddIcon /icons/tar.gif .tar
AddIcon /icons/world2.gif .wrl .wrl.gz .vrml .vrm .iv
AddIcon /icons/compressed.gif .Z .z .tgz .gz .zip
AddIcon /icons/a.gif .ps .ai .eps
AddIcon /icons/layout.gif .html .shtml .htm .pdf
AddIcon /icons/text.gif .txt
AddIcon /icons/c.gif .c
AddIcon /icons/p.gif .pl .py
AddIcon /icons/f.gif .for
AddIcon /icons/dvi.gif .dvi
AddIcon /icons/uuencoded.gif .uu
AddIcon /icons/script.gif .conf .sh .shar .csh .ksh .tcl
AddIcon /icons/tex.gif .tex
AddIcon /icons/bomb.gif core

AddIcon /icons/back.gif ..
AddIcon /icons/hand.right.gif README
AddIcon /icons/folder.gif ^^DIRECTORY^^
AddIcon /icons/blank.gif ^^BLANKICON^^


# This is from Matty J's patch. Anyone want to make the icons?
#AddIcon /icons/dirsymlink.jpg ^^SYMDIR^^
#AddIcon /icons/symlink.jpg ^^SYMLINK^^

DefaultIcon /icons/unknown.gif

ReadmeName README.html
HeaderName HEADER.html

IndexIgnore .??* *~ *# HEADER* RCS CVS *,t

AddEncoding x-compress Z
AddEncoding x-gzip gz tgz

AddLanguage da .dk
AddLanguage nl .nl
AddLanguage en .en
AddLanguage et .et
AddLanguage fr .fr
AddLanguage de .de
AddLanguage el .el
AddLanguage it .it
AddLanguage ja .ja
AddLanguage pl .po
AddLanguage ko .ko
AddLanguage pt .pt
AddLanguage no .no
AddLanguage pt-br .pt-br
AddLanguage ltz .ltz
AddLanguage ca .ca
AddLanguage es .es
AddLanguage sv .se
AddLanguage cz .cz
AddLanguage ru .ru
AddLanguage tw .tw
AddLanguage zh-tw .tw

LanguagePriority en da nl et fr de el it ja ko no pl pt pt-br ltz ca es sv tw


#AddDefaultCharset ISO-8859-1

AddCharset ISO-8859-1 .iso8859-1 .latin1
AddCharset ISO-8859-2 .iso8859-2 .latin2 .cen
AddCharset ISO-8859-3 .iso8859-3 .latin3
AddCharset ISO-8859-4 .iso8859-4 .latin4
AddCharset ISO-8859-5 .iso8859-5 .latin5 .cyr .iso-ru
AddCharset ISO-8859-6 .iso8859-6 .latin6 .arb
AddCharset ISO-8859-7 .iso8859-7 .latin7 .grk
AddCharset ISO-8859-8 .iso8859-8 .latin8 .heb
AddCharset ISO-8859-9 .iso8859-9 .latin9 .trk
AddCharset ISO-2022-JP .iso2022-jp .jis
AddCharset ISO-2022-KR .iso2022-kr .kis
AddCharset ISO-2022-CN .iso2022-cn .cis
AddCharset Big5 .Big5 .big5
# For russian, more than one charset is used (depends on client, mostly):
AddCharset WINDOWS-1251 .cp-1251 .win-1251
AddCharset CP866 .cp866
AddCharset KOI8-r .koi8-r .koi8-ru
AddCharset KOI8-ru .koi8-uk .ua
AddCharset ISO-10646-UCS-2 .ucs2
AddCharset ISO-10646-UCS-4 .ucs4
AddCharset UTF-8 .utf8

AddCharset GB2312 .gb2312 .gb
AddCharset utf-7 .utf7
AddCharset utf-8 .utf8
AddCharset big5 .big5 .b5
AddCharset EUC-TW .euc-tw
AddCharset EUC-JP .euc-jp
AddCharset EUC-KR .euc-kr
AddCharset shift_jis .sjis

#AddType application/x-httpd-php .php
#AddType application/x-httpd-php-source .phps

AddType application/x-tar .tgz

# To use CGI scripts outside /cgi-bin/:
#
#AddHandler cgi-script .cgi

# To use server-parsed HTML files
#
<FilesMatch ".shtml(..+)?$">
SetOutputFilter INCLUDES
</FilesMatch>

# If you wish to use server-parsed imagemap files, use
#
#AddHandler imap-file map

BrowserMatch "Mozilla/2" nokeepalive
BrowserMatch "MSIE 4.0b2;" nokeepalive downgrade-1.0 force-response-1.0
BrowserMatch "RealPlayer 4.0" force-response-1.0
BrowserMatch "Java/1.0" force-response-1.0
BrowserMatch "JDK/1.0" force-response-1.0

#
# The following directive disables redirects on non-GET requests for
# a directory that does not include the trailing slash. This fixes a
# problem with Microsoft WebFolders which does not appropriately handle
# redirects for folders with DAV methods.
#

BrowserMatch "Microsoft Data Access Internet Publishing Provider" redirect-carefully
BrowserMatch "^WebDrive" redirect-carefully
BrowserMatch "^gnome-vfs" redirect-carefully
BrowserMatch "^WebDAVFS/1.[012]" redirect-carefully

# Allow server status reports, with the URL of http://servername/server-status
# Change the ".your_domain.com" to match your domain to enable.
#
#<Location /server-status>
# SetHandler server-status
# Order deny,allow
# Deny from all
# Allow from .your_domain.com
#</Location>

# Allow remote server configuration reports, with the URL of
# http://servername/server-info (requires that mod_info.c be loaded).
# Change the ".your_domain.com" to match your domain to enable.
#
#<Location /server-info>
# SetHandler server-info
# Order deny,allow
# Deny from all
# Allow from .your_domain.com
#</Location>

# Enables SSI
Options +Includes

LoadModule layout_module /usr/lib/apache2/modules/liblayout.so

<IfModule mod_rewrite.c>
RewriteEngine on
RewriteCond %{HTTP_REFERER} ^$
RewriteCond %{HTTP_USER_AGENT} ^$
RewriteCond %{REQUEST_URI} ^/$
RewriteRule ^/.* http://%{REMOTE_ADDR}/ [L,E=nolog:1]
</IfModule>

# Include the virtual host configurations:
Include /etc/apache2/sites-available/[^.#]*
And here's my "httpd.conf" file:

Code:
# This is here for backwards compatability reasons and to support
# installing 3rd party modules directly via apxs2, rather than
# through the /etc/apache2/mods-{available,enabled} mechanism.
#
#LoadModule mod_placeholder /usr/lib/apache2/modules/mod_placeholder.so
<VirtualHost 66.150.225.201:80>

#
#User vu2004
#Group vu2004
#

#
#SuexecUserGroup vu2004 vu2004
#

ServerAdmin todd@datacomponents.net
DocumentRoot /var/www

ServerName xetaspace.net
ServerAlias www.xetaspace.net xetaspace.net

ErrorLog /var/log/apache2/users/xetaspace.net-error.log
TransferLog /var/log/apache2/users/xetaspace.net-access.log

# httpd dmn entry cgi support BEGIN.
# httpd dmn entry cgi support END.

# httpd dmn entry PHP2 support BEGIN.
php_admin_value open_basedir "/var/www/:/usr/share/php/:/tmp/"
# httpd dmn entry PHP2 support END.

<Directory /var/www>
# httpd dmn entry PHP support BEGIN.
# httpd dmn entry PHP support END.
Options Indexes Includes FollowSymLinks MultiViews
AllowOverride All
Order allow,deny
Allow from all
</Directory>

</VirtualHost>

I am on the end of my rope with Apache and feel like just formatting the server and reinstalling Apache. Which reminds me, I did try using apt-get to remove and install Apache again but nothing worked.

View 6 Replies View Related

Apache Not Working With This Error

Apr 2, 2007

*** glibc detected *** double free or corruption (fasttop): 0x09f9f508 ***
*** glibc detected *** double free or corruption (fasttop): 0x0949e508 ***
*** glibc detected *** double free or corruption (fasttop): 0x08a8b508 ***

What does this mean>? i tried rebooting and restarting.. but no go..

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







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