Skip to contentSkip to conversation

changing the apache2 conf (meta-webserver)

DISCUSSION Bishop, Mark (STRT) 2 participants 3 messages Feb 5, 2018

lore
Share & tools
lore
#0 lore raw

Let me start with that I'm new to Yocto.

I've been able to get apache2 onto my zynq board but I need to change the config. I'm using a read-only rootfs and apache won't start because it wants to write to a log file. I know what I need to change in the apache config but I have no idea how to do that in Yocto. Could anyone walk me through it and if I am in the wrong spot, my apologies.

Mark Bishop
Sr. Firmware/Software Engineer - Microwave Subsystems

[cid:[email protected]]

4726 Eisenhower Blvd.
Tampa, FL 33634
USA

T +1 813 901 7293

[email protected]<mailto:[email protected]>

smithsinterconnect.com<http://www.smithsinterconnect.com/>

TRAK MICROWAVE IS NOW SMITHS INTERCONNECT!

#1 lore raw
Quoted 9 lines · Mark (STRT)

Let me start with that I'm new to Yocto.

I've been able to get apache2 onto my zynq board but I need to change the config.  I'm using a read-only rootfs and apache won't start because it wants to write to a log file.  I know what I need to change in the apache config but I have no idea how to do that in Yocto.  Could anyone walk me through it and if I am in the wrong spot, my apologies.

you might need to provide some r/w storage here it seems. Either you can symlink back /tmp to /var/log ( a hack ) or provide a proper storage thats persistent and mount it on /var/log or whereever it is expecting to write.

#2 lore raw

I want to change the ErrorLog entries. It's a common thing to do but I need help in how to do that in Yocto.

-----Original Message-----
From: [email protected] [mailto:[email protected]] On Behalf Of Khem Raj
Sent: Monday, February 05, 2018 3:07 PM
To: [email protected]
Subject: Re: [yocto] changing the apache2 conf (meta-webserver)

Quoted 9 lines · Mark (STRT)

Let me start with that I'm new to Yocto.

I've been able to get apache2 onto my zynq board but I need to change the config.  I'm using a read-only rootfs and apache won't start because it wants to write to a log file.  I know what I need to change in the apache config but I have no idea how to do that in Yocto. Could anyone walk me through it and if I am in the wrong spot, my apologies.

you might need to provide some r/w storage here it seems. Either you can symlink back /tmp to /var/log ( a hack ) or provide a proper storage thats persistent and mount it on /var/log or whereever it is expecting to write. --
_______________________________________________
yocto mailing list
[email protected]
https://lists.yoctoproject.org/listinfo/yocto