How to restart Marathon or any DC/OS services in dc/os Cluster - dcos

How to restart a service in dc/os as an example marathon or admin router?
i tried the command:- /etc/systemd/system/dcos-marathon.service but no luck.
This question may seem simple but i tried searching in google didn't find answer hence m here in stackoverflow.

systemctl restart dcos-marathon

Related

Apache failed to bind port 80

hai friends i was trying to run apache server in my windows10 system but it fails as it was used by some other process.I ran netstat -nao | find ":80" command and it says pid 1900.But I cant find the process with pid 1900 in the task manager.What should i do.?Please help me as i'm a beginner.
Hi i have a similar issue with tomcat8.
If i restart server everything works fine. If restart tomcat service the ports seem busy.
I'm testing it but i'm pretty sure that should be related with some recent microsoft update, because 2 days ago there's any problem.
I'm tryng to uninstall last updates but i'm in a production server and it's not easy to reboot every time.
Can you test it?
Stay tuned
regards

Gitlab Taking Forever to Load - Using Apache

Alright so I just installed Gitlab on my Ubuntu 14.04. I wanted it to run on Apache instead of the usual nginx because I have Lets Encrypt configured to use my Apache server.
I changed around the config here: http://pastebin.com/raw/KctmGFq7
By following this guide: http://kevingoedecke.me/2015/09/17/setup-gitlab-on-debian-7-with-existing-apache-webserver/
Gitlab is not responding from the outside. Okay, why not try it from the inside? Nope, it just keeps loading forever. I did reconfigure Gitlab and restarted my Apache and server many times. Nothing.
Whats wrong?

Tomcat clustering on window machine

Hi I am setting up a Tomcat cluster on windows machine with Apache httpd server.
I am done with two steps - load balancing and session affinity and now i am at 3rd step.Session Replication.In that step I need to add multicast route first.
In tutorial command of adding route in linux environment is given.
sudo route add -net224.0.0.0 netmask 240.0.0.0 dev eth0
here eth0 is device.
But,I am not getting how to add this in Windows 10. I am finding it out and trying on my machine. Any help would be appreciated.
I have set up the tomcat cluster on window machine using Tomcat 8.For Windows environment no need to run above command.It is working fine absolutely without this command.In almost all blogs present over web,use linux and given above command to setup route but in windows it is not required.But still question one question is pending why it is not require ?

Apache Zeppelin + EMR(Spark) Cluster for opening the firewall

I tried to use apache zeppelin with EMR(Spark) Cluster. I get some requirements for using apache zeppelin + EMR cluster with opening firewall. In the workplace, there is the static ip which is blocked by the firewall. As you know,
EMR clusters should change their IP and DNS name every time when they create with aws cli command. So do you know how to connect apache zeppelin server(EC2 instance) with the EMR cluster using the fixed IP?
Thanks in advance.
I don't understand your question fully. Let me try to answer this part of question: "So do you know how to connect apache zeppelin server(EC2 instance) with the EMR cluster using the fixed IP?"
This should be possible by attaching an elastic ip with EMR clusters' master using: http://docs.aws.amazon.com/ElasticMapReduce/latest/DeveloperGuide/emr-cli-commands.html#elastic-ip.
You can also try qubole's managed clusters and support for spark+zeppelin. Qubole takes care of this by providing you a fixed end point to access your zeppelin notebooks.
Disclaimer: I work for Qubole
Finally I succeed to solve this problem or requirement using socat.
socat TCP-LISTEN:8080,fork TCP:$EMR_CLUSTER_NAME:8080
socat TCP-LISTEN:8081,fork TCP:$EMR_CLUSTER_NAME:8081
Also check the script(install-apache-zeppelin-on-amazon-emr.sh) which I revised some codes and used socat instead of using ssh tunneling.

Unable to run Coturn

I am building a WebRTC app and I am using Coturn as a TURN server. The problem is that after installing it (using gdebi as instructed in the docs), I am unable to run the service.
I have enabled the service in the /etc/default/coturn file, but then when I run service coturn start it says [OK] but the service is not running (I check this with service --status-all).
The log files /var/log/turn_*.log show no errors, I have no idea how to troubleshoot this, I've tried the same steps on a Vagrant machine and it works fine.
Additional infos:
Ubuntu 14.04
Coturn 4.1.2.1-1
Anyone knows how to fix this or how I can find out what is causing it?
Thanks!