I am in the process of providing a localization Dutch for bugzilla 5.2, so I need that installed.
But AFAICS is Openmandriva Cooker the only distrib that carries this version.
Installing OpenMandriva Cooker (I’m a long time user of the Mandrake tree) went quite easy. Then I used dnfdragora to install apache-base and its dependencies, and that went apprently well, but not really.
I get running as root the following:
systemctl -l status httpd
Unit httpd.service could not be found
,
getent passwd apache
returns nothing
And subsequently the installation of bugzilla 5.2 fails since it requires the apache group and a running apache.
I know Cooker is not stable version, but this is not really untrodden territory, isn’t it?
Alas, apache2 service not found.
I checekd the contents of apache-bas in dnfdragora, and found e.g. the config files, but no service. And with Kuser, I checked and found no apache-user or -group installed either. So where is the actual server stuff hidden??
Excuse me, I didn’t see your comments sooner, must have deleted some mail too quickly. Anyway, if I read you correctly, you indicate me an aarch64 item not x86-64. Would that do any good on my AMD-based desktop???
Downloaded the rpm pointed to, used dnfdragora ro remove all apache, removed leftover /etc/httpd.
Then installed file with
dnf install ./apache-base-2.4.62-3-omv2490.x86_64.rpm
and let dnf add all other required apache packages.
Got errors for downloading cooker-testing-x86_64-extra and -restricted and -nonfree, but apparently it installed 44 packages and no problems seen in running the scriptlets, except at the end 3 warnings for deprecated posix.fork .wait .execute.
Feedback on the CLI finally Ready (i guess since I run in Dutch).
But again using kuser: no user or group apache, no service apache2 with systemctl.
I’m not running OM every day, tried today and did system updates and gort a.o. kernel 6.13 and a whole bunch of apache packages. Rebooted to be sure to run the latest kernel and then checked for apache, but no change, no dervice known, no user in the system.
Consulted the apache documentation and tried to manually start, but get this strange result:
apachectl -k start
Command ‘apachectl’ can be found in:
package ‘apache-base’ (main, installed)
Checked in dnfdragora the contents of the package, but I don’t see that item in the files, and not in /usr/bin or /usr/sbin. Any idea what is going on??
The whole thing blocks me from installing bugzilla5.2, that needs apache.
Installing that package resolves the problem of the service niot existing. TX for that. BTW, the name of the service is httpd, not apache2.
But I’m still not at the end of the trouble, the service refuses to start because of the missing apache user (and group I guess):
apachectl AH00543: httpd: bad user name apache
That user is defined in /etc/http/conf/http.conf. I’ll refrazin from trying to create it manually since this is a system user (id below 1000 on other installations).
That’s a bug, we’ve decided a while ago to rename the user to to www so it can be shared between apache, nginx and other webservers to make switching from one to another easier. Must have overlooked the default config there. Fixing…
That’s a decision which has (maybe?) unexpecterd ramifications. The bugzilla5.2 in the cooker repos will not install then, it requires user apache. Unless it picks it up from the /etc/http/conf/http.conf file.
I will test this again after your fix is introduced.
The choice to rename the user has nothing to do with if Bugzilla will install or not. He already said the problem was the default config and that he will fix it. Chances are, it’s probably already fixed in cooker. It will be part of the refresh to ROME, and probably Rock 6.0.
Yes, I got a load of apache update packages in and thse resolve the issue of httpd running, and removes the errors for unknown apache user when trying to install bugzilla 5.2.
I will start anotther thread on that one, because some strange requirement pops up there.
Tx for your help.