Re: [users@httpd] Run Control for Apache in Fedora 25

2017-03-29 Thread Mitchell Krog Photography
Brilliant, so glad you got it sorted :) Cheers Mitch From: John Iliffe Reply: users@httpd.apache.org Date: 28 March 2017 at 6:08:33 PM To: users@httpd.apache.org Subject: Re: [users@httpd] Run Control for Apache in Fedora 25 First, my sincere thanks to all the folks who responded so

Re: [users@httpd] Run Control for Apache in Fedora 25

2017-03-28 Thread John Iliffe
First, my sincere thanks to all the folks who responded so fast to my problem. I have it fixed, I think. Testing so far seems to work as expected. The problem is that when "systemctl enable" generates the new unit file (httpd.service) it didn't get it quite right. For one thing, it dropped

Re: [users@httpd] Run Control for Apache in Fedora 25

2017-03-28 Thread Kartik Vashishta
fe > Reply: users@httpd.apache.org > > Date: 28 March 2017 at 4:35:52 PM > To: users@httpd.apache.org > > Subject: Re: [users@httpd] Run Control for Apache in Fedora 25 > > Thank you Mickey. > > That is exactly what the problem is; all /var/run subdirectories ge

Re: [users@httpd] Run Control for Apache in Fedora 25

2017-03-28 Thread John Iliffe
un/httpd/httpd.pid ExecStart=/etc/rc.d/init.d/httpd start ExecStop=/etc/rc.d/init.d/httpd stop ExecReload=/etc/rc.d/init.d/httpd reload > > From: John Iliffe > Reply: users@httpd.apache.org > > Date: 28 March 2017 at 4:35:52 PM > To: users@httpd.apache.org > Subject: Re: [u

Re: [users@httpd] Run Control for Apache in Fedora 25

2017-03-28 Thread Mitchell Krog Photography
What does sudo systemctl edit --full httpd show you ??? From: John Iliffe Reply: users@httpd.apache.org Date: 28 March 2017 at 4:35:52 PM To: users@httpd.apache.org Subject: Re: [users@httpd] Run Control for Apache in Fedora 25 Thank you Mickey. That is exactly what the problem is

Re: [users@httpd] Run Control for Apache in Fedora 25

2017-03-28 Thread Kartik Vashishta
Maybe this will help: http://stackoverflow.com/questions/32977557/how-do-i-compile-apache-httpd-2-4-16-with-systemd-support On Tue, Mar 28, 2017 at 9:35 AM, John Iliffe wrote: > Thank you Mickey. > > That is exactly what the problem is; all /var/run subdirectories get > deleted on reboot. > > I

Re: [users@httpd] Run Control for Apache in Fedora 25

2017-03-28 Thread John Iliffe
Thank you Mickey. That is exactly what the problem is; all /var/run subdirectories get deleted on reboot. I tried to move the pid file to another location, for a start its default location under the apache install directory, but even directly on /var/run/, with the result that systemctl could

Re: [users@httpd] Run Control for Apache in Fedora 25

2017-03-28 Thread Mickey Nordstrom
Hi John, I didn't read your full post so apologies if I'm not answering your question. I have had similar problems on SuSE Linux whith systemd and the solution was to create a file under /etc/tmpfiles.d with content something like this: d /var/run/httpd 770 webservd webservd Modify it to the us

[users@httpd] Run Control for Apache in Fedora 25

2017-03-27 Thread John Iliffe
First, I know this is probably not an Apache question, but I'm hoping that someone on this list may have seen this problem before and knows the solution. I know this is going to be very long winded, my apologies in advance, but I have done quite a bit of research so I have a good idea what won'