I got halfway through installing a security patch for CF801 ent (http://kb2.adobe.com/cps/890/cpsid_89094.html) on a windows 2k8 server + iis.
I made a backup copy of the WEB-INF directory as instructed. Then I tried to merge the new WEB-INF provided by Adobe. It hung up on one particular file (C:\JRun4\servers\cfusion\cfusion-ear\cfusion-war\WEB-INF\lib\cfmx_bootstrap.jar), with the error:
Cannot delete output file (above file).
So, I tried renaming the file and got the error:
The action can't be completed because the file is open in jrun.exe.
I have stopped the server via JRUN launcher, so where could the file still be open. I tried rebooting the server in case there was something still running in the background. Error persists.
I'm new to enterprise multiserver installs, so I may be missing something basic.
Resolved: Stopping the server instance via JRUN Launcher doesn't shut the coldfusion server. I needed to stop it in services, which I tried originally, but I wasn't used to the way CF with JRUN was appearing in the services (It appears as "Macromedia JRUN CFusion Server", whereas I had been looking for services beginning with "ColdFusion" or "Adobe"). Once I found the service and stopped it, I was able to overwrite the file.
Offhand, I would try setting all the ColdFusion services to start manually instead of automatically, and reboot. Install the security pack, set the services back to start automatically, and reboot again.
HTH.
Related
My current set up has a Django project running on Windows 2016 IIS.
The project is hosted on GitHub for collaboration and I would like to set up a GitHub webhook so whenever there's a push to master branch from any of the collaborators, the IIS Server will run a "git pull" to update the project on the server.
What is normally the setup for this?
What I have tried so far is to create an endpoint in the Django project, this endpoint whenever called will run Python subprocess to run "git pull" command in the project itself. However, whenever I run it, it get a 500 response from IIS.
Thanks #VonC for helping.
I have looked to the log (which was the one in XML) but it wasn't much help.
What I'm posting here was my workaround, not exactly to the answer for the question above.
I used django-background-tasks to add the command subprocess.run(['git', 'pull']) as a task to run later (after a few seconds after that by the #background decorator).
Error 500 means the IIS server throws an error.
You need to check said IIS server logs in order to check at what point in the execution of the webhook endpoint script the error occurs.
Go-agent and go-server same version - v18.8.0. Server and agent are installed in different machines. In go-server/agents , the agent is not listed. The agent configuration file in /etc/default/go-agent is updated with hostname of go server.
Please help.
As mentioned in my question - the /etc/default/go-agent file is updated with the remote go-server url. After making this change, restarting the agent did not solve the problem. So, I went to restart the entire machine and now the remote go-agent gets listed in the go-server/agents.
Anytime the server (go-server) goes down, it should be ensured that every machine/runtime running go-agent is restarted.
FYI - This is with go-version#18.8.0 and go-agent#18.8.0
I've been working on a computing server and I need to make sure it restart properly in case of crash. The computer restarts properly, so I'm trying to start my process.
Our server is a C++ executable attached to Apache on a wamp server, the whole thing on a Windows computer. So I need to find a way to :
Start Wamp when Windows restarts
Start my process when Wamp is ready
I found out how to start Wamp when Windows reboots but I'm stuck on how to get my process to start when Wamp is ready. How can I do that ?
I'm using NSSM to create windows services out of regular processes. It's painless and you can set another service as a dependency, ensuring your process won't start before it.
I read many similar questions about it but the solutions are not working for me.
The icon says WAMP Server online but it stays orange.
when I test port 80 under Apache/services/Test port 80 it says that port 80 is actually used by: Server: Apache/2.2.8 PHP/5.2.6
Shouldn't that be a good thing? As there are no other programs using port 80, despite that when I type local host I get a weird page instead of the normal one, it has pink bars
The AppServ Open Project - 2.5.10 for Windows
phpMyAdmin Database Manager Version 2.10.3
PHP Information Version 5.2.6
About AppServ Version 2.5.10 for Windows
AppServ is a merging open source software installer package for Windows includes :
Apache Web Server Version 2.2.8
PHP Script Language Version 5.2.6
MySQL Database Version 5.0.51b
phpMyAdmin Database Manager Version 2.10.3
ChangeLog
README
AUTHORS
COPYING
Official Site : http://www.AppServNetwork.com
Hosting support by : http://www.AppServHosting.com
Change Language :
Easy way to build Webserver, Database Server with AppServ :-)
I really need to start working in this project but this is preventing me from even starting.
I have solution...
Click WampServer icon in tray icons -> Apache -> Service -> Install service
(same for mysql -> Service -> Install service )
Then, Apache -> Service -> Start service (same for MySql -> Service -> Start service)
done! Enjoy :-)
If you are running Skype, stop it since it uses port80 which is needed by WAMP
You can also switch the port needed for Wamp.
Follow this article
How to change port number for apache in WAMP
Unless you really know what you are doing you should only have ONE Apache on your system.
Basically WAMPServer and APPServ are the same thing, that is they are installers for the WAMP Stack i.e. Apache, MySQL and PHP.
You only need one of them so uninstall the other, of course remember to backup anything you may want to move over to the other before you uninstall one of them.
Check if MySQL is running or not
Click on Wamp icon in icon tray then
MySQL->Service
if Start/Resume Service is visible and clickable it means your MySQL service is not running that's why it is giving you problem.
It's possible that you have installed some other application that installed and running MySQL - so already having one MySQL running is what conflicting with wamp's MySQL.
How to stop other MySQL from running?
Simply go to My Computer and search for file name "my.ini" (without quotes)
There should be at-least two my.ini files on your computer delete all other my.ini except the one in wamp directory
Restart your computer and start the wamp server it should solve your problem
As of WampServer 2.5 (64bit), these are the things I had to do to get it to go green:
In your my.ini
Change [wampmysqld] to [wampmysqld64]. Now when you start/stop wamp you should get information in your mysql log file (and errors if you have any).
I uncommented all the innodb lines under where it says Uncomment the following if you are using InnoDB tables (except for innodb_log_arch_dir and innodb_additional_mem_pool_size).
Make sure the innodb_data_home_dir is set properly, like innodb_data_home_dir = C:/wamp/bin/mysql/mysql5.6.17/data/. Do the same for innodb_log_group_home_dir.
Change the locale line to read lc-messages=en_US for English.
You can confirm mysql is up and running with Wamp Icon > Mysql > Service (Start/Resume service should be greyed out)
Install and start apache:
Wamp Icon > Apache > Service > Install Service.
Wamp Icon > Apache > Service > Start. (you can click on "test port 80" to see if something was blocking it like others have mentioned, such as skype, sql reports, etc.)
During the starting of WAMP server, the Apache service should be started as well. In case, it doesn’t start; WAMP server won’t perform as it should be.
To fix this issue, navigate to the WAMP server icon in the system tray > Apache > Service administration ‘wampapache64’ > Install Service.
it will open the Command Prompt on your screen. After closing the Command Prompt, go to the same path and click on Start/Resume Service.
The WAMP server icon should turn to green right away.
In case you can have all these but still, the icon is displaying orange color, you need to click on Restart Service button.
I'm a Jetty newb, but it's making life hell. First there was an Eclipse problem I described in another question. Rather than waste time on it, I decided to just run Jetty from the console. I started off importing a sample Tapestry project and was able to run it fine... the project is on the Tapestry page and is called tutorial1
I began work on my own project then and began introducing new functionality to it. At some point it stopped working. I tried backtracking my project to get it to a working state but every time I requested the home page it would just hang. At this point I still thought it was my fault, though I did think a more graceful error message would have been nice than the it attempting to load for a minute followed by a server timeout error.
I then shutdown jetty and attempted to load up the imported sample project using mvn jetty:run in my tutorial1 project directory. it doesn't work either! When I try going to localhost:8080/tutorial1 or the URL of my project the jetty console does show any output, almost as if it's not receiving the request.
I rebooted my entire machine but that doesn't help. I am not familiar with jetty architecture and am unsure if there is a way I can purge all my files from the jetty web application directory.
Any ideas?
Cliffs Notes:
Downloaded Tapestry Archetype project with maven.
Executed jetty from the command line using mvn jetty:run
Started new project
Executed jetty from the command line using mvn jetty:run
Modified new project
Error occurred, attempted fix and restarted Jetty (Ctrl + C, followed by mvn jetty:run)
Jetty restarted, but did not seem to handle requests for any pages
Tried starting jetty from Archetype project, experienced the same problem
If your project didn't deploy correctly, jetty won't serve any pages (they will either return 404 or some error in the 500s).
Look at the log folder and check if it is getting correctly deployed.