I will try to explain with my english !!
I was obliged to reinstall my leap 15.4.
my http server does’nt start and the error message is not “true to describe the problem”
I used vhost based on IP adress and so i have a lot of htttp-host conf file
I saw with the version of yast and apache, they read my conf files and after write a unique conf file, named ip-based_vhosts.conf and i do believe that’s the problem and i dont know why Yast is running this way, differntly from the previous install ?
regards
I think i don’have the last version of apache , since leap15.4 is stop the depositories are closed and i can’t use GA pool
I have 2.4.51-150400 version and there is 2.4.59-lp154-303 version from bwalger , unavailble
Leap 15.4 is EOL, so there’s not going to be an update for that release.
If you can post the exact output you see (please use the preformatted text - the </>
button in the editor toolbar) along with the command you’re using to start Apache, someone should be able to give you an idea of where to look.
But it would be advisable to update to at least Leap 15.5 (15.6 was just released last week).
Hi
thank’s for tour answer. It is because i will update to 15.6 i do that. Difficult to explain , but i can’t upadate with the previous installation. i my idea i re-install identicaly and so the update will be done in the best way… juin 16 22:27:05 localhost systemd[1]: Starting The Apache Webserver... ░░ Subject: L'unité (unit) apache2.service a commencé à démarrer ░░ Defined-By: systemd ░░ Support: https://lists.freedesktop.org/mailman/listinfo/systemd-devel ░░ ░░ L'unité (unit) apache2.service a commencé à démarrer. juin 16 22:27:06 localhost start_apache2[1270]: AH00548: NameVirtualHost has no effect and will be removed in the next release /etc/apache2/default-server.conf:46 juin 16 22:27:07 localhost systemd[1]: Started The Apache Webserver. ░░ Subject: L'unité (unit) apache2.service a terminé son démarrage ░░ Defined-By: systemd ░░ Support: https://lists.freedesktop.org/mailman/listinfo/systemd-devel ░░ ░░ L'unité (unit) apache2.service a terminé son démarrage, avec le résultat done.
did’nt ask me why , ?? but the apache server start, Yast did’nt create a unique conf file, use my conf file for each instance ???
best
I’m finding it a little difficult with the formatting you used in your message, but it looks like a mailing list archive post rather than the info from the startup of apache.
Run this, and copy/paste both the entered command and the output:
sudo systemctl restart apache2 && sudo systemctl status apache2
After you paste the text into the composition window here, select it and click the </>
button in the editor toolbar so the output looks like this:
jhenderson@localhost:~> sudo systemctl restart apache2 && sudo systemctl status apache2
● apache2.service - The Apache Webserver
Loaded: loaded (/usr/lib/systemd/system/apache2.service; disabled; preset:>
Active: active (running) since Sun 2024-06-16 17:10:56 PDT; 5s ago
Main PID: 13220 (httpd-prefork)
Status: "Processing requests..."
Tasks: 6
CPU: 89ms
CGroup: /system.slice/apache2.service
├─13220 /usr/sbin/httpd-prefork -DSYSCONFIG -C "PidFile /run/httpd>
├─13238 /usr/sbin/httpd-prefork -DSYSCONFIG -C "PidFile /run/httpd>
├─13240 /usr/sbin/httpd-prefork -DSYSCONFIG -C "PidFile /run/httpd>
├─13241 /usr/sbin/httpd-prefork -DSYSCONFIG -C "PidFile /run/httpd>
├─13242 /usr/sbin/httpd-prefork -DSYSCONFIG -C "PidFile /run/httpd>
└─13243 /usr/sbin/httpd-prefork -DSYSCONFIG -C "PidFile /run/httpd>
Jun 16 17:10:56 localhost.localdomain systemd[1]: Starting The Apache Webserver>
Jun 16 17:10:56 localhost.localdomain start_apache2[13220]: AH00558: httpd-pref>
Jun 16 17:10:56 localhost.localdomain systemd[1]: Started The Apache Webserver.
jhenderson@localhost:~>
The other thing that might be useful if the error messages are further back in the logs is to run:
sudo journalctl -xe --unit=apache2
If you want to explain in French, I can attempt to use something to translate your text to English to see if that helps me understand what you’re seeing.
We do also link to an external forum that is French-language that may be able to help you without adding the need to translate. They are at https://www.alionet.org/ - just offering that as an option as well.
I guess you mean the ip-based.conf
that holds all the websites? So, instead of one per website?
Hi yes and the apache server is running with the separate vhost.conf file without error
What i did is : remove all .conf
copy on vhosts.conf file , launch yast http
copy one more vhost.conf launch yast http
until all my vhosts charged.
yast did’nt create ip-based.conf and i am happy
This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.