Cannot re-install apache 2.2 services on XP through xampp - apache

I'm trying to experiment with xampp. After having some space issues, I wanted to move my xampp install onto another drive (d:). However I have the apache 2.2 services in XP services which are still pointing to my original c: install. I only see how to start and stop. I'm hoping just removing the service will fix my issues.
So the question is two-part 1) how do i remove the service 2) based on this info can i simply reinstall afterwards to get the services running?
thanks

In a command prompt execute:
sc delete service
Where service be Apache and mysql.
Then go into your xampp control panel and check the little svc boxes. That will make them services again.
Be sure to run the "setup_xampp.bat" script in the root of your xampp server! You must do this each time your servers change directory (this feature is useful if you put your servers on a USB drive).
Good luck :)

Related

Localhost refused to connect - Bitnami does not display any server

I have created a Wordpress website locally using the Bitnami installer. Everything was going well and I have managed to finish designing the website until something happened.
I'm not sure if it is in any way related to the issue but my computer automatically installed a Windows update, since then I cannot access the website that I created locally. It says that,
This site can’t be reached
localhost refused to connect.
Try:
Checking the connection
Checking the proxy and the firewall
ERR_CONNECTION_REFUSED
Again, I'm not sure if this has anything to do with the update, because I have already uninstalled the updated and it's still the same. What's also weird is that my Bitnami managers servers aren't running any servers, and actually there are no servers under it at all.
I am confused and lost as to how this happened and what's the solution for this. I would appreciate any help or pointed anyone can give me. Please see attached Photos.
This is the initial message when I try to access the website
Clicking on the go to application and open my phpadmin doesn't do or open anything
There are no servers
There are no events
Bitnami Engineer here,
If the Bitnami manager doesn't show the services is because they are not installed in the server or they got renamed during the upgrade process. Let's try to reinstall the services again.
First of all, you will need open your installation directory and double-click on the use_wordpress.bat file. That will open the command prompt in Windows
Run the remove command
serviceinstall.bat REMOVE
If the console is closed, open it again and run the install command
serviceinstall.bat INSTALL
Check if the services are now up and running in the Bitnami Manager tool

Wamp is not working after Windows 10 upgrade

WampServer worked fine on my computer running Windows 8.1. I've upgraded to Windows 10, and now Wamp is not working. The WAMP icon is red. I've looked into the Internet Information Services and found that World Wide Web Services folder was unchecked. I went to services.msc and the World Wide Web Publishing Service is missing from the list. Took off skype from port80. I've tried changing the port address in httpd.conf to 8090 and 9080. I tested port80 through WAMP - Apache interface and found out that "Your port 80 is not actually used". I'm not very good at using the command prompt. I don't know how to ensure that Apache uses port 80. I'm asking if this the problem and how to fix it. Or at least how to get WAMP working again. Thanks!
If you had WAMPServer installed before you upgraded to Windows 10 then the solution is simple. The problem is that the W10 upgrade does not know about the Apache and MYSQL (wampmysqld and wampapache) services, and therefore does not re-register them.
All you have to do is this using the wampmanager menus
wampmanager -> MYSQL -> Service -> Install Service
wampmanager -> Apache -> Service -> Install Service
Its probably a good idea to the exit WAMPServer and then restart it, but not usually necessary.
I tried several ways to make it run but it didn't. Suddenly, I selected a different version of PHP from WAMP tray and it did the trick. May be it will help many out there facing this issue.

Wamp Server Working But Still Orange

No, this is not a duplicate question!
Wamp Server doesn't start on system boot up.
When I turn it on, it is in Orange but it works just fine and Test Port 80 says that it is used by Server: Apache and PHP.
I have to Ctrl+Alt+Del < Task Manager < (2) Apache Httpd Servers
Then end both tasks.
Then Restart All Services and Wamp will be green!
My questions are
1. if it works then why is it in orange?
2. can I make it start on system start?
Note: MySQL Server is working properly at all time.
I don't have Skype installed and I don't think the problem is with the ports...
I have already tried uninstalling then re-installing but that didn't fix the problem.
EDIT:
According to the solution #RiggsFolly suggested, I can see that Apache is not starting properly; however, weirdly the web app can be run normally...
you can also change the port as well. yes you can start wamp service on system start by setting in start up program MSConfig can be used to configure several things other than just startup programs.

Is there any equivalent of XAMPP for Pylons?

I'd like to get started with Pylons, to be used on a Windows machine as a local web server. Is there any equivalent of e.g. XAMPP for Pylons that would set up everything with one installer?
Edit: I've just discovered the Pylons web server. Could I use this to serve pages to computers on a LAN?
One thing that you could do is use mod_wsgi with XAMPP. Unfortunately I am not aware of any installers for that combination.
You almost never want to use the web server built into the framework, but Pylons uses Paste, which is quite a bit more capable than most stock web servers so that could be an acceptable alternative if you don't need httpd.
pylons can be installed using easy_install or unzipping the tarball and running "python setup.py install" (like any python package).
the great google god machine says it's possible to run a wsgi app under IIS(shudder),
other than that, once you have your pylons application written, consider running it as a windows service

Fresh XP +click once +cannot connect

Greetings,
we have to following problem.
Our application is deployed using ClickOnce. Everything is running fine and application is able to connect to the wcf service. The problem occurs when application is installed on FRESH XP machine without .net Framework and Windows Installater (that were selected in ClickOnce prerequities).
Application downloads .NET Framework 3.5SP1 and windows installer but then it cannot connect the the server. Reboot after install does not help.
The strange is that this application has been installed on 10 xp machines and 4 of them can connect to the service without a problem
Are there any dlls referenced in your application? You might want to check them (Under project's Properties\Publish tab\Application Files button) see if you missed to include the needed dlls or files.
alt text http://www.freeimagehosting.net/uploads/e8ff221e20.jpg
We ran into this and were forced to reinstall .net on some machines no idea why though.
This is a shot in the dark but have you tried depends.exe and see if it can profile what is happening.
Also Take a look at this blog and get a crash dump and see if you can use it to at least tell you what is complaining the loudest.
What do you mean when you say 'cannot connect to the server'?
a. The machine cannot connect to the install location and therefore the clickone app is not installed?
b. The app installs (along with the pre-requisites) and starts fine. Then it is unable to connect/communicate with your WCF services.
I presume (b) I just wanted to clarify.
What happens when you ping the machine the services are on from one of the failed install machines? Also what happens when you put the service url into a browser on one of the failed install machines? Can you see the wsdl?
Obviously your deployment package works because it works on those other machines (I assume it IS the same package all machines are installing?), therefore I doubt you are missing any dll's as a ClickOnce app should include all dll's it needs (sometimes you do need to tell ClickOnce explicitly to include).
Last question is, when the app tries to call the service, exactly what exception is it getting back?
I just remembered something which has caught me out in the past with some machines being unable to connect but others can...especially 'new' machines.
Check this file:- C:\WINDOWS\system32\drivers\etc\hosts
Check the contents on a machine that works and one that doesn't. We have some IP to machine name mapping going on that on new machines is not set and so the new machines cannot find the servers.