Questions tagged [startup]

Startup usually refers to the processes or events that occur at the start of a program, at the beginning of execution of a code block, or when a device is first booted.

2846 questions
45
votes
2 answers

Getting message about docker wanting to create symlink every time I start Mac

(Almost) every time I start up my Mac, I get the the following message: Docker Desktop wants to create /var/run/docker.sock symlink. Touch ID or enter your password to allow this. Anybody knows how to get rid of this? I allow it every time, but it…
Sameh
  • 666
  • 5
  • 9
45
votes
8 answers

Run Java application at Windows startup

I have a JAR file containing a Java application. How can I make it start with Windows, without needing user interaction?
shan
  • 493
  • 2
  • 5
  • 10
45
votes
5 answers

Call a function before main

Possible Duplicate: Is main() really start of a C++ program? Is possible to call my function before program's startup? How can i do this work in C++ or C?
Nick
  • 10,309
  • 21
  • 97
  • 201
44
votes
16 answers

What are common pitfalls for startups driven by software developers?

Myself and a friend have created a startup, but we are both software developers. We are quickly realizing that we are going to have to deal with and understand, all of the intricacies of business. Are there any resources that can help us avoid…
Ryan Emerle
  • 15,461
  • 8
  • 52
  • 69
44
votes
8 answers

JBoss seems to hang on startup at the command line

I am trying to run JBoss from the command prompt with the standalone.bat file. It starts the startup process but then just sits there. I couldn't really find any answers with Goolgle or on here. Here is the output from my command…
mitchj
  • 623
  • 4
  • 9
  • 16
43
votes
15 answers

Eclipse freezing at startup - before loading workspace

First thing on a morning, just after I switch on my PC (Windows XP) and start my Eclipse it simply shows the splash screen and then freezes. After about 20 minutes it will then ask me which workspace to load. The problem was happening with 3.5 and…
pillingworth
  • 3,238
  • 2
  • 24
  • 49
43
votes
5 answers

Starting supervisord as root or not?

Supervisor is running on 3.0: pip freeze | grep supervisor supervisor==3.0 When starting supervisord from the command line: sudo $VIRTENV/supervisord --nodaemon --configuration $PATH_TO_CONFIG/supervisord.conf I get this error: 2013-11-11…
kev
  • 8,928
  • 14
  • 61
  • 103
42
votes
4 answers

How do I force an application-scoped bean to instantiate at application startup?

I can't seem to find a way to force an application-scoped managed bean to be instantiated/initialized when the web app is started. It seems that application-scoped beans get lazy-instantiated the first time the bean is accessed, not when the web app…
Jim Tough
  • 14,843
  • 23
  • 75
  • 96
37
votes
9 answers

MongoDB Failing to Start - ***aborting after fassert() failure

I am new to Ubuntu (Linux tbh). I encountered problem with starting MongoDB service. I want to created web app using Ruby on Rails and MongoDB but mongo seems to fail to start. I followed this MongoDB installation on Ubuntu all of installation went…
Fresz
  • 1,804
  • 2
  • 16
  • 29
36
votes
2 answers

Minimise Spring Boot Startup Time

In my opinion SpringBoot projects take a long time to load. This probably happens because SpringBoot is configuring components for you, some of which you might not even need. The most obvious thing to do is to remove unnecessary dependancies from…
Samantha Catania
  • 5,116
  • 5
  • 39
  • 69
36
votes
9 answers

iOS Present modal view controller on startup without flash

I'd like to present modally, at first startup, a tutorial wizard to the user. Is there a way to present a modal UIViewController on application startup, without seeing, at least for a millisecond, the rootViewController behind it? Now I'm doing…
sonxurxo
  • 5,648
  • 2
  • 23
  • 33
35
votes
4 answers

Speed up application start by adding own application classes to classes.jsa

To speed up the startup time of the JVM, the Sun developers decided it is a good idea to precompile the standard runtime classes for a platform during installation of the JVM. These precompiled classes can be found e.g.…
Daniel
  • 27,718
  • 20
  • 89
  • 133
33
votes
5 answers

HAProxy doesn't start, can not bind UNIX socket [/run/haproxy/admin.sock]

I'm trying to start haproxy (version 1.5.8 2014/10/31) with an "empty" config file and I get: user@server:~$ sudo service haproxy start [....] Starting haproxy: haproxy[ALERT] 126/120540 (7363) : Starting frontend GLOBAL: cannot bind UNIX socket…
Balazs Varhegyi
  • 991
  • 1
  • 18
  • 37
33
votes
3 answers

How to customize startup of WPF application?

When a new WPF Application project is created, MainWindow.xaml, App.xaml and their corresponding code behind classes are automatically generated. In the App.xaml there is an attribute that defines which window is going to be run initially and by the…
Boris
  • 9,986
  • 34
  • 110
  • 147
32
votes
6 answers

PowerShell steps to fix slow startup

I have slow PowerShell console startup times (always more than 5 second wait) and was hoping for advice on troubleshooting steps to find out where the bottlenecks might be? I have read that for running scripts, -NoProfile is important to prevent…
YorSubs
  • 3,194
  • 7
  • 37
  • 60