On 08.04.2013 05:15, Olemis Lang wrote:
> On 4/7/13, Marco Mangiante <[email protected]> wrote:
>> Hello to everyone, now I'm again to ask another great pleasure: to help to
>> install bloodhound under apache. As someone remember I have a test debian
>> wheezy installe and I installed the latest apache packages; I followed the
>> guide until the end but when I write in my browser
>> http://my_machine_ip:8080/bloodhound I obtain a message that the page is not
>> found. I installed bloodhound under the directory
>> /apache-bloodhound-incubating-0.5.2/installer/ as root and then changed the
>> permission of bloodhound directory to "imuser" (the user that I have created
>> when I have installed the virtual machine with debian): for this I used the
>> command "chown -R imuser:imuser ./bloodhound".
> It seems to me that there's a chance for this to be an issue related
> to file permissions . Maybe `chown -R imuser:www-data ./bloodhound` ?
>
>> After this I followef the
>> guide and al seems ok, but I written the address in the browser bar I
>> obtained the error reported.  I gave a "netstat -ano" at prompt and I
>> noticed that ther is no listening on 8080, (8080 port is not present): after
>> this I went on /etc/apache2 and added the lines  NameVirtualHost *:8080
>> Listen 8080
>>  in the file ports.conf . After this I can see a listening port 8080
> Yes , that's required . I didn't see it in the guide but figured this
> out by myself . Shall we add this step in there too ?

/If/ you configure bloodhound on a virtual host listening on port 8080,
then it's required. However, in general, there's no need to do so.

>> and if
>> I write in the browser http://my_machine_ip:8080/ I obtain an "It works"
>> page but when I add bloodhound to that row in the browser I have the same
>> error that I have at startup. Maybe I have written incorrect path in the
>> /etc/apache2/sites-available/bloodhound file: where there are the lines
>> /path/to/bloodhound I changed it with
>> /apache-bloodhound-incubating-0.5.2/installer/bloodhound  : is this the
>> correct path? I think the problem is related much more to my inexperience
>> and not on the guide.  Hope someone can help me.
> Do you find anything extraordinary in your apache2 logs ?

Check which version of Python you have installed (type 'python
--version' at the command prompt). The example configuration is for
Python 2.7.x, and if you're running with an older version, you'll have
to adjust the path in the WSGIDaemonProcess directive.

Note that Bloodhound will not run with Python 3.x.

-- Brane


-- 
Branko Čibej
Director of Subversion | WANdisco | www.wandisco.com

Reply via email to