Re: Fwd: Please help get Midgard running.

Henri Bergius <henri.bergius-ZpG/[email protected]> Mon, 5 Sep 2005 17:06:48 +0300
Newsgroups gmane.comp.web.midgard.user
Message-ID <[email protected]>
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Added to the troubleshooting section:
http://www.midgard-project.org/documentation/installation/ 
troubleshooting.html

On Aug 24, 2005, at 20:03, [email protected] wrote:
> Thanks! That line should be added to the FAQ. It yielded this result:
>
> midgard-lib:22698:warning:midgard-lib: mgd_connect to
> midgard@localhost://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!
>>>>>
>>
>>
>>>>
>>>>
>>>>>
>>>>>     &#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]
>>>
>>>
>>>
>>
>>
>
>
>
>
> ----------------------------------------------------------------
> 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]
>
>
>

Henri Bergius
Consultant Partner, Nemein
henri.bergius-ZpG/[email protected]

Midgard CMS
www.midgard-project.org



-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.1 (Darwin)

iD8DBQFDHFD6NkT8k497k9IRAsC5AJ40ArKQc0Jf1SkZ3sd79bIgGnUJvACfX65C
IDf97atCG7Pvqrn7r9WCKqI=
=CRjr
-----END PGP SIGNATURE-----