Re: httpd fails after boot

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

 



Mike -- EMAIL IGNORED wrote:
> On Thu, 23 Jul 2009 21:59:44 +0100, Sharpe, Sam J wrote:
> 
> [...]
>> If you look at /etc/init.d/httpd, you will see:
>>
>> if [ -f /etc/sysconfig/httpd ]; then
>>         . /etc/sysconfig/httpd
>> fi
>>
>> So the initialisation script sources that file. If you want to set
>> Environment variables that are available when Apache starts, it would
>> make sense to try adding those variables to /etc/sysconfig/httpd - it
>> might do what you want for minimal effort...
>>
> 
> If that would work, then I could just as well export
> the variable from /etc/init.d/httpd .  I just tried
> that and the web server started, but the variable
> was not available in the bash shell, so I am still
> stuck with setting it in two places.
> 
What does /etc/sysconfig/httpd look like? Is it possible that you
are using the wrong format? You do not really want to change the
/etc/init.d/httpd scipt, as an update will probably kill the changes.

Mikkel
-- 

  Do not meddle in the affairs of dragons,
for thou art crunchy and taste good with Ketchup!

Attachment: signature.asc
Description: OpenPGP digital signature

-- 
fedora-list mailing list
fedora-list@xxxxxxxxxx
To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list
Guidelines: http://fedoraproject.org/wiki/Communicate/MailingListGuidelines
[Index of Archives]     [Older Fedora Users]     [Fedora Announce]     [Fedora Package Announce]     [EPEL Announce]     [Fedora Magazine]     [Fedora News]     [Fedora Summer Coding]     [Fedora Laptop]     [Fedora Cloud]     [Fedora Advisory Board]     [Fedora Education]     [Fedora Security]     [Fedora Scitech]     [Fedora Robotics]     [Fedora Maintainers]     [Fedora Infrastructure]     [Fedora Websites]     [Anaconda Devel]     [Fedora Devel Java]     [Fedora Legacy]     [Fedora Desktop]     [Fedora Fonts]     [ATA RAID]     [Fedora Marketing]     [Fedora Management Tools]     [Fedora Mentors]     [SSH]     [Fedora Package Review]     [Fedora R Devel]     [Fedora PHP Devel]     [Kickstart]     [Fedora Music]     [Fedora Packaging]     [Centos]     [Fedora SELinux]     [Fedora Legal]     [Fedora Kernel]     [Fedora OCaml]     [Coolkey]     [Virtualization Tools]     [ET Management Tools]     [Yum Users]     [Tux]     [Yosemite News]     [Gnome Users]     [KDE Users]     [Fedora Art]     [Fedora Docs]     [Asterisk PBX]     [Fedora Sparc]     [Fedora Universal Network Connector]     [Libvirt Users]     [Fedora ARM]

  Powered by Linux