* Help on CGIT
@ 2009-12-29 12:18 Jorge Bastos
2009-12-29 12:31 ` Luciano Rocha
` (2 more replies)
0 siblings, 3 replies; 10+ messages in thread
From: Jorge Bastos @ 2009-12-29 12:18 UTC (permalink / raw)
To: git
Howdy people,
Since i cannot find any CGIT web interface mailing list on their webpage,
i'm asking here.
I have CGIT working at 50%.
The 1st page show's correctly, but when i click the project name, it
becames unconfigured and wierd, and apache complains about this:
[Tue Dec 29 12:12:25 2009] [error] [client 192.168.1.3] [cgit] Unable to
lock slot /var/cache/cgit/53200000.lock: No such file or directory (2)
My apache configuration for CGIT is:
AllowOverride None
Options ExecCGI
Order allow,deny
Allow from all
DirectoryIndex cgit.cgi
AddHandler cgi-script cgi pl
Am i missing something else? I've asked google but there's not much info
on
the web about it.
Thanks,
Jorge,
^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: Help on CGIT
2009-12-29 12:18 Help on CGIT Jorge Bastos
@ 2009-12-29 12:31 ` Luciano Rocha
2009-12-29 12:38 ` Jorge Bastos
2009-12-29 14:57 ` Lars Hjemli
2009-12-29 14:58 ` Felipe Contreras
2 siblings, 1 reply; 10+ messages in thread
From: Luciano Rocha @ 2009-12-29 12:31 UTC (permalink / raw)
To: Jorge Bastos; +Cc: git
[-- Attachment #1: Type: text/plain, Size: 661 bytes --]
On Tue, Dec 29, 2009 at 12:18:38PM +0000, Jorge Bastos wrote:
> Howdy people,
>
> Since i cannot find any CGIT web interface mailing list on their webpage,
> i'm asking here.
>
> I have CGIT working at 50%.
>
> The 1st page show's correctly, but when i click the project name, it
> becames unconfigured and wierd, and apache complains about this:
>
> [Tue Dec 29 12:12:25 2009] [error] [client 192.168.1.3] [cgit] Unable to
> lock slot /var/cache/cgit/53200000.lock: No such file or directory (2)
Does the directory /var/cache/cgit/ exist?
--
Luciano Rocha <luciano@eurotux.com>
Eurotux Informática, S.A. <http://www.eurotux.com/>
[-- Attachment #2: Type: application/pgp-signature, Size: 198 bytes --]
^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: Help on CGIT
2009-12-29 12:31 ` Luciano Rocha
@ 2009-12-29 12:38 ` Jorge Bastos
2009-12-29 14:08 ` Luciano Rocha
0 siblings, 1 reply; 10+ messages in thread
From: Jorge Bastos @ 2009-12-29 12:38 UTC (permalink / raw)
To: Luciano Rocha; +Cc: git
Hi Luciano,
>> [Tue Dec 29 12:12:25 2009] [error] [client 192.168.1.3] [cgit] Unable
to
>> lock slot /var/cache/cgit/53200000.lock: No such file or directory (2)
>
> Does the directory /var/cache/cgit/ exist?
Yap, with 777.
But the parent dirs don't, they have 755 the debian default, and both /var
& /var/log owner by root.
I also tryed to make /var & /var/log/ be owner by apache's user (www-data)
but nothing, and also tried make them 777 aswell, the same.
This lock dir can't be configureable?
^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: Help on CGIT
2009-12-29 12:38 ` Jorge Bastos
@ 2009-12-29 14:08 ` Luciano Rocha
2009-12-29 14:44 ` Jorge Bastos
0 siblings, 1 reply; 10+ messages in thread
From: Luciano Rocha @ 2009-12-29 14:08 UTC (permalink / raw)
To: Jorge Bastos; +Cc: git
[-- Attachment #1: Type: text/plain, Size: 845 bytes --]
On Tue, Dec 29, 2009 at 12:38:15PM +0000, Jorge Bastos wrote:
> Hi Luciano,
>
> >> [Tue Dec 29 12:12:25 2009] [error] [client 192.168.1.3] [cgit] Unable
> to
> >> lock slot /var/cache/cgit/53200000.lock: No such file or directory (2)
> >
> > Does the directory /var/cache/cgit/ exist?
>
> Yap, with 777.
> But the parent dirs don't, they have 755 the debian default, and both /var
> & /var/log owner by root.
That's what they're supposed to be.
> I also tryed to make /var & /var/log/ be owner by apache's user (www-data)
> but nothing, and also tried make them 777 aswell, the same.
> This lock dir can't be configureable?
Probably, don't know much about cgit. One thing, are you using selinux?
What does sestatus show?
--
Luciano Rocha <luciano@eurotux.com>
Eurotux Informática, S.A. <http://www.eurotux.com/>
[-- Attachment #2: Type: application/pgp-signature, Size: 198 bytes --]
^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: Help on CGIT
2009-12-29 14:08 ` Luciano Rocha
@ 2009-12-29 14:44 ` Jorge Bastos
0 siblings, 0 replies; 10+ messages in thread
From: Jorge Bastos @ 2009-12-29 14:44 UTC (permalink / raw)
To: Luciano Rocha; +Cc: git
On Tue, 29 Dec 2009 14:08:42 +0000, Luciano Rocha <luciano@eurotux.com>
>> Yap, with 777.
>> But the parent dirs don't, they have 755 the debian default, and both
>> /var
>> & /var/log owner by root.
>
> That's what they're supposed to be.
>
>> I also tryed to make /var & /var/log/ be owner by apache's user
>> (www-data)
>> but nothing, and also tried make them 777 aswell, the same.
>> This lock dir can't be configureable?
>
> Probably, don't know much about cgit. One thing, are you using selinux?
> What does sestatus show?
no SELinux compiled or active on kernel.
don't even have setools installed on the system.
I'm out of ideas :(
The info on the web about CGIT is rare... don't find an answer for this.
^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: Help on CGIT
2009-12-29 12:18 Help on CGIT Jorge Bastos
2009-12-29 12:31 ` Luciano Rocha
@ 2009-12-29 14:57 ` Lars Hjemli
2009-12-29 14:58 ` Felipe Contreras
2 siblings, 0 replies; 10+ messages in thread
From: Lars Hjemli @ 2009-12-29 14:57 UTC (permalink / raw)
To: Jorge Bastos; +Cc: git
On Tue, Dec 29, 2009 at 13:18, Jorge Bastos <mysql.jorge@decimal.pt> wrote:
> I have CGIT working at 50%.
>
> The 1st page show's correctly, but when i click the project name, it
> becames unconfigured and wierd, and apache complains about this:
>
> [Tue Dec 29 12:12:25 2009] [error] [client 192.168.1.3] [cgit] Unable to
> lock slot /var/cache/cgit/53200000.lock: No such file or directory (2)
First, check if cgit works correctly with caching disabled (set
cache-size=0 in /etc/cgitrc).
> My apache configuration for CGIT is:
>
> AllowOverride None
> Options ExecCGI
> Order allow,deny
> Allow from all
>
> DirectoryIndex cgit.cgi
>
> AddHandler cgi-script cgi pl
>
What's the contents of /etc/cgitrc? Which cgit-version are you running?
--
larsh
^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: Help on CGIT
2009-12-29 12:18 Help on CGIT Jorge Bastos
2009-12-29 12:31 ` Luciano Rocha
2009-12-29 14:57 ` Lars Hjemli
@ 2009-12-29 14:58 ` Felipe Contreras
2009-12-29 15:21 ` Jorge Bastos
2009-12-29 15:29 ` Jorge Bastos
2 siblings, 2 replies; 10+ messages in thread
From: Felipe Contreras @ 2009-12-29 14:58 UTC (permalink / raw)
To: Jorge Bastos; +Cc: git
On Tue, Dec 29, 2009 at 2:18 PM, Jorge Bastos <mysql.jorge@decimal.pt> wrote:
> Am i missing something else? I've asked google but there's not much info
> on the web about it.
This is what I do:
ScriptAlias /cgit /var/www/cgit-files/cgit.cgi
You need a new cgit to use that properly, I use 0.8.3.
--
Felipe Contreras
^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: Help on CGIT
2009-12-29 14:58 ` Felipe Contreras
@ 2009-12-29 15:21 ` Jorge Bastos
2009-12-29 15:29 ` Jorge Bastos
1 sibling, 0 replies; 10+ messages in thread
From: Jorge Bastos @ 2009-12-29 15:21 UTC (permalink / raw)
To: Felipe Contreras; +Cc: git
> This is what I do:
> ScriptAlias /cgit /var/www/cgit-files/cgit.cgi
>
> You need a new cgit to use that properly, I use 0.8.3.
I tried that way, no luck, apache always show on the errors that cannot
create the lock slot and it show all unconfigured on the page.
^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: Help on CGIT
2009-12-29 14:58 ` Felipe Contreras
2009-12-29 15:21 ` Jorge Bastos
@ 2009-12-29 15:29 ` Jorge Bastos
2009-12-29 20:54 ` Jorge Bastos
1 sibling, 1 reply; 10+ messages in thread
From: Jorge Bastos @ 2009-12-29 15:29 UTC (permalink / raw)
To: Felipe Contreras; +Cc: git
> This is what I do:
> ScriptAlias /cgit /var/www/cgit-files/cgit.cgi
>
> You need a new cgit to use that properly, I use 0.8.3.
Forgot to say, i'm running the last git version so i believe i'm updated
for that.
^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: Help on CGIT
2009-12-29 15:29 ` Jorge Bastos
@ 2009-12-29 20:54 ` Jorge Bastos
0 siblings, 0 replies; 10+ messages in thread
From: Jorge Bastos @ 2009-12-29 20:54 UTC (permalink / raw)
To: Felipe Contreras; +Cc: git
Guys!
I changed on /etc/cgitrc:
css=cgit.css
logo=cgit.png
to:
css=/cgit/cgit.css
logo=/cgit/cgit.png
Forcing the path for the files to be from the root did the trick!
Thanks you all this the help!
^ permalink raw reply [flat|nested] 10+ messages in thread
end of thread, other threads:[~2009-12-29 20:53 UTC | newest]
Thread overview: 10+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-12-29 12:18 Help on CGIT Jorge Bastos
2009-12-29 12:31 ` Luciano Rocha
2009-12-29 12:38 ` Jorge Bastos
2009-12-29 14:08 ` Luciano Rocha
2009-12-29 14:44 ` Jorge Bastos
2009-12-29 14:57 ` Lars Hjemli
2009-12-29 14:58 ` Felipe Contreras
2009-12-29 15:21 ` Jorge Bastos
2009-12-29 15:29 ` Jorge Bastos
2009-12-29 20:54 ` Jorge Bastos
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox