Open Source Content Management System

Fresh install on Debian, 404 error, something missing?

  1. Fresh install on Debian, 404 error, something missing?

    Tue May 06 2008 05:23:54 UTC

    Dears,

    i installed last version of Midgard using .deb packages, including datagard steps. The only thing I can see is in web browser is directory listing of the root of midgard virtual host:

    Index of / [ICO] Name Last modified Size Description [DIR] midcom-static/ 20-Apr-2008 21:43 -

    If I try e.g. midgard.danovyporadce.net/sitewizard (midgard.danovyporadce.net is my virtualhost domain) or midgard.danovyporadce.net/midgard-sitewizard, I get only "404: The requested URL /sitewizard/ was not found on this server."

    Please, what should be in the /var/lib/midgard/vhosts/midgard.danovyporadce.net/80 ? On my box there is only midcom-static symlink.

    Nothing interesting in the log.

    SELECT id, name, port, prefix FROM host where name='midgard.danovyporadce.net';

    1 midgard.danovyporadce.net 80 /aegir 2 midgard.danovyporadce.net 80 /attachment/0 5 midgard.danovyporadce.net 80 /spider-admin 6 midgard.danovyporadce.net 80 /spider-admin/attachment/0

    Please, have you any ideas? Thanks!

    •  Reply
    • stock-icons/16x16/stock_help-agent.png Report abuse
  2. Re: Fresh install on Debian, 404 error, something missing?

    Wed May 07 2008 22:17:30 UTC

    Please, what should be in the /var/lib/midgard/vhosts/midgard.danovyporadce.net/80 ? On my box there is only midcom-static symlink.

    There's everything fine with DocumentRoot. Midgard doesn't serve typical index.php like any other PHP CMF/CMS.

    Problem is that sitewizard host is not created. For unknown ( yet ) reason.

    Check /var/log/midgard/datagard.log file. It should contain some logs.

    Unfortunatelly we can not log everything, so as the worst workaround you can drop database you created and start datagard again. If you do so, keep an eye on what's happening in terminal. There might be some PHP or any other warning or error we simple can not catch.

    Piotras

    •  Reply
    • stock-icons/16x16/stock_help-agent.png Report abuse
  3. Re: Fresh install on Debian, 404 error, something missing?

    Sat May 10 2008 17:07:00 UTC

    Hi!

    One possibility could also be that somehow midgard cannot log into your database. I had such problems once, when I tried to use "passwordless" database (not good idea anyway).

    That error comes if I remember correctly to your apache's error log.

    Best regards Tero

    •  Reply
    • stock-icons/16x16/stock_help-agent.png Report abuse
  4. Re: Fresh install on Debian, 404 error, something missing?

    Tue May 13 2008 15:12:03 UTC

    Thank for your replies!

    In the datagard.log there are no errors at all. At the end of datagard_update.log there is a lot of messages like:

    ERROR 1060 (42S21) at line 1: Duplicate column name 'metadata_score' ...

    I guess, this is OK. But the last message is

    Could not open input file: /usr/share/php/midcom/lib/midgard/admin/sitegroup/bin/create-host.php

    My /usr/share/php/midcom/lib/midgard/admin contains only asgard and sitewizard subdirs. May it be the cause of problems? If so, where can I get sitegroup?

    Have a good day! David

    •  Reply
    • stock-icons/16x16/stock_help-agent.png Report abuse
  5. Re: Fresh install on Debian, 404 error, something missing?

    Thu May 15 2008 16:22:30 UTC

    Hi!

    ERROR 1060 (42S21) at line 1: Duplicate column name 'metadata_score' ... I guess, this is OK. But the last message is

    Yes this is OK. We silently ignore this error.

    Could not open input file: /usr/share/php/midcom/lib/midgard/admin/sitegroup/bin/create-host.php

    Pear packages are not installed. Did you run datagard once again?

    I suggest to drop database and start again.

    mysqladmin drop midgard
    datagard
    

    Piotras

    •  Reply
    • stock-icons/16x16/stock_help-agent.png Report abuse
  6. Re: Fresh install on Debian, 404 error, something missing?

    Fri May 30 2008 19:36:21 UTC

    Thank you, I did it, but no change. During datagard setup the pear packages were downloaded and installed with no errors reported..

    •  Reply
    • stock-icons/16x16/stock_help-agent.png Report abuse
Designed by Nemein, hosted by Anykey