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.
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?
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
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?
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:
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?
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
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.
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?
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:
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.
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:
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...
-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/
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.
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
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?
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.
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.
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.
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?