F15: Questions re systemd

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



New install of F15 on Thinkpad X61. Httpd refuses to start using:
systemctl enable httpd.service; systemctl start httpd.service

User:group apache:apache exists and 'owns' /var/www

No httpd.service file was installed through yum. I created one containing:
**************************************
# httpd.service for systemd
# installed to /lib/systemd/system

[Unit]
Description=httpd daemon
After=mysqld.service

[Service]
EnvironmentFile=-/etc/sysconfig/httpd
ExecStart=/usr/sbin/httpd $OPTIONS -k start
ExecReload=/usr/sbin/httpd $OPTIONS -k restart
PIDFile=/run/httpd.pid
Type=forking
User=apache
Group=apache

[Install]
WantedBy=multi-user.target
****************************************

I only get 'Job failed. See system logs and 'systemctl status' for 
details'.  [FAILED]

Status details are no help. I added OPTIONS=" -e 3 -E 
/var/log/httpd/error_log -w" to /etc/sysconfig/httpd, which systemctl 
status says it is executing, but I get NO error_log entries.

Moreover, I get NO systems logs of any sort from systemctl/systemd.

FIRST QUESTION: Where are the system logs?  I do NOT have a 
/var/log/messages file.... Do I need to set a logging option somewhere?


SECOND QUESTION: If I use '/usr/sbin/httpd -k start', it works and I get 
httpd threads in the ps list.
Service httpd status, at that point, says that the start FAILED.
Service httpd stop does not actually stop anything, nor does systemctl 
httpd.service stop.  (Does not know the pid?)

But another service httpd start, reports that httpd is already running....

Does anyone know how to get this working? My google-foo is lacking. I 
can find nothing about where systemd logs data.
And I can find nothing about whether to remove the original (F14) 
service files.


              R. Geoffrey Newbury
-- 
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

[Index of Archives]     [Older Fedora Users]     [Fedora Announce]     [Fedora Package Announce]     [EPEL Announce]     [EPEL Devel]     [Fedora Magazine]     [Fedora Summer Coding]     [Fedora Laptop]     [Fedora Cloud]     [Fedora Advisory Board]     [Fedora Education]     [Fedora Security]     [Fedora Scitech]     [Fedora Robotics]     [Fedora Infrastructure]     [Fedora Websites]     [Anaconda Devel]     [Fedora Devel Java]     [Fedora Desktop]     [Fedora Fonts]     [Fedora Marketing]     [Fedora Management Tools]     [Fedora Mentors]     [Fedora Package Review]     [Fedora R Devel]     [Fedora PHP Devel]     [Kickstart]     [Fedora Music]     [Fedora Packaging]     [Fedora SELinux]     [Fedora Legal]     [Fedora Kernel]     [Fedora OCaml]     [Coolkey]     [Virtualization Tools]     [ET Management Tools]     [Yum Users]     [Yosemite News]     [Gnome Users]     [KDE Users]     [Fedora Art]     [Fedora Docs]     [Fedora Sparc]     [Libvirt Users]     [Fedora ARM]

  Powered by Linux