The tag has no usage guidance.

learn more… | top users | synonyms

4
votes
2answers
6k views

Getting Xvfb to start upon booting system in Ubuntu Maverick

I'm trying to get Xvfb to run when the system starts up on Ubuntu 10.10 (Maverick), but it's not working. In /etc/rc.local, I have the following: /root/start_xvfb.sh >> ...
0
votes
1answer
74 views

Startup script on one server only in Amazon EC2

Right now I have a setup with a load balancer that starts new instances of a server (debian) if needed be on the Amazon EC2 cloud. On this setup I have a script that needs to be running on only one of ...
0
votes
1answer
6k views

Trouble using update-rc.d to change Debian startup order

I have a Debian Wheezy system on which I want Tomcat to start after MySQL. In the default runlevel 2, they are named as follows in /etc/rc2.d: S16tomcat7 S18mysql I can get the desired effect, at ...
1
vote
1answer
102 views

Is it safe to remove the Bash Shell startup files for Samba user accounts?

I'm in the process of setting up Samba shares for a SOHO network and would like to know whether or not it is safe/advisable to remove a Samba user's Bash Shell startup files (i.e. .bash_logout, ...
1
vote
2answers
4k views

Process in rc.local does not seem to run — where to see?

I want to run a process in rc.local (Ubuntu Natty) but I am having trouble determining if it has run. I added /bin/sleep 10 /usr/bin/killall PassengerWatchdog /bin/echo "Killall returned with code ...
1
vote
2answers
2k views

Apache and MySQL doesn't start at boot

I am running Debian 6 on a server. On this server I want to have an instance of Apache2 and MySQL started when the system boots. For this purpose I know there are the init.d script and the symbolic ...
0
votes
1answer
400 views

Why is my Cloudformation script not starting apache?

I'm trying to create an instance to run apache, and everything seems to be working, but the web server is not being started. It starts up fine manually. If I reboot the instance, it does not ...
1
vote
3answers
7k views

Filtering GPO's Based on Computer Account Security Group

So, I have a GPO, which runs a quick start up script to delete locally installed IP printers from all machines on our AD domain during computer start up. This works great...the issue appears when we ...
1
vote
4answers
3k views

Can a GPO Startup Script starts a background process and exit immediately?

I have Googled, and not yet found an answer. Scenario: One of my GPOs have a Startup Script that takes a long time to finish. For some reasons, we have to run the scripts synchronously. Naturally, ...
1
vote
1answer
688 views

Permanently change hostname of Debian Squeeze virtual server

I have a virtual server running Debian Squeeze. I can change the hostname by running the hostname new.host.name command or by editing /etc/hostname and then running /etc/init.d/hostname.sh, but after ...
3
votes
2answers
2k views

Execute specific bash script on Gentoo Linux startup

I own a VDS running Gentoo Linux and I am curious about how to execute specific bash script at startup of my VDS. I just want to startup apache2 at boot time and run two thin instances.
2
votes
1answer
120 views

Deploy multiple office products using startup scripts

I need to deploy MS Visio 2010 and MS Project 2010 to users that belong to a specific security group. Most of the time users will only need one or the other, but on occasion they will need both. The ...
0
votes
2answers
1k views

Chroot on startup

I have a script that runs on startup, but it wont launch a application in chroot. #!/bin/sh /usr/sbin/chroot /root/chrootdir/ /bin/sh -c "lighttpd -f /etc/lighttpd.conf -m /lib" echo "script ...
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 ...
1
vote
3answers
308 views

Update saved password for basic authentication using a script

I have a website that uses basic authentication as described on this webpage. Each of the computers I manage have the password saved in their browser. There is only one username and password for ...
2
votes
1answer
267 views

startup script not executing on amazon linux

i'm trying to forward syslog to logentries.com which requires a line added to /etc/rsyslog.conf , so far so good. however, i'm running on amazon elastic beanstalk and have 3 environments ...
2
votes
2answers
2k views

Uninstalling software via startup script in AD

There is an antivirus package that exists on most of our machines that needs to be removed. I did not deploy this software and it was not deployed via GPO - it was installed manually by the previous ...
1
vote
1answer
187 views

Office 2007 Installer Not Logging When Run During Startup Script

I'm using a startup script to deploy Microsoft Office 2007 Standard. It's not working quite right and I'm trying to find logging information for it. Unfortunately, no log is being generated by setup. ...
2
votes
2answers
3k views

GPO startup script not copying files

I created a GPO startup script to execute for computers in a specific AD container. The script takes a file from the AD netlogon share and places it on a directory on the computer. Given the right ...
4
votes
2answers
111 views

Windows 2003 DC GPO Asking for Password on Startup

Simple answer I am sure...I an trying to deploy Office 2010 to clients via the GPO startup script but am having issues. Soon as the computer starts, it prepares network connections then goes on to ...
2
votes
0answers
405 views

Is it possible to embed TCL directly into a Cisco startup-config?

Is it possible to embed TCL directly into a Cisco startup-config? From the (lack of) information I'm finding, it doesn't look do-able. I have a tool that generates Cisco configurations based on some ...
1
vote
1answer
85 views

control which version of PostgreSQL starts

I have three versions of Postgres (8.4, 9.0, 9.1) running on my Ubuntu box. Each version is configured to listen on a different port. When I reboot the machine, only the 9.0 version starts ...
1
vote
1answer
2k views

Group Policy Startup Script Not Working

I have a startup script on my server that is suppose to run at startup and install Office 2010 on my workstation computer however it is not working. Running rsop.msc it shows that the startup script ...
0
votes
1answer
2k views

Login/Startup Scripts Not working

My test network setup is as follows. A Windows 2008 R2 Server acting as a DC (AD, DNS, DHCP) it is on its own vlan (10.20.99.0/24). I then Have two XP test computers each on there own vlan ...
2
votes
1answer
1k views

How do I register a user logon script using PowerShell?

My company manufactures a medical instrument and the software that runs on it. Under the hood, it's got a PC running Windows 7. I'm developing a process so that untrained technicians can configure the ...
4
votes
2answers
2k views

Exactly HOW are machine start-up Group Policies processed and what is required?

We have Server 2008 R2 and Windows 7 Enterprise. I'm asking this because we have several hundred laptops and netbooks at our organization. We do'nt have a NAC or a RADIUS server so all the wireless ...
1
vote
1answer
848 views

Running Script on EC2 Boot

I want to mount my EBS volume and start up the Apache/MySQL servers on my EC2 machine, but I can't even get my script to run at startup. I've tried putting it in: /etc/init.d/ /etc/rc.d/rc5.d/ ...
1
vote
2answers
8k views

Group policy startup script needs elevated priviledges

I have a script that I want to run at startup but that requires elevated priviledges. Is there a way of doing this with Group Policy? I tried adding it in as a startup script using GPO but it ...
1
vote
1answer
721 views

EC2 startup script?

We're using Amazon's 32-bit Linux AMI. What is the best way to automatically run a script after the OS is loaded (not on ssh login, just after it has booted up)?
2
votes
4answers
1k views

Best way to tag/identify processes for killing them later?

In my linux startup scripts, when I start a process like (openvpn used for this example, but the question is general to any process); openvpn --config /etc/myserver.conf what is the best way to ...
0
votes
2answers
701 views

What are best practices writing parallel startup scripts in Unix shell (ksh,bash)?

I have a piece of software with different components running on the same Unix machine (web server, DBMS, middleware, different daemons). Startup of the few components depends on the success of the ...
-1
votes
1answer
93 views

Spawned Process Terminated in GP Startup Script

I have a Group Policy Startup Script which runs synchronously. I now need this script to run one process asynchronously. So far I have managed to get the spawned process running via the command below, ...
0
votes
3answers
125 views

Need a script that runs every OSX server restarts

I need to run a script every time my OSX server (10.5.8) the server restarts. The closest I could find was to add the script to my login items but this would only apply to one use and I need this ...
0
votes
2answers
973 views

Where do I put a startup and shutdown task?

I have written the below program to notify me by email when my Linux system has been rebooted from a power failure. The way I do this is enableing power-fail recovery in the BIOS, and then register ...
2
votes
3answers
225 views

Start Linux scripts sequentially with blocking

I want to create a script to start two different scripts in sequence. The first script start an application server, which although the process has started (and i'm back at the prompt), it will only ...
2
votes
5answers
6k views

Ubuntu 9.10: how do I troubleshoot a startup script that doesn't appear to run?

I've created a bash script 'foo'. I've made that script executable with chmod+x and added it the the start-up by running sudo update-rc.d foo defaults 80 Despite that, it doesn't appear to be ...
1
vote
5answers
1k views

Apple Mac Startup Scripts

I'm running Mac 10.6 (Snow Leopard). I would like to have a shell script that handles some routing/vpn and server tasks executed on Machine startup. This script should be preferably executed before ...