Unable to get the login screen of Piler after instllation

Issue #975 invalid
Prasad Joshi created an issue

I have installed the Piler as per the instructions provided on the site. But when i provide the url of piler in the browser it only displays the Apache2 Ubuntu Default Page and do not get the login page.

Comments (10)

  1. Janos SUTO repo owner

    The default virtual host seems to override the settings for piler virtual host. Remove the default virtual host, and you should be fine.

  2. Janos SUTO repo owner

    Run the following

    rm /etc/apache2/sites-enabled/default
    apache2ctl configtest
    apache2ctl restart
    
  3. Prasad Joshi reporter

    Thanks for your quick reply.

    But there is no default file in the /etc/apache2/sites-enabled folder. Instead there is a file called 000-default.conf -> ../sites-available

    Als after excuting the command apache2ctl configtest, it gives the following error

    Command 'apache2ctl' is available in '/usr/sbin/apache2ctl' The command could not be located because '/usr/sbin' is not included in the PATH environment variable. This is most likely caused by the lack of administrative privileges associated with your user account. apache2ctl: command not found

    please guide

  4. Janos SUTO repo owner

    Well, please be root. Then make sure that only piler's virtual host config is located in /etc/apache2/sites-enabled. Then run apache2ctl configtest and apache2ctl restart.

  5. Prasad Joshi reporter

    Thanks, here is the output:

    root@ubuntuarc:/etc/apache2/sites-enabled# ll total 8 drwxr-xr-x 2 root root 4096 Apr 4 17:02 ./ drwxr-xr-x 8 root root 4096 Apr 5 08:56 ../ lrwxrwxrwx 1 root root 35 Apr 4 17:02 000-default.conf -> ../sites-available/000-default.conf root@ubuntuarc:/etc/apache2/sites-enabled# apache2ctl configtest Syntax OK root@ubuntuarc:/etc/apache2/sites-enabled# apache2ctl restart root@ubuntuarc:/etc/apache2/sites-enabled#

    Still there is no file with the name default in the folder /etc/apache2/sites-enabled/ After being root both apache2ctl configtest and apache2ctl restart works fine.

    But still when i provide the url of piler in the browser it only displays the Apache2 Ubuntu Default Page and do not get the login page.

    Please guide

  6. Janos SUTO repo owner

    Would it be difficult to remove 000-default.conf? Also I can't help but notice that you didn't put piler's virtualhost config to /etc/apache2/sites-enabled. Be sure to do it, then run apache2ctl restart. If you feel you have no clue what you are supposed to do, then please go to https://mailpiler.com/support/, then select "Ticket $80", and order a support ticket, and I'll solve your issue. Also consider the "running your archive" service as well.

  7. Prasad Joshi reporter

    Sorry to reply late. I was not in office. I deleted the file 000-default.conf, but still the result is same. The browser only displays the Apache2 Ubuntu Default Page and do not get the login page.

    Can you please guide me to put piler's virtualhost config to /etc/apache2/sites-enabled.

  8. Janos SUTO repo owner

    You should either read an apache tutorial how to configure a virtualhost, or consider the support ticket.

  9. Log in to comment