Fedora Linux Support Community & Resources Center
  #1  
Old 24th November 2011, 09:29 AM
paulj_j Offline
Registered User
 
Join Date: Mar 2009
Location: Manchester
Posts: 81
windows_7firefox
Strange results from "service" after moving to 16

Hi
Just taken one of our server to 15 from 16 and initially mysql and http did not seem to start. I manually started them and they seemed to be okay.

However looking at services:

[root@moodle httpd]# service --status-all
btseed.service - SYSV: Start up seed clients for BitTorrent
Loaded: loaded (/etc/rc.d/init.d/btseed)
Active: inactive (dead)
CGroup: name=systemd:/system/btseed.service
bttrack.service - SYSV: Start up tracker for BitTorrent
Loaded: loaded (/etc/rc.d/init.d/bttrack)
Active: inactive (dead)
CGroup: name=systemd:/system/bttrack.service
haldaemon.service - HAL Hardware Manager
Loaded: loaded (/lib/systemd/system/haldaemon.service; static)
Active: inactive (dead)
CGroup: name=systemd:/system/haldaemon.service
httpd.service - The Apache HTTP Server (prefork MPM)
Loaded: loaded (/lib/systemd/system/httpd.service; enabled)
Active: active (running) since Wed, 23 Nov 2011 13:57:43 +0000; 18h ago
Process: 705 ExecStart=/usr/sbin/httpd $OPTIONS -k start (code=exited, status=0/SUCCESS)
Main PID: 842 (httpd)
CGroup: name=systemd:/system/httpd.service
‚ 842 /usr/sbin/httpd -k start
‚ 990 /usr/sbin/httpd -k start
...
‚ 998 /usr/sbin/httpd -k start
‚ 3265 /usr/sbin/httpd -k start
netconsole module not loaded
Configured devices:
lo eth0
Currently active devices:
lo eth0
sandbox is stopped
[root@moodle httpd]#

But

[root@moodle httpd]# service mysqld status
Redirecting to /bin/systemctl status mysqld.service
mysqld.service - MySQL database server
Loaded: loaded (/lib/systemd/system/mysqld.service; enabled)
Active: active (running) since Wed, 23 Nov 2011 13:57:48 +0000; 18h ago
Process: 974 ExecStartPost=/usr/libexec/mysqld-wait-ready $MAINPID (code=exited, status=0/SUCCESS)
Process: 772 ExecStart=/usr/bin/mysqld_safe --nowatch --basedir=/usr (code=exited, status=0/SUCCESS)
Process: 706 ExecStartPre=/usr/libexec/mysqld-prepare-db-dir (code=exited, status=0/SUCCESS)
Main PID: 973 (mysqld)
CGroup: name=systemd:/system/mysqld.service
‚ 973 /usr/libexec/mysqld --basedir=/usr --datadir=/var/lib/mysql --plugin-dir=/usr/lib64/mysql/plugin --log-error=/var/log/mysqld.log --pid-file=/var/run/mysqld/mysql...
[root@moodle httpd]#

How come "service --status-all" does not tell me if mysqld is running but
"service mysqld status" seems to indicate everything is okay?

Cheers Paul
Reply With Quote
  #2  
Old 24th November 2011, 09:49 AM
leigh123linux
Guest
 
Posts: n/a
linuxfirefox
Re: Strange results from "service" after moving to 16

Why are you still using the depreciated service command?, use systemctl instead.
Reply With Quote
  #3  
Old 24th November 2011, 10:13 AM
paulj_j Offline
Registered User
 
Join Date: Mar 2009
Location: Manchester
Posts: 81
windows_7firefox
Re: Strange results from "service" after moving to 16

Because I know no better :-)
Reply With Quote
Reply

Tags
moving, results, service, strange

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Connecting USB drive results in "Unable to mount X" "Not Authorized" Kinkimal Using Fedora 2 30th June 2010 07:56 PM
Compliz Fusion: "Wobbly Windows" effect kills "Reflection" while moving windows premudriy Using Fedora 3 1st January 2009 11:24 AM
use perl fork results in "no working directory" error marko Programming & Packaging 1 25th February 2008 12:29 AM
Why can't i use command " service " and " chkconfig" on RHEL4 ES ? sir pratchaya Servers & Networking 10 6th July 2005 06:05 PM
Error:visibility arg must be one of "default", "hidden", "protected" or "internal" wangfeng Using Fedora 0 23rd May 2005 05:59 AM


Current GMT-time: 16:27 (Friday, 21-11-2014)

TopSubscribe to XML RSS for all Threads in all ForumsFedoraForumDotOrg Archive
logo

All trademarks, and forum posts in this site are property of their respective owner(s).
FedoraForum.org is privately owned and is not directly sponsored by the Fedora Project or Red Hat, Inc.

Privacy Policy | Term of Use | Posting Guidelines | Archive | Contact Us | Founding Members

Powered by vBulletinģ Copyright ©2000 - 2012, vBulletin Solutions, Inc.

FedoraForum is Powered by RedHat
Shahpur Photos on Instagram - Bagula Travel Photos on Instagram - Gagnoa Travel Photos on Instagram