Server Restart Direct Site To Apache Test Page

Jul 14, 2014

When I restart my server all my domains opens at apache test page. Suspending and reactivating any domain fixes all domains.

View 4 Replies


ADVERTISEMENT

Apache Test Page

Mar 19, 2007

Sometime Apache Test Page opened insted to Home page of website, also sometime Network TCP/IP error occured to same site.

I didn't change any setting of httpd.conf last period. also because this problems manily happened in countries which access internet via proxy I check site via [url] and it's working fine

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

How To Add Cron To Restart Apache Server Every Three Hours

May 5, 2008

My host is experiencing "issues" with my WordPress. It keeps going above their upper limit of open MySQL connections. So, while I am diagnosing it, I need to restart the server every few hours to avoid it going down.

How do I write a cron to restart Apache every 3 hours?

View 5 Replies View Related

Speed Of Page Loading Goes Down Some Minutes After Httpd Restart

Nov 22, 2007

Recently we have launched our new cpanel server, We have some problems on that.

When we restart httpd, all things will be good before 15 min, but after that, speed goes down to 1/10 and after some hours that will get as low as nobody can view pages on the server.

We are using cPanel latest release and CSF on CentOS4.5.

Apache 1.3.7 and PHP4.4.7 is running on the server with Zend.

View 6 Replies View Related

Apache :: Redirect Some HTM Page To WordPress Page Without Path And Query String

Jan 5, 2015

I want to permanent redirect some .html page from subdomain to main domain WordPress page,Redirect permanent /cat/FSBO76.URL....

View 1 Replies View Related

Tool To Test Web Site Capacity Levels

Nov 16, 2007

I'm trying to find a tool that will thrash a site to the break point and report where that is. This is for testing sites before they go online so that they don't go online and then drop offline because they can't handle the load.

View 1 Replies View Related

Apache :: Deny Direct Access To Images From Other Websites In HTAccess

Jan 28, 2013

I have recently had number of websites that link directly to images from my website. This is not hotlinking, it is direct server request. As an example: on the linking website there is image gallery script with thumbnails and when the visitor clicks on the thumb it calls the image from my website.

I block their IP-s in .htaccess, but it is not the best way to stop them since IP change. Is there any way, similar to anti-hotlinking, to deny such direct access to my images by domain name i.e. to allow only from my website and deny from all others. Or something else that could work in my case with .htaccess.

View 8 Replies View Related

Apache :: Mod Rewrite Rule To Disallow Direct Access To Files From Some Directory

Oct 26, 2014

in wordpress is wp-includes folder, i dont want anyone just execute file from this directory so it just serve wordpress not any malicious file be executed from there,

so i added this rule into /wp-includes/.htaccess:
RewriteRule ^(wp-includes)/.*$ ./ [NC,R=301,L]

View 2 Replies View Related

Main Site Page Display

Oct 6, 2009

About the 28th September the host that I was with decided to move servers and did not inform me of this. They tried moving my site and after 18 hours of being offline decided not move my site. It came back offline, only the main page displayed but nothing else works, if you click on anything it goes to 404 page error. Only problem is, the page is displaying data up to 23rd September.

I have a blog and a forum connected and both seem to have lost all the data from the 23rd to 28th September. I have since moved host since the previous host not only did not inform me that they were moving, they didnt even bother taking a backup. I have been with my new host for over a week now so the propogation is definitely complete. Now the problem is whenever I open my blog, it keeps pointing to 23rd September (I have added a lot of posts since then). If I refresh the page, then it will show the latest posts. This is not a problem with the forum though, it works fine.

View 14 Replies View Related

Restart Apache

Apr 23, 2008

I have 8 apache servers that is sharing one httpd.conf file... When changes made in the httpd.conf, you have you restart httpd... How can I restart all 8 servers at the same time instead of logging into each server and do it manually?

View 2 Replies View Related

Can't Restart Apache

Jul 17, 2009

We are unable to restart apache on our server, as a result no sites are accessible in the browser. Our host states we need to clear out the following files:

[root@server1 logs]# ls -lAh|grep -v ' 0 '
total 1.9G
-rw-r--r-- 1 root root 92M Jul 17 07:55 access_log
-rw-r----- 1 root root 463K Dec 9 2007 audit_log
-rw-r--r-- 1 root root 1.2G Jul 17 07:57 error_log
-rw-r--r-- 1 root root 6 Jul 17 07:42 httpd.pid
-rw-r--r-- 1 root root 92K Feb 18 2008 ssl_engine_log
-rw-r--r-- 1 root root 535M Jul 17 07:46 suexec_log
-rw-r--r-- 1 root root 10 Jul 17 03:21 suexec_log.offset
-rw------- 1 root nobody 5.6M Dec 10 2007 suphp_log

Is it ok to simply delete these files? If so, will they recreate
themselves?

View 14 Replies View Related

Apache Down - Can't Restart

May 6, 2007

I'm running Apache 2.0.52 on a CentOS 4.4 server.

Running two static sites and one CMS.

I have no trouble logging in through SSH
Also no problem accessing webmin on port 10000

I've tried to restart Apache httpd
And tried to reboot the server...

Nothing.

I recently did a Yum Update,
also removed ISPconfig - it's probably the latter thats the problem, although I haven't used it - at all - just playing around setting up PHPmyadmin, Squirrelmail and a couple of email accounts.

But the only error log output I get is that there are no virtual servers for 88.198.81.186:80 and 88.198.81.187:80 and Unable to open logs | unable to start piped log program

Since the update and removal of ISPconfig 4-5 days ago there hasn't been any issues. I haven't done anything. Yet I do think might be some of the old ISPconfig settings acting up.

View 4 Replies View Related

CPanel Welcome Page Showing For Every New Site Added Via WHM

May 31, 2008

When I add a new site via New Account in WHM and once the domain resolves, the cPanel 'Great Success' page shows. I have verified the site is resolving properly.

This is a brand new installation and the only changes I have made is I updated apache via WHM.

View 4 Replies View Related

Test Apache Configure

Oct 11, 2013

I'm working on a script to automatically install apache. Now, after the apache configure/make/make install I need to test for a successful completion. I checked the configure options but there is no flag for an unsuccessful finish.I would like to know if there is any other way than to test the command output for a successful or unsuccessful ending? I'm saving the output on a file and then grepping for an expected line. For example "creating test/ Makefile" for the configure.

View 2 Replies View Related

Cant Restart Apache Httpd

Aug 3, 2008

I am trying to restart my apache since i made changes to my php.ini file.

I tried using this command /etc/init.d/httpd restart which didnt work for me..any ideas guys? Its a basic dedicated server from a hosting company..

View 10 Replies View Related

Apache Crashes And Does Not Restart; Every Day

Jun 27, 2007

I am running CPanel and WHM, and every morning, I need to restart apache manually in order to work. Then it works for the whole day. It crashes I guess, but I don't know why. What logs do I need to check?

View 9 Replies View Related

What Would Cause Apache To Restart And Not Compile PHP

Apr 22, 2007

Today I got the devastating and heart-stopping news that all administraters fear most: "I'm looking at your website, and something's terribly wrong!!!"

The person went on to say that each page was just "filled with code ro something." When I finally saw it myself I discovered that my raw PHP pages were being served to the end user with no compilation --all of my top secret code; a real nightmare.

I went to look at the error logs and found that for several restarts Apache had not been compiling PHP.

It usually looks like this:

Quote:

[Wed Apr 18 18:35:11 2007] [notice] bandwidth monitoring enabled (mapping file: /etc/virtualhosting/mappings/apache.domainmap)
[Wed Apr 18 18:35:11 2007] [notice] Apache/1.3.27 (Unix) (Red-Hat/Linux) mod_gzip/1.3.19.1a mod_fastcgi/2.2.10 mod_jk/1.2.0 mod_perl/1.24_01 PHP/4.2.2 FrontPage/5.0.2 mod_ssl/2.8.12 OpenSSL/0.9.6b configured -- resuming normal operations
[Wed Apr 18 18:35:11 2007] [notice] suEXEC mechanism enabled (wrapper: /usr/sbin/suexec)
[Wed Apr 18 18:35:11 2007] [notice] Accept mutex: sysvsem (Default: sysvsem)
[Wed Apr 18 18:35:11 2007] [notice] FastCGI: process manager initialized (pid 16385)

But now it looked like this:

Quote:

[Sun Apr 22 04:02:18 2007] [notice] Apache/1.3.27 (Unix) (Red-Hat/Linux) mod_gzip/1.3.19.1a configured -- resuming normal operations
[Sun Apr 22 04:02:18 2007] [notice] suEXEC mechanism enabled (wrapper: /usr/sbin/suexec)
[Sun Apr 22 04:02:18 2007] [notice] Accept mutex: sysvsem (Default: sysvsem)
[Sun Apr 22 21:21:57 2007] [error] [client 209.85.60.98] File does not exist: /var/www/html/a1b2c3d4e5f6g7h8i9/nonexistentfile.php
[Sun Apr 22 21:21:57 2007] [error] [client 209.85.60.98] File does not exist: /var/www/html/adxmlrpc.php
[Sun Apr 22 21:21:57 2007] [error] [client 209.85.60.98] File does not exist: /var/www/html/adserver/adxmlrpc.php
[Sun Apr 22 21:21:57 2007] [error] [client 209.85.60.98] File does not exist: /var/www/html/phpAdsNew/adxmlrpc.php
[Sun Apr 22 21:21:57 2007] [error] [client 209.85.60.98] File does not exist: /var/www/html/phpadsnew/adxmlrpc.php
[Sun Apr 22 21:21:57 2007] [error] [client 209.85.60.98] File does not exist: /var/www/html/phpads/adxmlrpc.php
[Sun Apr 22 21:21:57 2007] [error] [client 209.85.60.98] File does not exist: /var/www/html/Ads/adxmlrpc.php
[Sun Apr 22 21:21:57 2007] [error] [client 209.85.60.98] File does not exist: /var/www/html/ads/adxmlrpc.php
[Sun Apr 22 21:21:57 2007] [error] [client 209.85.60.98] File does not exist: /var/www/html/xmlrpc.php
[Sun Apr 22 21:21:57 2007] [error] [client 209.85.60.98] File does not exist: /var/www/html/xmlrpc/xmlrpc.php
[Sun Apr 22 21:21:57 2007] [error] [client 209.85.60.98] File does not exist: /var/www/html/xmlsrv/xmlrpc.php
[Sun Apr 22 21:21:57 2007] [error] [client 209.85.60.98] File does not exist: /var/www/html/blog/xmlrpc.php
[Sun Apr 22 21:21:57 2007] [error] [client 209.85.60.98] File does not exist: /var/www/html/drupal/xmlrpc.php
[Sun Apr 22 21:21:57 2007] [error] [client 209.85.60.98] File does not exist: /var/www/html/community/xmlrpc.php
[Sun Apr 22 21:21:57 2007] [error] [client 209.85.60.98] File does not exist: /var/www/html/blogs/xmlrpc.php
[Sun Apr 22 21:21:57 2007] [error] [client 209.85.60.98] File does not exist: /var/www/html/blogs/xmlsrv/xmlrpc.php
[Sun Apr 22 21:21:57 2007] [error] [client 209.85.60.98] File does not exist: /var/www/html/blog/xmlsrv/xmlrpc.php
[Sun Apr 22 21:21:57 2007] [error] [client 209.85.60.98] File does not exist: /var/www/html/blogtest/xmlsrv/xmlrpc.php
[Sun Apr 22 21:21:57 2007] [error] [client 209.85.60.98] File does not exist: /var/www/html/b2/xmlsrv/xmlrpc.php
[Sun Apr 22 21:21:57 2007] [error] [client 209.85.60.98] File does not exist: /var/www/html/b2evo/xmlsrv/xmlrpc.php
[Sun Apr 22 21:21:57 2007] [error] [client 209.85.60.98] File does not exist: /var/www/html/wordpress/xmlrpc.php
[Sun Apr 22 21:21:57 2007] [error] [client 209.85.60.98] File does not exist: /var/www/html/phpgroupware/xmlrpc.php
[Mon Apr 23 04:02:21 2007] [notice] SIGUSR1 received. Doing graceful restart

WTH?

I could be WAAAY off base, but my first reaction was that I'd been hacked -- someone had found a way to disable PHP so they could find sensitive information in raw PHP pages. That could be totally wrong.

At any rate, even if I never learn why Apache sometimes will compile without PHP (and some other modules) without me telling it to do so, I'd like to be prepared for an embarassment like like this.

Is there any way, say, in the .htaccess file (or anywhere, anyway), I can tell Apache not to serve **ANY** pages unless the PHP module is present?

View 4 Replies View Related

Apache Restart Every 5 Minutes

Jul 28, 2007

Code:
[Sat Jul 28 21:40:09 2007] [notice] Apache/2.0.52 (Red Hat) configured -- resuming normal operations
[Sat Jul 28 21:45:08 2007] [notice] caught SIGTERM, shutting down
[Sat Jul 28 21:45:18 2007] [notice] suEXEC mechanism enabled (wrapper: /usr/sbin/suexec)
[Sat Jul 28 21:45:18 2007] [warn] RSA server certificate CommonName (CN) `plesk' does NOT match server name!?
[Sat Jul 28 21:45:18 2007] [warn] RSA server certificate CommonName (CN) `plesk' does NOT match server name!?
[Sat Jul 28 21:45:18 2007] [warn] RSA server certificate CommonName (CN) `plesk' does NOT match server name!?
[Sat Jul 28 21:45:18 2007] [warn] RSA server certificate CommonName (CN) `plesk' does NOT match server name!?
[Sat Jul 28 21:45:18 2007] [warn] RSA server certificate CommonName (CN) `plesk' does NOT match server name!?
[Sat Jul 28 21:45:18 2007] [warn] RSA server certificate CommonName (CN) `plesk' does NOT match server name!?
[Sat Jul 28 21:45:18 2007] [warn] RSA server certificate CommonName (CN) `plesk' does NOT match server name!?
[Sat Jul 28 21:45:19 2007] [notice] suEXEC mechanism enabled (wrapper: /usr/sbin/suexec)
[Sat Jul 28 21:45:19 2007] [warn] RSA server certificate CommonName (CN) `plesk' does NOT match server name!?
[Sat Jul 28 21:45:19 2007] [warn] RSA server certificate CommonName (CN) `plesk' does NOT match server name!?
[Sat Jul 28 21:45:19 2007] [warn] RSA server certificate CommonName (CN) `plesk' does NOT match server name!?
[Sat Jul 28 21:45:19 2007] [warn] RSA server certificate CommonName (CN) `plesk' does NOT match server name!?
[Sat Jul 28 21:45:19 2007] [warn] RSA server certificate CommonName (CN) `plesk' does NOT match server name!?
[Sat Jul 28 21:45:19 2007] [warn] RSA server certificate CommonName (CN) `plesk' does NOT match server name!?
[Sat Jul 28 21:45:19 2007] [warn] RSA server certificate CommonName (CN) `plesk' does NOT match server name!?
[Sat Jul 28 21:45:19 2007] [notice] Digest: generating secret for digest authentication ...
[Sat Jul 28 21:45:19 2007] [notice] Digest: done
[Sat Jul 28 21:45:19 2007] [notice] LDAP: Built with OpenLDAP LDAP SDK
[Sat Jul 28 21:45:19 2007] [notice] LDAP: SSL support unavailable
[Sat Jul 28 21:45:19 2007] [notice] mod_python: Creating 4 session mutexes based on 256 max processes and 0 max threads.
[Sat Jul 28 21:45:19 2007] [warn] RSA server certificate CommonName (CN) `plesk' does NOT match server name!?
[Sat Jul 28 21:45:19 2007] [warn] RSA server certificate CommonName (CN) `plesk' does NOT match server name!?
[Sat Jul 28 21:45:19 2007] [warn] RSA server certificate CommonName (CN) `plesk' does NOT match server name!?
[Sat Jul 28 21:45:19 2007] [warn] RSA server certificate CommonName (CN) `plesk' does NOT match server name!?
[Sat Jul 28 21:45:19 2007] [warn] RSA server certificate CommonName (CN) `plesk' does NOT match server name!?
[Sat Jul 28 21:45:19 2007] [warn] RSA server certificate CommonName (CN) `plesk' does NOT match server name!?
[Sat Jul 28 21:45:19 2007] [warn] RSA server certificate CommonName (CN) `plesk' does NOT match server name!?
[Sat Jul 28 21:45:19 2007] [notice] Apache/2.0.52 (Red Hat) configured -- resuming normal operations
[Sat Jul 28 21:50:08 2007] [notice] caught SIGTERM, shutting down
[Sat Jul 28 21:50:08 2007] [notice] suEXEC mechanism enabled (wrapper: /usr/sbin/suexec)
[Sat Jul 28 21:50:08 2007] [warn] RSA server certificate CommonName (CN) `plesk' does NOT match server name!?
[Sat Jul 28 21:50:08 2007] [warn] RSA server certificate CommonName (CN) `plesk' does NOT match server name!?
........

View 3 Replies View Related

Apache Won't Restart (FreeBSD 6.1)

Jun 9, 2007

Server runs FreeBSD 6.1 and WHM/CPanel. Everything was working as usual, no changes were being made to the server, and all of a sudden all the web sites went down. WHM and CPanel and SSH remained accessible.

Restarting Apache (HTTPD) through WHM gives an error: "httpd has failed, please contact the sysadmin."

Rebooting the server didn't help, httpd still won't restart.

Attempting to do it via SSH gives this error:

server# /etc/rc.d/init.d/httpd restart
/etc/rc.d/init.d/httpd restart: httpd not running, trying to start
Syntax error on line 210 of /usr/local/apache/conf/httpd.conf:
Cannot load /usr/local/apache/libexec/libphp4.so into server: /usr/local/lib/mysql/libmysqlclient.so.14: Undefined symbol "gethostbyname_r"
/etc/rc.d/init.d/httpd restart: httpd could not be started

# tail -f /usr/local/apache/logs/error_log
only shows some standard http errors for files not being found.

View 6 Replies View Related

Apache Restart Issue

Feb 20, 2007

I am having an issue with apache. Want to know how people are running huge forums having 700 800 users online at a time.

I am currently running a single forum having peak users upto 250, making posts and downloading files from within forum. Its running on dual opteron with 2 gig ram and its database is hosted on another cross connected dual opteron + 2 gig ram server.

Although there are enough resources, no load is there but still apache just crahsed and restarts after 4 min interval. As it seems apache gets out of resources and crashes.

how to allow apache to use more ram and cpu so that it simply don't crash.

View 8 Replies View Related

How To Restart Apache Automatically

Jan 16, 2013

How to restart apache automatic every 12 hours ?

View 6 Replies View Related

Slow Page Response With Database Driven Site

Jan 24, 2007

I have built a database driven site with PHP & MySQL. Pages download quicker on some connections than other (obviously), however this is not due to connection speed. The web host server seems to respond very slowly to my boss's network (which is on a proxy server). Could it be that this problem is related to the web host? i.e. could it be that the web host is unequipped to deal quickly with this type of network?

On my home connection (2Mbps), pages often download instantly, however occaisionally I have to wait 10-20 seconds to receive the page from the host.

Finally, could you recommend an excellent web host to use with our site? My boss wants to offer a professional service where server response is quick. We are based in the UK.

View 1 Replies View Related

How Can I Auto Restart Apache If Load >= 5

Oct 30, 2009

is there a way to automate apache restart when my server's load reached 5+ sever load?

View 8 Replies View Related

Apache/httpd Wont Restart

Jan 25, 2008

I keep trying to restart Apache but it wont restart... I run a command line to restart it, but nothing happens. Here is what I have tried:

Quote:

-bash-3.1# chroot /home/fatehost.net/runtime_layeredpanel/
fatehost:/# /etc/
bash: /etc/: is a directory
fatehost:/# /etc/init.d
bash: /etc/init.d: is a directory
fatehost:/# /etc/init.d/httpd-users
Usage: /etc/init.d/apache2 start|stop|restart|reload|force-reload
fatehost:/# /etc/init.d/httpd-users start
Starting web server: Apache2(98)Address already in use: make_sock: could not bind to address 205.209.135.132:80
no listening sockets available, shutting down
Unable to open logs
fatehost:/# /etc/init.d/httpd-users restart
Forcing reload of web server: Apache2httpd (pid 5955) already running
.
fatehost:/# /etc/init.d/httpd-users force-reload
Forcing reload of web server: Apache2.
fatehost:/# /etc/init.d/httpd force-reload
Forcing reload of web server: Apache2.
fatehost:/# /etc/init.d/httpd-users restart
Forcing reload of web server: Apache2httpd (pid 13475) already running
.
fatehost:/#
fatehost:/# /etc/init.d/httpd-users start
Starting web server: Apache2(98)Address already in use: make_sock: could not bind to address 205.209.135.132:80
no listening sockets available, shutting down
Unable to open logs
fatehost:/# /etc/init.d/httpd-users stop
Stopping web server: Apache2.
fatehost:/#
fatehost:/# /etc/init.d/httpd-users start
Starting web server: Apache2(98)Address already in use: make_sock: could not bind to address 205.209.135.132:80
no listening sockets available, shutting down
Unable to open logs
fatehost:/#
fatehost:/# sudo /etc/init.d/httpd-users stop
bash: sudo: command not found
fatehost:/# su root /etc/init.d/httpd-users restart
Forcing reload of web server: Apache2httpd (pid 20391) already running
.
fatehost:/# /etc/init.d/httpd-users reboot
Usage: /etc/init.d/apache2 start|stop|restart|reload|force-reload
fatehost:/# reboot
WARNING: could not determine runlevel - doing soft reboot
(it's better to use shutdown instead of reboot from the command line)
shutdown: timeout opening/writing control channel /dev/initctl
init: timeout opening/writing control channel /dev/initctl
fatehost:/# WARNING: could not determine runlevel - doing soft reboot
bash: WARNING:: command not found
fatehost:/# (it's better to use shutdown instead of reboot from the command line)
> shutdown: timeout opening/writing control channel /dev/initctl
> init: timeout opening/writing control channel /dev/initctl
>
fatehost:/# /home/fatehost.net/runtime_layeredpanel
bash: /home/fatehost.net/runtime_layeredpanel: No such file or directory
fatehost:/#

View 6 Replies View Related

Apache Auto Restart Many Times

Nov 13, 2008

Apache service auto restart many times ( every minute ).

View 10 Replies View Related







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