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

1396 questions
666
votes
10 answers

How do I shutdown, restart, or log off Windows via a bat file?

I've been using Remote Desktop Connection to get into a workstation. But in this environment, I cannot use the power options in Start Menu. I need an alternative way to shutdown or restart. How do I control my computer's power state through the…
Keng
  • 48,571
  • 31
  • 77
  • 109
101
votes
7 answers

Do you have to restart apache to make re-write rules in the .htaccess take effect?

I have pushed my .htaccess files to the production severs, but they don't work. Would a restart be the next step, or should I check something else.
Jesse Hattabaugh
  • 7,359
  • 8
  • 30
  • 35
99
votes
13 answers

How can I restart a Java application?

How can I restart a Java AWT application? I have a button to which I have attached an event handler. What code should I use to restart the application? I want to do the same thing that Application.Restart() do in a C# application.
Azfar Niaz
  • 1,396
  • 3
  • 12
  • 18
90
votes
9 answers

Reload configurations without restarting Emacs

How do I load the edited .emacs file without restarting Emacs?
memius
  • 3,835
  • 4
  • 24
  • 25
79
votes
14 answers

Android Service Stops When App Is Closed

I am starting a service from my main Android activity as follows: final Context context = base.getApplicationContext(); final Intent intent = new Intent(context, MyService.class); startService(intent); When I close the activity page by swiping it…
Bam
  • 1,083
  • 1
  • 9
  • 13
74
votes
2 answers

Restart TeamCity server via web interface

Is there a way to restart a TeamCity server running on Windows from its web interface? I haven't found a button or documentation whether this is possible.
krlmlr
  • 22,030
  • 13
  • 107
  • 191
72
votes
6 answers

How to restart remote MySQL server running on Ubuntu linux?

I'm using Ubuntu 12.04 LTS on my machine. There is on MySQL server situated remotely. I want to restart it. Can someone please give me in detail step-by-step instructions to restart the MySQL server. Following are the Database server details of…
PHPFan
  • 4,000
  • 11
  • 50
  • 104
59
votes
8 answers

android:configChanges="orientation" does not work with fragments

I am just trying to adapt some of my applications for HoneyComb. The issue iI am facing is the destruction of my activity on orientation change (landscape/portrait) When I was using a classic activity, I wrote in the manifest: But now, all these…
Waza_Be
  • 39,545
  • 47
  • 176
  • 256
57
votes
13 answers

How to restart nginx on OS X

I'm using nginx on OS X 10.8. Freshly installed nginx but can't find a way to restart nginx except kill nginx_pid say kill 64116. Wondering if there are better ways to restart nginx. Found some methods on Google and SO but didn't work: nginx -s…
clwen
  • 16,956
  • 27
  • 70
  • 91
44
votes
2 answers

How to recall or restart MathJax?

I need MathJax to recheck again all my page. I mean when the page is created it does all great. But I need to call it after window.onload to reparse the page, as its contents have changed in the meantime. How would I do such a thing?
Rella
  • 59,216
  • 102
  • 341
  • 614
42
votes
16 answers

Stop MySQL service windows

I am developing a website and need to refresh data. Therefore MySQL must be stopped. How can I stop the service? When I look at control panel services it is started without stop or restart option.
jop
  • 527
  • 1
  • 4
  • 6
41
votes
2 answers

How to send a custom command to a .NET windows Service from .NET code?

As in the following link, one can stop, start, and "stop, then start" a service using C# code. http://www.csharp-examples.net/restart-windows-service/ I have baked a .NET service that does implement OnStart and OnStop. However, I need to implement a…
Hamish Grubijan
  • 9,812
  • 18
  • 89
  • 143
37
votes
3 answers

how to automatically restart a node server?

We are finishing development of a project, the client is already using it but occasionally some errors occur - crashing the server. I know I could register a service as 'upstart' script on linux, in order to have my node service restart when it…
transient_loop
  • 5,144
  • 12
  • 46
  • 95
35
votes
3 answers

Restart my Phonegap app programmatically

How can I programmatically restart my phonegap app? I exit the app easily through navigator.app.exitApp(), but I would like it to restart immediately. The reason I need this, is I have to restart it after the user chooses his user language from a…
NuttySquirrel
  • 403
  • 1
  • 4
  • 8
35
votes
5 answers

Refreshing/Restarting PowerShell session w/out exiting

I have been tweaking some of the scripts in my PowerShell profile and it has got annoying to exit powershell then restart it so it will load any changes I have made to the scripts in my profile. Is it possible to restart the powershell session…
shreddish
  • 1,336
  • 8
  • 20
  • 33
1
2 3
93 94