Questions tagged [restart]

Restart refers to the process where a software program or system is systematically (and preferably gracefully) shut down then automatically invoked to full functionality without intervention from the user.

Restart is also often referred to as reboot or reset.

Restarting a software program or system is one of the most common ways to troubleshoot problems as it will put the program or system back into a fresh and predictable state

1535 questions
5
votes
3 answers

how to restart an application in qt?

I do this works for restarting my game but program has error .I want to show a QDialog when user losses .In this QDilag i put two pushbutton for retry and exit.also i have a QDialog for beginning of game.Where is my mistake? (I read similar…
maryam
  • 1,437
  • 2
  • 18
  • 40
5
votes
2 answers

How to prevent service from restarting after activity is swept from task switcher?

I have this question about services in Android, and how to prevent immediate restart of the service if the activity is swept away in task manager ( when you hold home button). I want a service to be persistent and have it's own process and memory…
Bardya Momeni
  • 337
  • 4
  • 13
5
votes
2 answers

Restart Mysql automatically when ubuntu on EC2 micro instance kills it when running out of memory

When the system runs out of memory, ubuntu 12.04 kills the mysql process: Out of memory: Kill process 17074 (mysqld) score 146 or sacrifice child So the process ends up killed. This happens at peaks of server load and mainly because of apache…
Alex
  • 53
  • 1
  • 3
5
votes
6 answers

C# .Net exe doesn't close when PC is restarted, keeping the machine from restarting

We have a SmartClient built in C# that stubornly remains open when the PC its running on is being restarted. This halts the restart process unless the user first closes the SmartClient or there is some other manual intervention. This is causing…
ScottCher
  • 14,651
  • 6
  • 26
  • 25
5
votes
1 answer

How to Programmatically Restart a Single Instance application

My WPF program uses SingleInstance.cs to make sure that only one instance of it is running if a user tries to restart it by double clicking a short cut to it or some other mechanism. However, there is a circumstance in my program where it needs to…
Tony Vitabile
  • 8,298
  • 15
  • 67
  • 123
5
votes
3 answers

How to restart an embedded sound in Javascript?

I am currently making a game in Javascript but when trying to shoot, the shooting sound doesn't restart. My HTML looks like this:
5
votes
2 answers

Starting a windows service on remote machine in different domain

My PC is in Domain A and a remote server in Domain B, I want to restart a service on server from my PC using c# or any other language or script. Notes: I am connected to the server via VPN that means i can manually RDP the server and can manually…
user1675935
  • 121
  • 2
  • 11
4
votes
1 answer

Running Instruments on iPod touch, device restart

I can't get my application running with instruments. I tried running through xcode with Product->Profile, Instruments starts, and then i select Time profile, iPod gets restart. I am on 10.7, xcode 4.2, iPod touch4 with iOS 5.0.1, and using 5.0 SDK.…
Bigcat
  • 100
  • 5
4
votes
4 answers

How to force a reboot instead of shutdown (XP)

I have a Windows XP SP2 virtual machine which can be accessed via VNC. It's also running Deep Freeze so there should be no problem in forcing it to reboot. I am looking for a way to force the operating system to reboot instead of shutting down or…
Tom
4
votes
2 answers

apache virtual host and "Dynamic" Domains

I have a java application responding multiple domains and uses, for each domain, a specific apache virtual host. This because Apache is faster than tomcat, to serve static resources. The need is to do that at runtime, without restart apache…
Davide
  • 602
  • 7
  • 18
4
votes
1 answer

How to close and reopen shell with a bash script

So I am trying to install conda on a linux server. For this, I am running a bash script as a root user and I have made a new user which is going to install conda. The new user is "ags". Added below are lines from my shell script. echo "Getting the…
vc2310
  • 131
  • 1
  • 1
  • 7
4
votes
3 answers

WCF as Service: Modifying app.config file

I have a WCF running as a Windows service. I deployed it to a server (after quite a bit of banging my head against the keyboard). Last issue: When making changes to the app.config (programname.exe.config in the service directory under program…
user724198
4
votes
1 answer

Is it possible to see the restart history of an Azure App Service?

Is it possible to see the restart history of an Azure App Service? I mean to see it in the GUI, not an API.
4
votes
2 answers

How to restart prometheus?

I have set-up prometheus in my Ubuntu machine and it is running at localhost:9090 now. But, when I run the following command, I get a failed status. systemctl status prometheus Output: ● prometheus.service - Prometheus Loaded: loaded…
Ayesh Weerasinghe
  • 580
  • 2
  • 7
  • 19
4
votes
2 answers

"Restart denied, cycling is disabled" Heroku error when trying to restart dyno in Heroku pipeline

Has anyone come across this before? The error message doesn't provide much useful information and Googling the error messsage returns no results. My app is part of a Pipeline, I think that might have something to do with it.
bbb
  • 1,479
  • 2
  • 15
  • 28