Hot answers tagged startup
you want to add its init script to the approriate run level. The init script is typically /etc/init.d/apache2 where you could manually run /etc/init.d/apache2 start to start it. on Gentoo you would write: rc-update add apache2 default On Ubuntu/Debian this works: sudo update-rc.d apache2 defaults on Redhat/Fedora a little googling shows this: ...
apt-get install sysv-rc-conf As others have pointed out, here is also update-rc.d for the cmd line. Run update-rc.d apache2 disable to disable apache2 from all run levels.
The "stop" term does not prevent the daemon from starting but rather shuts it down while entering the specified runlevel. If you just want to remove a service/daemon from a single runlevel, update-rc.d as pointed out bei freiheit or simply remove the symlink from /etc/rcX.d/, where X is your runlevel. If you don't want the service to start automatically, ...
Your admins probably have some startup scripts they are pushing through group policy and could be what is causing the delay. To see exactly what runs on startup from your computer, take a look at Autoruns from SysInternals. If you have a lot of stuff trying to run at once, it may be worth it to look at using Startup Delayer to force your startup apps to ...
The EC2Config is configured by default to rename the host on first startup. Renaming the host on windows requires a reboot and therefore every instance reboots once after first startup. You can disable the renaming of the host if you do not use the internal DNS for the instance. More details here: Windows Configuration Service: ...
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. Then why do you not make it a system service, as the windows specs define? How can I solve this? You can not. Background programs are not supposed to interact with the UI. Or: the UI ...
I have done exactly what you speak of before. I found the industry has a very strong barrier to entry, but here is what I did. Rented a dedicated server with a control panel, in my case Plesk (linux or windows) Bought a domain name to be the "home" of my hosting business The server you buy will likely come with 4-7 IP addresses, you can use these to ...
Get a Virtual Machine somewhere. It's still dedicated, dirt cheap, and you can move it in or out of your control as you like. Backup and Restore is also easy. The day of dedicated REAL hardware is over.
Here is what finally worked for me. This assumes you are the root user. touch /etc/init.d/apache2 chmod 755 /etc/init.d/apache2 vi /etc/init.d/apache2 (edit it as shown below) chkconfig --add apache2 chkconfig --list apache2 (to verify that it worked) Contents of /etc/init.d/apache2: #!/bin/bash # # apache2 Startup script for the Apache HTTP ...
When the cost of the staff outweighs the risk to your business of outages and data loss that would be prevented by the staff. It's as simple as that.
I say, as soon as you can afford one. Devs aren't systems guys. They have no idea about how to best optimise MySQL to get the best performance. They don't know about Keepalive on Apache when running on a VM. Those are 2 examples I've come across of a developer setting up a startup's webserver, and buggering it up in the process. Many developers also have ...
Does Caps Lock work (in terms of changing the caps indicator) when it's hung? If not, that would suggest it's completely borked by that point rather than just a process taking forever to get properly started. If that works, does Ctrl-Shift-Esc bring up task manager? That could be useful to show any processes taking a long time, if the logger isn't helping ...
The main problem is that it hangs at the login screen for ages and sometimes never gets to the desktop. If this is before you login, DNS is likely to blame. If it's after you login, I'd guess a profile issue. Create a new user and profile and try with that. Some additional things to try: Disconnect from network (wireless and wired). This will ...
You want to use a startup script 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. If you don't have Group Policy available, or don't want to manage it there, the steps are the same to configure this in the Local Policy. You'll either use the Group ...
The common set is simply 755 even though only root should be running them. So: chmod 0755 <file>
/etc/init.d is just the location for the start up scripts to live. But having a script there doesn't do anything automatically. The init system uses the symbolic links in the /etc/rc#.d directories to the scripts in the /etc/init.d folder. The name of the symbolic link needs to start with an S to run the script with the start option and K to run the ...
You can use a Group Policy (or the local policy) to assign a startup script; you can configure it in the section Computer Configuration -> Windows Settings -> Scripts (Startup/Shutdown). You can also use Scheduled Tasks to configure a task to run at computer startup.
Usually, you need to add a startup script in /etc/rc.d/ or /etc/rc.local. 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't have root permissions. So you can create a crontab entry that runs a script to launch your process after every reboot: $ crontab -e Add the following ...
Use a computer start up script. You can do this using either local policy editor (standalone PC or on a domain) or group policy editor (on a domain only.) Navigate to this settings via Computer Settings > Windows Settings > Scripts > Startup The script will run as the local system account
W32time will not start automatically if the PC is not in a domain. Damn Microsoft! Try to run this: sc triggerinfo w32time start/networkon stop/networkoff
There doesn't seem to be a clean way to fully manage a cold start of a virtual infrastructure once HA is configured on the individual hosts. Enabling HA and DRS seems to disable the Virtual Machine Startup and Shutdown options on the host servers. However, any ordering set before the host is moved into the cluster seems to stick. If the number of hosts is ...
Define a startup script with your desired BAT file. Do this either via Local Computer Policy (for standalone machines) or via GPO (if in a domain.)
Use Group Policy to run a Computer Startup script - this will run when the machine starts up without needing someone to login
At this scale you should already be looking at recording sufficient detail about what the current employees are spending their time on to answer the question. From your description I'd be getting everybody to track which product/site/service they are spending time on, what they are doing (admin, analysis, pre-launch development, bug fixing, other). If you've ...
No matter what distro I nowadays use, I have learnt my lesson: if I want to make sure something comes up at boot, I will reboot the server and see what happens. Just schedule a maintenance window for your server (if needed) and perform couple of test restarts at that time. See if it works. In the past I've been sure that "this will start during next ...
Here you go; Debonging link
Short: There is no reliable way to do this quickly. Long: Current Debian (Debian unstable as of 2012-06-01) has currently no reliable short way to consistently disable a service/daemon. – Because an upgrade of a daemon package unconditionally runs “/etc/init.d/package restart”, having it disabled for this runlevel or not. To make sure a daemon doesn’t ...
Open up a command prompt and run netstat -ano | findstr 8080 Rightmost column is PID In task manager you can add column for PID then find the app that is using the port.
Purchase. It's usually cheaper since your large 1u rack server companies are buying by the 1000s and you're not. Additionally when you need more the next month, they show up in five days. As a startup your time is better spent on building features, doing performance testing, etc which are all things you can't buy.
Only top voted, non community-wiki answers of a minimum length are eligible