Git on Virtualmin with CentOS6

1 post / 0 new
#1 Mon, 01/11/2016 - 18:49
lvthunder

Git on Virtualmin with CentOS6

I'm trying to get the Git module to work on Virutalmin with CentOS 6.

I installed the plugin and to get it to run at all I had to install perl-CGI via yum install perl-CGI. Now I can create the a Repo, but when I view it I get a 403 Forbidden - Open failed. in the browser. In my log I get this.


[Mon Jan 11 15:52:10 2016] [error] [client 97.65.122.74] [Mon Jan 11 15:52:10 2016] gitweb.cgi: Can't exec "/usr/bin/git-rev-parse": No such file or directory at gitweb.cgi line 466., referer: https://lvthunder.com/git/gitweb.cgi?p=test.git;a=summary
[Mon Jan 11 15:52:10 2016] [error] [client 97.65.122.74] [Mon Jan 11 15:52:10 2016] gitweb.cgi: Use of uninitialized value $commit_id in concatenation (.) or string at gitweb.cgi line 587., referer: https://lvthunder.com/git/gitweb.cgi?p=test.git;a=summary
[Mon Jan 11 15:52:10 2016] [error] [client 97.65.122.74] [Mon Jan 11 15:52:10 2016] gitweb.cgi: Can't exec "/usr/bin/git-rev-list": No such file or directory at gitweb.cgi line 587., referer: https://lvthunder.com/git/gitweb.cgi?p=test.git;a=summary
[Mon Jan 11 15:52:10 2016] [error] [client 97.65.122.74] [Mon Jan 11 15:52:10 2016] gitweb.cgi: Use of uninitialized value $epoch in gmtime at gitweb.cgi line 813., referer: https://lvthunder.com/git/gitweb.cgi?p=test.git;a=summary
[Mon Jan 11 15:52:10 2016] [error] [client 97.65.122.74] [Mon Jan 11 15:52:10 2016] gitweb.cgi: Use of uninitialized value $epoch in addition (+) at gitweb.cgi line 823., referer: https://lvthunder.com/git/gitweb.cgi?p=test.git;a=summary
[Mon Jan 11 15:52:10 2016] [error] [client 97.65.122.74] [Mon Jan 11 15:52:10 2016] gitweb.cgi: Use of uninitialized value $head in concatenation (.) or string at gitweb.cgi line 129., referer: https://lvthunder.com/git/gitweb.cgi?p=test.git;a=summary
[Mon Jan 11 15:52:10 2016] [error] [client 97.65.122.74] [Mon Jan 11 15:52:10 2016] gitweb.cgi: Use of uninitialized value $head in concatenation (.) or string at gitweb.cgi line 130., referer: https://lvthunder.com/git/gitweb.cgi?p=test.git;a=summary
[Mon Jan 11 15:52:10 2016] [error] [client 97.65.122.74] [Mon Jan 11 15:52:10 2016] gitweb.cgi: Can't exec "/usr/bin/git-rev-parse": No such file or directory at gitweb.cgi line 466., referer: https://lvthunder.com/git/gitweb.cgi?p=test.git;a=summary
[Mon Jan 11 15:52:10 2016] [error] [client 97.65.122.74] [Mon Jan 11 15:52:10 2016] gitweb.cgi: Use of uninitialized value in concatenation (.) or string at gitweb.cgi line 1144., referer: https://lvthunder.com/git/gitweb.cgi?p=test.git;a=summary
[Mon Jan 11 15:52:10 2016] [error] [client 97.65.122.74] [Mon Jan 11 15:52:10 2016] gitweb.cgi: Can't exec "/usr/bin/git-rev-list": No such file or directory at gitweb.cgi line 1144., referer: https://lvthunder.com/git/gitweb.cgi?p=test.git;a=summary
[Mon Jan 11 15:52:11 2016] [error] [client 97.65.122.74] File does not exist: /home/lvthunder/domains/lvthunder.com/public_html/favicon.ico, referer: https://lvthunder.com/git/gitweb.cgi?p=test.git;a=summary