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
ADVERTISEMENT
Mar 15, 2014
I have changed to mod_filter from AddOutputFilterByType and now cannot rewrite the body content of a 302 page. I can rewrite the Location header using mod_headers, but I need to modify the informational content of the 302 page (usual a href "page has gone here") message as the source app puts internal details on the page.
FilterDeclare FILT
FilterProvider FILT SUBSTITUTE resp=Content-Type *
FilterChain FILT
Substitute "s|http://secret-stuff|https://public-stuff.com|ni
View 1 Replies
View Related
Jun 4, 2014
At times as I'm developing, due to some coding error in PHP on my part, particularly calling a COM object, the apache server crashes. I'm delighted that it recovers, but in so doing it always tries to rerun the query that crashed it, which just causes another crash, and so on. Is there some way of getting round this, so that it recovers but the problematic code is not rerun?
XP SP3 (still!)
Apache/2.4.3 (Win32) mod_fcgid/2.3.7 PHP/5.4.9
Firefox (Aurora)
View 1 Replies
View Related
Feb 13, 2013
I am trying to setup a pass through on our apache proxy server, typically this is not any trouble but our developers have started using a product call DEV EXPRESS and I cannot figure out how to get my pass through to work. Here's what my pass through looks like
ProxyPass /tmsdev http://tmsdev.dot.missouri/
ProxyPassReverse /tmsdev http://tmsdev.dot.missouri/
The initial url is http://tmsdev.dot.missouri/RealEstate/AAH/LitterPickup.aspx
I am getting 404 errors on everything that has /RealEstate/DXR.axd......... The DXR.axd is something from DEVEXPRESS here's the error I'm getting.
<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">
<html><head>
<title>404 Not Found</title>
</head><body>
<h1>Not Found</h1>
<p>The requested URL /RealEstate/DXR.axd was not found on this server.</p>
<hr />
<address>IBM_HTTP_Server/6.0.2.35 Apache/2.0.47 (Win32) Server at ghweb04 Port 80</address>
</body></html>
View 1 Replies
View Related
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
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
View Related
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
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
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
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
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
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
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
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
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
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
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
Apr 28, 2009
I'm using rsync to backup my cpanel/whm VPS data to a remote backup server.
Is there any inherent problem in bypassing the built in cpanel/whm backup feature, the cpbackup script, and just usign a cron with rysnc to sync the /home directory of my VPS to the backup server?
I want to make sure that there's not a security issue doing it this way, and that there is no later on restore problem by doing it this way.
View 4 Replies
View Related
Mar 15, 2007
last night my server did not take a full backup of all accounts. i have new backup files for some of them and have not anything for the rest.
i just want if cpbackup have any log file or if i can set it to log errors somewhere that i can track them?
View 2 Replies
View Related
Oct 24, 2007
I have run /scripts/cpbackup bymistake and now how I can stop the process?
View 3 Replies
View Related
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
Apr 16, 2008
I've a question about cpbackup.
On certain days web server starts taking both weekly and daily backups.
Is there anyway I can arrange such that when there is a day for weekly backup, it doesn't take daily backup.
View 5 Replies
View Related
Dec 30, 2008
Kind of a newb question but when I go into my cpbackup folder, then for example, into my daily folder..I see a number of accounts in there. Some are shown as only "accountname" and then some are shown as "accountname.0"
What is the difference between them? Are the ones that end in .0 currently active accounts on the server?
Thanks
View 0 Replies
View Related
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
Jul 8, 2007
I was wondering which of the backup method has the fastest restoration time - is it incremental uncompressed backup or compressed backup?
I am making 2 daily backup which is both uncompressed and compressed. However in case my server broke down, I want to choose which one is the fastest?
View 11 Replies
View Related
Jan 28, 2007
For some odd reason, I don't see the mysql folder inside /backup/cpbackup/daily/server/
It contains .sql files of the databases associated with that account. On other accounts, I see the mysql folder. Just this one is missing.
It used to be there and I see the mysqldump command running while cpbackup is running.
View 6 Replies
View Related
Jul 11, 2008
My server load on my server is very high, but my server is not slow, my memory usage is fine, my CPUs are handling everything fine so it's not really a problem... except I've got a lot of "sleeping processes" which seem to increase the server load but not affect the server really.
My problem is, cpbackup refuses to run when it decides the server load is too high. So, is there a way to make it run no matter what the server load is? Because I do want backups to run again...
The server load never goes down because these things are always running, so running it at early hours of the morning doesn't make a difference.
View 9 Replies
View Related