Announcement

Collapse
No announcement yet.

Managing services (i.e. daemons)

Collapse
This topic is closed.
X
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    Managing services (i.e. daemons)

    Hi.

    I am wondering which CLI/GUI tools I should use with Kubuntu to manage services (i.e. daemons). For those familar with the Red Hat system, I am looking for the equivalents of chkconfig (CLI) and system-config-services (GUI).

    Thanks!
    Dai
    Registered Linux User: #281828 | Kubuntu User: #22280

    Kubuntu 18.04 LTS
    Dell Precision Workstation T5500 (Xeon @ 2.13GHz x 2 / 12 GB RAM)

    #2
    Re: Managing services (i.e. daemons)

    I am replying to myself. I've found the tool named sysvconfig, which is a pseudo-GUI program that lets me configure services. This is not the best solution as I am looking for a pure CLI tool as well as GUI version, but if nothing else is available, I can live with sysvconfig.

    I continue to look forward to your feedback.
    Registered Linux User: #281828 | Kubuntu User: #22280

    Kubuntu 18.04 LTS
    Dell Precision Workstation T5500 (Xeon @ 2.13GHz x 2 / 12 GB RAM)

    Comment


      #3
      Re: Managing services (i.e. daemons)

      the service command, e.g.

      sudo service mysql stop
      sudo service mysql start
      sudo service mysql restart

      etc.

      Comment


        #4
        Re: Managing services (i.e. daemons)

        Originally posted by blackpaw
        the service command, e.g.

        sudo service mysql stop
        sudo service mysql start
        sudo service mysql restart
        Thanks for the reply. Yes, the "service" command can be used to start/stop/query services (just like running "/etc/init.d/service_name [start|stop|restart]). What I need in the tool is the ability to configure services so they start (or don't start) at system boot at various runlevels.
        Registered Linux User: #281828 | Kubuntu User: #22280

        Kubuntu 18.04 LTS
        Dell Precision Workstation T5500 (Xeon @ 2.13GHz x 2 / 12 GB RAM)

        Comment


          #5
          Re: Managing services (i.e. daemons)

          I'm just curious as to why the GUI in System Settings is not acceptable.

          Comment


            #6
            Re: Managing services (i.e. daemons)

            Originally posted by Detonate
            I'm just curious as to why the GUI in System Settings is not acceptable.
            Thanks for the response. It looks to me that Service Manager (accessible via System Settings and KDE Control Center) does not handle non-KDE daemons. Please correct me if I'm wrong.

            The reason I'd prefer a CLI version is simply my personal preferences. I am a command-line person and would prefer using tools that are accessible whether or not a GUI desktop environment is available.
            Registered Linux User: #281828 | Kubuntu User: #22280

            Kubuntu 18.04 LTS
            Dell Precision Workstation T5500 (Xeon @ 2.13GHz x 2 / 12 GB RAM)

            Comment


              #7
              Re: Managing services (i.e. daemons)

              Click on the Icon that says "System Services". Click on the "Administrator Mode" to make changes.

              Comment


                #8
                Re: Managing services (i.e. daemons)

                Originally posted by Detonate
                Click on the Icon that says "System Services". Click on the "Administrator Mode" to make changes.
                Got it. Thanks!

                Just one minor issue... the Cisco VPN client that I installed manually (i.e. not via apt-get) does show up as one of the services correctly, but its status is displayed incorrectly (saying "not running" although it in fact is running). Is this a known issue to non-standard services?
                Registered Linux User: #281828 | Kubuntu User: #22280

                Kubuntu 18.04 LTS
                Dell Precision Workstation T5500 (Xeon @ 2.13GHz x 2 / 12 GB RAM)

                Comment


                  #9
                  Re: Managing services (i.e. daemons)

                  Any other ideas? I am still looking for the CLI (command-line) program that manages services. I need the one that lets me turn on/off any given service at boot time for different runlevels.

                  Thanks!
                  Dai
                  Registered Linux User: #281828 | Kubuntu User: #22280

                  Kubuntu 18.04 LTS
                  Dell Precision Workstation T5500 (Xeon @ 2.13GHz x 2 / 12 GB RAM)

                  Comment

                  Working...
                  X