[mythtv-users] After upgrading to Fedora 16, many services won't autostart and I don't see them in the chk
Gabe Rubin
gaberubin at gmail.com
Mon Nov 28 17:52:26 UTC 2011
On Mon, Nov 28, 2011 at 6:06 AM, The Walters <sbwalters0731 at gmail.com> wrote:
> After upgrading to fedora 16, many of my old service won't start. I
> don't see them in chkconfig --list either.
>
> Namely, mysqld and httpd. I was able to manually start mysqld,
> although I am not seeing how to autostart it with chkconfig. Httpd
> says it is started when I look at the status, but I can't go to
> mythweb or the apache test page.
>
> Here is what is in chkconfig:
> [root at localhost ~]# chkconfig --list
>
> Note: This output shows SysV services only and does not include native
> systemd services. SysV configuration data might be overridden by
> native
> systemd configuration.
>
> autofs 0:off 1:off 2:off 3:off 4:off 5:off 6:off
> btseed 0:off 1:off 2:off 3:off 4:off 5:off 6:off
> bttrack 0:off 1:off 2:off 3:off 4:off 5:off 6:off
> dc_client 0:off 1:off 2:off 3:off 4:off 5:off 6:off
> dc_server 0:off 1:off 2:off 3:off 4:off 5:off 6:off
> denyhosts 0:off 1:off 2:off 3:off 4:off 5:off 6:off
> lirc 0:off 1:off 2:on 3:on 4:on 5:on 6:off
> mythbackend 0:off 1:off 2:on 3:on 4:on 5:on 6:off
> netconsole 0:off 1:off 2:off 3:off 4:off 5:off 6:off
> netfs 0:off 1:off 2:off 3:on 4:on 5:on 6:off
> network 0:off 1:off 2:on 3:on 4:on 5:on 6:off
> racoon 0:off 1:off 2:off 3:off 4:off 5:off 6:off
> squeezeboxserver 0:off 1:off 2:off 3:on 4:on 5:on
> 6:off
> xfs 0:off 1:off 2:off 3:off 4:off 5:off 6:off
>
>
> Any help would be appreciated (and that really seems like a lot fewer
> services than I had under Fedora 14).
>
> Had the same issue. You need to use systemctl enable mysqld.service &
> systemctl enable httpd (this will make them start at boot, you will see
> a ln created when you do this) and systemctl start mysqld.service (to
> start the process). Check the man page for systemctl for other options
> (restart, status etc..). used systemctl --all to see all the services
> (running or otherwise). Hope this helps.
>
> should be systemctl enable httpd.service. So basically systemctl (option)
> (command) for anything you are missing and then they should start working
> again.
>
> _______________________________________________
> mythtv-users mailing list
> mythtv-users at mythtv.org
> http://www.mythtv.org/mailman/listinfo/mythtv-users
>
>
I still can't logon to the webpage. I am remote, so maybe I need to
try from inside the network to troubleshoot better, but I issued the
following commands: "systemctl start httpd.service" and it seems to
be running:
[root at localhost ~]# systemctl status httpd.service
httpd.service - The Apache HTTP Server (prefork MPM)
Loaded: loaded (/lib/systemd/system/httpd.service; enabled)
Active: active (running) since Mon, 28 Nov 2011 09:49:58
-0800; 1min 25s ago
Process: 5524 ExecStop=/usr/sbin/httpd $OPTIONS -k stop
(code=exited, status=0/SUCCESS)
Process: 5530 ExecStart=/usr/sbin/httpd $OPTIONS -k start
(code=exited, status=0/SUCCESS)
Main PID: 5531 (/usr/sbin/httpd)
CGroup: name=systemd:/system/httpd.service
â 5531 /usr/sbin/httpd -k start
â 5533 /usr/sbin/httpd -k start
â 5534 /usr/sbin/httpd -k start
â 5535 /usr/sbin/httpd -k start
â 5536 /usr/sbin/httpd -k start
â 5537 /usr/sbin/httpd -k start
â 5538 /usr/sbin/httpd -k start
â 5539 /usr/sbin/httpd -k start
â 5540 /usr/sbin/httpd -k start
â 5541 /usr/sbin/httpd -k start
Plus I see this in ps -A:
5531 ? 00:00:00 /usr/sbin/httpd
5533 ? 00:00:00 /usr/sbin/httpd
5534 ? 00:00:00 /usr/sbin/httpd
5535 ? 00:00:00 /usr/sbin/httpd
5536 ? 00:00:00 /usr/sbin/httpd
5537 ? 00:00:00 /usr/sbin/httpd
5538 ? 00:00:00 /usr/sbin/httpd
5539 ? 00:00:00 /usr/sbin/httpd
5540 ? 00:00:00 /usr/sbin/httpd
5541 ? 00:00:00 /usr/sbin/httpd
But I can't pull up even the apache test page.
More information about the mythtv-users
mailing list