wampserver 2 out of 3 services - service

I have joomla installed as one of half a dozen local wampserver projects (I use joomla as a web-page management portal to taskmanage everything I do).
Joomla works, so phpadmin is working and so must be php.
But I continually get 2 out of 3 services running.
I've tried the "mysqlold" solution in task manager and nothing changes.
Given the above and what is working, what service isn't running and what can I do to make it so?
I apologise for the newbie nature of the question, but I've only just started using wampserver.

Well the 3 services that WAMPServer is talking about are
Apache
MySQL Server
mariaDB Server
Now its quite legitimate to have only Apache and MySQL running, or Apache and mariaDB.
If you have stopped lets say mariaDB then you would see the tooltip
"2 of 3 services running"
but as you only want Apache and MySQL that would be fine. NOTE If you have stopped one of the services the WAMPServer icon will be Orange instead of Green.
Its rare you want to have MySQL and mariaDB running at the same time, its unlikely one site would require both so it is possible to STOP one of the databases. If you have, intensionally or accidentally done this you will see a black square beside the Services Administration wampmariadb64 menu line
And if the service is started you will see a Green Tick
It is also possible to turn off one of the database servers completely.
Using the wampmanager menu
**right click**->Wamp Settings->Allow MariaDB
You should see 2 lines
Allow MySQL
Allow mariaDB
If these 2 lines have a Green Tick beside them then that database's service should be installed, if not then that database service has been uninstalled. If you click "Allow XXXX" then it will toggle that service to or from installed. If you uninstall one, the tool tip that you get when hovering over the wampmanager icon will say
"2 of 2 serives started"
assuming there are no other issues :)

I was facing the same issues and tried a lot of things. Finally I fixed it using below instructions:
Uninstall wamp and delete wamp directory
Install VC 16 package
Install wamp again and it will work like a charm

Related

How to deploy angular2 on tomcat?

First I'd like to describe my set up:
I have a web service, let's call it "Cars", written in Java, that I've tested in eclipse with tomcat v6, working local (it was a requirement, so that once it works locally I can switch to do it with a "real" tomcat server so others can access). It works, it access the database, it offers an answer for certain URIs and so on.
I have coded in Plunker an angular 2 application, "WebCar", and I now want to run that on my computer, with a Tomcat server (unless there is a better way of doing it, I've been told to do it with Tomcat. Since I do not know any better option, that's why I talk about tomcat all of the time). With eclipse, I have already managed to get the app running, using palantir plugin for typescript https://marketplace.eclipse.org/content/typescript , and then running the project with a server-launch.js which contains require('lite-server'); , this allows me to see the same I saw on plunker, so, it works, but before I upload anything to the business servers I wanted to check everything works (hence the set up, which may not be necessary but it's what I come up with).
I now want to go one step further and use, if possible, tomcat v6 to run my angular 2 app, instead of simply using that lite server, so that I can test that it works, and then uploading it to a "real", remote server.
I would like to know what options are there, what would be a better option, and anything that is required to make an angular 2 deployment properly. So far I've found this
https://stackoverflow.com/a/34408495/6028947 " You only have to deploy
.js files, since anyway browser won;t" which I don't fully get,
http://jspm.io/ which is for SystemJS (I have an older version of
Angular 2 and use config.js)
https://stackoverflow.com/a/37568235/6028947 which talks about
angular-cli or webpack, which makes a bundle but if I got that
running, I still don't know what to do with it to upload to Tomcat
and then connect it to my web service.
So maybe the question should be (I don't know for sure): Once you get your angular 2 code bundled, what's next?
Btw there are a few other questions on stackOverflow, similar to this, but as far as I've seen, without any answer at all or with answers only obliquely related to this (and of course, nothing resembling a guide or step by step required)
Thanks to #nuzz for this ..
I'm running a little script to build the project and then copy it to tomcat. I'm telling angular what the base directory is that it will run under in tomcat.
#!/bin/sh
ng build --base-href /angular/ --prod
mkdir -p /home/xxx/apache-tomcat-8.0.37/webapps/angular
cp -R /home/xxx/angular-clitest/dist/* /home/xxx/apache-tomcat-8.0.37/webapps/angular/
Once thats run, start tomcat and you can access it at: http://localhost:8080/angular

Testlink Test cases location with Wamp server

I had a problem with my WAMP server not being online so after some hours changing values on Httpd.conf i was finally able to make it go online after all, with all of it's services too. But when i try to access localhost it only says "It's working!" and i can't access the testlink webpage. I had already done about 350 test cases manually into testlink so I REALLY want to get that back. I made a backup before the server went down of the entire WAMP directory but i have no idea where the test cases are located. They are not saved as they were named in TestLink. Anyone can show me the way?
thanks!
If when you run localhost and it say "It's working!" then you have another version of Apache installed on this machine, and that is the one that is running and NOT the WAMPServer version of Apache.
As you are obviously learning, stick to one Apache per machine. So uninstall the other Apache completely. It would also be a good idea to look for another MYSQL as well. They travel in groups normally.

quickstart Apache DayTrader

I am trying to get the Apache DayTrader benchmarking app on OpenShift quickstart working see link https://openshift.redhat.com/app/console/application_type/quickstart!17609
I have a free 3 gear openshift online account and the quickstart starts up but then after a while posts the message
"Application creation is taking longer than expected. Please wait a few minutes, then refresh this page."
Waiting and refreshing the page shows the whole application rolled back and removed from the gear.
I suspected it might need a larger gear but I can build an openshift gear manually with JBoss Enterprise Application Platform 6 and PostgreSQL 9.2 as per requirements in a small gear
I tried manually building the application via jboss developer studio and downloaded the git locally, imported it as a general project,converted to Mavern project, started openshift application wizard and choose the jbosseap-6 app type with postgresql-9.2 cartridge and went through using the existing daytrader project.
That all seemed to work and the app was created in my openshift online gear
Cartridges
JBoss Enterprise Application Platform 6
Status: Started
Gears
1 small, Storage 1 GB PostgreSQL 9.2
the account webpage then displays
"Welcome to your JBoss EAP application on OpenShift"
but I cant seem to access the daytrader index.jsp or app from there.
If anyone has successfully built Daytrader on openshift either manually or via quickstart could they please post the steps.
I am just starting with jboss and the solution may be an absurdly simple oversight on my part.
Much appreciated John
I am assuming this is not your cartridge. If that is the case, you should try logging an issue on the github project that feeds into that quickstart here: https://github.com/gvijayar/daytrader
The creator of the cartridge should be able to help you out.
I posted ( some time ago ) the issue in github for gvijayar but there has been no reponse. I have managed to build via command line as per "Deploying from Source" making allowance for the error.
The application name needs to change in the create command to be consistent across all the commands you list.
ex:
rhc app create -a daytradereap -t jbosseap-6 -g large
but the quickstart still fails consistently.

Nginx + PHP5-FPM break some web app which works on Apache + PHP5

I have a vps with Debian 6.0.5, installed with Nginx + PHP5-FPM using package from dotdeb using a setup script introduced by a blog. Everything works like charm for my wordpress and phpmyadmin.
Now, I wanted to install beanstalkd into the vps, and decided to use some PHP web app to manage beanstalkd. I've installed phpBeanstalkdAdmin and Beanstalkd console. Both failed to run properly.
phpBeanstalkdAdmin returns a page like
phpBeanstalkdAdmin
Home
About
layout()->content?>
Beanstalkd console displayed an empty tube once server is configured. Before that, the error message is also missing.
When I install both in my local machine running XAMPP, which is Apache + PHP5, and point the configuration to my vps' beanstalkd, it works. Further more, before configuration Beanstalkd console would display proper error message unlike when running on Nginx + PHP5-FPM.
I've tried to use XDebug and didn't find any error or anything wrong when stepping through both web app. Both web app utilizing Zend Framework. I didn't find any specific setup which is required to run Zend Framework on Nginx + PHP5-FPM, and have tried various addition of the basic configuration such as fixing Path_Info & PHP_SELF
I would really love to use Nginx instead of Apache for my vps as I have a small box.
Any insight or guide on this issue is much appreciated.
Check the value of PHP's short_open_tag on both (should be listed in phpinfo). My guess is you need to turn it on for your VPS.

Best practice deploying windows service

I'm looking for best practice in continuous delivery of windows services.
Currently we hava a set of powershell scripts that unintall, reboot, install updates but error handling is tricky. We are reviewing System center but are there any other options available for deploying a windows service?
We've been using Presto since Dec 2011, and have done over 1,000 deployments. Most of what we deploy are Windows services.
What's nice is that we set up our apps and servers in Presto, then we can repeatedly deploy, to any server (or multiple servers at once), by just hitting a button. Presto will copy our official release binaries, update all of the items in our app config files, create and start the service, etc...
So, if you have an application that has 30 manual steps to deploying it, you can enter these steps in Presto, then it's done automatically for you after that.
It's worth a look: http://presto.codeplex.com/
Your most basic and generally accepted best option comes from this thread, which basically links to a Microsoft support article on creating an installer for the windows service.