Awesome!
That worked.
Thanks!
I guess I can now move on to install MariaDB ...
And after that the Chamilo-LMS.
On 8/24/24 09:24, Страхиња Радић wrote:
Дана 24/08/23 10:04PM, David Colburn написа:
Owner and Group are "www www" - is that correct?
No. On a clean install (using defaults for th
Дана 24/08/23 10:04PM, David Colburn написа:
> Owner and Group are "www www" - is that correct?
No. On a clean install (using defaults for the OpenBSD port),
/var/www/logs/error.log and /var/www/logs/access.log are owned by the
user _lighttpd and group _lighttpd. That differs from the instructio
On 8/24/24 04:31, Stuart Henderson wrote:
On 2024/08/23 22:04, David Colburn wrote:
On 8/21/24 14:25, Stuart Henderson wrote:
On 2024/08/21 14:02, David Colburn wrote:
"$ cat /var/www/dev/null"
Returns to the prompt.
Here's this ...
b7# rcctl -d start lighttpd
doing _rc_parse_conf
lighttpd_
On 2024/08/23 22:04, David Colburn wrote:
> On 8/21/24 14:25, Stuart Henderson wrote:
> > On 2024/08/21 14:02, David Colburn wrote:
> > > "$ cat /var/www/dev/null"
> > >
> > > Returns to the prompt.
> > >
> > > Here's this ...
> > >
> > > b7# rcctl -d start lighttpd
> > > doing _rc_parse_conf
>
On 8/21/24 14:25, Stuart Henderson wrote:
On 2024/08/21 14:02, David Colburn wrote:
"$ cat /var/www/dev/null"
Returns to the prompt.
Here's this ...
b7# rcctl -d start lighttpd
doing _rc_parse_conf
lighttpd_flags empty, using default >-f /etc/lighttpd.conf<
doing rc_check
lighttpd
doing rc_st
Does this mean that the /dev/null problem I've been chasing can't be solved
without the maintainer's intervention?
On 8/23/24 01:06, Страхиња Радић wrote:
I use httpd(8), since a static website server is enough for my use
cases, so I tried creating a fresh installation of OpenBSD 7.5 in a VM
t
I use httpd(8), since a static website server is enough for my use
cases, so I tried creating a fresh installation of OpenBSD 7.5 in a VM
to test this. It seems that lighttpd doesn't work out of the box on
OpenBSD 7.5, and this is something for the maintainer of lighttpd port
to take a look at, pr
|Might this then solve the failure to write error.log problem?|
||
|"chown _lighttpd:_lighttpd /var/www/logs/error.log"|
||
|
|
On 8/22/24 18:01, Stuart Henderson wrote:
Lighttpd is running as the _lighttpd user, not as root.
--
Sent from a phone, apologies for poor formatting.
On 21 August
Lighttpd is running as the _lighttpd user, not as root.
--
Sent from a phone, apologies for poor formatting.
On 21 August 2024 21:19:20 David Colburn wrote:
What do I do about the error.log problem?
I'm running as root - so a permissions problem would seem impossible.
Unless lighttpd is ch
"$ cat /var/www/dev/null"
Returns to the prompt.
Here's this ...
b7# rcctl -d start lighttpd
doing _rc_parse_conf
lighttpd_flags empty, using default >-f /etc/lighttpd.conf<
doing rc_check
lighttpd
doing rc_start
doing _rc_wait_for_start
doing rc_check
2024-08-21 13:59:01:
(/usr/obj/ports/ligh
On 2024/08/21 14:02, David Colburn wrote:
> "$ cat /var/www/dev/null"
>
> Returns to the prompt.
>
> Here's this ...
>
> b7# rcctl -d start lighttpd
> doing _rc_parse_conf
> lighttpd_flags empty, using default >-f /etc/lighttpd.conf<
> doing rc_check
> lighttpd
> doing rc_start
> doing _rc_wait_
(oops, sent to David but I forgot to CC the list back)
On 2024/08/21 12:11, David Colburn wrote:
>
> > On 2024/08/21 10:21, David Colburn wrote:
> > > Notes:
> > >
> > > 1. I've read the manual entry, and multiple threads related to this, more
> > > than once.
> > >
> > > 2. The “chroot locat
On 8/21/24 10:34, Stuart Henderson wrote:
On 2024/08/21 10:21, David Colburn wrote:
Notes:
1. I've read the manual entry, and multiple threads related to this, more than
once.
2. The “chroot location” as defined in /etc/lighttpd.conf. is unchanged -
/var/www
3. Someone suggested, and I al
Notes:
1. I've read the manual entry, and multiple threads related to this,
more than once.
2. The “chroot location” as defined in /etc/lighttpd.conf. is unchanged
- /var/www
3. Someone suggested, and I also tried "/var/www/" - same error.
4. As previously noted - Stuart's answer was teste
On 2024/08/21 10:21, David Colburn wrote:
> Notes:
>
> 1. I've read the manual entry, and multiple threads related to this, more
> than once.
>
> 2. The “chroot location” as defined in /etc/lighttpd.conf. is unchanged -
> /var/www
>
> 3. Someone suggested, and I also tried "/var/www/" - same e
Hi,
your “chroot location” is defined in /etc/lighttpd.conf. If you didn't change
it, it is /var/www.
Please read the man page for chroot(8). The command to do this is “man 8
chroot” (without the quotes). Alternatively the Wikipedia entry for chroot can
help you understand what chroot is an
So, I'm at a dead end atm.
It was a clean install - OpenBSD 7.5, php 8.3.10, lighttpd-1.4.74-mysql
What should have worked (Stuart's instructions) didn't.
'chroot' locations are as listed (see following).
Where do I go from here, please?
Is it possible that the lighttpd.conf from lighttpd-1.4
Hmm. That should be ok...
--
Sent from a phone, apologies for poor formatting.
On 18 August 2024 21:19:25 David Colburn wrote:
total 0
crw-rw-rw- 1 root wheel 2, 2 Aug 18 10:07 null
On 8/18/24 16:00, Stuart Henderson wrote:
Did you do the mkdir etc? What does ls -l /var/www/dev show?
--
total 0
crw-rw-rw- 1 root wheel 2, 2 Aug 18 10:07 null
On 8/18/24 16:00, Stuart Henderson wrote:
Did you do the mkdir etc? What does ls -l /var/www/dev show?
--
Sent from a phone, apologies for poor formatting.
On 18 August 2024 17:01:52 David Colburn wrote:
I removed "nodev" from th
Did you do the mkdir etc? What does ls -l /var/www/dev show?
--
Sent from a phone, apologies for poor formatting.
On 18 August 2024 17:01:52 David Colburn wrote:
I removed "nodev" from the /var line and rebooted.
Same error:
2024-08-13 22:29:37:
(/usr/obj/ports/lighttpd-1.4.74-mysql/lightt
I removed "nodev" from the /var line and rebooted.
Same error:
2024-08-13 22:29:37:
(/usr/obj/ports/lighttpd-1.4.74-mysql/lighttpd-1.4.74/src/configfile.c.1891)
opening /dev/null failed. No such file or directory.
2024-08-13 22:29:37:
(/usr/obj/ports/lighttpd-1.4.74-mysql/lighttpd-1.4.74/src/
/etc/fstab currently looks like this:
none swap sw
/ ffs rw 1 1
/home ffs rw,nodev,nosuid 1 2
/tmp ffs rw,nodev,nosuid 1 2
/usr ffs rw,nodev 1 2
/usr/X11R6 ffs rw,nodev 1 2
/usr/local ffs rw,wxallowed,nodev 1 2
/usr/obj ffs rw,nodev,nosuid 1 2
/usr/src ffs rw,nodev,nosuid 1 2
/var ffs rw,nodev,no
Yes
--
Sent from a phone, apologies for poor formatting.
On 18 August 2024 15:29:07 David Colburn wrote:
That's very helpful, thanks!
/var is mounted "ffs rw,nodev,nosuid, 1 2"
/var/www isn't specifically mentioned.
Would it be affected by the /var mount settings?
Thanks again.
On 8/18/
That's very helpful, thanks!
/var is mounted "ffs rw,nodev,nosuid, 1 2"
/var/www isn't specifically mentioned.
Would it be affected by the /var mount settings?
Thanks again.
On 8/18/24 07:50, Stuart Henderson wrote:
On 2024-08-15, David Colburn wrote:
This is a multi-part message in MIME f
On 2024-08-15, David Colburn wrote:
> This is a multi-part message in MIME format.
> --SIjdwSa43FawypA6wB8kzt18
> Content-Type: text/plain; charset=UTF-8; format=flowed
> Content-Transfer-Encoding: 7bit
>
> Dell OptiPlex 7050
>
> OpenBSD 7.5
>
> php 8.3.10
>
> lighttpd-1.4.74-mysql
>
>
Dell OptiPlex 7050
OpenBSD 7.5
php 8.3.10
lighttpd-1.4.74-mysql
I'm using root.
"*rcctl -df start lighttpd*" errors
"/daemonized server failed to start; check error log for details doing
_rc_rm_runfile (failed)/"
error.log says:
"...
(/usr/obj/ports/lighttpd-1.4.74-mysql/lighttpd-1.4.74
26 matches
Mail list logo