<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Admins Goodies &#187; startup</title>
	<atom:link href="http://adminsgoodies.com/tag/startup/feed/" rel="self" type="application/rss+xml" />
	<link>http://adminsgoodies.com</link>
	<description>Just another WordPress site</description>
	<lastBuildDate>Sun, 19 May 2013 16:34:04 +0000</lastBuildDate>
	<language>en-US</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.5.1</generator>
		<item>
		<title>Missing all users startup folder, is there a way to make an active one?</title>
		<link>http://adminsgoodies.com/missing-all-users-startup-folder-is-there-a-way-to-make-an-active-one/</link>
		<comments>http://adminsgoodies.com/missing-all-users-startup-folder-is-there-a-way-to-make-an-active-one/#comments</comments>
		<pubDate>Tue, 14 Aug 2012 16:33:57 +0000</pubDate>
		<dc:creator>tom</dc:creator>
				<category><![CDATA[General Questions]]></category>
		<category><![CDATA[startup]]></category>
		<category><![CDATA[win7]]></category>

		<guid isPermaLink="false">http://adminsgoodies.com/missing-all-users-startup-folder-is-there-a-way-to-make-an-active-one/</guid>
		<description><![CDATA[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 create one that works in this paths place? It may have been removed by group policy, but until we locate that I am looking for an alternative fix. Thank you. Asked by Alex Zmaczynski Try typing shell:startupin the start menu search bar, does anything come up? This should be the [...]]]></description>
				<content:encoded><![CDATA[<h3 class="pq"><img src="http://adminsgoodies.com/imgs/question.png" alt="Question" /></h3>
<p>The all users profile startup programs folder is missing under this path. The workstations are running windows 7.<br />
C:\ProgramData\Microsoft\Windows\Start Menu\Programs\Startup</p>
<p>Is there a way to create one that works in this paths place?</p>
<p>It may have been removed by group policy, but until we locate that I am looking for an alternative fix. </p>
<p>Thank you. </p>
<div class="author">Asked by <a href="http://serverfault.com/users/131598/alex-zmaczynski" target="_blank">Alex Zmaczynski</a></div>
<h3 class="pa"><img src="http://adminsgoodies.com/imgs/answer.png" alt="Answer" /></h3>
<p>Try typing <code>shell:startup</code>in the start menu search bar, does anything come up? This should be the users startup folder.</p>
<p>Otherwise there is a great article located <a href="http://windowstipsandfixes.blogspot.com/2007/09/restore-startup-folder.html" rel="nofollow">here</a> on how to recover your &#8220;Startup&#8221;</p>
<div class="author">Answered by <a href="http://serverfault.com/users/120529/jmeterx" target="_blank">JMeterX</a></div>
<p class="ref-link">Check <a href="http://serverfault.com/questions/417348/missing-all-users-startup-folder-is-there-a-way-to-make-an-active-one" target="_blank">more discussion</a> of this question.</p>
]]></content:encoded>
			<wfw:commentRss>http://adminsgoodies.com/missing-all-users-startup-folder-is-there-a-way-to-make-an-active-one/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>init.d tomcat6 script</title>
		<link>http://adminsgoodies.com/init-d-tomcat6-script/</link>
		<comments>http://adminsgoodies.com/init-d-tomcat6-script/#comments</comments>
		<pubDate>Sun, 06 May 2012 22:33:15 +0000</pubDate>
		<dc:creator>tom</dc:creator>
				<category><![CDATA[General Questions]]></category>
		<category><![CDATA[scripting]]></category>
		<category><![CDATA[startup]]></category>
		<category><![CDATA[tomcat]]></category>

		<guid isPermaLink="false">http://adminsgoodies.com/init-d-tomcat6-script/</guid>
		<description><![CDATA[I &#8220;installed&#8221; 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&#8217;t know if there was a more correct way to do this. Asked by Jeff Storey The package for Ubuntu editions is named either tomcat6 or tomcat7. You can install tomcat, and the associated servers, scripts and such like so: [...]]]></description>
				<content:encoded><![CDATA[<h3 class="pq"><img src="http://adminsgoodies.com/imgs/question.png" alt="Question" /></h3>
<p>I &#8220;installed&#8221; 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?</p>
<p>Currently I have created one that works, but I didn&#8217;t know if there was a more correct way to do this.</p>
<div class="author">Asked by <a href="http://serverfault.com/users/75027/jeff-storey" target="_blank">Jeff Storey</a></div>
<h3 class="pa"><img src="http://adminsgoodies.com/imgs/answer.png" alt="Answer" /></h3>
<p>The package for Ubuntu editions is named either <code>tomcat6</code> or <code>tomcat7</code>.</p>
<p>You can install tomcat, and the associated servers, scripts and such like so:</p>
<pre><code>sudo apt-get install tomcat6
</code></pre>
<p>The <code>tomcat6-user</code> package contains a few examples on how to start user instances.</p>
<p>Also, I found a <a href="http://www.ubuntugeek.com/how-to-install-tomcat-6-on-ubuntu-9-04-jaunty.html" rel="nofollow">link for a how-to</a> for an older version of Ubuntu, but is still relevant.</p>
<div class="author">Answered by <a href="http://serverfault.com/users/7309/mike-fiedler" target="_blank">Mike Fiedler</a></div>
<p class="ref-link">Check <a href="http://serverfault.com/questions/384829/init-d-tomcat6-script" target="_blank">more discussion</a> of this question.</p>
]]></content:encoded>
			<wfw:commentRss>http://adminsgoodies.com/init-d-tomcat6-script/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Apache no longer starts at Windows boot up</title>
		<link>http://adminsgoodies.com/apache-no-longer-starts-at-windows-boot-up/</link>
		<comments>http://adminsgoodies.com/apache-no-longer-starts-at-windows-boot-up/#comments</comments>
		<pubDate>Mon, 16 Apr 2012 08:33:05 +0000</pubDate>
		<dc:creator>tom</dc:creator>
				<category><![CDATA[General Questions]]></category>
		<category><![CDATA[apache2]]></category>
		<category><![CDATA[startup]]></category>
		<category><![CDATA[windows]]></category>

		<guid isPermaLink="false">http://adminsgoodies.com/apache-no-longer-starts-at-windows-boot-up/</guid>
		<description><![CDATA[I have Apache installed as part of XAMPP &#8211; local test server. It is configured as a Windows (XP) Service. Startup type is &#8220;Automatic&#8221;. For a long time now it has always started when Windows boots up, but recently this has stopped happening. I now need to start it manually via the XAMPP Control Panel &#8211; at which point it appears to start up perfectly OK. The only recent updates to the machine (that I [...]]]></description>
				<content:encoded><![CDATA[<h3 class="pq"><img src="http://adminsgoodies.com/imgs/question.png" alt="Question" /></h3>
<p>I have Apache installed as part of XAMPP &#8211; local test server. It is configured as a Windows (XP) Service. Startup type is &#8220;Automatic&#8221;. For a long time now it has always started when Windows boots up, but recently this has stopped happening. I now need to start it manually via the XAMPP Control Panel &#8211; at which point it appears to start up perfectly OK.</p>
<p>The only recent updates to the machine (that I recall) are Windows Updates &#8211; none of which appear to have &#8220;known issues&#8221; that relate to this. And updates to Google Chrome.</p>
<p>Any ideas what could prevent Apache from starting automatically at Windows (XP) boot up?</p>
<p><strong>EDIT#1</strong></p>
<p>There are 2 related Errors in my system event log regarding the Service Control Manager:</p>
<blockquote>
<ol>
<li>
<p>Timeout (30000 milliseconds) waiting for the Apache2.2 service to<br />
  connect.</p>
</li>
<li>
<p>The Apache2.2 service failed to start due to the following error:  The<br />
  service did not respond to the start or control request in a timely<br />
  fashion.</p>
</li>
</ol>
</blockquote>
<p>When I manually start the Apache server after boot up there are 2 &#8220;information&#8221; events stating that it was &#8220;sent a start control&#8221; and that it &#8220;entered the running state&#8221;. Although I notice it appears to take 19 seconds between the start control being sent and entering a running state &#8211; according to the event log.</p>
<p>So, maybe 30 seconds during <em>boot up</em> isn&#8217;t long enough (anymore) for Apache to start??</p>
<div class="author">Asked by <a href="http://serverfault.com/users/49157/w3d" target="_blank">w3d</a></div>
<h3 class="pa"><img src="http://adminsgoodies.com/imgs/answer.png" alt="Answer" /></h3>
<p>If you experience service start up problems at boot for services set to &#8220;Automatic&#8221;, try to <a href="http://support.microsoft.com/kb/193888" rel="nofollow">delay it by configuring a dependency</a>. E.g. set the apache service to depend on the TCP/IP stack. This way it will start only after the TCP/IP service. </p>
<p>Another way could be to set it to Manual, and have a scheduled task run at startup that invokes a script that waits for 60 seconds and the starts the apache service, like:</p>
<pre><code>WScript.Sleep(60000)strServiceName = "Apache Server Service"
Set objWMI = GetObject("winmgmts:{impersonationLevel=impersonate}!\\.\root\cimv2")
Set colServices = objWMI.ExecQuery ("Select * from Win32_Service Where Name ='" &amp; strServiceName &amp; "'")
For Each objService in colServices
    objService.StartService()
Next
</code></pre>
<div class="author">Answered by <a href="http://serverfault.com/users/105072/mathias-r-jessen" target="_blank">Mathias R. Jessen</a></div>
<p class="ref-link">Check <a href="http://serverfault.com/questions/379458/apache-no-longer-starts-at-windows-boot-up" target="_blank">more discussion</a> of this question.</p>
]]></content:encoded>
			<wfw:commentRss>http://adminsgoodies.com/apache-no-longer-starts-at-windows-boot-up/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>How to kick off a batch file on server restart?</title>
		<link>http://adminsgoodies.com/how-to-kick-off-a-batch-file-on-server-restart/</link>
		<comments>http://adminsgoodies.com/how-to-kick-off-a-batch-file-on-server-restart/#comments</comments>
		<pubDate>Fri, 24 Feb 2012 01:33:18 +0000</pubDate>
		<dc:creator>tom</dc:creator>
				<category><![CDATA[General Questions]]></category>
		<category><![CDATA[startup]]></category>
		<category><![CDATA[windows-server-2003]]></category>
		<category><![CDATA[windows-server-2008]]></category>

		<guid isPermaLink="false">http://adminsgoodies.com/how-to-kick-off-a-batch-file-on-server-restart/</guid>
		<description><![CDATA[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&#8217;t found an effective way to do this (other than write a Windows service). Am I missing something simple? Asked by AngryHacker You want to use a startup script for this. The link provided is for a logon script, but the process is the [...]]]></description>
				<content:encoded><![CDATA[<h3 class="pq"><img src="http://adminsgoodies.com/imgs/question.png" alt="Question" /></h3>
<p>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).  </p>
<p>I haven&#8217;t found an effective way to do this (other than write a Windows service).<br />
Am I missing something simple?  </p>
<div class="author">Asked by <a href="http://serverfault.com/users/3025/angryhacker" target="_blank">AngryHacker</a></div>
<h3 class="pa"><img src="http://adminsgoodies.com/imgs/answer.png" alt="Answer" /></h3>
<p>You want to use a <a href="http://www.petri.co.il/setting-up-logon-script-through-gpo-windows-server-2008.htm">startup script</a> for this. The link provided is for a logon script, but the process is the same for a startup script. You just configure it in Computer Policies instead.</p>
<p>If you don&#8217;t have Group Policy available, or don&#8217;t want to manage it there, the steps are the same to configure this in the Local Policy. </p>
<p>You&#8217;ll either use the Group Policy Management Console or the local <code>gpedit.msc</code> to configure this policy:</p>
<p><img src="http://i.stack.imgur.com/gbPav.png" alt="enter image description here"></p>
<div class="author">Answered by <a href="http://serverfault.com/users/10472/mdmarra" target="_blank">MDMarra</a></div>
<p class="ref-link">Check <a href="http://serverfault.com/questions/363164/how-to-kick-off-a-batch-file-on-server-restart" target="_blank">more discussion</a> of this question.</p>
]]></content:encoded>
			<wfw:commentRss>http://adminsgoodies.com/how-to-kick-off-a-batch-file-on-server-restart/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Best way to start a program at boot on Ubuntu Server</title>
		<link>http://adminsgoodies.com/best-way-to-start-a-program-at-boot-on-ubuntu-server/</link>
		<comments>http://adminsgoodies.com/best-way-to-start-a-program-at-boot-on-ubuntu-server/#comments</comments>
		<pubDate>Fri, 24 Feb 2012 01:33:04 +0000</pubDate>
		<dc:creator>tom</dc:creator>
				<category><![CDATA[General Questions]]></category>
		<category><![CDATA[boot]]></category>
		<category><![CDATA[startup]]></category>
		<category><![CDATA[ubuntu]]></category>

		<guid isPermaLink="false">http://adminsgoodies.com/best-way-to-start-a-program-at-boot-on-ubuntu-server/</guid>
		<description><![CDATA[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 script to /etc/init.d/ or to /etc/init/ via Startup. What I want to know is if there is a &#8220;good way&#8221; or &#8220;best way&#8221; to do it. Maybe there is a more sustainable way considering the [...]]]></description>
				<content:encoded><![CDATA[<h3 class="pq"><img src="http://adminsgoodies.com/imgs/question.png" alt="Question" /></h3>
<p>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.</p>
<p>In fact, I know how to start my programmes either by adding a script to /etc/init.d/ or to /etc/init/ via Startup.</p>
<p>What I want to know is if there is a &#8220;good way&#8221; or &#8220;best way&#8221; to do it.<br />
Maybe there is a more sustainable way considering the future evolutions of Ubuntu.</p>
<div class="author">Asked by <a href="http://serverfault.com/users/83059/oyokoon" target="_blank">OyoKooN</a></div>
<h3 class="pa"><img src="http://adminsgoodies.com/imgs/answer.png" alt="Answer" /></h3>
<p>As with all things Linux, there are a bunch of different ways to do this.</p>
<p>The best way, though, is to write <a href="http://upstart.ubuntu.com/" rel="nofollow">upstart</a> files for the apps you need to start on boot. Upstart replaces the legacy sysV init system.</p>
<div class="author">Answered by <a href="http://serverfault.com/users/20815/erika" target="_blank">ErikA</a></div>
<p class="ref-link">Check <a href="http://serverfault.com/questions/363208/best-way-to-start-a-program-at-boot-on-ubuntu-server" target="_blank">more discussion</a> of this question.</p>
]]></content:encoded>
			<wfw:commentRss>http://adminsgoodies.com/best-way-to-start-a-program-at-boot-on-ubuntu-server/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Can OpenVPN run and connect on startup?</title>
		<link>http://adminsgoodies.com/can-openvpn-run-and-connect-on-startup/</link>
		<comments>http://adminsgoodies.com/can-openvpn-run-and-connect-on-startup/#comments</comments>
		<pubDate>Fri, 10 Feb 2012 21:33:22 +0000</pubDate>
		<dc:creator>tom</dc:creator>
				<category><![CDATA[General Questions]]></category>
		<category><![CDATA[automation]]></category>
		<category><![CDATA[openvpn]]></category>
		<category><![CDATA[startup]]></category>
		<category><![CDATA[windows-7]]></category>

		<guid isPermaLink="false">http://adminsgoodies.com/can-openvpn-run-and-connect-on-startup/</guid>
		<description><![CDATA[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 registry entry, but all the things I found apparently do not apply to Win7 (Which I am currently running), so all of the registry entries they mention are not in my registry. Maybe some [...]]]></description>
				<content:encoded><![CDATA[<h3 class="pq"><img src="http://adminsgoodies.com/imgs/question.png" alt="Question" /></h3>
<p>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.</p>
<p>I have read that it can be done by modifying a registry entry, but all the things I found apparently do not apply to Win7 (Which I am currently running), so all of the registry entries they mention are not in my registry.</p>
<p>Maybe some command line entries on startup to launch the GUI and connect?</p>
<p>Any help would be greatly appreciated.<br />
Thank you!</p>
<div class="author">Asked by <a href="http://serverfault.com/users/109481/npiani" target="_blank">npiani</a></div>
<h3 class="pa"><img src="http://adminsgoodies.com/imgs/answer.png" alt="Answer" /></h3>
<p>I don&#8217;t know about launching the GUI, but it will connect automatically if <a href="http://openvpn.net/index.php/open-source/documentation/install.html?start=1#running_as_windows_service" rel="nofollow">run as a service</a>.</p>
<div class="author">Answered by <a href="http://serverfault.com/users/7200/evan-anderson" target="_blank">Evan Anderson</a></div>
<p class="ref-link">Check <a href="http://serverfault.com/questions/358915/can-openvpn-run-and-connect-on-startup" target="_blank">more discussion</a> of this question.</p>
]]></content:encoded>
			<wfw:commentRss>http://adminsgoodies.com/can-openvpn-run-and-connect-on-startup/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Starting a daemon automatically from init.d</title>
		<link>http://adminsgoodies.com/starting-a-daemon-automatically-from-init-d/</link>
		<comments>http://adminsgoodies.com/starting-a-daemon-automatically-from-init-d/#comments</comments>
		<pubDate>Sat, 07 Jan 2012 10:30:04 +0000</pubDate>
		<dc:creator>tom</dc:creator>
				<category><![CDATA[General Questions]]></category>
		<category><![CDATA[boot]]></category>
		<category><![CDATA[centos]]></category>
		<category><![CDATA[init.d]]></category>
		<category><![CDATA[startup]]></category>

		<guid isPermaLink="false">http://adminsgoodies.com/starting-a-daemon-automatically-from-init-d/</guid>
		<description><![CDATA[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 start automatically on system boot, correct? It doesn&#8217;t start, how can I debug this? If after system boot I do init.d/vnstat then it starts. I am running Centos 5 Thank you. If you write an init script with the correct syntax, you [...]]]></description>
				<content:encoded><![CDATA[<h3 class="pq"><img src="http://adminsgoodies.com/imgs/question.png" alt="Question" /></h3>
<p>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 start automatically on system boot, correct? It doesn&#8217;t start, how can I debug this?<br />
If after system boot I do init.d/vnstat then it starts.</p>
<p>I am running Centos 5</p>
<p>Thank you.</p>
<h3 class="pa"><img src="http://adminsgoodies.com/imgs/answer.png" alt="Answer" /></h3>
<p>If you write an init script with <a href="http://www.philchen.com/2007/06/04/quick-and-dirty-how-to-write-and-init-script" rel="nofollow">the correct syntax</a>, you can turn it into a service:</p>
<p><code>chkconfig --add vnstats</code></p>
<p>after that, you can turn it on or off for certain runlevels:</p>
<p><code>chkconfig --level 345 vnstats on</code></p>
<p>You can also manually start or stop services with the service command, using the functions declared in the script itself. For example, if your script has a function called stop and one called start, you can use</p>
<p><code>service vnstats stop</code> and <code>service vnstats start</code></p>
<p>Suggested reading: the <a href="http://docs.redhat.com/docs/en-US/Red_Hat_Enterprise_Linux/6/html/Deployment_Guide/s2-services-chkconfig.html" rel="nofollow">official documentation</a></p>
<p class="ref-link">Check <a href="http://serverfault.com/questions/347527/starting-a-daemon-automatically-from-init-d" target="_blank">more discussion</a> of this question.</p>
]]></content:encoded>
			<wfw:commentRss>http://adminsgoodies.com/starting-a-daemon-automatically-from-init-d/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>How to start java service automatically when Centos server starts up</title>
		<link>http://adminsgoodies.com/how-to-start-java-service-automatically-when-centos-server-starts-up/</link>
		<comments>http://adminsgoodies.com/how-to-start-java-service-automatically-when-centos-server-starts-up/#comments</comments>
		<pubDate>Fri, 09 Dec 2011 22:00:07 +0000</pubDate>
		<dc:creator>tom</dc:creator>
				<category><![CDATA[General Questions]]></category>
		<category><![CDATA[centos]]></category>
		<category><![CDATA[java]]></category>
		<category><![CDATA[service]]></category>
		<category><![CDATA[startup]]></category>

		<guid isPermaLink="false">http://adminsgoodies.com/how-to-start-java-service-automatically-when-centos-server-starts-up/</guid>
		<description><![CDATA[I have a server running centos, which I am configuring and I would like to hava a java service startup automatically when the server is restarted how can I go about doing this? The command to run the service is: java -jar testing.jar this is located in folder /sys/java/service. Also being new to linux how can I actually kill the service if I need to? Thanks Put the command in /etc/rc.local the best option would [...]]]></description>
				<content:encoded><![CDATA[<h3 class="pq"><img src="http://adminsgoodies.com/imgs/question.png" alt="Question" /></h3>
<p>I have a server running centos, which I am configuring and I would like to hava a java service startup automatically when the server is restarted how can I go about doing this?</p>
<p>The command to run the service is:</p>
<p>java -jar testing.jar</p>
<p>this is located in folder /sys/java/service.</p>
<p>Also being new to linux how can I actually kill the service if I need to?</p>
<p>Thanks</p>
<h3 class="pa"><img src="http://adminsgoodies.com/imgs/answer.png" alt="Answer" /></h3>
<p>Put the command in<br />
/etc/rc.local</p>
<p>the best option would be running it as a dedicated user<br />
as in</p>
<pre><code>su - username -c "java -jar /sys/java/service/testing.jar"
</code></pre>
<p>you can kill the service then with</p>
<pre><code>pkill -u username java
</code></pre>
<p class="ref-link">Check <a href="http://serverfault.com/questions/339567/how-to-start-java-service-automatically-when-centos-server-starts-up" target="_blank">more discussion</a> of this question.</p>
]]></content:encoded>
			<wfw:commentRss>http://adminsgoodies.com/how-to-start-java-service-automatically-when-centos-server-starts-up/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>how auto run pppoe connection for valid ip on windows server 2008 [startup folder not help]</title>
		<link>http://adminsgoodies.com/how-auto-run-pppoe-connection-for-valid-ip-on-windows-server-2008-startup-folder-not-help/</link>
		<comments>http://adminsgoodies.com/how-auto-run-pppoe-connection-for-valid-ip-on-windows-server-2008-startup-folder-not-help/#comments</comments>
		<pubDate>Sun, 23 Oct 2011 11:05:04 +0000</pubDate>
		<dc:creator>tom</dc:creator>
				<category><![CDATA[General Questions]]></category>
		<category><![CDATA[auto]]></category>
		<category><![CDATA[pppoe]]></category>
		<category><![CDATA[start]]></category>
		<category><![CDATA[startup]]></category>
		<category><![CDATA[windows-server-2008]]></category>

		<guid isPermaLink="false">http://adminsgoodies.com/how-auto-run-pppoe-connection-for-valid-ip-on-windows-server-2008-startup-folder-not-help/</guid>
		<description><![CDATA[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 windows starts! i made a shortcut of that connection in start up folder of start menu-programs / but does not work when windows starts (before login)! also i test scheduled task , but it seems in scheduled task [...]]]></description>
				<content:encoded><![CDATA[<h3 class="pq"><img src="http://adminsgoodies.com/imgs/question.png" alt="Question" /></h3>
<p>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)<br />
i want to force that connection to run automatically when log off/on or windows starts!<br />
i made a shortcut of that connection in start up folder of start menu-programs / but does not work when windows starts (<code>before login</code>)!<br />
also i test scheduled task , but it seems in scheduled task we should define time(<code>but we need windows startup option</code>)!!!  </p>
<p>how can i do this job in windows server 2008?</p>
<h3 class="pa"><img src="http://adminsgoodies.com/imgs/answer.png" alt="Answer" /></h3>
<p>Pinging something outside of your local subnet (for instance on the internet) and configuring the PPPOE conection to be demand dial should accomplish what you are asking. But having said that, I am not sure I understand your question.  Just to clarify, you purchased a static IP and want to use that with your PPPOE connection?  Typically a static IP would be on your router or firewall, not used directly on your server. </p>
<p class="ref-link">Check <a href="http://serverfault.com/questions/323701/how-auto-run-pppoe-connection-for-valid-ip-on-windows-server-2008-startup-folde" target="_blank">more discussion</a> of this question.</p>
]]></content:encoded>
			<wfw:commentRss>http://adminsgoodies.com/how-auto-run-pppoe-connection-for-valid-ip-on-windows-server-2008-startup-folder-not-help/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>SSH: How to start a process that won&#8217;t end after system reboot?</title>
		<link>http://adminsgoodies.com/ssh-how-to-start-a-process-that-wont-end-after-system-reboot/</link>
		<comments>http://adminsgoodies.com/ssh-how-to-start-a-process-that-wont-end-after-system-reboot/#comments</comments>
		<pubDate>Sun, 02 Oct 2011 10:40:04 +0000</pubDate>
		<dc:creator>tom</dc:creator>
				<category><![CDATA[General Questions]]></category>
		<category><![CDATA[linux]]></category>
		<category><![CDATA[process]]></category>
		<category><![CDATA[reboot]]></category>
		<category><![CDATA[ssh]]></category>
		<category><![CDATA[startup]]></category>

		<guid isPermaLink="false">http://adminsgoodies.com/ssh-how-to-start-a-process-that-wont-end-after-system-reboot/</guid>
		<description><![CDATA[Is there a way to do this so when I reboot my linux server the process will reopen on startup? Usually, you need to add a startup script in /etc/rc.d/. Thats how all daemons are started. However you need to have root permissions for this. Since you tagged it as ssh, I guess you don&#8217;t have root permissions. So you can create a crontab entry that runs a script to launch your process after every [...]]]></description>
				<content:encoded><![CDATA[<h3 class="pq"><img src="http://adminsgoodies.com/imgs/question.png" alt="Question" /></h3>
<p>Is there a way to do this so when I reboot my linux server the process will reopen on startup?</p>
<h3 class="pa"><img src="http://adminsgoodies.com/imgs/answer.png" alt="Answer" /></h3>
<p>Usually, you need to add a startup script in <code>/etc/rc.d/</code>. Thats how all daemons are started. However you need to have root permissions for this.</p>
<p>Since you tagged it as ssh, I guess you don&#8217;t have root permissions. So you can create a crontab entry that runs a script to launch your process after every reboot:</p>
<pre><code>$ crontab -e
</code></pre>
<p>Add the following line in the file that opens up:</p>
<pre><code>@reboot  /path/to/your_script.sh 
</code></pre>
<p class="ref-link">Check <a href="http://serverfault.com/questions/317649/ssh-how-to-start-a-process-that-wont-end-after-system-reboot" target="_blank">more discussion</a> of this question.</p>
]]></content:encoded>
			<wfw:commentRss>http://adminsgoodies.com/ssh-how-to-start-a-process-that-wont-end-after-system-reboot/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
