1.8 install issue on CentOS 6.2

336 views
Skip to first unread message

Tino

unread,
Feb 23, 2012, 1:52:16 PM2/23/12
to th...@googlegroups.com
Hi,

i try to install thruk over Shinken release candidate 1.0 on CentOS 6.2.
Shinken works fine, but i'm unable to get Thruk starting.
when i launch ./script/thruk_server.pl
i get the following message : Can't locate Thruk.pm in @INC

thanks for your help,

cheers


Sven Nierlein

unread,
Feb 23, 2012, 1:54:45 PM2/23/12
to th...@googlegroups.com
On 23.02.2012 19:52, Tino wrote:
> i try to install thruk over Shinken release candidate 1.0 on CentOS 6.2.
> Shinken works fine, but i'm unable to get Thruk starting.
> when i launch ./script/thruk_server.pl
> i get the following message : Can't locate Thruk.pm in @INC
>

How did you install Thruk and why didn't you use the centos rpm packages?

Sven

Tino

unread,
Feb 23, 2012, 2:08:09 PM2/23/12
to th...@googlegroups.com
Hi Sven,

thank you for your prompt response.

i used the following package : thruk-1.18-1.rhel6.i386.rpm

downloaded on your website

and i installed it with yum

Sven Nierlein

unread,
Feb 23, 2012, 2:14:42 PM2/23/12
to th...@googlegroups.com
On 2/23/12 20:08, Tino wrote:
> Hi Sven,
>
> thank you for your prompt response.
>
> i used the following package : thruk-1.18-1.rhel6.i386.rpm <http://www.thruk.org/files/pkg/v1.18/rhel6/i386/thruk-1.18-1.rhel6.i386.rpm>

>
> downloaded on your website
>
> and i installed it with yum


Perfect, then you don't need to start thruk_server.pl, you just need to open your browser with
http://<hostname>/thruk/
Only thruk_fastcgi.pl is used when using the package.

Sven

Tino

unread,
Feb 23, 2012, 2:22:51 PM2/23/12
to th...@googlegroups.com
I also tried to launch http://localhost/thruk

but after authentication with the thrukadmin user, i receive an error : 500 Internal server error : The server encountered an internal error or misconfiguration and was unable to compete your request ...

I change thruk_local.conf to use shinken backend but i don't know how to restart thruk.

do you think that the problem could comes from this setup ?

Sven Nierlein

unread,
Feb 23, 2012, 2:28:07 PM2/23/12
to th...@googlegroups.com
On 2/23/12 20:22, Tino wrote:
> but after authentication with the thrukadmin user, i receive an error : 500 Internal server error : The server encountered an internal error or misconfiguration and was unable to compete your request ...

Please have a look at /var/log/thruk/thruk.log and the apache error log.


> I change thruk_local.conf to use shinken backend but i don't know how to restart thruk.

As Thruk is started automatically from apache, you need to reload apache.
"/etc/init.d/httpd reload" kills thruk. The next access will start the
process again.


> do you think that the problem could comes from this setup ?

Logfiles will show that...

Tino

unread,
Feb 23, 2012, 3:01:12 PM2/23/12
to th...@googlegroups.com
there is no log into /var/log/thruk folder

for apache,
i got this in the error.log : (104)Connection reset by peer : mod_fcgid: error reading data from FastCGI server

Premature end of script headers: fcgid_env.sh

Sven Nierlein

unread,
Feb 23, 2012, 5:38:30 PM2/23/12
to th...@googlegroups.com

Do you get any errors when you start fcgid_env.sh from command line (as webserver user of course)?
Also try to do a shift reload or empty your cache, when there is an error 500, there must be an error
in either the thruk.log or the apache error log.

Bye,
Sven

Reply all
Reply to author
Forward
0 new messages