Apache Crash When Adding Sub-domains

Jun 2, 2015

We have an ongoing problem with Plesk on 1and1 dedicated servers.We host around 80 websites, all of which are very light and have relatively low traffic. When we get to setting up around the 70th website and create a new sub-domain, Apache crashes with the error:

Template_Exception: Can not restart web server:
file: /usr/local/psa/admin/plib/Service/Driver/Web/Server/Apache.php
line: 104
code: 0

We then run "bootstrapper.sh repair" to get Apache back online. But can't create any new sub domains, without the same issue occuring. With each server, 1and1 raise a ticket with Parallels, who log in and fix the issue. But then Following the Parallels fix, the server runs slowly, sometime throwing up 502 errors etc, which nobody is able to fix, and again, we have to move servers.We have just hit exactly the same issue on our 3rd and final 1and1 server.

View 1 Replies


ADVERTISEMENT

Adding Multiple Domains

Jun 28, 2009

I'm using webmin and I was able to setup the dns and domain but the problem is when I add a 2nd domain it gets redirected to my main domain.

View 9 Replies View Related

Adding Google Adsense For Domains

Feb 19, 2009

Since they had opened it up to everybody, I am adding Google Adsense for domains to one of my spare domain names. I am unable to edit my A and CNAME records myself, so always just email my host to do it. The setup guide is here and my host is having problems.

Google wants you to setup 4 different A records, but my host claims they can only do one on a shared linux server running BIND DNS.

Is this just a limitation of using shared hosting or are we missing something obvious? Why can I not just add one of the A records and miss out the other three?

View 2 Replies View Related

Adding RBL Domains To Exim.conf

Aug 6, 2008

My server runs on cPanel

Any of you guys can suggest what kind of RBL domains that is recommended to reject spam mails directly?

View 1 Replies View Related

Plesk 12.x / Linux :: White Page After Adding New Domains

Feb 5, 2015

i registered some new domains and wanted to add them via Plesk. Before i did that i got the stanard Plesk default page saying that i have to add the domains via plesk as usual.

When i did that the domain switched to a white page and is not able to load .html pages, i can load a phpinfo.php or install wordpress etc. but when i try to load a simple .html file with css or something, i only get a whitepage..

i dont know why this is happening, other domains from december are working fine, new ones wont. the error.logs are empty and even after a whole server restart it wont work.I´m using Ubuntu 14.04 LTS Server 64bit + Plesk 12.0.18

View 3 Replies View Related

Apache Crash

Nov 23, 2008

i have the following server specs :-

Processor Intel Quad-Core Xeon X3323 2.5GHz/2x6MB 1066FSB
RAM 4GB 667MHz Dual Rank ECC Memory (4X1GB)

i have some sites vb forums / proxy sites / file hosting site / tube sites , all together some 10-12K visitors a day , i am using xcache , but still apache is crashing many times ,what should i do , i have asked platinum server management guys, they disable logs , suexec but still no luck, will increase of another 2gb of ram help me?

View 9 Replies View Related

Apache Crash

Jul 8, 2008

The Apache service is getting crash and creaing following logs

[Mon Jul 07 23:52:21 2008] [notice] child pid 12878 exit signal Segmentation fault (11)
[Mon Jul 07 23:52:21 2008] [notice] child pid 12881 exit signal Segmentation fault (11)
[Mon Jul 07 23:52:21 2008] [notice] child pid 12886 exit signal Segmentation fault (11)
[Mon Jul 07 23:52:22 2008] [notice] child pid 12859 exit signal Segmentation fault (11)
[Mon Jul 07 23:52:23 2008] [notice] child pid 12904 exit signal Segmentation fault (11)
[Mon Jul 07 23:52:23 2008] [notice] child pid 12909 exit signal Segmentation fault (11)
[Mon Jul 07 23:52:25 2008] [notice] child pid 12877 exit signal Segmentation fault (11)

Server Specification.

4GB RAM
Apache : 2.0.52
PHP : PHP 5.2.5
MySQL : 5.0.51

httpd.conf

KeepAlive Off
MaxKeepAliveRequests 50
KeepAliveTimeout 10
StartServers 16
MinSpareServers 8
MaxSpareServers 64
ServerLimit 1000
MaxClients 500
MaxRequestsPerChild 5000
ServerSignature On

my.cnf (Seprate box with 2GB RAM)

log-slow-queries = /var/log/mysql/mysql-slow.log
skip-external-locking
skip-locking
skip-innodb
skip-bdb
skip-name-resolve
max_connections = 800
max_user_connections = 800
key_buffer = 36M
key_buffer_size = 64M
myisam_sort_buffer_size = 64M
join_buffer_size = 2M
read_buffer_size = 2M
sort_buffer_size = 3M
thread_stack = 128K
table_cache = 1024
thread_cache_size = 286
interactive_timeout = 25
wait_timeout = 1800
connect_timeout = 10
max_allowed_packet = 16M
max_connect_errors = 999999
query_cache_limit = 8M
query_cache_size = 64M
query_cache_type = 1
tmp_table_size = 16M
old_passwords=1
user=mysql
quick
quote-names
max_allowed_packet = 16M
[isamchk]
key_buffer = 16M

View 7 Replies View Related

Apache Server Crash

Mar 10, 2007

The Apache server on one of my box crashed last night and the log file simply states:
[Fri Mar 09 23:51:49 2007] [notice] caught SIGTERM, shutting down

One thing puzzled me is that there are a couple of symbolic links created in Apache home directory:

lrwxrwxrwx 1 root root 25 Mar 9 23:51 build;45f23959 -> ../../usr/lib/httpd/build
lrwxrwxrwx 1 root root 19 Mar 9 23:51 logs;45f23959 -> ../../var/log/httpd

They were created around the same time when Apached stopped.

Has anyone seen similar things like this? What could be the root cause?

View 5 Replies View Related

Apache :: How To Figure Out Root Cause Of Cpanel Crash

Aug 23, 2014

Cpanel Server is crashing frequently and customer suspecting that it should be a hardware issue, what are all the logs and tools you need to check to figure out the root cause of the crash?

View 1 Replies View Related

Apache :: How To Create Dump File For Crash In Windows

Jun 19, 2014

how to create Dump File for Apache Crash in Windows.We are using Apache for Reverse Proxy with OpenAM Module for Sign-in.Apache Version : 2.4.9.0...We are very frequently facing Apache Crash Issue.

Also in logs we do not get much information.when submitted logs to ForgeRock, they asked us to look into below error and provide Crash Dump.

[Sun Jun 15 23:00:10.153908 2014] [mpm_winnt:warn] [pid 2376:tid 424] (OS 64)The specified network name is no longer available. : AH00341: winnt_accept: Asynchronous AcceptEx failed.
[Sun Jun 15 23:02:21.609557 2014] [proxy_http:error] [pid 2376:tid 6544] (OS 10060)A connection attempt failed because the connected party did not properly respond after a period of time, or established connection failed because connected host has failed to respond. : [client 10.XXX.XX.XX:XXXX] AH01095: prefetch request body failed to XX.XXX.XX.XX:XXX (teampark.sogeti.com) from XX.XXX.XX.XX (), referer: https://teampark.sogeti.com/blogs/roller-ui/authoring/weblog.do?method=create&weblog=VeckobrevIntegrationSyd&lang=sv_se

View 9 Replies View Related

Apache CentOS Crash - Core Dump Analysis And Backtrace

Nov 30, 2013

I've been seeing lots of the following error in my error_log recently, I've enabled core dumps and have managed to analyse one using gdb:

[Fri Nov 29 20:44:41.318847 2013] [core:notice] [pid 2307] AH00051: child pid 7504 exit signal Segmentation fault (11), possible coredump in /tmp/core-dump[Fri Nov 29 20:44:41.318937 2013] [core:notice] [pid 2307] AH00051: child pid 7623 exit signal Segmentation fault (11), possible coredump in /tmp/core-dump[Fri Nov 29 20:44:43.324859 2013] [core:notice] [pid 2307] AH00051: child pid 7724 exit signal Segmentation fault (11), possible coredump in /tmp/core-dump

View 2 Replies View Related

Apache :: Generate Crash Dump In Windows 2008 Server R2

Sep 5, 2014

generate crash dumps for apache 2.4.9 at the time freeze or crash in windows environment 2008 server R2.

View 2 Replies View Related

Adding IMAP To Apache/PHP

Apr 4, 2006

I installed Fedora Core 4 from the DVD included with the "Run Your Own Web Server" book. Everything went great.

Now I need to add IMAP to PHP. This has proved very difficult, as it seems that the sources are not provided. I downloaded the latest Apache and PHP and tried to build with the same configuration used to build the ones that came with the book. (Apache went fine - the module inclusions are done through the configuration files. PHP is not going well at all - I grabbed the ./configure options from a phpinfo() call, and it just barfed all over the place.)

Simple question: is there an easy way to get the IMAP into PHP without going through the recompilation?

Simple answer: Install the PHP-IMAP RPM. I sure made this a lot harder than it need to be.

View 1 Replies View Related

Adding Extension To Apache Config

Apr 20, 2009

I run a Perl/CGI script from a Web page to download some files located in a Linux server. When I click from a Windows XP on the link of the file to download via this Web page (IE), a dialog box will be displayed to ask me to "Open" or "Save" the file (.txt, .doc, .xls,...) but for some extensions like ".dat" or ".asc", the dialog box ask me to save it only and I have not an "Open" button.

I tried to configure Apache to add these extensions as text/plain by adding these lines in http.conf:

AddType text/plain .asc .txt .dat

How can I add these extensions (.dat, .asc and other extensions) to Apache configuration to be able to open it with Textpad or Notepad?

I hope that the users will be able to open it with Notepad or TextPad without saving it. I know that we can add this type directly in the stations XP but I have a lot of users and I cannot manage that. I hope to perform it from the server. I think something is wrong or missing in my AddType, AddHandler or LoadModule?

View 5 Replies View Related

Apache :: Adding To Header Requested URL

Oct 22, 2014

I am attempting to add a header a number of requested urls i.e.[URL]...

I understand that this can be achieved by

-using mod_rewrite to set an environment variable
-using mod_headers to add a header based on the existence of an environment variable.

So far I can add the a new header thus

Header add RSS_FEED_URL "Akamai-Edge-Control"

How to achieve this.

View 1 Replies View Related

Apache :: Adding Variables To Environment

Nov 25, 2014

I was trying to get the OCI8 and PDO_OCI extensions of PHP to work with Apache 2.4 and one of the things that needed to be done was to add a couple of variables to the Apache environment, but when I added these:

ORACLE_HOME="/some/path"
LD_LIBRARY_PATH="$LD_LIBRARY_PATH:$ORACLE_HOME/lib"

Apache took ORACLE_HOME fine, but LD_LIBRARY_PATH never took the values of the variables, I had to put the absolute value of them in order for it to take it.

How I can get Apache to take variables?

This is on Linux.

View 1 Replies View Related

Apache On OSX Is Adding PHP Extension Within URL - Breaking Mod Rewrite

Sep 23, 2013

I am setting up my work environment on OSX (a new macbook), and my previous setup is a Windows 7 PC. I've found that mod_rewrite is no longer working, and have found some clues why:

Typically, I want to take [URL] ....

which by mod_rewrite will get turned into [URL] ....

so far so good, and this works fine on the Windows PC.

However, I believe Apache on my macbook has something configured differently, as since it knows about the file catalog.php, it appears to update [URL] ....

BEFORE the mod_rewrite happens. Hence the mod_rewrite fails.

I am basing this on having enabled RewriteLog in httpd.conf.

Found the fix. Per stackOverflow - turns out adding the following to the .htaccess file:

Options -MultiViews stops this behavior.

Source: [URL] ....

View 1 Replies View Related

Apache :: Adding A Header To A Number Of Requested URLs

Oct 23, 2014

I am attempting to add a header to a number of requested urls i.e. domain/feeds/chicago, domain/feeds/*.I understand that this can be achieved by

•using mod_rewrite to set an environment variable
•using mod_headers to add a header based on the existence of an environment variable.

So far I can add the a new header thus Header add RSS_FEED_URL "Akamai-Edge-Control"

View 1 Replies View Related

Apache And Unkown Domains

Oct 14, 2007

What's apache behavior when asked for an unknown domain?

What happens if my browser sends a HTTP request for a domain ("host") that my apache server doesn't have?

Does apache send an error back? Maybe Error 401 Forbidden?

Actually it might depend on how apache is configured...

But what's apache behavior on default config when asked for an unkown domain name?

And how can I configure it to reply with a certain web page regardless of whether it has the requested domain or not?

I've setup my lan bind server to translate any NXD (non existent domain) as my internal web server IP. And now I need to setup this web server to reply even when it doesn't know the requested domain...

View 7 Replies View Related

Apache :: How To Point Domains To URL

Aug 6, 2013

How can get it work this:

-Part 1-
I have a website with a doman point it (as usual) when you go to domain1.com this show you /

I need point a second domain to /domains/domain2/ using alias (the url show domain2.com but if I go to domain1.com/domains/domain2/ this render the same content)

-Part 2-
Now I need point any other domains request this server or this ip to /domains/unknowndomain/ then if you go to domain3.com or domainX.com show this domain in the url bar but render domain1.com/domains/unknowndomain/

E.g.:

domain1.com render /
domain2.com render /domains/domain2
domain3.com render /domains/unknowndomain/
domain4.com render /domains/unknowndomain/
domainX.com render /domains/unknowndomain/

View 2 Replies View Related

Apache :: Redirect All Domains To Intranet

Oct 31, 2014

I have lan computer running apache2. It doesn't have access to the internet. Is there a way to redirect all website requests to the website located /var/www/ ? So if a user is on the network and trys to goto www.google.com it will redirect them to /var/www/index.html.

View 1 Replies View Related

Apache :: Load Balance Multiple Domains?

Apr 2, 2015

I am completely new to apache and I had the load balancer set up for a single domain that was working perfectly fine, but when it came to multiple domains i couldn't, for the life of me, figure out what to do.

There is example.com sub.example.com and otherexample.com

I had a single node set up for this but I want to experiment with the balancer. I have scratched Google and I only found broken info which couldn't explain much to me. Here are my domains

<VirtualHost *:80>
DocumentRoot "/var/www/domain.com"
ServerName domain.com
</VirtualHost>

[Code] ....

Any example configuration of the default file.

View 1 Replies View Related

Apache :: How To Keep Google From Indexing Redirect Domains

Jan 19, 2015

I have five domains redirecting to my main site. I originally setup these redirect domains because many people in my target demographic are not very computer literate, and I worried they would mis-spell or mis-type the site name. I want to do what Google does with gogle.com and their other domains.

exampledomains.com <-- Main Site
exampledomains.net
exampledomains.org
exampledomain.com
exampledomain.net
exampledomain.org

Now I'm seeing that Google is indexing about 3000 results for each redirect domain, and I'm worried it's going to hurt my SEO.

My host setup the domains with the same IP as my main site, then put non-masking redirects in the .htaccess. The sites do not have their own accounts on the server, so I can't setup a separate htaccess or robots.txt as their presently configured. How should I set this up? 

View 5 Replies View Related

Apache :: Setting Up Domains And Subdomains - Virtual Host

May 31, 2014

I am trying to set up domains and subdomains, on my webserver, however the domains are resolving, but when accessing a subdomain I get a 500 internal server error, permissions on files are the same on both domain and sub domain level.

My virtual host files looks like this for domains and for the subdomains, and I am using Apache 2.4.7, on an ubuntu 14.04 running on a rackspace cloud server.

Domains:

<virtualhost *:80>
ServerAdmin mail@mail.mail
ServerName domain.com
ServerAlias www.domain.com

[Code] ....

Why it works on domains, and not the subdomains?

View 1 Replies View Related

Parked Domains Show Default Apache Page Even Tho They Have DNS Entries

Jun 3, 2008

I have domains parked on a subdomain. Since i updated the apache configuration with cPanel the parked domains just show the default apache configuration. The domain shows up under parked domains. I can delete the domain and readd then it works. However, that isn't a good option cause there are 100+ domains.

View 6 Replies View Related

Multiple Domains On A Dedicated Server, Plesk, Users And Apache

Jul 1, 2008

In my old server (VPS) I had my dir structure as:

sitea.com was pointing to
/home/me/public_html/sitea

siteb.com was pointing to
/home/me/public_html/siteb

On my new server, I have root permissions and used Plesk to create two domains sitea.com and siteb.com . Now plesk asks for a user to be created for each domain, so created usera and userb for sitea and siteb respectively.

Now as root on my server I created the dir /home/me/ and untarred the whole backup from old server to new server and I have dirs :

/home/me/public_html/sitea and /home/me/public_html/siteb

In apache configuration in file:
httpd.include_sitea under
dir /var/www/vhosts/sitea.com/conf/httpd.include

I changed the document root to /home/me/public_html/sitea

So I thought I am all set. But it does not work. When I try sitea.com in the browser it works but for all subdirs, for eg sitea.com/images it says Access denied.

This is because the dirs I created are owned by root.

So the owner of /home/me/public_html/sitea needs to be usera for this to work ?

Again for siteb to work I need to change the owner of /home/me/public_html/siteb to userb ?

This will be painful ? At least I should be able to change the owner of /home/me/public_html/ to one owner and ensure all sites under that work fine. How do I do that ?

I think the problem is clear by now. Its that I want all my sites to work off from .../public_html/ sub dirs.

View 2 Replies View Related

Apache :: Will Editing HTAccess File In Cpanel Effect All Wordpress Domains And Subdomains

Mar 26, 2014

I added the following to my cpanel .htaccess file on my hosting account:

<FilesMatch ".pdf$">header set x-robots-tag: noindex
</FilesMatch>

This was to stop Google from crawling and indexing my PDFs, will this work accross all my addon domains and subdomains (which are wordpress) on my hosting account or do I need to take extra measure?

View 4 Replies View Related







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