The tag has no usage guidance.

learn more… | top users | synonyms

2
votes
1answer
312 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
2k 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 ...
3
votes
1answer
5k 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 ...
12
votes
3answers
43k 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
765 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
240 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
4k 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
4k 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
6k 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
633 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
10k 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
1k 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: ...
1
vote
2answers
3k 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
224 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
3k 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
2k 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 ...
13
votes
2answers
16k 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 ...
4
votes
2answers
6k 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
196 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
130 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 this possible using /etc/init.d scripts + update-rc.d? Is there any other way?
3
votes
1answer
1k 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 ...
1
vote
3answers
468 views

How to execute further commands in a Linux startup script after starting a process

I am trying to write a startup script that executes an application (MapProxy) after a server reboot. My server runs Ubuntu 11.04 Natty 64 bit. In the script, I execute a python script exec python ...
0
votes
5answers
235 views

Debian Linux Server not Starting

My computer is running Debian Linux and is having a problem starting up. After I select the OS from the GRUB bootloader, I see messages for the drivers being loaded then I get a completely pixelated ...
0
votes
3answers
1k views

init.d tomcat6 script

I "installed" tomcat on ubuntu by just unzipping it. Is there a standard script I can use for /etc/init.d/tomcat? Or do I need to create one? Currently I have created one that works, but I didn't ...
3
votes
2answers
1k views

Changing MySQL startup timeout ([fail] reported although mysql properly started)

I've created a script to cleanup InnoDB storage engine. Everything works fine except that creating the ib_logfile0 and ib_logfile1 files when innodb_log_file_size is set to 1GB takes a while which ...
1
vote
1answer
1k views

alfresco, tomcat crashes on startup, no clues in the logs

I have installed an alfresco community edition 4.0 on a Win 2003 R2 with 3GB of RAM. I've used alfresco for some hours, i've created a user, uploaded some documents. But now, restarting it, tomcat ...
1
vote
1answer
735 views

Why is Windows writing to Page File when I have 4GB of free memory? [closed]

I have 8GB of memory on my machine, running Windows 7 Ultimate x64. I put my laptop to sleep and then woke it up. As it was coming back to life I noticed a lot of activity reads and writes from/to the ...
1
vote
2answers
3k views

Best way to start a program at boot on Ubuntu Server

I have a server running Ubuntu Server 11.10 and I have some programs I want to start at boot time such as Nginx, my Unicorn workers etc. In fact, I know how to start my programmes either by adding a ...
1
vote
2answers
1k views

How to kick off a batch file on server restart?

When the server restarts, I need to kick off a process in a form of a batch file (that basically preloads a bunch of data that will be needed later). I haven't found an effective way to do this ...
0
votes
3answers
3k views

installing a script as startup service in ubuntu

I have a script openerp-server.py in ~/openerp/stable6/server/bin/.I want it to be run at startup.(As a service or not - I don't know the difference) These are the steps I followed 1 Created a ...
1
vote
1answer
1k views

Can OpenVPN run and connect on startup?

I just set up an OpenVPN Server on an Amazon EC2 Instance. Now I want the client (me in this case) to connect to the server when my computer boots. I have read that it can be done by modifying a ...
2
votes
2answers
432 views

Need help for a Unix startup script

I am very weak on unix shell scripting. Is there a way to create Unix shell script which will start on server boot time only, and will execute the following commands in order: # cd /mysql # ...
0
votes
2answers
2k views

Icinga error “Icinga Startup Delay does not exist” although it does

I just installed icinga to monitor my server following this guide: http://docs.icinga.org/0.8.1/en/wb_quickstart-idoutils.html Everything built and installed correctly, but icinga is reporting a ...
0
votes
1answer
139 views

httpd loading 'Test Page' after adding httpd to startup

I recently added httpd to start during the start up by doing this: cd /etc/rc.d/rc5.d/ ln -s /etc/init.d/httpd S80httpd Although httpd starts on boot, seems like my DocumentRoot that was set in ...
1
vote
3answers
2k views

Starting a daemon automatically from init.d

I installed vnstats to see bandwidth statistics, I copied an init.d file tempalte, I placed it in init.d directory, it works ok to access this file and do start/restart/status, but this file should ...
1
vote
1answer
5k views

How to start java service automatically when Centos server starts up

I have a server running CentOS, which I am configuring and I would like to have a java service startup automatically when the server is restarted how can I go about doing this? The command to run the ...
4
votes
2answers
618 views

How do I launch a process as a specific user at startup on OS X?

I would like to run a script as a particular user on startup (not on login). I thought a launchd LaunchDaemon would do it, but 'man launchd' says: "If you wish your service to run as a certain user, ...
0
votes
1answer
585 views

how auto run pppoe connection for valid ip on windows server 2008 [startup folder not help]

i bought an ip valid from my adsl isp and made a pppoe connection for using that ip in my windows server 2008.(my server) i want to force that connection to run automatically when log off/on or ...
1
vote
1answer
3k views

Replacing TTY with a script in CentOS 6

How would I go about replacing a TTY with a custom script in CentOS 6. CentOS 6 uses upstart instead of the standard SysV init scripts, so I'm having difficulty figuring out how it all works. ...
0
votes
2answers
4k views

Server 2008 R2 Slow Startup fix

We are currently running 2 Server 2008 R2 Active Directory Domain Controllers at work, and a fail-over cluster running on them to provide resilient File, Print and DHCP serving. Server1 holds all of ...
2
votes
3answers
697 views

Linux: user defined daemons/services

I'm looking for a framework/library/environment so an ordinary user can set up it's own server processes. These processes should run under his uid as any other user process. However the definition of ...
2
votes
1answer
1k views

OS X 10.6 Apply ipfw rules at startup

I have a couple of firewall rules I would to like to apply at startup. I have followed the instructions from http://images.apple.com/support/security/guides/docs/SnowLeopard_Security_Config_v10.6.pdf ...
8
votes
2answers
18k views

Getting shell script to run as a daemon on CentOS?

EDIT: For some reason half of my post got truncated, not sure what happened. I will update soon and will post that it is updated here at the top. EDIT: I have updated the post again, sorry for the ...
4
votes
1answer
262 views

SSH: How to start a process that won't end after system reboot?

Is there a way to do this so when I reboot my linux server the process will reopen on startup?
4
votes
1answer
289 views

Grub 1.99 default?

I have been running into an issue. I have my grub set to run the only OS on power on, and the BIOS to automatically restart the machine if it dies. The issue is that if the machine dies (from say a ...
0
votes
2answers
998 views

Commands /etc/init/boot.local get started before some environment variables get initialized

I have OpenSuse 11.4. I start some on-boot scripts inside /etc/init/boot.local. Where could I move those scripts so that they would be started after all (most) environment variables got initialized? ...
0
votes
2answers
6k views

How to test /etc/rc.d/rc.local to make sure a command will start successfully at boot?

I'm using tyrantmanager to manage several instances of Tokyo Tyrant. It's working fine. I want to get it to start at boot, so I add the following command into /etc/rc.local: ...
1
vote
1answer
203 views

Mac OS X 10.6.6 NetBoot imaged machines running fsck on boot

I have created a NetInstall image of a OS X 10.6.6 machine in our organization for easy deployment of new machines. This has worked out great for us with the exception of the machines running fsck on ...
0
votes
1answer
735 views

How and when should I mount a remote filesystem using SSHFS?

I managed to get SSHFS working smoothly. I've added the following line to my /etc/fstab: sshfs#xxx@remote_host:/path_to/remote/content /path_to/local/content fuse \ ...
1
vote
1answer
471 views

(Ubuntu) How to configure startup application?

I'm trying to configure the startup application in Ubuntu. I want to perform the following tasks in sequence when a user login to Ubuntu's desktop: Ensure that the webserver is started ...