Re: automatic starting of services



@Patrick, sorry about that, it's been a long day. I'm testing both
F16 and F17. Thanks.

On Mon, Apr 9, 2012 at 9:18 PM, Danishka Navin <danishka@xxxxxxxxx> wrote:


On Tue, Apr 10, 2012 at 9:45 AM, Tommy Pham <tommyhp2@xxxxxxxxx> wrote:

Hi,

I'm new to the list and recently started to use Fedora.  How can I
have services, such as mysql, started automatically upon boot/reboot?
I don't see it in /etc/init.d.



chkcon mysqld on


if you want to check if the service is running on each run level
use the following command

chkcon mysqld --list


[root@fedora17 ~]# cat /etc/redhat-release
Fedora release 17 (Beefy Miracle)
[root@fedora17 ~]# uname -a
Linux fedora17.workgroup.domain 3.3.1-3.fc17.x86_64 #1 SMP Wed Apr 4
18:13:49 UTC 2012 x86_64 x86_64 x86_64 GNU/Linux
[root@fedora17 ~]# rpm -qa mysql*
mysql-server-5.5.22-1.fc17.x86_64
mysql-libs-5.5.22-1.fc17.x86_64
mysql-5.5.22-1.fc17.x86_64
[root@fedora17 ~]# chkconfig

Note: This output shows SysV services only and does not include native
systemd services. SysV configuration data might be overridden by native
systemd configuration.

netconsole 0:off 1:off 2:off 3:off 4:off 5:off 6:off
network 0:off 1:off 2:on 3:on 4:on 5:on 6:off
[root@fedora17 ~]# ls /etc/init.d
functions netconsole network
[root@fedora17 ~]#


I got a vanilla of both F16 & F17. Thanks.



TIA,
Tommy

--
users mailing list
users@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines
Have a question? Ask away: http://ask.fedoraproject.org




--
Danishka Navin
http://danishkanavin.blogspot.com
http://twitter.com/danishkanavin
http://www.flickr.com/photos/danishkanavin/



--
users mailing list
users@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines
Have a question? Ask away: http://ask.fedoraproject.org


Relevant Pages

  • Re: Power-off stupidity remains in Gnome 3
    ... Thanks so much, but now I have yet another "stoopid" question: How do I "update" my system to F17 without losing all of my files, folders, applications etc? ... Also I read somewhere that Adobe isn't "supporting" or "allowing" Flash video in Fedora anymore, what will happen when I upgrade? ... Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines ... I would recommend updating to either F16 or F17 before then to ...
    (Fedora)
  • Re: Power-off stupidity remains in Gnome 3
    ... update to the latest version of Gnome3, my question is, I'm running Fedora ... Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines ... I would recommend updating to either F16 or F17 before then to ...
    (Fedora)
  • Re: Dennis Ritchie
    ... I think it would be more appropriate to rename F16, ... first upcoming release, which will be F16. ... I think that is the least Fedora Community can do to pay respects to Dennis ... in his honour will be fitting and appropriate, ...
    (Fedora)
  • Re: Yum and Fedora 16 -- focus on "new/moved filesystems"
    ... Fedora' to Fedora 17. ... Attempting to update an existing Rawhide, twice, failed ... I am less of a Linux genius than probably everyone who has responded, but for whatever reason my gut says that clean installs when F17 is released will probably work ). ...
    (Fedora)
  • Re: Dennis Ritchie
    ... and rename the first upcoming release, which will be F16. ... I think that is the least Fedora Community can do to pay respects to ... It certainly is a trivial change, ...
    (Fedora)