ispCP - Board - Support
Todays nightly snapshot - Ubuntu - error executing perl install script. - Printable Version

+- ispCP - Board - Support (http://www.isp-control.net/forum)
+-- Forum: ispCP Omega Support Area (/forum-30.html)
+--- Forum: System Setup & Installation (/forum-32.html)
+--- Thread: Todays nightly snapshot - Ubuntu - error executing perl install script. (/thread-2638.html)

Pages: 1 2


Todays nightly snapshot - Ubuntu - error executing perl install script. - psygarden - 03-05-2008 07:50 AM

Hey guys i need your help (again) Wink

i'm installating the latest snapshot of ispcp that is available for download on the website right now, on an Ubuntu box that i just installed.

I followed the installation guidelines untill i need to execute the perl script to complete the install, instead of the expected result, this is what i get:
Quote:root@tux:/var/www/ispcp/engine/setup# perl ispcp-setup
Bareword "null" not allowed while "strict subs" in use at /var/www/ispcp/engine/setup/../ispcp_common_methods.pl line 422.
Compilation failed in require at /var/www/ispcp/engine/setup/../ispcp_common_code.pl line 38.
Compilation failed in require at ispcp-setup line 36.
root@tux:/var/www/ispcp/engine/setup#

Any ideas where i should start looking?

greetings,
Rik


RE: Todays nightly snapshot - Ubuntu - error executing perl install script. - RatS - 03-05-2008 08:59 AM

strange ... I know where this error is created, but not why. Please open a ticket in RC4, I'll fix it soon.


RE: Todays nightly snapshot - Ubuntu - error executing perl install script. - joximu - 03-05-2008 09:52 AM

it seems that null is not a good choice in perl - at least not for normal comparison...


RE: Todays nightly snapshot - Ubuntu - error executing perl install script. - tyl3rd - 03-07-2008 06:39 AM

Hi,

got the same error on a brandnew debian etch installation with the latest nightly:

Code:
nlserver:/var/www/ispcp/engine/setup# perl ./ispcp-setup
Bareword "null" not allowed while "strict subs" in use at /var/www/ispcp/engine/setup/../ispcp_common_methods.pl line 422.
Compilation failed in require at /var/www/ispcp/engine/setup/../ispcp_common_code.pl line 38.
Compilation failed in require at ./ispcp-setup line 36.

Any ideas, yet?

Greets, Nic


RE: Todays nightly snapshot - Ubuntu - error executing perl install script. - Zothos - 03-07-2008 06:48 AM

http://www.isp-control.net/ispcp/ticket/1084

i think rats knows about this error and is working on it Wink


RE: Todays nightly snapshot - Ubuntu - error executing perl install script. - joximu - 03-07-2008 07:07 AM

He knows about it - since 2 days
http://www.isp-control.net/forum/todays-nightly-snapshot-ubuntu-error-executing-perl-install-t-2638.html#pid24680

but maybe he forgot about because there was no ticket :-)


RE: Todays nightly snapshot - Ubuntu - error executing perl install script. - tyl3rd - 03-07-2008 07:23 AM

All right, i replaced the two null with 'null' in the ispcp_common_methods.pl and ran into the following error:

Code:
nlserver:/var/www/ispcp/engine/setup# perl ./ispcp-setup
        Generating database keys, it may take some time, please wait...
Bareword "authdaemonrc" not allowed while "strict subs" in use at ispcp-setup-methods.pl line 1490.

I replaced
Code:
$rs = save_file($main::cfg{'AUTHLIB_CONF_DIR'}/authdaemonrc, $rdata);

with
Code:
$rs = save_file("$main::cfg{'AUTHLIB_CONF_DIR'}/authdaemonrc", $rdata);

looks good now.

Should i open a ticket?

Greets, Nic


RE: Todays nightly snapshot - Ubuntu - error executing perl install script. - joximu - 03-07-2008 07:41 AM

there is already one (without the authdaemonrc - but I can add this.)

thanx.

If it's not changed in the next commit, I'll do that.


RE: Todays nightly snapshot - Ubuntu - error executing perl install script. - tyl3rd - 03-07-2008 07:46 AM

Sorry, too late. I just opend one, but containing another error during installation, too:

Code:
/bin/cp: Aufruf von stat für /etc/ispcp/courier/authmodulelist nicht möglich: Datei oder Verzeichnis nicht gefunden
ERROR: External command '/bin/cp -p /etc/ispcp/courier/authmodulelist /etc/ispcp/courier/backup/authmodulelist.ispcp' returned '1' status !



RE: Todays nightly snapshot - Ubuntu - error executing perl install script. - RatS - 03-07-2008 10:02 AM

joximu Wrote:but maybe he forgot about because there was no ticket :-)
No; I've not forgotten it. I visited the CeBIT yesterday.