![]() |
|
Apache giving error in - Printable Version +- Sentora Support Forums (https://senforums.mach-hosting.com) +-- Forum: Sentora Public Support Forums v2.x.x (https://senforums.mach-hosting.com/forumdisplay.php?fid=66) +--- Forum: General Support Forum v2.x.x (https://senforums.mach-hosting.com/forumdisplay.php?fid=67) +--- Thread: Apache giving error in (/showthread.php?tid=13101) |
Apache giving error in - kevwebbie - 12-06-2024 Apache wont start because there is an error in /etc/sentora/configs/apache/httpd-vhosts.conf but this file is generated by Sentora. How to I regenerate the file if I cant start apache? Any ideas? Sorry the error is in the php_admin_value variable in this file /etc/sentora/configs/apache/httpd-vhosts.conf Here are the relevant lines in the conf file: 9 Listen 80 10 11 # Configuration for Sentora control panel. 12 <VirtualHost *:80> 13 ServerAdmin redacted 14 DocumentRoot "/etc/sentora/panel/" 15 ServerName cp.mydomain.com 16 AddType application/x-httpd-php .php7 .php 17 php_admin_value sp.configuration_file "/etc/sentora/configs/php/sp/sentora.rules" Does anyone know how I can fix this anyway easily? RE: Apache giving error in - Me.B - 12-06-2024 Version installed/OS. Can you get apache error logs? RE: Apache giving error in - kevwebbie - 12-07-2024 The os is Ubuntu 22. I can't start Apache because of this error. RE: Apache giving error in - TGates - 12-08-2024 (12-07-2024, 03:30 AM)kevwebbie Wrote: The os is Ubuntu 22. I can't start Apache because of this error. Sentora v2.0.2 is the current working production release. (php 7) Sentora will not run on Ubuntu 22 yet since it uses php 8+ by default. We have explained this many times. You need to install Ubuntu 20.04 and re-install Sentora. Can you please post what you did to install Sentora on Ubuntu 22? RE: Apache giving error in - asher - 12-24-2024 Just edit the path in the httpd-vhosts.conf file and make sure the path of sp.configuration_file is correct. If Apache still does not start, you can try running Sentora again from the command line to regenerate the configuration files or double-check the permissions on these files Incredibox game RE: Apache giving error in - Fielaposa - 03-22-2025 It looks like the issue is with the php_admin_value directive in your /etc/sentora/configs/apache/httpd-vhosts.conf file, which is preventing Apache from starting. Since this file is auto-generated by Sentora, manually editing it is not recommended as changes may be overwritten. GeoGuessr RE: Apache giving error in - geometrydashlitepc - 04-03-2025 (12-24-2024, 02:20 PM)asher Wrote: Just edit the path in the httpd-vhosts.conf file and make sure the path of sp.configuration_file is correct. If Apache still does not start, you can try running Sentora again from the command line to regenerate the configuration files or double-check the permissions on these files Geometry Dash Lite If nothing works, does reinstalling or updating Sentora resolve the issue without affecting websites and data? RE: Apache giving error in - kevwebbie - 04-25-2025 (04-17-2025, 11:45 AM)noahharold Wrote: It sounds like you're facing a common issue with Apache not starting due to a configuration error in the httpd-vhosts.conf file. To resolve this, try the following steps: I've installed this on a Debian server to test it. Had some problems but manged to get it sorted. Seems to be working well on Debian 12.Thanks for all your help. |