Tagged Questions

The tag has no wiki summary.

learn more… | top users | synonyms

0
votes
1answer
44 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 ...
0
votes
2answers
81 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
27 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
341 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 ...
3
votes
2answers
1k views

Centos 7. Freeradius fails to start on boot due to priority

I was messing around with FreeRADIUS and MySQL (MariaDB) and it seems FreeRADIUS service can't start properly on startup. But it starts fine using root user or in debug mode (radiusd -X) and works ...
1
vote
1answer
108 views

How to sequence a proper shutdown and startup of web services with systemd?

I am trying to structure the shutdown and startup of Apache, PHP-FPM and MariaDB services using systemd: These are the additional configuration files in /etc/systemd/system folder: # httpd.service ...
1
vote
2answers
41 views

How do I output the previous logged in IP's during an SSH login to my ubuntu server?

I have Ubuntu 12.04 installed and everytime I log in, I would like to see the previous IP addresses that logged in to my server. How would I go about doing this? I have fail2ban installed already.
0
votes
1answer
161 views

Screensaver startup script (batch or reg) GPO, silent install

I have an application, which after it disconnects from a VPN connection, resets the screensaver settings. What I'd like to do is create a GPO script or batch file to run every time the user logs into ...
-1
votes
5answers
312 views

Standard or best way to keep alive process started by init.d

I'm looking for a standard way or best practice to keep a daemon started by an init.d shell script alive. Or even better, is there a way to keep it alive directly from /etc/init.d? Specifically, I ...
0
votes
1answer
80 views

Display a “Splash Screen” in IIS while server is starting application

Our web app has got pretty hefty, and takes a long time to launch on first load. The end-user sees 15-20 seconds of spinning progress bars until the login page. Once the first user has loaded, it's ...
0
votes
1answer
2k views

Recommended way to disable atd (and other unnecessary startup processes) in Ubuntu 14.04 LTS?

I just spun up a new Ubuntu 14.04 server and have been having a bit of trouble getting the atd daemon to stop auto-launching. There's been a bit of changing around on the management of startup ...
1
vote
1answer
874 views

httpd service will not start on boot under CentOS 6

I am having trouble configuring a CentOS 6 Vagrant setup to start the Apache service on boot. I have tried using chkconfig and the OS seems to just ignore it. When I run sudo chkconfig --list httpd, ...
0
votes
0answers
71 views

Solaris /etc/xdg/autostart root script pam_authenticate conversion failure

Im running SOL11.1 and have setup a desktop file to run in /etc/xdg/autostart this calls a main script which calls other scripts. The regular commands work. But the sudo commands doesn't seem to ...
4
votes
3answers
4k views

Start program on computer startup when nobody is logged on and show the window when someone does log on (OS: Windows)

I have a program that is launched on system startup using Task Scheduler on Windows Server 2012. The program must start even if the computer reboots automatially. Administrator is the account used to ...
1
vote
1answer
203 views

ColdFusion 10 on Windows 2008 R2 won't start automatically after Windows Update

I'm running ColdFusion 10 Update 13 on Windows 2008 R2 x64, and since a Windows Update was applied yesterday, ColdFusion won't start automatically when Windows starts. It looks like the Windows Update ...
0
votes
0answers
136 views

Need help getting two commands to run on startup (Seafile)

Trying to get the Dropbox alternative Seafile to run automatically on startup on my VPS running on CentOS 6.4. I want to get these two commands on startup. Noob here, any help will be really ...
0
votes
0answers
40 views

rails 3 ruby 1.8.7 app slow startup on the web

I've been working with rails 3 and ruby 1.8.7 and ALWAYS (in all my apps), I have problems with the STARTUP time delay. It sometimes loads OK, and sometimes takes more than 12 seconds just to start ...
-4
votes
1answer
309 views

how to start the tomcat server in linux? [closed]

i tried to install 1.yum install -zxvf apache-tomcat-6.0.47.tar.gz then 2. export TOMCAT_HOME=/home/mpatil/softwares/apache-tomcat-6.0.37 3. [root@localhost mpatil]# echo $TOMCAT_HOME ...
1
vote
1answer
74 views

Run script when Varnish starts

I'd like to run a script when Varnish starts. This script should execute a webrequest to a webserver (its backend), which then makes sure Varnish's cache gets filled with all pages residing on this ...
1
vote
1answer
83 views

how to locate which startup scripts executes riak startup

I have a 64bit ubuntu server in a virtual machine, and I have some scripts running at startup, and I can't seam to locate in which file do we have the riak startup setup. I searched a lot of files ...
1
vote
0answers
165 views

Windows Server 2008 R2 server not booting

It's a Hyper-V machine that runs the DC for my lab environment. Had a power failure that shut down my server and all other machines come up fine except this lone DC. It boots up straight to Recovery. ...
0
votes
2answers
47 views

Run at Debian startup [closed]

I want to launch a shell script every time Debian starts. It should start an application, amongst other things. Where can I add this information?
-1
votes
1answer
64 views

Sturtup script questions - will runas cmd allow app to be seen by user upon login?

I need to create a startup script on a server that is live in production, so unfortunately I don't have the luxury of trial and error. I need to start an application upon server bootup that is run as ...
1
vote
1answer
1k views

apache2 not starting at boot. Even if set up in runlevels

On my Ubuntu 10.04.4 server apache2 2.2.14 is installed. A few months ago starting apache2 at boot worked fine. Now I've found out that after a reboot apache2 doesn't start automatically anymore. ...
1
vote
1answer
449 views

How to not run /etc/profile.d/custom.sh during Secure FTP login

When I attempt to Secure FTP (using WinSCP) to my CentOS 6.4 box I'm prompted with a message that states: Received too large (168438314 B) SFTP packet. Max supported packet size is 1024000 B. This ...
1
vote
2answers
799 views

Why is there a c:\windows\syswow64\userinit.exe on 64 bit versions of windows?

Windows internals makes it clear than winlogon.exe after authenticating with lsass.exe launches the contents of the UserInit key, which by default is c:\windows\system32\userinit.exe to set up the ...
0
votes
1answer
356 views

Amazon EC2 unable to connect to instance

I had to change keypair on my instance. I have created an EBS AMI image of the original instance and created a new one with the image. I can ping the instance but ssh connection is refused. One ...
0
votes
1answer
182 views

Sometimes Tomcat doesn't re-deploy on startup

The infamous rm -rf command is something we would rather avoid in Production, even if it's scripted. So if you have a war file named mywebapp.war and a directory its deployed to under webapps/ that is ...
0
votes
2answers
575 views

Running mono-based application on Centos Start

I am very new to Linux and I am currently switching my server from Windows to Centos 6.3. I have written a small UDP server. UDP server was written in C# and now I adopted it to work with Linux using ...
2
votes
1answer
210 views

Reload puppet on change of network configuration

We are using puppet version 2.7.11 on a debian client with autostart enabled (START=yes in /etc/default/puppet). We connect to the puppetmaster using a certificate with the FQDN ...
0
votes
2answers
890 views

Startup services are not getting started in CENTOS

I deployed my project on a Shared Hosting that has Root access the Server in picture is CENTOS now although I have defined the service to start on boot it not getting started chkconfig --level 35 ...
1
vote
1answer
1k views

mysql doesn't start after relocating data dir

I have a web-server where the default installation of mysql places all its database files in /var/lib/mysql. The partition where /var is mounted has only 2GB of space, so after running in space ...
8
votes
3answers
13k views

Domain login very slow 10+ minutes

We are racking our brains trying to figure this problem out an are currently stuck! Basically we are having issues with some users taking ages to log in in the mornings, some times up to 20 minutes, ...
-4
votes
1answer
372 views

start of dhcp failed on centos [closed]

i try to config DHCP on centos. when i start service by #service dhcpd restart it failed. the result of #tail -f /var/log/messages : Dec 31 19:26:31 localhost dhcpd: exiting. Dec 31 19:27:04 ...
0
votes
1answer
167 views

ec2 instance doesn't start

I have an EBS backed EC2 instance, which doesn't start The system log says: [ 0.881605] Write protecting the kernel read-only data: 1196k Loading, please wait... %GCouldn't get a ...
2
votes
2answers
2k views

Run Python script at startup using upstart

I'm trying to create an upstart script to run a python script on startup. In theory it looks simple enough but I just can't seem to get it to work. I'm using a skeleton script I found here and ...
1
vote
1answer
2k views

Slow tomcat startup

I have very slow Tomcat start with app deployment. Environment: OS: Scientific Linux 6.3 x86_64 Java: 1.7.0_9 64bit Tomcat: 7.0.32 startup tooks 150s and java process is at 100% CPU I tried ...
2
votes
3answers
3k views

Why is access to my database very slow? [closed]

I have a mysql database that used to work perfectly fine, but now it is dead slow on startup. When I type in $> mysql -u foo bar I get the following usual message for about 30 seconds before I ...
-3
votes
1answer
348 views

GPO Startup script did not execute on some computers [closed]

The GPO Startup scripts works fine on other machine but not for another half of the machine. gpresult show that GPO was there. I ran RSOP and it show that the Startup script was there but it was never ...
1
vote
3answers
4k views

When are scripts inside etc/profile.d executed?

I added some scripts from root inside etc/profile.d to execute at startup time. But when will these scripts be executed if I login into system as a non root user? I want to start LDAP-server at ...
3
votes
2answers
933 views

Is there reference documentation for CloudInit?

Ubuntu's CloudInit package is very useful; however, the only documentation I've found on all of the available options is in their examples: ...
0
votes
1answer
664 views

How do I get a Task Scheduler startup trigger to delay

System is Windows 2008 R2 I have a task scheduler task with a trigger to run at system startup, and have set the Delay to 20 minutes, however the task runs immediatley on system startup and ignores ...
0
votes
1answer
157 views

init is the parent for a script: how can I find what initially launched the script?

The box in question is RHEL/CentOS 5.5 x86_64. It has been up for 80+ days. A custom watchdog script exists on the server which performs a variety of tasks and this particular script accepts a few ...
2
votes
1answer
2k views

mount can't find /dev

I get this message on my bootup screen: mount: mounting udev on /dev failed: No such device W: devtmpfs not available, falling back to tmpfs for dev How do I get rid of it and what does it mean? I ...
2
votes
2answers
1k views

Missing all users startup folder, is there a way to make an active one?

The all users profile startup programs folder is missing under this path. The workstations are running windows 7. C:\ProgramData\Microsoft\Windows\Start Menu\Programs\Startup Is there a way to ...
12
votes
2answers
8k views

How to manage a global VM startup order across the whole datacenter?

Suppose you have a fully virtualized VMware infrastructure: ESXi, vCenter, vMotion, HA, DRS, the whole package. Inside, you have lots of VMs, which at any given time may reside on one host or another ...
3
votes
2answers
3k views

What does userinit.exe do?

When Windows starts, by default userinit.exe runs. What exactly does this program do? I know what it does in general - e.g., initiates the logon script - but I am looking for the full details of all ...
6
votes
4answers
165 views

control startup order of several servers

I'm looking for recommendations on how to control the startup order of a rack of machine should they all need to be booted back up. In more detail: Group1: DHCP/DNS/LDAP Server Group2: NFS ...
0
votes
1answer
105 views

Prompt to user during startup on Debian

I need to write a script which prompts information to the user in case of an error. Is it possible to do it using /etc/init.d scripts + update-rc.d? Is there any other way? Thanks for your ...
3
votes
1answer
931 views

Cannot get Nginx to start on boot with Ubuntu

I'm running Ubuntu 12.04 and Nginx 1.2.1 which I compiled from source. I tried the below commands to get nginx to start on boot: $ sudo update-rc.d nginx default $ sudo update-rc.d nginx enable 2345 ...