Re: Fwd: Please help get Midgard running.

Johan Bernhardsson <[email protected]>
Newsgroups gmane.comp.web.midgard.user
Message-ID <1124902384.6592.12.camel@nasse>
The cache dir is not read by apache .. its read by midgard libraries.
You can add MidgardDebug directive in the vhost configuration and check
that log.

MidgardLog Debug+ /var/log/midgard.log

/Johan "SmallOne" Bernhardsson

On Wed, 2005-08-24 at 10:45 -0600, [email protected] wrote:
> yes, I've checked that:
> 
> mariadoc:~ # ls -la /var/lib/midgard/
> total 20
> drwxr-xr-x   5 wwwrun www  4096 Aug 17 10:35 .
> drwxr-xr-x  48 root   root 4096 Aug 23 23:30 ..
> drwxr-xr-x   2 wwwrun www  4096 Jul 27 14:20 backups
> drwxr-xr-x   3 wwwrun www  4096 Aug 17 12:12 blobs
> drwxr-xr-x   3 wwwrun www  4096 Aug 17 10:35 vhosts
> 
> mariadoc:~ # ls -la /var/cache/midgard/
> total 12
> drwxrwxr-x   3 wwwrun www  4096 Jul 27 14:05 .
> drwxr-xr-x  11 root   root 4096 Jul 27 14:05 ..
> drwxrwx--x   2 wwwrun www  4096 Jul 27 14:05 midcom
> 
> And besides, shouldn't it mention that in the debug output I pasted below from
> the apache logs? Same problem, no change in results.
> 
> Tom
> 
> Quoting Johan Bernhardsson <[email protected]>:
> 
> > i would say that it is a permission thing 
> > 
> > Checked so apache can read /var/lib/midgard and read+write
> > in /var/cache/midgard  ?
> > 
> > /Johan "SmallOne" Bernhardsson
> > 
> > On Wed, 2005-08-24 at 09:47 -0600, [email protected] wrote:
> > > Hello,
> > > 
> > > I sent this a week ago and nobody answered my question. I cannot find this
> > > information in the FAQ. Please help...
> > > 
> > > Tom
> > > ----- Forwarded message from [email protected] -----
> > >     Date: Wed, 17 Aug 2005 11:36:45 -0600
> > >     From: [email protected]
> > > Reply-To: [email protected]
> > >  Subject: Please help get Midgard running.
> > >       To: [email protected]
> > > 
> > > 
> > > 
> > > Hello,
> > > 
> > > I installed Midgard 1.7.0 on my SuSE 9.3 system today, using apache2. I
> > > installed all the midgard*1.7.0 rpm files, and all dependencies. I have
> > run
> > > datagard and followed the directions in the Documentation, and created a
> > new
> > > virtual host:
> > > 
> > > Congratulations!                                                           
> >    
> > > 
> > >     &#9474;
> > >                  &#9474;                                                   
> >    
> > > 
> > >                                &#9474;
> > >                  &#9474;                                                   
> >    
> > > 
> > >                                &#9474;
> > >                  &#9474;   Midgard Framework and CMS have now been
> > installed
> > > successfully.                      &#9474;
> > >                  &#9474;                                                   
> >    
> > > 
> > >                                &#9474;
> > >                  &#9474;   If you installed the "midgard-welcome" package,
> > >                  &#9474;   point your favorite browser to the Midgard
> > welcome
> > > page to
> > >                  &#9474;  
> > http://meriadoc.united-securities.com:8000/midgard
> > >                  &#9474;
> > >                  &#9474;   There are two additional admin interfaces
> > available
> > > (if you
> > >                  &#9474;
> > >                  &#9474;   User friendly Aegir
> > >                  &#9474;  
> > http://meriadoc.united-securities.com:8000/aegir
> > >                  &#9474;
> > >                  &#9474;   and (for advanced users and administrators)
> > >                  &#9474;  
> > > http://meriadoc.united-securities.com:8000/spider-admin
> > >                  &#9474;
> > >                  &#9474;   Default username and password is admin/password
> > >                  &#9474;
> > >                  &#9474;   (Your httpd server should be stopped and
> > started
> > > again)
> > > 
> > > 
> > > I restarted apache2, and tried to go to the URL suggessted, and I have
> > (Yes, I
> > > installed midgard-welcome):
> > > Object not found!
> > > 
> > > The requested URL was not found on this server. If you entered the URL
> > manually
> > > please check your spelling and try again.
> > > 
> > > If you think this is a server error, please contact the webmaster.
> > > Error 404
> > > meriadoc.united-securities.com
> > > Wed Aug 17 11:26:15 2005
> > > Apache/2.0.53 (Linux/SUSE) 
> > > 
> > > I read through the faq, and changed permissions on the cache dir, and the
> > vhost
> > > dir to the wwwrun user (apache process owner). I have also set LogLevel
> > debug
> > > in the httpd.conf, and here is the log file output:
> > > 
> > > [Wed Aug 17 11:35:44 2005] [debug] midgard-apache2.c(2083): [client
> > > 64.221.235.133] midgard_translate_handler(UTF-8,
> > > http://meriadoc.united-securities.com:8000/midgard)
> > > [Wed Aug 17 11:35:44 2005] [error] [client 64.221.235.133] File does not
> > exist:
> > > /var/lib/midgard/vhosts/meriadoc.united-securities.com/8000/midgard
> > > [Wed Aug 17 11:35:44 2005] [debug] midgard-apache2.c(2083): [client
> > > 64.221.235.133] midgard_translate_handler(UTF-8,
> > > http://meriadoc.united-securities.com:8000/favicon.ico)
> > > [Wed Aug 17 11:35:44 2005] [error] [client 64.221.235.133] File does not
> > exist:
> > > /var/lib/midgard/vhosts/meriadoc.united-securities.com/8000/favicon.ico
> > > 
> > > I'm unsure what to check next, please help!
> > > 
> > > Thanks,
> > > 
> > > Tom
> > > 
> > > ----------------------------------------------------------------
> > > This message was sent using IMP, the Internet Messaging Program.
> > > 
> > > ----- End forwarded message -----
> > > 
> > > 
> > > 
> > > 
> > > ----------------------------------------------------------------
> > > This message was sent using IMP, the Internet Messaging Program.
> > > 
> > > ---------------------------------------------------------------------
> > > To unsubscribe, e-mail: user-unsubscribe-b5ZhpPVuLA+tlBvVaVFjCkB+6BGkLq7r@public.gmane.org
> > > For additional commands, e-mail: [email protected]
> > > 
> > > 
> > 
> 
> 
> 
> 
> ----------------------------------------------------------------
> This message was sent using IMP, the Internet Messaging Program.
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: user-unsubscribe-b5ZhpPVuLA+tlBvVaVFjCkB+6BGkLq7r@public.gmane.org
> For additional commands, e-mail: [email protected]
> 
>
signature.asc (application/pgp-signature, 189 B)
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.4 (GNU/Linux)

iD8DBQBDDKXw5X41xlcGMKARAqN/AJ4jkvK2R8YT+ftqKVvHXDo1GhkFsgCfVnCF
VbDEwWlNom5Kw7XRdvPlNR8=
=EbOI
-----END PGP SIGNATURE-----
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.