Apache :: Disabling Re-Execution On Fail-Recovery
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
ADVERTISEMENT
Mar 4, 2014
We are trying to disable server info into response header.
Header unset Server
Header set Server "unknown"
It is not working.We have installed "Apache 2.4.6-x86 server" on Win 2008 R2 Standard server (64-Bit).
View 3 Replies
View Related
May 5, 2015
I'm working on transferring my Hostings to a new server, but ran into some problems.
Transferring the data from one Plesk 12 server to another works quite well using the migration manager, although you have to create the service plans by hand as well as you need to work through the server configuration parameters.
After re-creating the service plans I wanted to link and sync them to the subscriptions, but unfortunately I have no success to do so, because everytime I try to get them in sync, it tells me that Apache ASP support is enabled for the subscription and needs to be disabled. Plesk then tells me, the setting is disabled, but next time you try to sync the subscription... ASP is back enabled.
Problem is that on the old server I had Apache ASP enabled and used it in my hostings.
I tried to solve the problem using the command line tools, but "./subscription -u domain.name -asp false" returns "SUCCESS: Update of domain 'domain.name' completed.", but you can guess, same problem.
As a last resort I disabled Apache ASP support for my hostings on the old server, deleted everything on the new one and I got no warnings before migrating about the missing ASP feature.
But unfortunately this procedure ended up with the same problem as before.
Is there a way to remove the ASP support from the existing subscriptions?
View 1 Replies
View Related
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
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
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
Aug 28, 2007
My host just recently sent the hard drive with my sites to a data recovery company called Gillware. Website is [url]- but they failed and gave the following reason:
Quote:
Originally Posted by Gillware
Unfortunately, your file system was so severely damaged that no data can be
recovered. We will make arrangements to return your drive via UPS. Sorry
we could not help you further.
Gillware Inc.
Do you guys think there's still hope?
The hard drive is now being shipped to a more well known company, Drive Savers - [url]and I'm guessing that this is the last hope, because the more the drive gets tampered with, the more chance of permanent data loss.
So yeah.. I was just wondering what you think? If the file system is so severely damaged, do you think it STILL can be recovered?
View 2 Replies
View Related
Jul 6, 2009
problem on some big DB driven sites in PHP.
Lets say I have a file, doesnt even need to have any PHP functions in the document, could be just pure CSS / images. Say I have a copy of this file named something.html and a copy named something.php, the php one takes about 5 times longer to load than the html page. You can see 90% of the page loads and then it sticks with the loading bar nearly fininshed, waits a while and then pings to finished and the remaining parts of the site load (usually footer links etc).
This has me stumped, even has my hosts stumped. Would any one have any idea why this may happen? Something to do with the installation directory of PHP or location of php.ini?
This is on a Windows 2003 machine running IIS6, I have tested the same files on a Linux installation and its perfectly fine.
View 4 Replies
View Related
May 27, 2009
I am trying to run a php script on our server to split a very large file. As a result of the file size the script is timing out with this error:
Fatal error: Maximum execution time of 30 seconds exceeded in [url]on line 155
How can I extend the server execution time to the script can complete? I have cpanel with WHM installed.
View 8 Replies
View Related
Aug 21, 2008
i always get :-
Fatal error: Maximum execution time of 30 seconds exceeded in /home/ante/public_html/me/classes/http.php on line 418
Warning: fclose(): supplied argument is not a valid stream resource in /home/ante/public_html/me/classes/other.php on line 145
when i try upload big files (up 140mb to my vps using RapidLeech
and here my php.ini
[url]
i chnaged the php.ini to the new value and restart http only
my vps info
safe mod : on
Operating system: Linux
PHP version: 5.2.5
Apache version: 1.3.41 (Unix)
View 4 Replies
View Related
Feb 21, 2008
During the last couple of weeks my main server has started acting weird.
Sometimes(often) when accessing my site, I get a page saying that server or location could not be found. Reload and "bam" page loads again. Average load on the server is 0.50
When executing scripts (I.E uploading files using web2ftp or cp file manager) server shuts the connection after a few seconds and say page cannot be found.
I set the execution time in php to 60sec, so this is not the issue.
When I ping the server, I do not get any packet losses.
View 4 Replies
View Related
Dec 6, 2007
Before this thread happens, don't tell me to chmod the file to have execution privs. I want umask to work properly, with no seperarate chmod required.
For some reason, on every single system i've tested this on, linux, freebsd, vps, standalone server, fresh install of operating system, any time I test this, it ends up with the same issue.
Running `umask 000` should result in files created from that point on having a chmod of rwxrwxrwx. However, they always end up having a chmod of rw-rw-rw.
If I create a directory after setting the same umask setting, the directory ends up with rwxrwxrwx.
Code:
root@bonkers[/usr/local/etc/php/umask] $ umask 000
root@bonkers[/usr/local/etc/php/umask] $ touch 000
root@bonkers[/usr/local/etc/php/umask] $ mkdir d0
root@bonkers[/usr/local/etc/php/umask] $ ls -la
total 10
drwxrwxrwx 5 root wheel 512 Dec 6 03:31 .
drwxr-xr-x 4 root wheel 512 Dec 6 03:21 ..
-rw-rw-rw- 1 root wheel 0 Dec 6 03:31 000
drwxrwxrwx 2 root wheel 512 Dec 6 03:21 d0
View 10 Replies
View Related
Jan 14, 2007
Cacti version 0.8.6i has vulnerability: [url]
Solution: [url]
View 2 Replies
View Related
Oct 27, 2006
Which configuration for php and server that prevent execute shell scripts?
Which funstions you recommend to disable?
Like shell_exec, passthru, proc_open, proc_close, proc_get-status, proc_nice, proc_terminate, exec, system, suexec, popen, pclose, dl, ini_set, virtual, set_time_limit
View 14 Replies
View Related
Oct 7, 2014
Have the same case for 4 servers (web and pro), the menu in plesk could not show another choice, only fastcgi.
Handlers look like ok:
root@serveur:~# /usr/local/psa/admin/sbin/php_handlers_control --list
id: display name: version: type: cgi-bin: cli-bin: php.ini:
module 5.4.4 5.4.4 module /usr/bin/php5-cgi /etc/php5/cgi/php.ini
fastcgi 5.4.4 5.4.4 fastcgi /usr/bin/php5-cgi /etc/php5/cgi/php.ini
cgi 5.4.4 5.4.4 cgi /usr/bin/php5-cgi /etc/php5/cgi/php.ini
[code]....
How to force to display php module ?
View 3 Replies
View Related
Apr 13, 2015
while plesk was trying to update automatically (as per the normal preference settings) but suddenly gave this error
Execution failed.
Command: autoinstaller
Arguments: Array
(
[0] => --select-product-id
[1] => plesk
[2] => --select-release-current
[3] => --upgrade-installed-components
)
Details: Doing restart of Parallels Installer...
File downloading products.inf3: 100% was finished.
File downloading plesk.inf3: 10%..20%..30%..40%..50%..60%..70%..80%..90%..100% was finished.
File downloading ppsmbe.inf3: 17%..26%..37%..47%..57%..78%..88%..100% was finished.
File downloading sitebuilder.inf3: 22%..35%..48%..60%..73%..86%..100% was finished.
[code]....
ERROR: Currently installed version of product with ID 'plesk' is not available from download site anymore.Please upgrade to the next available product version to receive software updates.Seems like the RPM got damaged, but I already fixed that part, now when I put "install" I'm geting the following
Installation started in background..Getting bootstrapper packages to installation list:
Following bootstrapper packages will be installed: (empty)
----------------
Getting packages to installation list:
Following packages will be installed: (empty)
----------------
Loaded plugins: fastestmirror
Patch for plesk 12.0.18 will not be installed since it is already applied.Error: You already have the latest version of product(s) and all selected components installed. Installation will not continue.HOWEVER the "mail" and mail server configuration no longer shows in "tools & settings".
View 1 Replies
View Related
Feb 5, 2007
while i am restoring db (110MB) via SSH following error occur
Code:
ERROR 1064 (42000) at line 145689: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '
Fatal error: Maximum execution time of 30 seconds exceeded in ' at line 1
View 12 Replies
View Related
Dec 5, 2014
I get the following error in plesk i don't know how to resolve this
Unable to configure the web server: Execution failed.
Command: httpdmng Arguments: Array ( [0] => --reconfigure-all )
Details: Execution failed. Command: httpdmng Arguments: Array ( [0] => --reconfigure-server [1] => -no-restart )
[Code] .....
View 2 Replies
View Related
Nov 5, 2014
I have this error when i put import to mysql database
Code:
#1064 - You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '<script></script><p>ERROR: Maximum execution time of 300 seconds exceeded (Util.' at line 244
I have in domain > doemainname >
max_execution_time
Standaard
Geef een aangepaste waarde op 0
and insert in
usr/local/psa/admin/htdocs/domains/databases/phpmyadmin in the file config.sample.inc.php following command
$cfg['ExecTimeLimit'] = 70000;
but it will not work...
View 2 Replies
View Related
Sep 12, 2007
I heard from some technicians that SAS disk recovery is going to be much more difficult than the current generation of hard disk. Is it true? Anyone tried recovering from a spoilt SAS hard disk before?
View 0 Replies
View Related
Aug 14, 2008
who you have used in the past to recover damanged hard drives that have been dropped. I got a client that damanged his HD, and it needs to be sent out to someone who is reliable is not gonna cheat and steal the data.
View 4 Replies
View Related
Sep 20, 2008
Which hosts allow you to reinstall the OS yourself, very important if your just starting out or want to try another distro etc.
Netdirekt
Hetzner (in German only)
Vectoral (No, KVM on request only)
View 6 Replies
View Related
Jan 15, 2008
if someone have for mistake cancelled a cpanel account and in the same dir was the backup file of this account, should be possible to recovery at least the backup file from the deleted files? Or the entire dir cancelled?
View 1 Replies
View Related
Apr 20, 2007
I am not familiar with quick backup methods, but let me give you an example which might help you provide me with the best possible information.
1. I currently run a hosting business.
2. cPanel accounts are backedup nightly.
Question: I am worried something may happen to the server (DoS Attack) or just an internal error - what would be the quickest way to have your entire webserver back online?
I was thinking another HD with the same installation/configuration.
What procedures have other hosting organizations taken to prevent there web server from loosing downtime.
View 4 Replies
View Related
Jan 6, 2008
I am trying to recover some backups on the server by rsync the home dir from BQbackup to my server. I deleted 1 file to see whether it actually works. I executing this command on the server:
rsync -avz -e ssh username@username.bqbackup.com:path.to.home.dir /home
I saw that it downloaded the file I deleted, however after checking on FTP if the file was recovered it actually wasn't. Is there something wrong in the command I used as it seems that it is not recovering any files.
View 13 Replies
View Related
Oct 21, 2007
Does anyone know whether if its possible to recover data on FreeBSD server?
View 10 Replies
View Related
Oct 19, 2007
if its possible to recovred deleted data on Freebsd based systems?
Forum search didnt returned similar topics,anyone?
View 1 Replies
View Related