Ubuntu Servers :: List Of Services Converted To Upstart In 10.04?
Apr 30, 2010Where can I find a list of services converted to upstart in Ubuntu 10.04? What is the syntax for stopping, starting and restarting these services?
View 6 RepliesWhere can I find a list of services converted to upstart in Ubuntu 10.04? What is the syntax for stopping, starting and restarting these services?
View 6 RepliesI recently discovered upstart is launching sshd on my machine even though I disabled it with `sudo update-rc.d -f ssh remove`. I tried to find a way to prevent upstart from launching ssh by default, but the best I can think of is removing /etc/init/ssh.conf (I just uninstalled openssh-server).I'd like to disable it without doing this, though. This would make it easier to enable sshd when I need it
View 8 Replies View RelatedI installed MySQL and Apache2 to develop & test out the site I'm writing. However since I'll be using them purely for internal use (not exposed to the Net), I don't want them to start with every boot-up, but would like to start them manually when I desire, and stop them after use.With previous Ubuntu (Jaunty) I'd used chkconfig to configure services, but since the current version (Maverick) uses Upstart, is chkconfig still applicable?
I also installed 'bum' (Boot-Up Manager), but strangely, it displays the MySQL server as "unchecked" even though it's running (and starts at boot-up), so I cant see how I can prevent it from starting at boot-up through bum. chkconfig also displays MySQL as not active at runlevel 5, when in fact, it is.
I'd like to know what's the recommended (official) way to configure boot-up services with the Upstart system? I don't suppose directly editing the *.conf files in /etc/init is the best (or even correct) way?
What is the correct way to stop upstart services from staring at boot time ? I'm doing something like this example in /etc/init/mysql.conf:
Code:
#start on (net-device-up
# and local-filesystems
# and runlevel [2345])
start on runlevel [!0123456] # I ADDED THIS LINE (and commented the above ones)
stop on runlevel [016]
1. Is this the correct way ?
2. Is there no way of doing something like we do with update-rc.d -f apache2 remove ?
3. When will ubuntu ship a gui to add or remove services from boot ?
I can see this phenomenon on 2 different systems running 11.3 .In simple mode and also in expert mode.
View 9 Replies View RelatedLike the title stated Anyone with experience or suggestion, please do share. I've tinkered all night with this thing. Never get the VBox service I created to start.Here is my final code before I dried my brain.
Code:
# Archayl Server startup
#
[code]....
From what I've read, it appears that the respawn stanza in /etc/init/mysql.conf would give me the restart option if the daemon crashes, but I want to make sure other safety features of mysqld_safe are present as well.My /etc/init/mysql.conf is the original. I've tried changing the exec stanza from /usr/sbin/mysqld to /usr/sbin/mysqld_safe but the job fails when I sudo service mysql start.mysql.conf
Code:
# MySQL Service
description "MySQL Server"
[code]....
mysqld not running on boot, I can start it manually with
Code:
sudo -u mysql mysqld
If I attempt to start it with Upstart I get
Code:
dom@mythbox:~$ sudo start mysql
start: Job failed to start
Has anyone got a working apache upstart script? I'm running 10.04, and want the nice supervision stuff from upstart to run my apache instance. I've googled (especially for things like replacement-initscripts) but not hit anything concrete.
View 5 Replies View RelatedI spent a few minutes googling this, but I am not even sure what to search for. I suspect I'm looking at part of upstart, but it could also be sysvinit, plymouth or something else entirely. Every time I reboot, just between plymouth's splash screen and gdm loading, I am shown a list of services starting. The list shows the names of the services and [OK] if they started sucessfully or [fail] if they did not (only apport ever fails and only occasionally). I don't need or want to see this list. It also interrupts the transition from Grub to GDM (the background color should be the same shade of purple from grub all they way to the desktop, but this list is presented as ordinary terminal output: white text on black background)
View 4 Replies View RelatedFor the last umpteen years of my life, I've restarted the ssh daemon using code...
Since the script you are attempting to invoke has been converted to an Upstart job, you may also use the restart utility, e.g. restart ssh code...
I'm trying to find the systemctl equivalent of "chkconfig --list".$ systemctl -t service -alooks like the command, but it does not return any line about the ntp service. It does exist because I get this:
$ systemctl status ntpd.service
ntpd.service - Network Time Service
Loaded: loaded (/lib/systemd/system/ntpd.service)
[code]...
i know that there is already a command for it but it comes out with a lot of letters that makes it hard to find the services that are runningi'm talking about services like DNS, APACHE, DHCP, SAMBA, SSH etcis there a command that will list these services and related services that are running instead of showing a bunch of jumbled and lettered mess thats hard to comprehend
View 6 Replies View RelatedIs there any unix command to list services running on remote unix box.
View 6 Replies View RelatedI have a script from which i want to disable unwanted services. I wanted to have the list of unwanted services in the same script file. I tried the following, but it is not working...How do I mention list of services in the same file and still make the script work ?
Code:
#/bin/bash
#List of services, modify list between SERVICES tag
service_list=$(cat <<SERVICES
acpid
apmd
avahi-daemon
[Code]...
I got my hands on a couple old servers. An HP tc2021 and a Proliant ML110. Sure they're ancient, but I thought they would make a couple of great Ubuntu Servers for a new "start up" business I'm trying out. Now I've got to decide the best scenario to distribute the load between the two servers. I'm going to make an internal domain and will probably be running the following: Kerberos, Samba, Apache, Postfix, mysql, bind, dhcp, SVN, GCC, and Nagios. So in summary, I'll have the following roles; domain controller, web server, file server, and network monitoring services. how they would handle splitting these services up between two servers?
View 1 Replies View RelatedI've got an Ubuntu Server 10.10 with Bacula. Bacula is not using Upstart at boot time, it is started using legacy init.d scripts. MySQL on the other hand uses Upstart. This causes MySQL to start after Bacula, thus preventing Bacula director from connecting to the MySQL database - causing an error.I've tried to change the order of the init.d scripts in /etc/rc2.d, giving mysql the prefix S20 and bacula prefixes ranging from S90-S93, but to no avail. The bacula scripts are still loading before MySQL. how to configure the order of boot scripts when using both Upstart and legacy init.d scripts?
View 1 Replies View RelatedIt would seem MySQL and VSFTP no longer create pid files and monit requires a pid file to work. Is there any way to force MySQLD and VSFTPD to use pid files or am I out of luck?
View 3 Replies View RelatedI recently became responsible for a server running Ubuntu 10.04. I am trying to figure out how its outbound mail service is setup. Everything is working fine now, I just want to document how it is setup so if I need to rebuild the box I can do so without too much trouble when the pressure is on. It is a pretty basic setup, the only outbound mail gets sent from php scripts, the server does not receive incoming messages. Is there a place I can look to see what service is sending outgoing messages?
View 2 Replies View RelatedI have three HP diskless thin clients and a Server with Ubuntu installed. I'd like to be able to run the desktop version of Ubuntu on the clients straight from the server, akin to what would be possible on Windows Server running terminal services and thin clients. Is this possible?
View 1 Replies View RelatedI have a server running 64bit lucid and while trying to get a script to run on boot to start Davmail I appear to have broken something. I have webmin installed but I have been trying to do the majority of things via the command line. I now have davmail starting at boot but a lot of other services don't start anymore, including apache, mysql and webmin. Fortunately SSH still works and I can start apache and webmin from the command line without any problems.
View 1 Replies View RelatedHow do you enable/disable the autostart of services. For example let's say I know I'm not gonna use apache and mysql for a while and don't want it to autostart anymore how do I disable it ?
And then once it is needed again how do you enable the autostart again ?
Why some application has daemon and some others doesn't. I thought just network application has services like httpd, nfs, cups.... but I just found out that cron, gpm.. and other has it to. why other some other applications hasn't got daemon. Just want to know what sort of application has services.
View 2 Replies View RelatedI downloaded the latest 10.4 server CD with the intention of running a small Ubuntu Enterprise Cloud. I am following the directions here: [URL] Ive got 2 laptops that are capable of the tasks assigned to them. Both have dual core Intel chips that are VT enabled, 4GB of RAM, 250GB hard drives. Ill use one ( "server" ) as the front end server running cc, clc, walrus and sc.The other one ( "node1" ) will be the only node controller on my little network. Ive also got another laptop as a client, running euca commands to make instances and what not.These three laptops are connected to a switch. server is 192.168.1.100, node1 is going to be 192.168.1.110, the client laptop is 192.168.1.120.
the server seems to install fine, I select Install Ubuntu Enterprise Cloud, use it as the Cluster, give the cluster a name and 10 IPs to assign, 192.168.1.150-192.168.1.160 After the server is done installing and reboots, I boot the node machine off the CD and again select Ubuntu Enterprise Cloud. It's at this point the install craps out, because it does not recognize a cloud computer on the network.
Indeed, as I go to the server I run
Code:
ps -aux | grep euca
and see nothing running. So I start the eucalyptus service, and run
Code:
sudo euca_conf --list-clusters
and nothing shows up. Ive done some googling, ran some more euca_conf commands, registering the cluster, enabling walrus, cloud and sc. I can access the web gui on the client laptop, then restart the node install on the node laptop. This time it does see the server as a cluster controller, but when it tries to fetch the preseed file, it seems to not know the cluster's IP, as the red box that complains about the lack of a preseed file lists the URL as [URL] ( or whatever the file is called, I dont have the error in front of me. )
I can view my website, and ssh in when I've logged in already at home, but if the system gets rebooted, and gets as far as the login screen, I am not able to view the web site or ssh in. I was wondering how to set things up so thatthese services are running independent of logging in.
View 14 Replies View RelatedI am running a server init3.During boot I would like to start some services inside screenie. IRC chat, rtorrent etc.How do I do this?
View 1 Replies View RelatedI have Apache Server working online under Fedora Core 6. But before I installed and configured everything, I've been testing in Fedora 12. The problem surges here, when I start the httpd service, every supuse 404 action on a web browser, takes me to localhost. I mean, if I enter google.com, no error, just goes to localhost, http://asdasd, no error, gives back localhost. I used to ignore the problem 'cause I thought it was a problem on my apache, but when I installed the Server on the Fedora Core 6 machine, I found that I have the same problem there. Of course, it only occurs when I am browsing through the same machine that has httpd started. Does anyone know how to change that??
View 6 Replies View Relatedi have installed apache and bind on my server and i've also registered a dynamic domain through dyndns as jan27.dyndns.biz. i am able to successfully host my own webpages using this method.
then i registered a domain name (lets call it "blah.com") through namescheap.com and have registered my nameserver to my ip address. after reconfiguring the my external zones in bind and restarted my services, i am unable to reach my webpages through the new domain name.. www.blah.com and blah.com would lead me to a opendns.com page but interestingly ns1.blah.com loads my webpages successfully.
So I want to get mount/umount option under right click services menu. I went to Dolphin -> Settings -> Configure Dolphin -> Services -> Download New Services and from there I installed KDE CDEmu Emulator and MountISO. But neither of them is showing up in actual context menu. Neither in Dolphin -> Settings -> Configure Dolphin -> Services for that matter. I tried to install them as normal user and as a root. I went to have a peak in /usr/share/kde4/services/ServiceMenus/ but they aren't there as well... It's just me or lots of things seems to be not quite working in 11.3?
View 9 Replies View RelatedI have a good grasp on windows server 2003 but I don?t want to pay outrageous license fees for software and services and clients. I am newish to terminal as I only know a few commands. I have no problem installing services for the server edition for 10.04. Its just understanding whats going wrong to troubleshoot. I guess there is you guys and I have good working knowledge of Cisco's IOS's so I understand things like routing tables and interfaces and such for troubleshooting.
Questions I have... Can I install the desktop version of 10.04 and just install the server services? I was looking at the server guide [URL] and would like to know if these can all be installed on the desktop edition without too much trouble. I would imagine one could just use the server edition but I would really want a graphical user environment for some of the activities, if not all that I can. This would be becuase on my skills in the CLI. I priced out a server from Dell. I fits my budget perfectly if I go the Ubuntu 10.04 route. I was wondering if anyone sees any conflicts with the hardware for the Ubuntu OS....
[Code]....