Open kencoba opened 1 year ago
Same issue here. I had to 'dnf remove' all the apache items and build apache from source. Upgraded from Amazon Linux 2 for the ability to run react out of the box, but spent more of my weekend than I'd like to admit compiling / configuring apache to get webdav back. Not complaining because it's a free distro. Just surprising since it's a pretty common module with fixes from other RedHat-like distros.
I'll keep watching this space so I can get back to the preferred approach once this is fixed.
Thanks, sorry for the delay, we'll try to get to the bottom of this asap
Describe the bug When I set up WebDAV with httpd and uploload the file, I get the error "AH00576: The DBM driver could not be loaded".
Description of problem: I've got an error message in /etc/httpd/conf/logs/error_log.
To Reproduce Command lines: sudo yum update sudo yum install httpd
sudo chown apache /home/webdav sudo chgrp apache /home/webdav sudo chmod 770 /home/webdav
sudo mkdir /var/lib/dev sudo mkdir /var/lib/dev/lockdb sudo chown apache /var/lib/dev/lockdb sudo chgrp apache /var/lib/dev/lockdb
sudo vi /etc/httpd/conf.d/webdav.conf
The content of /etc/httpd/conf.d/webdav.conf:
command lines(cont.): sudo htpasswd -c /etc/httpd/conf/.htpasswd WebDAV sudo systemctl restart httpd
sh-5.2$ curl -T sample.txt -u WebDAV:pppppp --url http://xxx.xxx.xxx.xxx/webdav/sample.txt -X PUT
Expected behavior Files can be successfully uploaded.
Screenshots No screenshots available.
Desktop (please complete the following information):
Smartphone (please complete the following information): I don't use any other devices.
Additional context Amazon Linux version: Amazon Linux 2023 AMI 2023.1.20230705.0 x86_64 HVM kernel-6.1
I tried to install apr-util-bdb by referring to the following URL, but it does not seem to exist in Amazon Linux 2023. https://bugzilla.redhat.com/show_bug.cgi?id=1491151
sh-5.2$ sudo yum install apr-util-bdb Last metadata expiration check: 0:26:08 ago on Fri Jul 7 07:38:50 2023. No match for argument: apr-util-bdb Error: Unable to find a match: apr-util-bdb