[Not Solved] Can't open WEBGui on port 80

  • Hi all!
    Sorry my noob question, i newbe on linux.


    So, i try install rtorrent on my OMV.


    And after install a can't open web gui on port 80, so http://ipomv i see

    Zitat

    It works!
    This is the default web page for this server.
    The web server software is running but no content has been added, yet.


    But, if i use i ssh omv-firstaid and change port on 81 - i can enter on webgui.


    Whats problem? Please, help!

  • Code
    netstat -tulpen | grep 80
    netstat -tulpen | grep apache


    Greetings
    David

    "Well... lately this forum has become support for everything except omv" [...] "And is like someone is banning Google from their browsers"


    Only two things are infinite, the universe and human stupidity, and I'm not sure about the former.

    Upload Logfile via WebGUI/CLI
    #openmediavault on freenode IRC | German & English | GMT+1
    Absolutely no Support via PM!

  • Thank you for quick answer, I fix it.


    Was the wrong file

    Code
    /etc/apache2/sites-available/default


    I wrote there

    Zitat

    <VirtualHost *:80>
    Include /etc/apache2/openmediavault-webgui.d / *. Conf
    </ Virtualhost>


    and the problem was solved.
    Topic can be closed, sorry.

  • That is not correct... Are you on .5 OMV?


    The /etc/apache2/sites-available/default


    should look like this:


  • The /etc/apache2/sites-available/openmediavault-webgui


    Code
    <VirtualHost *:80>
        Include /etc/apache2/openmediavault-webgui.d/*.conf
    </Virtualhost>


    service apache2 restart


    If this does not work make sure there is a symlink for the openmediavault-webgui in sites-enabled folder.

  • Yes, OMV .5


    Zitat von "tekkbebe"


    If this does not work make sure there is a symlink for the openmediavault-webgui in sites-enabled folder.


    It does not work.


    I see after change /etc/apache2/sites-available/default


    should look like this:

    Zitat

    It works!
    This is the default web page for this server.
    The web server software is running but no content has been added, yet.


    If i correct understand - i need create symlink /etc/apache2/sites-enabled folder from /etc/apache2/sites-available?
    How I can create symlink?

  • Zitat von "davidh2k"
    Code
    netstat -tulpen | grep 80
    netstat -tulpen | grep apache


    Greetings
    David


    netstat -tulpen | grep 80

    Code
    tcp        0      0 0.0.0.0:80              0.0.0.0:*               LISTEN      0          73904       17872/apache2   
    udp        0      0 192.168.1.10:38980      0.0.0.0:*                           0          8207        1727/Plex Media Ser
    udp        0      0 192.168.1.255:137       0.0.0.0:*                           0          6804        1716/nmbd       
    udp        0      0 192.168.1.10:137        0.0.0.0:*                           0          6803        1716/nmbd       
    udp        0      0 0.0.0.0:137             0.0.0.0:*                           0          6800        1716/nmbd       
    udp        0      0 192.168.1.255:138       0.0.0.0:*                           0          6806        1716/nmbd       
    udp        0      0 192.168.1.10:138        0.0.0.0:*                           0          6805        1716/nmbd       
    udp        0      0 0.0.0.0:138             0.0.0.0:*                           0          6801        1716/nmbd


    netstat -tulpen | grep apache

    Code
    tcp        0      0 0.0.0.0:80              0.0.0.0:*               LISTEN      0          73904       17872/apache2
  • Zitat von "tekkbebe"

    you do not have this file in sites-available????


    I have.


    default
    default-ssl
    openmediavault-webgui


    cat default


    cat default-ssl


    cat openmediavault-webgui

    Code
    <VirtualHost *:80>
        Include /etc/apache2/openmediavault-webgui.d/*.conf
    </Virtualhost>
  • Is there a symlink in sites-enabled for openmediavault-webgui ???


    You can do it manually and restart apache.


    ln -s /etc/apache2/sites-available/openmediavault-webgui /etc/apache2/sites-enabled/


    service apache2 restart


    That is all the a2ensite command does it create a symlink to sites-enabled folder.


  • I have symlink on folder /etc/apache2/sites-enabled/ to /etc/apache2/sites-available/


    And I see

    Zitat

    It works!


    This is the default web page for this server.


    The web server software is running but no content has been added, yet.


    After

    Code
    service apache2 restart
  • Zitat von "tekkbebe"

    Give me results of this:


    cat /etc/apache2/openmediavault-webgui.d/default.conf



  • Zitat von "tekkbebe"

    Show this as well...


    cat /etc/apache2/apache2.conf


  • Your system is loading /var/www/index.html.


    Tell me all the sites that are in your sites-enabled folder???? I got feeling default is enabled because when you changed the files contents it worked. default should not be enabled. Only openmediavault-webgui should be. You can delete the default symlink in sites-enabled folder.


    cd /etc/apache2/sites-enabled
    rm default
    service apache2 restart

Jetzt mitmachen!

Sie haben noch kein Benutzerkonto auf unserer Seite? Registrieren Sie sich kostenlos und nehmen Sie an unserer Community teil!