Hot answers tagged startup
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, ...
Configure Linux Startup Applications with sysv-rc-conf: apt-get install sysv-rc-conf As others have pointed out, here is also update-rc.d for the cmd line. For example, run update-rc.d apache2 disable to disable apache2 from all run levels.
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/CentOS a little googling shows this: ...
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 ...
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 ...
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 ...
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: http://docs.amazonwebservices....
Figured out how to do it myself. It's somewhat of a workaround but that's what I expected to get. Alright, first step is to grab a program called AutoLogon.exe from Microsoft: http://technet.microsoft.com/sv-se/sysinternals/bb963905.aspx Stop! Don't cringe just yet. Read on... Run it, set it so that Administrator should log on automatically. Create a ...
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 ...
The common set is simply 755 even though only root should be running them. So: chmod 0755 <file>
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.
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 ...
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
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 isolate ...
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.
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 ...
/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 ...
If you need to set the startup script programatically, you can use Scheduled Tasks: schtasks.exe /create /tn "Task Name" /ru SYSTEM /Sc ONSTART /tr "C:\command2run.cmd" To run the task with elevated permissions (Vista and later), add the parameter /RL HIGHEST
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 ...
Adding solution we came to in comments as a full answer for completeness... Testing with su/sudo showed that while mysqld complained of permission errors, the mysql user could indeed successfully write to the folder, making it clear this was not a file system permission problem. (A useful first step if faced with a similar problem) Some distributions of ...
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.
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
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.)
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 ...
It appears to be related to my Active Directory username or group memberships. The error went away after running the following command as per this article: mkpasswd -l -c > /etc/passwd; mkgroup -l -d > /etc/group This updates the cygwin files with the latest AD user/group information.
There is no definite answer to this because that's dependent on EC2's current load. You may also experience capacity issues. In my experience I get EC2 startups in about a minute to three for a Small in west-1b. I don't think Amazon even has an SLA to guarantee the ability to start new instances. Rackspace Cloud Server 256MB is also about a minute but I've ...
Only top voted, non community-wiki answers of a minimum length are eligible