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,
[Tue Dec 29 12:12:25 2009] [error] [client 192.168.1.3] [cgit] Unable
to
quoted
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?
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 [off-list ref]
Eurotux Informática, S.A. <http://www.eurotux.com/>
On Tue, Dec 29, 2009 at 12:38:15PM +0000, Jorge Bastos wrote:
Hi Luciano,
quoted
quoted
[Tue Dec 29 12:12:25 2009] [error] [client 192.168.1.3] [cgit] Unable
to
quoted
quoted
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 [off-list ref]
Eurotux Informática, S.A. <http://www.eurotux.com/>
On Tue, 29 Dec 2009 14:08:42 +0000, Luciano Rocha [off-list ref]
quoted
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.
quoted
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.
From: Lars Hjemli <hidden> Date: 2016-06-15 22:47:56
On Tue, Dec 29, 2009 at 13:18, Jorge Bastos [off-list ref] 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
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!