Page 1 of 1

trouble starting services?

Posted: 2014/07/13 16:01:56
by Greg_E
I'm working on setting up a webserver for local use, installed httpd, mariadb and mariadb-server, and php, php-mysql, php-xml. Did the old style service httpd start and noticed it forwarded off to systemctl so I did systemctl enable httpd.service to get it running as a service on reboots. Went down to mariadb and ran systemctl start mariadb.service and tried systemctl enable mariadb.service and it gave me some text output that I don't really understand. I got it working by user the older chkconfig mariadb on which it told me was forwarded to systemctl just like I typed before.

Code: Select all

[root@localhost liveuser]# systemctl start mariadb.service
[root@localhost liveuser]# systemctl enable mariadb.service
ln -s '/usr/lib/systemd/system/mariadb.service' '/etc/systemd/system/multi-user.target.wants/mariadb.service'
What am I doing wrong? Is anything wrong?

Re: trouble starting services?

Posted: 2014/07/13 16:53:00
by TrevorH
Nothing wrong. Normal.

Re: trouble starting services?

Posted: 2014/07/13 19:58:48
by Greg_E
Thanks. Also something to note is systemctl status <service name> to check the status of a service, just in case the next person just learning this comes around on a search.