[ckan-dev] How to run CKAN through Apache ?

Library IT libraryit at iimahd.ernet.in
Wed Aug 13 04:28:03 UTC 2014


Dear Jason/Nigel,

As per the document  Troubleshooting for *403 Forbidden and 500 Internal
Server Error *see the following permission.

[image: Inline image 1]

where i have made the mistake ?

Thanks,
Bhavesh


On Wed, Aug 13, 2014 at 9:52 AM, Jason Tan <jason.tan at ersa.edu.au> wrote:

> No it's not compulsory to use nginx.
>
> You can shut it down and connect to apache directly if you want.
>
> Jason
>
>
> On 13 August 2014 13:32, Library IT <libraryit at iimahd.ernet.in> wrote:
>
>> Dear Jason/Nigel,
>>
>> I think CKAN is load but it's give me following error
>> Server Error An internal server error occurred
>>
>> I am bit confused about nginx .. Is there compulsory to use nginx for
>> CKAN to run CKAN application through Apache ?
>>
>> see the attached screen sort for error
>>
>> Please guide me on this..
>>
>> Bhavesh Patel
>>
>>
>> On Wed, Aug 13, 2014 at 5:38 AM, Jason Tan <jason.tan at ersa.edu.au> wrote:
>>
>>>
>>> You probably need to edit the nginx config file and change the port
>>> number in the listen directive.
>>> If we pretend you IP is 10.0.0.2 then you might having something in yout
>>> nginx config file that looks something like:
>>> listen 10.0.0.2:80;
>>>
>>> You need to change it to be
>>> listen 10.0.0.2:90 ;
>>>
>>> Jason
>>>
>>>
>>>
>>> On 12 August 2014 19:22, Library IT <libraryit at iimahd.ernet.in> wrote:
>>>
>>>> ​Dear ​Nigel Babu,
>>>>
>>>> Thanks for your mail.
>>>>
>>>> I have follow the steps given
>>>> http://docs.ckan.org/en/latest/maintaining/installing/deployment.html
>>>>
>>>> Now I am able to run CKAN through Apache.
>>>>
>>>> I have already installed koha (80 for OPAC & 8080 for staff) so I have
>>>> set port 9090 for CKAN.
>>>>
>>>> see the attached screen. It's show Internal server error.
>>>>
>>>> When I start the nginx service then  it's show me following...
>>>> ------------------------------------------------------
>>>> root at bhavesh:/etc/apache2#  /etc/init.d/nginx start
>>>>
>>>> Starting nginx: nginx: [emerg] bind() to 0.0.0.0:80 failed (98:
>>>> Address already in use)
>>>> nginx: [emerg] bind() to 0.0.0.0:80 failed (98: Address already in use)
>>>> nginx: [emerg] bind() to 0.0.0.0:80 failed (98: Address already in use)
>>>> nginx: [emerg] bind() to 0.0.0.0:80 failed (98: Address already in use)
>>>> nginx: [emerg] bind() to 0.0.0.0:80 failed (98: Address already in use)
>>>> nginx: [emerg] still could not bind()
>>>> nginx.
>>>> root at bhavesh:/etc/apache2#
>>>> ------------------------------------------------------
>>>> Please let me know what may be the issue ?
>>>>
>>>> Bhavesh
>>>>
>>>>
>>>>
>>>>
>>>>
>>>> On Tue, Aug 12, 2014 at 12:27 PM, Nigel Babu <nigel.babu at okfn.org>
>>>> wrote:
>>>>
>>>>> You should look at the Deployment documentation:
>>>>> http://docs.ckan.org/en/latest/maintaining/installing/deployment.html
>>>>>
>>>>> This configuration runs CKAN on :8080 on Apache by default. You
>>>>> probably don't need the Nginx bits.
>>>>>
>>>>> Nigel Babu
>>>>> Developer, Open Knowledge
>>>>>
>>>>>
>>>>> On 12 August 2014 12:02, Library IT <libraryit at iimahd.ernet.in> wrote:
>>>>>
>>>>>> ​Dear Tech team,
>>>>>>
>>>>>> I have installed CKAN through Source :
>>>>>> http://docs.ckan.org/en/ckan-2.2/install-from-source.html
>>>>>>
>>>>>> I am able to run the CKAN through Paster (see the attached screen
>>>>>> sort) but suppose I want to run that CKAN through Apache then how I can do
>>>>>> that ?
>>>>>>
>>>>>> Currently, We have installa KOHA on the same server So  while writing
>>>>>> http://[ip-address]  it will show the OPAC page
>>>>>>
>>>>>> So i have want to set port no 90 http://[ip-address]:90 for CKAN so
>>>>>> what configuration i have to do into apache configuration file ?
>>>>>>
>>>>>>
>>>>>> Thanks,
>>>>>> Bhavesh Patel
>>>>>>
>>>>>> _______________________________________________
>>>>>> ckan-dev mailing list
>>>>>> ckan-dev at lists.okfn.org
>>>>>> https://lists.okfn.org/mailman/listinfo/ckan-dev
>>>>>> Unsubscribe: https://lists.okfn.org/mailman/options/ckan-dev
>>>>>>
>>>>>>
>>>>>
>>>>> _______________________________________________
>>>>> ckan-dev mailing list
>>>>> ckan-dev at lists.okfn.org
>>>>> https://lists.okfn.org/mailman/listinfo/ckan-dev
>>>>> Unsubscribe: https://lists.okfn.org/mailman/options/ckan-dev
>>>>>
>>>>>
>>>>
>>>> _______________________________________________
>>>> ckan-dev mailing list
>>>> ckan-dev at lists.okfn.org
>>>> https://lists.okfn.org/mailman/listinfo/ckan-dev
>>>> Unsubscribe: https://lists.okfn.org/mailman/options/ckan-dev
>>>>
>>>>
>>>
>>>
>>> --
>>> Jason Tan
>>> Data Infrastructure Specialist, eResearch SA
>>>
>>> phone: +61 8 8313 2184
>>> Mob: +61 407 268 270
>>> email: jason.tan at ersa.edu.au
>>> web: http://www.ersa.edu.au
>>>
>>> _______________________________________________
>>> ckan-dev mailing list
>>> ckan-dev at lists.okfn.org
>>> https://lists.okfn.org/mailman/listinfo/ckan-dev
>>> Unsubscribe: https://lists.okfn.org/mailman/options/ckan-dev
>>>
>>>
>>
>
>
> --
> Jason Tan
> Data Infrastructure Specialist, eResearch SA
>
> phone: +61 8 8313 2184
> Mob: +61 407 268 270
> email: jason.tan at ersa.edu.au
> web: http://www.ersa.edu.au
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.okfn.org/pipermail/ckan-dev/attachments/20140813/f8acaf2e/attachment-0003.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image.png
Type: image/png
Size: 51884 bytes
Desc: not available
URL: <http://lists.okfn.org/pipermail/ckan-dev/attachments/20140813/f8acaf2e/attachment-0003.png>


More information about the ckan-dev mailing list