Apache Is Running, Site Is Down

Oct 28, 2008

All my sites, Cpanel and WHM are down, yet httpd is up and running. Any idea as to how I should go about troubleshooting this issue?

View 11 Replies


ADVERTISEMENT

Running A Site With On Db From Two Cpanels

Apr 16, 2009

I am having a site developed that will have a "front end" - ie the actual website with a login members area etc. The "back end" will be a set of scripts that work behind the scenes, including a bot that visits other sites and passes info to those sites.

The concern I have is, if I put the whole lot on one Cpanel, and then it gets whacked by a surge of traffic etc, the "back end" will crash as well.

My question is, would it be better to host the site itself on one cpanel account, but store the Db and the back end scripts on another cpanel, both on the same server. Then even if the site cpanel maxes out or crashes, the processes will continue to run? The site itself would also need to access the Db stored on the second cpanel.

View 2 Replies View Related

Running A File Hosting Site

Sep 22, 2008

going to be starting a file hosting site, i know that the main problem on these sort of sites for the owners is Bandwith and HD space. Just want to know some perhaps some advice on how to run this kind of business as far as the hosting part of it goes.

Do i just keep purchasing servers lets say at midphase for example they offer 10TB 250 Gigs of hdspace at 200 a month, so if i go over do i just keep purchasing servers and then load balance the site across all the servers i get? is that the basics ?

When sites start to consume massive amounts of bandwidth is their cheaper alternatives then just going with the normal BW that hosts offer, like working out deals with certain companies that specialize in giving BW deals, would CDN networks be an option?

View 14 Replies View Related

FTP, SSH, Httpd Status Is Running. But Why Can't Access The Site

Oct 22, 2009

I can access FTP, SSH and httpd is showed as running when i check with 'httpd status'. Memory ram has half of them left(except that swap is 0,0).

I can't access my site via browser

Why tried restarting
[root@web2 ~]# service httpd start
Starting httpd: (98)Address already in use: make_sock: could not bind to address [::]:80
(98)Address already in use: make_sock: could not bind to address 0.0.0.0:80
no listening sockets available, shutting down
Unable to open logs
[FAILED]
[root@web2 ~]#

View 11 Replies View Related

Site Running In Multiple Server Issues

Feb 11, 2007

Current Status

My main website is a dating/magazine/community site.

I use server ONE for as my main server for:

nameserver
mail
apache - php
mysql

This server uses FreeBSD with CPanel/WHM
Server ONE load averages are about 1-1.5

A year ago I got another server (server TWO) to host a php chat script, and unload the main server. This server hasn't a domain attached to it and I'm using it through its IP.

This server runs:
apache - php
mysql

And it also uses FreeBSD but with Webmin.

The load averages for Server TWO are about 0.20.

Recently I transfered all the images of Server ONE to server TWO, with a good result for loads on server ONE.

What I want to doSome users of the site complain that they can't see any images of the site due to IP based images src.

So I want to set up a redirection so images.example.com to redirect transparently to the other server.

When I tried to setup a subdomain redirection through Cpanel, I just got again the IP of the other server.

Who can this be done?

If I must setup DNS stuff in server TWO, in order to achive it, can I use it also as spare nameservers for the domains hosted on Server ONE?

What else is easy to transfer to server TWO in order to unload server ONE?

View 3 Replies View Related

Mirror A Site Running Server 2003 Web Services

Dec 19, 2008

Mirror a site running server 2003 web services

I'm a network admin at a university and one of the departments is hosting their site on their own personal server running Server 2003 and Windows Web services. They've been asking me how would they go about mirroring their site in the event of a power loss intentional or otherwise. There are times during holiday periods where building maintenance will shut off power but they still want students to be able to get to their site. So they want to set up a mirror on another server in an office offsite.

I've done some research on the subject but I haven't been able to find anything dealing with mirroring Microsoft hosted sites.

View 4 Replies View Related

Apache :: CGI Not Running Under 2.4

Jan 23, 2014

I've upgrade Apache to 2.4 and the CGI that worked under 2.2 are not working. Instead of executing the CGI, it just displays them.

View 2 Replies View Related

Apache :: Running Website On VPS

May 9, 2013

I've installed apache on my windows 2008 vps . It's run and when I browse localhost , it's works fine . But when I enter the vps ip address , it says Chrome could not connect to ... , I'm sure that httpd is running on port 80 (I checked it via netstat -ao and task manage ) ....

View 1 Replies View Related

Apache :: Not Running CGIs

Feb 28, 2013

I'm not an admin, I can't make apache run cgi's, I have followed several documents in different pages without luck, I can run normal html pages but not cgi's. I only get the code displayed in screen.

View 1 Replies View Related

Running Apache On Windows Server

Oct 27, 2008

How stable is Apache for Windows XP Pro?

Can i get the mod_rewrite to work just fine?

Is this a good idea if im no linux buff, or should i just go ISS?

View 8 Replies View Related

How To Keep Number Of Apache Running Processes Down

Mar 30, 2007

I have small issue with load speed of pages when number of apache running processes goes over +-310, during peak traffic of day. IE: They load really slow.

Here's pic of what I mean:

=> [url]

Only thing that fixes it temporarily (at least until peak traffic ends) is to stop either httpd or mysql for several seconds, as everything cools down, then start it back up. Stop/starting mysql usually has longer terms temporary fix.

Anyway, would you have any ideas on what to configure or change within the system in order to keep the processes under 300?

The load is normal. Even at load 40, pages are blistering fast, as long as processes are under 300. So it's got nothing to do with load.

View 8 Replies View Related

Apache Always Fail (when Cpbackup Is Running)

Jul 11, 2007

My server was running a cronjob backup, and my apache always fail

root@b# service httpd restart
/etc/init.d/httpd restart: httpd not running, trying to start
/etc/init.d/httpd restart: httpd started
root@b# service httpd restart
/etc/init.d/httpd restart: httpd not running, trying to start
/etc/init.d/httpd restart: httpd started
root@b# service httpd restart
/etc/init.d/httpd restart: httpd not running, trying to start
/etc/init.d/httpd restart: httpd started

I can only restart them on my CPanel WHM

Attempting to restart httpd
Waiting for httpd to restart.... . . . . . . . . . . finished.

httpd status
root 5805 0.8 0.9 21092 19504 ? S 22:39 0:00 /usr/local/cpanel/whostmgr/bin/whostmgr ./reshttpd
root 1012 4.0 0.6 23348 13828 ? Ss 22:39 0:00 /usr/local/apache/bin/httpd -DSSL

httpd started ok

root@b# service httpd restart
/etc/init.d/httpd restart: httpd restarted

View 14 Replies View Related

Apache: Httpd Not Running, Trying To Start

Jul 22, 2007

Code:
[root@serwer /]# httpd restart
/usr/sbin/httpd restart: httpd not running, trying to start
/usr/sbin/httpd restart: httpd could not be started

Code:
[root@serwer /]# httpd status
Looking up localhost
Making HTTP connection to localhost
Alert!: Unable to connect to remote host.
lynx: Can't access startfile [url]

View 14 Replies View Related

Running Lighttpd Along Side Apache

Apr 19, 2007

How do I configure Lighttpd to serve images/javascript/css files that are littered about my websites? Can I just input the paths of all the directories that I want Lighttpd to serve from?

For example, I have 4 separate websites with each having a message board, main page etc... Could I have lighty serve the files from:

/var/www/html/site1/images
/var/www/html/site2/images
/var/www/html/site3/images
/var/www/html/site4/images
/var/www/html/site1/javascript
etc....

and have Apache serve the files from all the other directories?

View 8 Replies View Related

Apache :: Running Htcacheclean For The First Time

Mar 29, 2015

We run httpd-2.2.3 on CentOS 5.8 with caching enable. The server has been running for 4 years, but htcacheclean has never been run. The cache folder is about 10GB now (a "du" on the folder takes a very long time to complete). Should we expect any problem when running htcacheclean for a first time such as server slowing or freezing, ... Furthermore, in case of freezing, if we disable caching and restart the server, do we expect any problems? We did a few test on our test servers, and everything was fine, but our test servers do not have a large cache folder.

View 7 Replies View Related

Difference Between Running PHP Using Fast CGI Or As An Apache Module?

Mar 10, 2008

I have been a web developer using PHP for years now, and my work laptop runs CentOS with PHP5 as an Apache Module. This suits me just fine for development, but now I want to setup a web server that runs PHP 4.4.8 and PHP 5.2.5 and offer hosting to people. I know PHP4 is very old, but I am looking to offer my users the freedom of choice, as there are still third party applications out there that may need to be run on PHP4.

I will want PHP 5 to be the default, and allow PHP 4 to be used if either the file extension is .php4, or they have a line in their .htaccess file. I have seen various tutorials in search engine results saying to run both, I can either do one of the following:

1. Install PHP5 as a module, and run PHP4 using FastCGI
2. Install PHP5 and PHP4 and run both using FastCGI
3. Install PHP4 as a module, and run PHP5 using FastCGI

In the future I will also be looking to support PHP6 once a stable version has been released, though that will probably be optional to begin with and require a line in the .htaccess file too - like PHP4. I will be using Apache 2.2.8 on CentOS 5.1. I am also looking to install Ruby on Rails and Django too, which I think use FastCGI.

What's the difference between running as an Apache Module, or using FastCGI? This will be for a shared hosting environment so performance over lots of connections, stability and security are my concerns. Should I run everything using FastCGI, if not, would the default PHP version be better off installed as an Apache Module?

View 5 Replies View Related

Apache :: Xserver Authorization Running Scripts

Feb 14, 2014

I am trying to run a simple script which brings up a gnome terminal on the user's display. I have created a perl cgi script which calls a shell script using a system call. If I run the perl cgi script from the command line, it brings up the gnome terminal correctly. If I try running the perl cgi script via the Apache web server, I get the following error in /var/log/httpd/error_log:

View 2 Replies View Related

Long Running Apache Processes In Server-status

Feb 13, 2007

I'm not sure I understand the server-status page enough to know if this is a problem or not, but I have several processes that seem to run forever, or until I restart Apache. e.g.

Code:
13-1 21045 0/697/4264 W 59.45 19641 0 0.0 43.28 274.97 66.249.66.133 www.example.com GET /wp/2005/01/ HTTP/1.1
19-1 408 1/834/1831 C 83.52 32463 0 14.8 149.66 263.48 66.249.66.133 www.example.com GET /wp/ HTTP/1.1
30-1 14416 0/430/431 W 35.19 13347 0 0.0 37.42 37.44 66.249.66.133 www.example.com GET /wp/category/issues/ HTTP/1.1

They are almost always on a single domain (there's about 100 on the server) that's a Wordpress site. These processes are also almost always a search engine.

On the rare case I see them running on other domains on the same server they're always on Wordpress sites.

The longer the processes run, the more processor/memory they use, the more they slow the server down.

It seems to have just started in the past few weeks, I've had the site there for a couple years.

View 2 Replies View Related

Apache :: Accessing Host Running On Virtual Machine

Jul 25, 2014

I have an Apache server running on a virtual machine and I want to be able to access the pages it serves from a browser running on the host OS.

I am using OracleVM virtualbox as my VM platform.
I am using windows 7 as my host OS.
I am using ubuntu as my guest OS.

I have managed to set up a virtual host so that it works from browsers running in the guest OS (ubuntu)

But I cannot get it to serve these pages to a browser running in the host OS windows.

The config file in the apache2/sites-available and apache2/sites-enabled has the following config for the virtual host I am trying to access.

<VirtualHost *:80>
ServerAdmin webmaster@localhost
ServerName testsite
DocumentRoot /var/newserver
<Directory />
Options FollowSymLinks

[Code] ....

View 1 Replies View Related

Trojan Activity - Running Perl With High CPU Usage, With User Apache

Sep 5, 2007

Running programs named Perl with Heavy CPU usage, with the ownership of user apache.

We found the problem on Fedora 3 and Fedora 6.

In our case, it was the result of a Trojan activity.

Quick Solution

Check the cron jobs of user apache
crontab -u apache -e
*/1 * * * * perl /tmp/.tmp/tmpfile
delete the cronjob entry.
Also delete the file /tmp/.tmp/tmpfile
also added "apache" to the file /etc/cron.deny

That's all

Problem and solution in detail....

View 1 Replies View Related

Plesk 11.x / Linux :: PHP Support 11.5.30 - Cannot Change Or Choose Running As Apache Module Or CGI Application

Jul 17, 2015

Hosting Settings

There is no php support - so i canĀ“t change or choose running as apache module or cgi application (s. screenshot)...

OS Ubuntu 12.04.5 LTS

Panel version 11.5.30 Update #50, last updated at July 17, 2015 03:46 AM

View 4 Replies View Related

Apache 1.3 For One Site, Two Cgi-bin Folders

Jul 12, 2007

my server has just one site, apache conf has such a line:

Code:
ScriptAlias /cgi-bin/ "/usr/local/apache/htdocs/cgi-bin/"
and

Code:
<Directory "usr/local/apache/htdocs/cgi-bin">
AllowOverride None
Options None
Order allow,deny
Allow from all
</Directory>
then, my cgi script may run well under the said folder,

/usr/local/apache/htdocs/cgi-bin

but I have another script need to be setup another cgi-bin under its own folder below htdocs folder, like,

/usr/local/apache/htdocs/anotherscript/cgi-bin

however, when I run the said script in browser:

Code:
http://www.mydomain.com/anotherscript/cgi-bin/abc.cgi
the browser just shows source codes, instead of running it. I am guessing something wrong in httpd.conf,

may I know how to set apache httpd.conf to meet my requirement?

View 3 Replies View Related

Apache :: Two Domain Names With Single Site

Jul 7, 2015

I am currently running Apache on Ubuntu 14.04. I tried adding an alias, but it doesn't do exactly what I need. I have a single site and I need to point two domain names to it. The thing is, if someone types in www.site1.com I want it to show the url as www.site1.com and if someone types in www.site2.com I want it to continue to show www.site2.com in the URL. Right now if they type in www.site1.com it shows the first site name as the URL, but if they type in www.site2.com it changes the URL to www.site1.com. Below is what I have as my virtual host in my conf file currently.

OS - Ubuntu 14.04
Apache/2.4.7 (Ubuntu)

View 1 Replies View Related

Apache :: Testing New Site And Then Migrating Into Production

Jan 30, 2013

I'm not sure if i posted this in the right place - but couldn't find a better place. Here is my problem.

I am converting my current site [URL] ... from one software to another. I am testing it on a temporary domain name [URL] .....

Once i finish testing i want to move the .co site to the .com site and i don't know the best way to do this.

An obvious way would be to move all of the files and databases to the .com site after first deleting all of the files at the .com site. I would also have to do a few tweaks to the software to make sure it's pointing to the .com and not .co where iI tested.

but this method seems clunky.

Is there a way to just point the .com to the .co when I'm ready to 'move' and therefore nothing would actually get 'moved'?? both the .com and .co are on the same VPS.

View 5 Replies View Related

Apache :: White Pages For Enabled Site And Localhost

Jan 7, 2015

I'm using Oracle's VirtualBox.My network on the virtual box is set to Bridged Adapter

apache/2.4.7
php 5.5.9
Linux/Ubuntu 14.04.1 LTS
No errors in my apache2 error.log file.

First time creating a server on a virtual box. I am not confident i understand how my computer browser access the virtual box server i created. Once i understand that i could fix my issue. Which is, I can't finding my enabled site or localhost via my browser on my computer. All i get is a white page for both. I don't even see the it works page.

I am following this book and got stuck on chapter 1: Understanding and Setting Up Our Development Environment.
link to book -- URL...

I have installed Oracle's VirtualBox, mounted Ubuntu, installed apache2 with $ sudo apt-get install apache2 -y. At this point everyone says, now go to your ip and you will see "It Works". Which i do not see. I see a white page with nothing on it. I then looked to see if the localhost /var/www/html/ index. html even exists. Which is does, i opened the file and i can see the line "It Works!".

My hosts file on my computer has ../driver/etc/hosts

127.0.0.1 localhost
192.168.56.1 magento.localhost.com

My hosts file on my Virtual box /etc/hosts

127.0.0.1 localhost
127.0.1.1unbuntu
192.168.56.1 magento.localhost.com

View 3 Replies View Related

Apache :: Httpd -S Show Two Source Of A Site When Its Config In One

Jan 31, 2014

When i do httpd -S i notice one of my sites show with 2 config source. but i just config one file for the site.

for example:

[root@apachesrv ~]# httpd -S | grep devel.site.com
default server devel.site.com (/etc/httpd/sites/000-default.site.com:1)
port 80 namevhost devel.site.com (/etc/httpd/sites/000-default.site.com:1)
port 80 namevhost devel.site.com (/etc/httpd/sites/devel.site.com:1)

the problem is the following, when i do reload and in this moment the config is bind this result, the site is blank.

Why it shows me this.

version of apache
Server version: Apache/2.2.15 (Unix)

View 1 Replies View Related

Apache :: Redirect Any Specific Page Of Site To Homepage

Feb 19, 2015

How do i redirect URL: example.com/page1 to example.com..i want to redirect any specific page of my site to homepage.

View 3 Replies View Related







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