[SOLVED] vicibox-install - argument isn't numeric

Support forum for the ViciBox ISO Server Install and ISO LiveCD Demo

Moderators: enjay, williamconley, Staydog, mflorell, MJCoate, mcargile, Kumba

[SOLVED] vicibox-install - argument isn't numeric

Postby airflux » Tue Jul 18, 2017 11:40 am

Hi guys,
I've just downloaded ViciBox_v.7.x86_64-7.0.4.iso and installed on a new server (Dell R610, we got a lot of them!), configured LAN, internet access is ok. No OS update or changes to repository due to openSUSE 42.1 eol.

When i run vicibox-install i got

--- ViciBox v.7.0 Install Summary ---

Expert : Yes
Legacy : No
Database : Yes
Web : Yes
Redirect : Yes
PMA : Yes
Telephony: No
Archive : No
Firewall : Disabled

Beginning installation, expect lots of output...

Disabling firewall...
SuSEfirewall2: Firewall rules unloaded.
Argument "Revisione: 2794" isn't numeric in numeric ne (!=) at /usr/local/bin/vicibox-install line 220, <STDIN> line 22.
Argument "Revisione: 2656" isn't numeric in numeric ne (!=) at /usr/local/bin/vicibox-install line 220, <STDIN> line 22.
Local SVN revision matches DB revision: Revisione: 2794

There are no output related to the SVN checkout, and there are different things missing (in example, db system_settings.svn_revision is 0), due to error at line 220.
The condition ($localsvn != $DBsvnrev) throws an error because revision number is string "Revisione: xxxx", and the really interesting part is the italian translation of word "revision". I've configured Italian keyboard and timezone, I'm in Italy then this is normal, but.. lol?

Is the first time I see something like that, and I can't find nothing similar online, what can be the cause of this problem?


Edit. #1
I've just noticed the line
@svninfo = `/usr/bin/svn info /usr/src/astguiclient/trunk | grep Revision | sed -e 's/Revision: //'`;
that strips the string Revision:, then I think the problem is just related to the locale language that svn client is using.. I'm working on that.


Edit #2-3 Yes, the problem is the localization. Maybe this is the first time that i configure another language during os-install.

Bad version:
vicitdb:/usr/src/astguiclient/trunk # svn info
Percorso: .
..
Revisione: 2656

vicitdb:/usr/src/astguiclient/trunk # export LANG=en_US
vicitdb:/usr/src/astguiclient/trunk # svn info
Path: .
Revision: 2656


Now everything works fine. I hope this can help someone else. Never change the system language from English to something else :)
Vicibox 7.0.2 - V. 2.12-551a Build 160427-1656 - svn 2353 – 3 Dell R610 (1 db+www - 4 sas raid 10, 2 dialers - 2 sas raid 1)
Vicibox 7.0.3 - V. 2.14-585a Build 170114-1356 - svn 2659 – 2 Dell R610 (1 db+www - 4 sas raid 10, 1 dialer - 2 sas raid 1)
airflux
 
Posts: 29
Joined: Fri Nov 07, 2014 12:39 pm

Re: [SOLVED] vicibox-install - argument isn't numeric

Postby mflorell » Tue Jul 18, 2017 12:19 pm

Thanks for posting your solution!
mflorell
Site Admin
 
Posts: 18335
Joined: Wed Jun 07, 2006 2:45 pm
Location: Florida

Re: [SOLVED] vicibox-install - argument isn't numeric

Postby airflux » Wed Jul 19, 2017 5:42 am

It's a duty!

Anyway, export LANG=en_US solved until i was logged in, the problem comes back again every time i log in. I've found the real cause: my local ssh configuration send my local Env to remote server!

The solution is to edit the following file (on Fedora)
/etc/ssh/ssh_config.d/05-redhat.conf
commenting the following lines with a "#"
SendEnv LANG LC_CTYPE LC_NUMERIC LC_TIME LC_COLLATE LC_MONETARY LC_MESSAGES
SendEnv LC_PAPER LC_NAME LC_ADDRESS LC_TELEPHONE LC_MEASUREMENT
SendEnv LC_IDENTIFICATION LC_ALL LANGUAGE
Vicibox 7.0.2 - V. 2.12-551a Build 160427-1656 - svn 2353 – 3 Dell R610 (1 db+www - 4 sas raid 10, 2 dialers - 2 sas raid 1)
Vicibox 7.0.3 - V. 2.14-585a Build 170114-1356 - svn 2659 – 2 Dell R610 (1 db+www - 4 sas raid 10, 1 dialer - 2 sas raid 1)
airflux
 
Posts: 29
Joined: Fri Nov 07, 2014 12:39 pm


Return to ViciBox Server Install and Demo

Who is online

Users browsing this forum: No registered users and 49 guests