Stack Exchange Network

Stack Exchange network consists of 174 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

Questions tagged [startup]

This tag is related to startup of servers or services.

0
votes
0answers
7 views

docker-proxy starts automatically : how to disable it?

Every time i start my system, i see my port 27017 being used by this process: x:~$ sudo netstat -tulpn | grep 27017 tcp6 0 0 :::27017 :::* LISTEN ...
0
votes
0answers
20 views

How do I get my FreeNAS started after a restart

My NAS appliance (a FreeNAS MINI) wasn't responding today. (users couldn't access their network shares) Server IP addresses are assigned by DHCP. I access by host names. So, I tried connecting to ...
1
vote
1answer
78 views

Windows - Webserver cannot bind to port 80, but no known processes are using the port

Long time ago I have created a Powershell script that stops the Apache-service, delete the webserver logs and the start the service again. Have had no issues until recently when the stop-process has ...
2
votes
2answers
623 views

Set service StartType to Automatic - Delayed

Using Set-Service, I'm able to change the StartType of my services between the accepted values of Boot, System, Automatic, Manual, Disabled. Using services.msc, I'm able to set some services to ...
0
votes
0answers
106 views

systemd timer OnCalendar is not restarting

I have a problem with systemd timers. I want to run a bash-script every minute. This is my runmyscript.service file: [Unit] Description=RunMyScript [Service] User=myuser Type=simple ExecStart=/bin/...
0
votes
1answer
24 views

can cygwin run things at startup

In normal Linux I can put things in rc.local to run at startup. Is there a way to do this in Cygwin? It seems that when I start the Cygwin terminal it doesn't automatically run anything. Specifically,...
0
votes
0answers
28 views

nginx behavior at startup with slow server

I have 2 servers with a reverse proxy using nginx for password authentication and for SSL. Everything works great except at boot. Otherwise it works fine. I'm pretty sure the issue is that one of ...
0
votes
1answer
90 views

Windows Service created & started at startup time using Powershell script not functioning correctly

I create a new AWS Windows 2016 Server instance and provide it the script to execute through User Data. The script first creates a Windows service, creates a new admin user, grants user the Logon as ...
0
votes
2answers
235 views

start sevices after boot complete in linux mint

I am using linux mint 18.3 Sylvia. My system is taking a long time to boot, as I found a lot of services are running at start up. What I am asking is there any way I could start those services after ...
0
votes
0answers
214 views

Ensure a Jenkins job runs once on or after the specified cron time - even if Jenkins were not running at the specified cron time

Now this is a weird one, but I hope you will bare with me, and have suggestions as to what to do. I have two things, which are not immediate compatible: The old stuff: Several Jenkins Build-server ...
0
votes
0answers
352 views

WSL command execution at startup/shutdown from Local Group Policy Editor in Windows 10

The base is a fresh install of Windows 10 with the Windows Subsystem for Linux (WSL) enabled and with a Ubuntu installed. The tool is "Local Group Policy Editor" under "Local Computer Policy > ...
0
votes
2answers
3k views

Add IP Routes and Rules at Startup

I’m currently routing some marked packets via eth0. However, I have to apply the routing rules every time the system reboots. The two commands I always have to re enter are ip rule add fwmark 3 table ...
0
votes
0answers
147 views

Web Management Service fails to start automatically

After a reboot Web Management Service fails to start. I see the following error in Event Log Unable to bind to the underlying transport for 192.168.0.101:8172. The IP Listen-Only list may contain a ...
0
votes
2answers
417 views

Read Ahead value automatically getting updated at boot

OS version: CentOS Linux release 7.2.1511 (Core) I have the following commands in my rc.local file: /usr/sbin/blockdev --report > /root/test_boot /usr/sbin/blockdev --setra 256 /dev/vdb /usr/sbin/...
1
vote
0answers
90 views

Debian 8; Run sudo in a screen session at boot without password prompt?

I want to create a startup/boot script that allows me to run a couple of Screen sessions. This I have been able to achieve through creating a script on /etc/init.d/bashfilehere But when I need to run ...
0
votes
0answers
32 views

Ubuntu: run daemon (service) only when server run with specific IP

I try to set up an Ubuntu server so it start specific services (daemon) only when machine uses specific IP. The idea is that I have a server to run some service on (and service is RAM-intensive), the ...
0
votes
1answer
456 views

Windows 10 Hibernate Boot let's suspend (Powershell) Script execution at Startup

I am intensively working with Powershell Scripts which are executed at startup (local machine, not logon). I had some problems to troubleshoot like "Wait for network" or replication failures between ...
0
votes
1answer
1k views

Is there an equivalent package to “iptables-services” in Debian 9 Stretch?

I would like to administer my firewall by good, old-fashioned iptables commands saved by iptables-save instead of ufw or firewalld. For RHEL, there is a neat little package called iptables-services ...
0
votes
0answers
1k views

Trying to rebuild InnoDB files after server crash with no dump file

I am having a major problem starting mysql (using mariadb). I had a server crash (and didn't have a dump of the databases in the server. After restoring the server, I tried to manually copy the ...
2
votes
4answers
10k views

Task scheduler scheduled task at startup not working

I have scheduled a task to be run at system startup. But its not working. When I run the task manually, it is working. Below are the screenshots of the settings. What have I done wrong here? This ...
0
votes
1answer
90 views

chkconfig wont install tomcat8

I have tomcat8 intalled on my Amazon Linux AMI, I modified the tomcat8 init script header, so chkconfig could install tomcat8 to run automatically on boot. The modified header is: #!/bin/bash # # ...
0
votes
0answers
253 views

Mongodb autostart with linux

I have recently updated mongodb on my AWS linux server with sudo yum install -y mongodb-org The result was that the mongod command would no longer successfully launch the mongodb server, because I ...
1
vote
1answer
48 views

Running script on instance that is created from AWS snapshot

I've a AMI that I'd like to launch more instances based on this. But seems when I create instance based on this images, it doesn't boot-up. So the scripts that I would like to run on startup doesn't ...
0
votes
2answers
353 views

Long Tomcat start up times

We are currently deploying our in house program on two different servers. Both of these servers built within Cisco Openstack. OS Centos 7. The issue is, that with every redeploy of the app, we need ...
0
votes
3answers
244 views

Prevent Apache2 from writing startup information in error log

Apache2 is always writing startup information into the error log. See the following output: [Fri Aug 26 12:57:54.298895 2016] [ssl:warn] [pid 4287] AH01873: Init: Session Cache is not configured [...
1
vote
1answer
309 views

Dell C1100 flashing amber light, no video output

I've been colocating a Dell Poweredge C1100 (CS24-TY) for over a year now, without any issues. The server was pulled out of a working environment and sent to my house, but when booted the server has ...
-1
votes
1answer
59 views

service script for any linux dist… possible?

I'm developing an app which will be run on linux. It can run on most distributions. Is there any way to create a startup/service script that will work on any distribution? I've read about /etc/init.d ...
-1
votes
2answers
881 views

Linux init script service - delay until mysql socket is ready

How does one go about delaying a service init script in Linux until the MySQL socket exists? Does the sleep command in a startup script delay the entire boot process, or are init scripts each ...
1
vote
1answer
935 views

Windows Service with dependency cannot start automatically

I have Service B that is dependent on Service A. Both services are set for automatic(delayed) start upon boot and both services have set Recovery Action of restart in case of first, second and ...
2
votes
1answer
2k views

systemd service script for libreoffice/openoffice

I'm trying to setup correctly a headless libreoffice/openoffice server on a debian jessie. I created a script named /etc/systemd/system/openoffice.service with the following content [Unit] ...
0
votes
1answer
191 views

Tomcat7 - slow startup

I have a problem with very long startup of Tomcat7. It started suddenly and logs don't reveal anything - when I type 'sudo service tomcat7 start' it says OK and logs are silent for 10-15 minutes. ...
7
votes
2answers
157 views

Delay Windows (member) Server start-up until Domain Controller is available

What is the most efficient way do delay (or pause) the cold start-up of Windows domain member servers until a domain server is available? There are ways to delay the start-up of a server , but it is a ...
0
votes
1answer
105 views

How to get notified when a server started with gcloud is completely up

Is there a way to detect when a server is completely up (i.e. finished all the kernel startup tasks)? This is a Google Compute Engine Instance. Nov 18 10:58:51 image-name google: No startup script ...
0
votes
1answer
3k views

Cannot start Weblogic managed node : Stuck at <WorkManager> <BEA-002900> <Initializing self-tuning thread pool>

Appreciate you expert help on this issue. Two weblogic managed nodes running in the same machine went down one day , on trying to start them up again using the startManagedWebLogic.sh, observed ...
0
votes
1answer
54 views

How to see when windows XP was on and off

Is there way to see when windows XP was on and off? I have important system on windows XP computer, so I want to see when it was on and off. If this is not possible, it would be also usefull for me ...
3
votes
1answer
1k views

Debian 8 Jessie not displaying startup services and messages

Recently I setup a new box with Debian 8 Jessie (I used Debian 6 and 7 on other boxes). I was disappointed to see the startup messages only on 2 or 3 text lines. No more list of startup services ...
-1
votes
1answer
52 views

CentOS 6 script at server boot up

I have three terminal commands that I would like to execute when server boots up. How can I achieve this? I have seen many solutions, but none of them seems to be simple and working. Here are the ...
1
vote
1answer
5k views

How to find the file location of int.d scripts in ubuntu

I need location of a init.d script. I am using service cinder-api start to start the service Other init scripts are located at /etc/init.d/ location. But this service is not found in that location , ...
0
votes
2answers
89 views

Prevent program from being started on RDP logon

I got a small problem. I have a program which has to run all the time on the server (Windows 2008). It's not a service but a normal application. It is located in startup. The problem is its working ...
-5
votes
1answer
59 views

Selling my Used Servers online? [closed]

I am new here and doing a bit of research. I am running a startup which takes used technology, fixes it up and sells it online. I am looking for the best method/place to sell servers online, both ...
2
votes
1answer
565 views

How to make a Windows service start before another at Windows startup [duplicate]

Is it possible to make a Windows service (third-party one, I don't control its code) to start only after a service I own? I need that to connect to a device which is blocked by the third-party ...
-1
votes
1answer
658 views

Accidently removed all PHP dynamic libraries [closed]

I was trying to remove a startup module folder(ioncube) and accidently removed the PHP startup modules/extensions folder (debian) Now I'm getting this PHP Warning: PHP Startup: Unable to load ...
8
votes
4answers
4k views

Cygwin startup error /usr/bin/id: cannot find name for group ID

I use cygwin at work to get quick access to unix tools and as an ssh terminal. I recently installed some new Cygwin packages and now when I try and open a terminal it is very slow and gives the ...
0
votes
1answer
246 views

IPTables Rules Being Loaded From Somewhere

I'm having troubles connecting (meaning I can't connect to any IP or port) to my server and it appears that the problem was to do with CSF. I uninstalled CSF (by running /etc/csf/uninstall.sh) and ...
2
votes
0answers
1k views

Running inotifywait on startup of machine

I want to start this inotifywait script on startup of the machine, in order to monitor the folders from the moment of booting: #!/bin/bash while inotifywait -r -e modify,attrib,close_write,move,...
0
votes
1answer
371 views

Starting a GUI application under a different session

I run a game hosting service, and I want my customers to be able to access the console of the game servers. However, despite looking like a terminal window, the game's server console is graphical, and ...
0
votes
1answer
902 views

Execute a service as a specific user under ubuntu

I'm running a gameserver and want to start it on a screen on system start, but screen is user specific, so I have to run the command as 'user'. So I wrote this short service script which starts itself ...
5
votes
3answers
6k views

Automatically start docker container's linked dependencies

I run gitlab in a docker container and it separates its dependencies (MySQL, Redis, Mailserver) quite nicely into separate docker containers. Running them is not a problem, I start them in reverse ...
1
vote
1answer
430 views

starting linux services delayed issue

I have an issue where the bind9 service aka named in my ubuntu system is starting up before my openvpn service. When this happens, the network interface that openvpn creates (tun0) is not found by ...
0
votes
2answers
4k views

Windows Server 2008 R2 with Mirrored Disk Booting to Black Screen

I've got a Windows Server 2008 R2 device with 2 disks formatted as Dynamic Mirrored disks booting to a black screen. Upon booting the machine goes through the standard checks and then gets stuck at a ...