Thanks! That line should be added to the FAQ. It yielded this result: midgard-lib:22698:warning:midgard-lib: mgd_connect to [EMAIL PROTECTED]://midgard failed: Can't connect to local MySQL server through socket '/var/lib/mysql/mysql.sock' (2)
My MySQL server isn't running on the localhost, it's on a different one. I thought I had configured this correctly when I used datagard to import the database. Is there a different place to set up the MySQL connection? Tom Quoting Johan Bernhardsson <[EMAIL PROTECTED]>: > 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! > > > > > > > > > > > > │ > > > > │ > > > > > > > > > > > > │ > > > > │ > > > > > > > > > > > > │ > > > > │ Midgard Framework and CMS have now been > > > installed > > > > successfully. │ > > > > │ > > > > > > > > > > > > │ > > > > │ If you installed the "midgard-welcome" > package, > > > > │ point your favorite browser to the Midgard > > > welcome > > > > page to > > > > │ > > > http://meriadoc.united-securities.com:8000/midgard > > > > │ > > > > │ There are two additional admin interfaces > > > available > > > > (if you > > > > │ > > > > │ User friendly Aegir > > > > │ > > > http://meriadoc.united-securities.com:8000/aegir > > > > │ > > > > │ and (for advanced users and administrators) > > > > │ > > > > http://meriadoc.united-securities.com:8000/spider-admin > > > > │ > > > > │ Default username and password is > admin/password > > > > │ > > > > │ (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: [EMAIL PROTECTED] > > > > For additional commands, e-mail: [EMAIL PROTECTED] > > > > > > > > > > > > > > > > > > > > > ---------------------------------------------------------------- > > This message was sent using IMP, the Internet Messaging Program. > > > > --------------------------------------------------------------------- > > To unsubscribe, e-mail: [EMAIL PROTECTED] > > For additional commands, e-mail: [EMAIL PROTECTED] > > > > > ---------------------------------------------------------------- This message was sent using IMP, the Internet Messaging Program. --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
