Jump to content
View in the app

A better way to browse. Learn more.

Froxlor Forum

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

Featured Replies

Hi, I'm totally dumb, i messed up something and couldnt figure out what, propably more things at once, so i will describe my situation. I wanted to enable php-fpm and even tried to switch to nginx after and now i cant turn on apache, even after uninstalling nginx.

Error:

● apache2.service - The Apache HTTP Server
     Loaded: loaded (/lib/systemd/system/apache2.service; enabled; vendor preset: enabled)
     Active: failed (Result: exit-code) since Sat 2021-08-21 18:48:37 CEST; 8s ago
       Docs: https://httpd.apache.org/docs/2.4/
    Process: 4109 ExecStart=/usr/sbin/apachectl start (code=exited, status=1/FAILURE)
        CPU: 57ms

Aug 21 18:48:37 ns55461 systemd[1]: Starting The Apache HTTP Server...
Aug 21 18:48:37 ns55461 apachectl[4112]: apache2: Syntax error on line 225 of /etc/apache2/apache2.conf: Syntax error on line 25 of /etc/apache2/sites-enabled/10_froxlor_ipandport_89.203.250.53.443.conf: Could not open configuration fil>
Aug 21 18:48:37 ns55461 apachectl[4109]: Action 'start' failed.
Aug 21 18:48:37 ns55461 apachectl[4109]: The Apache error log may have more information.
Aug 21 18:48:37 ns55461 systemd[1]: apache2.service: Control process exited, code=exited, status=1/FAILURE
Aug 21 18:48:37 ns55461 systemd[1]: apache2.service: Failed with result 'exit-code'.
Aug 21 18:48:37 ns55461 systemd[1]: Failed to start The Apache HTTP Server.
 

  • Author

There seems to be more services that are not running, hm...

image.thumb.png.e3012e73a3a27a7f3f196dc3fd41a3d6.png

29 minutes ago, CZPortal4Gamers said:

Syntax error on line 25 of /etc/apache2/sites-enabled/10_froxlor_ipandport_89.203.250.53.443.conf

Whats the content of the file? I guess you did not switch back to Apache in Froxlor settings and it tries to load a nginx vhost to apache

  • Author

Yeah, you are propably right, i think i left it on nginx 😕 So what now?

image.png.45baadff43ce4f80e03c7dde4e753e49.pngYe

- Login to your server to get a shell.

- Login to MySQL with froxlor or root user and switch to your froxlor database

- run: update panel_settings SET value='apache2' where varname='webserver';

- quit mysql and run the master cronjob manually with --force

  • Author

That will be tricky, cause idk where do i have password or even name of that db 😕 

These things can be found in froxlor/lib/userdata.inc.php

  • Author

Thanks, i knew that it must be somewhere, but i couldnt find that. Now im done with that, but yeah, there must be broken some config, because apache2 is crashing after startup and its propably connected to php-fpm and named, since they are not running too

  • Author

It is still saying this: Could not open configuration file /etc/apache2/conf-enabled/acme.conf;: No such file or directory But the file is there

  • Author

It does have problem with this in apache config image.png.0ee4c7baea37fb7a6fe4b3d8abd31b33.png

  • Author

image.png.c0de4cf2015ca550342163272a118964.pngThats how looks acme.conf

  • Author

[Sat Aug 21 16:53:43.317717 2021] [core:alert] [pid 19377] [client 45.146.164.110:33526] /var/customers/webs/n00b/cdklic.cz/.htaccess: Invalid command 'php_value', perhaps misspelled or defined by a module not included in the server con>
Ok, which module am i missing?

  • Author

I need to disable php-fpm i guess, but how?

 

48 minutes ago, CZPortal4Gamers said:

image.png.c0de4cf2015ca550342163272a118964.pngThats how looks acme.conf

That's nginx syntax. You need to reconfigure or just delete all froxlor related configs in /etc/apache2/sites-enabled/ so you can reach froxlor via ip/froxlor like the installation. Remember to re-enable mod_php with "a2enmod php7"

If you can login to froxlor again, adjust all settings according to your needs.

  • Author

That didnt changed anything really 😕

  • Author

I did a clean install, so now i need to set it up again, i hope its possible

Why shouldn't it be possible?

You sadly give way to less info on what exactly you did so I can only guess and tell you generic stuff. Just "didn't change anything" is just not possible if you did what I said...post errors, with all related messages and file contents or let us fix it for you -> https://froxlor.support/

  • Author

Because im constantly working on this, i set it up again and this came up when accessing froxlor: image.png.1c176959df249228ef292e5a50a65eca.png

We'll show us the corresponding vhost config...we don't know your system nor what you all changed and did...you have to give more detail if you want help 

permissions of /var/www/ and /var/www/froxlor? not even a few entries of error.log? permissions should be on "www-data" by default and mod_php enabled - as said, without more info about WHAT has already been done and what you are changing exactly after you get an answer here this will go back and forth all the time...Maybe until tomorrow there is more info from your site.

  • Author

0755 are the folders and i've enabled php_mod. I dont know if any modules are missing or what, but i dont know what can be missing 😕

  • Author

[Sat Aug 21 23:05:13.137847 2021] [php:error] [pid 129035] [client 194.228.11.236:52075] script '/var/www/froxlor/info.php' not found or unable to stat
[Sat Aug 21 23:06:01.838554 2021] [autoindex:error] [pid 129041] [client 194.228.11.236:52100] AH01276: Cannot serve directory /var/www/froxlor/: No matching DirectoryIndex (index.php,index.html,index.cgi,index.pl,index.xhtml,index.htm)>
[Sat Aug 21 23:06:19.627217 2021] [php:error] [pid 129031] [client 194.228.11.236:52115] script '/var/www/froxlor/index.php' not found or unable to stat
[Sat Aug 21 23:07:35.629618 2021] [autoindex:error] [pid 129033] [client 37.24.209.92:55116] AH01276: Cannot serve directory /var/www/froxlor/: No matching DirectoryIndex (index.php,index.html,index.cgi,index.pl,index.xhtml,index.htm) f>

14 minutes ago, CZPortal4Gamers said:

AH01276: Cannot serve directory /var/www/froxlor/: No matching DirectoryIndex (index.php,index.html,index.cgi,index.pl,index.xhtml,index.htm)

you sure there is the index.php in the folder /var/www/froxlor? This message says it cannot find it

30 minutes ago, CZPortal4Gamers said:

0755 are the folders and i've enabled php_mod. I dont know if any modules are missing or what, but i dont know what can be missing 😕

and what about owner/group? why not just post "ls -la /var/www/" and answer the question fully...would spare so much time...

Whats the output of "a2enmod php7.3" (or php7.4 depending on what you have installed)

Did you RESTART apache after your changes?

  • Author

image.png.0f99d7bb8258b91b33beda8c3b57e5df.png

Yeah, index.php is there and yeah, i restarted apache several times already, after every change made. Isnt there any file where i must change DirectoryIndex?

image.png.f2c0afb3bbd353341964a76a2ed9d30c.png

Create an account or sign in to comment

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.