← Back to team overview

openbravo-isv team mailing list archive

Re: [Bug 1405501] [NEW] preinst script fails when /proc/sys/kernel/shmmax is too big

 

Hi,

The error was something like this ?
bash: [: 18446744073692774399: integer expression expected

If so, probably means that bash is not able to manage this big number,
by the way this number is  around 17 Peta Bytes or 17 thousand million
giga bytes

A server with all this ram nowadays could be quite expensive ;)

Can you try to reduce the shammax to a value like 100 GB?
107374182400   ( 100 * 1024 * 1024 * 1024 )

Regards
Gorka

On Thu, Dec 25, 2014 at 1:20 AM, Alberto Ruiz <aruiz@xxxxxxxxx> wrote:
> Public bug reported:
>
> I am trying to install Openbravo in a Ubuntu Precise Docker container.
> The value of /proc/sys/kernel/shmmax is 18446744073692774399 which
> Dash/Bash fails to compare to the minimum SHMMAX value and makes the
> preinst script abort the package installation.
>
> This prevents the package from being installable as /proc is mounted
> read-only
>
> ** Affects: openbravo-erp
>      Importance: Undecided
>          Status: New
>
> --
> You received this bug notification because you are a member of Openbravo
> ERP, which is subscribed to Openbravo ERP.
> https://bugs.launchpad.net/bugs/1405501
>
> Title:
>   preinst script fails when  /proc/sys/kernel/shmmax is too big
>
> Status in Openbravo ERP:
>   New
>
> Bug description:
>   I am trying to install Openbravo in a Ubuntu Precise Docker container.
>   The value of /proc/sys/kernel/shmmax is 18446744073692774399 which
>   Dash/Bash fails to compare to the minimum SHMMAX value and makes the
>   preinst script abort the package installation.
>
>   This prevents the package from being installable as /proc is mounted
>   read-only
>
> To manage notifications about this bug go to:
> https://bugs.launchpad.net/openbravo-erp/+bug/1405501/+subscriptions
>
> _______________________________________________
> Mailing list: https://launchpad.net/~openbravo-isv
> Post to     : openbravo-isv@xxxxxxxxxxxxxxxxxxx
> Unsubscribe : https://launchpad.net/~openbravo-isv
> More help   : https://help.launchpad.net/ListHelp

-- 
You received this bug notification because you are a member of Openbravo
ERP, which is subscribed to Openbravo ERP.
https://bugs.launchpad.net/bugs/1405501

Title:
  preinst script fails when  /proc/sys/kernel/shmmax is too big

Status in Openbravo ERP:
  New

Bug description:
  I am trying to install Openbravo in a Ubuntu Precise Docker container.
  The value of /proc/sys/kernel/shmmax is 18446744073692774399 which
  Dash/Bash fails to compare to the minimum SHMMAX value and makes the
  preinst script abort the package installation.

  This prevents the package from being installable as /proc is mounted
  read-only

To manage notifications about this bug go to:
https://bugs.launchpad.net/openbravo-erp/+bug/1405501/+subscriptions


References