Install script give error : 'log4sh: line 1: syntax error near unexpected token newline'

6 posts / 0 new
Last post
#1 Mon, 03/14/2016 - 07:37
CedSha

Install script give error : 'log4sh: line 1: syntax error near unexpected token newline'

Hi there, Install on a Ubuntu 14.04.4 LTS I got this error

...
Continue? (y/n) Checking for HTTP client...found /usr/bin/curl -s -O
Checking for perl...found /usr/bin/perl
Loading log4sh logging library...
./log4sh: line 1: syntax error near unexpected token `newline'
./log4sh: line 1: `<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">'

Then install process stop.
I try to understand what do the script with this log4sh but a little hard to understand at my level... If anyone has idea where the error comes from or what I could check further he would be greatly welcome ! :)
tks

Mon, 03/14/2016 - 09:52
CedSha

Looks this case is similar as
Virtualmin GPL Install Script Download Link gives 500 Error
and would be due to the file http://software.virtualmin.com/lib/log4sh not available on the virtualmin server (Error 500), when the install script perform the line 520 :
LOG4SH_CONFIGURATION="none" . ./log4sh
I see this issue to be reported so +1.

Mon, 03/14/2016 - 12:37
Termindiego25
Termindiego25's picture

Ok, that it works now

Mon, 03/14/2016 - 19:06
CedSha

OK For me this step is fixed now.
Tks to the support team !

Mon, 03/14/2016 - 20:17
andreychek

Sorry about that guys, there was a problem with the software repository earlier today. That should indeed be fixed now, thanks for letting us know!

-Eric

Thu, 05/05/2016 - 18:19
jepsontech

this exact error is happening for me today. repository issue again?

Topic locked