Community maintenance is complete. Thank you for your patience!

Active IQ Unified Manager Discussions

Not enough memory while trying to install OC 5.0.1 on 64bit Linux

marcinl

Hello,

I was trying to install OC Core 5.0.1 on 64bit SLES 11.2 with 4GB of RAM (hosted on ESX).

The installation quits with following messages:

Setting up sql ...

Problem initializing the database.

error: %post(NTAPdfm-5.0-7864.x86_64) scriptlet failed, exit status 1

In /var/log/messages I can see this:

Jun 14 13:56:52 monitoring SQLAnywhere(dbinit_engine): SQL Anywhere Personal Server Version 10.0.1.4213

Jun 14 13:56:52 monitoring SQLAnywhere(dbinit_engine): 2 physical processor(s) detected.

Jun 14 13:56:52 monitoring SQLAnywhere(dbinit_engine): This server is licensed to:

Jun 14 13:56:52 monitoring SQLAnywhere(dbinit_engine):     DFM User

Jun 14 13:56:52 monitoring SQLAnywhere(dbinit_engine): NetApp

Jun 14 13:56:52 monitoring SQLAnywhere(dbinit_engine): Running Linux 3.0.13-0.27-default #1 SMP Wed Feb 15 13:33:49 UTC 2012 (d73692b) on X86_64

Jun 14 13:56:52 monitoring SQLAnywhere(dbinit_engine): Server built for X86_64 processor architecture

Jun 14 13:56:52 monitoring SQLAnywhere(dbinit_engine): Not enough memory

I have increased RAM to 6GB and got the same error. There is enough memory during the installation (checked via top on 2nd console while installing, was never below 2GB free RAM).

There is enough free space on disk:

monitoring:~ # df -h

Filesystem Size  Used Avail Use% Mounted on

/dev/sda6 9.9G  2.9G  6.5G  31% /

devtmpfs 1.9G  144K  1.9G   1% /dev

tmpfs 1.9G     0  1.9G   0% /dev/shm

/dev/sda7 36G  1.4G   33G   5% /opt

/dev/sda5 2.0G  162M  1.8G   9% /var

I have increased number of semaphores and open files, /etc/sysctrl.conf contains following lines now:

kernel.sem=250 32000 32 1024

fs.file-max = 65535

I have also changed dfm option for database cache (while it was partially installed) but I don't think this is preserved between the installations (before installing it again I need to remove the NTAPdfm package).

Has anyone experienced such behavior ? What could cause it? 6GB RAM for OnCommand 5 without any objects in the database should be more than enough.

1 ACCEPTED SOLUTION

salekseev

I was having the same problem. Launched it in Linux 2.6 compatibility mode and it worked:

cbnapsysman:~ # uname26

cbnapsysman:~> ./occore-setup-5-0-1-linux-x64.sh -l blah

Preparing to install OnCommand Core Package

Unpacking files needed for the installation ...

By default, the DataFabric Manager server sends AutoSupport event messages

and weekly reports to NetApp Technical Support. Messages are sent

over secure HTTPS, HTTP or SMTP(HTTPS by default). This information is used to

assist you with troubleshooting and problem resolution. AutoSupport will

significantly speed problem determination and resolution should a problem occur

on the system.

Status AutoSupport event messages will be sent to NetApp once per

week and will start 24 hours after installation. If you do not want

AutoSupport event messages sent to NetApp, you can disable

AutoSupport by setting the AutoSupport Enabled global option to "No".

This option will initially be set to "Unknown" unless manually set, and

will automatically become "Yes" after 24 hours if not set manually to "No".

If you do not want to include private data such as IP addresses, host names,

and user names, set the AutoSupport Content global option to "minimal".

Please respond with "Yes" if you have read and agree with the use of the

AutoSupport feature on this DataFabric Manager server or "No" to abort the

installation.[y,n,?]:y

Please choose the edition of OnCommand Core Package installation.

[1] Express edition

- Simplifies deployment with automated configuration.

- Provides the same level of data protection capability as the

Standard edition, but with reduced monitoring capabilities.

- Runs OnCommand Core and OnCommand Host on the same server.

- Recommended for use with up to four storage systems and one virtualized server.

[2] Standard edition

- Recommended for full storage monitoring capabilities in all deployments.

- Must be installed on a dedicated system.

Please enter your choice of OnCommand Core Package installation.[1,2](default 2):1

Beginning the OnCommand Core Package installation ...

Preparing...                ########################################### [100%]

   1:NTAPdfm                ########################################### [100%]

Installing scripts in /etc/init.d directory.

insserv: Service network is missed in the runlevels 4 to use service NTAPdfm

NTAPdfm                   0:off  1:off  2:off  3:on   4:on   5:on   6:off

Creating the DataFabric Manager server keystore.

Configuring DataFabric Manager server services.

Setting up sql ...

Starting SQL ...

Setting up DBA user ...

Defining SQL login procedure ...

Setting up transaction log management...

Setting up deadlock reporting infrastructure...

Disabling deadlock logging...

Defining SQL schema ...

Defining SQL Views ...

Defining SQL debug procedures ...

Defining metadata accessors ...

Setting up DFM user ...

Updating global options and monitoring intervals.

Setting up default schedule for database backup.

Configured Express edition.

Creating or updating sample backup schedules and throttles.

Successfully created VMware sample application policy.

Successfully created Hyperv sample application policy.

Creating the canned provisioning policies.

Canned provisioning policies have been created successfully.

Created resource pool Default Storage Pool (96).

Canned storage services have been created successfully.

Creating or updating sample DP policies.

Creating or updating sample DR policies.

Stopping SQL ...

SQL Anywhere Stop Server Utility Version 10.0.1.4213

Enabled DataFabric Manager server license.

Installing the online help.

Generating DataFabric Manager server certificate files.

Service: sql started.

Starting DataFabric Manager server services.

Service: sql started.

Not attempting to start sql because service is started already.

Setting default reportDesignPath because global option reportDesignPath is empty

Service: webui started.

Service: http started.

Service: eventd started.

Service: monitor started.

Service: scheduler started.

Service: server started.

Service: watchdog started.

Installing Filer Plugins.

New plugin files installed to /opt/NTAPdfm/plugins/filer/6.5.1.

New plugin files installed to /opt/NTAPdfm/plugins/filer/6.5.2.

New plugin files installed to /opt/NTAPdfm/plugins/filer/6.5.3.

New plugin files installed to /opt/NTAPdfm/plugins/filer/6.5.4.

New plugin files installed to /opt/NTAPdfm/plugins/filer/6.5.5.

New plugin files installed to /opt/NTAPdfm/plugins/filer/6.5.6.

New plugin files installed to /opt/NTAPdfm/plugins/filer/6.5.7.

New plugin files installed to /opt/NTAPdfm/plugins/filer/7.0.

New plugin files installed to /opt/NTAPdfm/plugins/filer/7.0.1.

New plugin files installed to /opt/NTAPdfm/plugins/filer/7.0.2.

New plugin files installed to /opt/NTAPdfm/plugins/filer/7.0.3.

New plugin files installed to /opt/NTAPdfm/plugins/filer/7.0.4.

New plugin files installed to /opt/NTAPdfm/plugins/filer/7.0.5.

New plugin files installed to /opt/NTAPdfm/plugins/filer/7.0.6.

New plugin files installed to /opt/NTAPdfm/plugins/filer/7.0.7.

New plugin files installed to /opt/NTAPdfm/plugins/filer/7.1.

New plugin files installed to /opt/NTAPdfm/plugins/filer/7.1.1.

New plugin files installed to /opt/NTAPdfm/plugins/filer/7.1.2.

New plugin files installed to /opt/NTAPdfm/plugins/filer/7.1.3.

New plugin files installed to /opt/NTAPdfm/plugins/filer/7.2.

New plugin files installed to /opt/NTAPdfm/plugins/filer/7.2.1.

New plugin files installed to /opt/NTAPdfm/plugins/filer/7.2.2.

New plugin files installed to /opt/NTAPdfm/plugins/filer/7.2.3.

New plugin files installed to /opt/NTAPdfm/plugins/filer/7.2.4.

New plugin files installed to /opt/NTAPdfm/plugins/filer/7.2.5.

New plugin files installed to /opt/NTAPdfm/plugins/filer/7.2.6.

New plugin files installed to /opt/NTAPdfm/plugins/filer/7.2.7.

New plugin files installed to /opt/NTAPdfm/plugins/filer/7.3.

New plugin files installed to /opt/NTAPdfm/plugins/filer/7.3.1.

New plugin files installed to /opt/NTAPdfm/plugins/filer/7.3.2.

New plugin files installed to /opt/NTAPdfm/plugins/filer/7.3.3.

New plugin files installed to /opt/NTAPdfm/plugins/filer/7.3.4.

New plugin files installed to /opt/NTAPdfm/plugins/filer/7.3.5.

New plugin files installed to /opt/NTAPdfm/plugins/filer/8.0.

New plugin files installed to /opt/NTAPdfm/plugins/filer/8.0.1.

        The Express edition of the OnCommand Core Package, including the DataFabric Manager server, has

        been installed on your computer.

        Please do not change any setup options without consulting NetApp support.

        If you are managing a virtual server environment, you must now install the OnCommand Host Package,

        if you have not already installed it.

        You can now access OnCommand console at

            http://cbnapsysman.dfci.harvard.edu:8080/start.html

        to configure and monitor hosts and storage with DataFabric Manager server.

        OnCommand console must be run from a Windows-based browser.

        For help on the dfm command, enter

            dfm help

        at the command prompt.

View solution in original post

22 REPLIES 22

martin_jencik

Hi guys, any experiences with this type of error when installing OC5.1?

mr3ha005:/opt/source> ./occore-setup-5-1-linux-x64.sh

Preparing to install OnCommand Core Package

Unpacking files needed for the installation ...

Storage systems running Data ONTAP 8 operate either in 7-Mode or

in Cluster-Mode. Each installation of OnCommand Core can manage storage

systems operating in one of the two modes:

[1] Cluster-Mode

Data ONTAP 8 operating in Cluster-Mode.

[2] 7-Mode

Data ONTAP 7G and Data ONTAP 8 operating in 7-Mode.

Which kind of storage will you manage with this installation

of OnCommand Core Package?.[1,2](default 1):2

Please choose the edition of OnCommand Core Package installation.

[1] Express edition

- Simplifies deployment with automated configuration.

- Provides the same level of data protection capability as the

Standard edition, but with reduced monitoring capabilities.

- Runs OnCommand Core and OnCommand Host on the same server.

- Recommended for use with up to four storage systems and one virtualized server.

[2] Standard edition

- Recommended for full storage monitoring capabilities in all deployments.

- Must be installed on a dedicated system.

Please enter your choice of OnCommand Core Package installation.[1,2](default 2):2

Enter your NetApp DataFabric Manager server license key [?,q]: .......................

Beginning the OnCommand Core Package installation ...

Verifying checksum of OnCommand Core Package package.

Preparing...                ########################################### [100%]

   1:NTAPdfm                ########################################### [100%]

Installing scripts in /etc/init.d directory.

insserv: Service network is missed in the runlevels 4 to use service NTAPdfm

NTAPdfm                   0:off  1:off  2:off  3:on   4:on   5:on   6:off

Creating the DataFabric Manager server keystore.

Error creating the keystore /opt/NTAPdfm/conf/keys/dfmenc.keys: 17

error: %post(NTAPdfm-5.1-15008.x86_64) scriptlet failed, exit status 1

fooling the kernel version is of no use.

OS is SLES 11 SP2 with kernel:

mr3ha005:/opt/source # uname -r

3.0.26-0.7-default

adaikkap

Hi Martin,

     Fooling the kernel version is of no use, all you have to do it switch to compatibility mode and make it work.

Regards

adai

marcinl

But as far I know OnCommand 5.1 is officially compatible with SLES 11 SP2 so the kernel trick should not be needed.
@Martin - it may be better to open new thread as this is different issue.

adaikkap

Hi Marcin,

     You are right, the compatibility mode would not be required as in case of OC UM 5.1 we use sybase version 11 where the sybase issue is fixed.

OC UM 5.0.X was using Sybase ASA version 10 whereas OCUM 5.1 is using 11.

Regards

adai

marcinl

Hi Martin,

Check if you can find anything in the logs.

adaikkap

Hi Marcinl,

              As per the IMT SLES 11 SP2 is not a supported OS for 5.0.1/5.0.

Regards

adai

pukale

SLES 11 SP2 has kernel version 3.0.X. SLES 11 SP1 and prior OSes are having kernel version as 2.6.x. 

See kernel version:

http://wiki.novell.com/index.php/Kernel_versions

OC 5.0.1 is not supporting SLES 11 SP2 . It imply that, It will not support 3.0.x Kernel version.

Thanks

Santosh

salekseev

I was having the same problem. Launched it in Linux 2.6 compatibility mode and it worked:

cbnapsysman:~ # uname26

cbnapsysman:~> ./occore-setup-5-0-1-linux-x64.sh -l blah

Preparing to install OnCommand Core Package

Unpacking files needed for the installation ...

By default, the DataFabric Manager server sends AutoSupport event messages

and weekly reports to NetApp Technical Support. Messages are sent

over secure HTTPS, HTTP or SMTP(HTTPS by default). This information is used to

assist you with troubleshooting and problem resolution. AutoSupport will

significantly speed problem determination and resolution should a problem occur

on the system.

Status AutoSupport event messages will be sent to NetApp once per

week and will start 24 hours after installation. If you do not want

AutoSupport event messages sent to NetApp, you can disable

AutoSupport by setting the AutoSupport Enabled global option to "No".

This option will initially be set to "Unknown" unless manually set, and

will automatically become "Yes" after 24 hours if not set manually to "No".

If you do not want to include private data such as IP addresses, host names,

and user names, set the AutoSupport Content global option to "minimal".

Please respond with "Yes" if you have read and agree with the use of the

AutoSupport feature on this DataFabric Manager server or "No" to abort the

installation.[y,n,?]:y

Please choose the edition of OnCommand Core Package installation.

[1] Express edition

- Simplifies deployment with automated configuration.

- Provides the same level of data protection capability as the

Standard edition, but with reduced monitoring capabilities.

- Runs OnCommand Core and OnCommand Host on the same server.

- Recommended for use with up to four storage systems and one virtualized server.

[2] Standard edition

- Recommended for full storage monitoring capabilities in all deployments.

- Must be installed on a dedicated system.

Please enter your choice of OnCommand Core Package installation.[1,2](default 2):1

Beginning the OnCommand Core Package installation ...

Preparing...                ########################################### [100%]

   1:NTAPdfm                ########################################### [100%]

Installing scripts in /etc/init.d directory.

insserv: Service network is missed in the runlevels 4 to use service NTAPdfm

NTAPdfm                   0:off  1:off  2:off  3:on   4:on   5:on   6:off

Creating the DataFabric Manager server keystore.

Configuring DataFabric Manager server services.

Setting up sql ...

Starting SQL ...

Setting up DBA user ...

Defining SQL login procedure ...

Setting up transaction log management...

Setting up deadlock reporting infrastructure...

Disabling deadlock logging...

Defining SQL schema ...

Defining SQL Views ...

Defining SQL debug procedures ...

Defining metadata accessors ...

Setting up DFM user ...

Updating global options and monitoring intervals.

Setting up default schedule for database backup.

Configured Express edition.

Creating or updating sample backup schedules and throttles.

Successfully created VMware sample application policy.

Successfully created Hyperv sample application policy.

Creating the canned provisioning policies.

Canned provisioning policies have been created successfully.

Created resource pool Default Storage Pool (96).

Canned storage services have been created successfully.

Creating or updating sample DP policies.

Creating or updating sample DR policies.

Stopping SQL ...

SQL Anywhere Stop Server Utility Version 10.0.1.4213

Enabled DataFabric Manager server license.

Installing the online help.

Generating DataFabric Manager server certificate files.

Service: sql started.

Starting DataFabric Manager server services.

Service: sql started.

Not attempting to start sql because service is started already.

Setting default reportDesignPath because global option reportDesignPath is empty

Service: webui started.

Service: http started.

Service: eventd started.

Service: monitor started.

Service: scheduler started.

Service: server started.

Service: watchdog started.

Installing Filer Plugins.

New plugin files installed to /opt/NTAPdfm/plugins/filer/6.5.1.

New plugin files installed to /opt/NTAPdfm/plugins/filer/6.5.2.

New plugin files installed to /opt/NTAPdfm/plugins/filer/6.5.3.

New plugin files installed to /opt/NTAPdfm/plugins/filer/6.5.4.

New plugin files installed to /opt/NTAPdfm/plugins/filer/6.5.5.

New plugin files installed to /opt/NTAPdfm/plugins/filer/6.5.6.

New plugin files installed to /opt/NTAPdfm/plugins/filer/6.5.7.

New plugin files installed to /opt/NTAPdfm/plugins/filer/7.0.

New plugin files installed to /opt/NTAPdfm/plugins/filer/7.0.1.

New plugin files installed to /opt/NTAPdfm/plugins/filer/7.0.2.

New plugin files installed to /opt/NTAPdfm/plugins/filer/7.0.3.

New plugin files installed to /opt/NTAPdfm/plugins/filer/7.0.4.

New plugin files installed to /opt/NTAPdfm/plugins/filer/7.0.5.

New plugin files installed to /opt/NTAPdfm/plugins/filer/7.0.6.

New plugin files installed to /opt/NTAPdfm/plugins/filer/7.0.7.

New plugin files installed to /opt/NTAPdfm/plugins/filer/7.1.

New plugin files installed to /opt/NTAPdfm/plugins/filer/7.1.1.

New plugin files installed to /opt/NTAPdfm/plugins/filer/7.1.2.

New plugin files installed to /opt/NTAPdfm/plugins/filer/7.1.3.

New plugin files installed to /opt/NTAPdfm/plugins/filer/7.2.

New plugin files installed to /opt/NTAPdfm/plugins/filer/7.2.1.

New plugin files installed to /opt/NTAPdfm/plugins/filer/7.2.2.

New plugin files installed to /opt/NTAPdfm/plugins/filer/7.2.3.

New plugin files installed to /opt/NTAPdfm/plugins/filer/7.2.4.

New plugin files installed to /opt/NTAPdfm/plugins/filer/7.2.5.

New plugin files installed to /opt/NTAPdfm/plugins/filer/7.2.6.

New plugin files installed to /opt/NTAPdfm/plugins/filer/7.2.7.

New plugin files installed to /opt/NTAPdfm/plugins/filer/7.3.

New plugin files installed to /opt/NTAPdfm/plugins/filer/7.3.1.

New plugin files installed to /opt/NTAPdfm/plugins/filer/7.3.2.

New plugin files installed to /opt/NTAPdfm/plugins/filer/7.3.3.

New plugin files installed to /opt/NTAPdfm/plugins/filer/7.3.4.

New plugin files installed to /opt/NTAPdfm/plugins/filer/7.3.5.

New plugin files installed to /opt/NTAPdfm/plugins/filer/8.0.

New plugin files installed to /opt/NTAPdfm/plugins/filer/8.0.1.

        The Express edition of the OnCommand Core Package, including the DataFabric Manager server, has

        been installed on your computer.

        Please do not change any setup options without consulting NetApp support.

        If you are managing a virtual server environment, you must now install the OnCommand Host Package,

        if you have not already installed it.

        You can now access OnCommand console at

            http://cbnapsysman.dfci.harvard.edu:8080/start.html

        to configure and monitor hosts and storage with DataFabric Manager server.

        OnCommand console must be run from a Windows-based browser.

        For help on the dfm command, enter

            dfm help

        at the command prompt.

View solution in original post

marcinl

Yes, thx a lot. That was it. It works when it's fooled about the kernel version.

So Sybase have problem with kernel 3.0 😕

adaikkap

Hi

    As you guessed it turns out to be a bug from SYBASE. Below is the link for the same.

http://search.sybase.com/kbx/changerequests?bug_id=694479

Regards

adai

kryan

FYI - the IMT shows that OnCommand Core has only been tested up to SLES 11 SP1(X86/X64).

kryan

https://kb.netapp.com/support/index?page=content&id=2016762

Try the following:

  1. dfm prompt> dfm database set dbcachesize=""
  2. dfm prompt> dfm service start sql

This will set the option back to the default value.  I see that you have adjusted it, but not sure which values you have used.

marcinl

Hi Kryan,

The problem is that this occurs during installation process. Database is not initialized after installation. 

monitoring:~ # dfm database set dbcachesize=""

Left option settings unchanged.

monitoring:~ # dfm service start sql

Error: Unable to determine if the database needs to be upgraded to the latest file format.

Error: could not start 'sql' service.

monitoring:~ #

kryan

What other applications, if any, are installed on this server? 

Also, is SELinux enabled?  If so, set SELinux to permissive mode.

kryan

Another item to check - is the memory for the VM reserved or allocated?  It would be better to have lower amount (4Gb) reserved as opposed to a larger amount set as allocated.

marcinl

Memory was just reserved but it's allocated now - 6GB.

Still the same error while installing OC.

SELinux not installed. Nothing else on the server - it's fresh installation.

mahala

Hi Marcin,

As I remember you had installed OC earlier. So was that on SELinux or was that lower version ?

marcinl

That was older version of SLES and OC 5.0.0.
I will try with OC 5.0.0 now also.

marz

Marcin

You need to adjust

     kernel.sem=250 32000 32 1024

to read as so in /etc/sysctl.conf

     kernel.sem=250 256000 32 1024

SEMMNI is correct at 1024 for OnCommand (and Operations Manager) running on Linux.  SEMMNI * SEMMSL = SEMMNS, or 1024 * 250 = 256000

I also noticed in your screenshot that CPU was 0 MHz where Memory was 6144Mb.  This summary value looks odd.

marcinl

Hi Alex,
I have changed the kernel parameters:

monitoring:~ # sysctl -a | grep sem

kernel.sem = 250        32000   32      1024

monitoring:~ # sysctl -p

net.ipv4.icmp_echo_ignore_broadcasts = 1

net.ipv4.conf.all.rp_filter = 1

fs.inotify.max_user_watches = 65536

net.ipv4.conf.default.promote_secondaries = 1

net.ipv4.conf.all.promote_secondaries = 1

kernel.sem = 250 256000 32 1024

fs.file-max = 65535

monitoring:~ # sysctl -a | grep sem

kernel.sem = 250        256000  32      1024

I'm not an VMware expert but I think the CPU displayed as "0" means just that nothing is strictly reserved to my virtual image.

Same error when installing OC5:

Setting up sql ...

Problem initializing the database.

error: %post(NTAPdfm-5.0-7864.x86_64) scriptlet failed, exit status 1

monitoring:~ # tail /var/log/messages

Jun 18 15:53:13 monitoring SQLAnywhere(dbinit_engine):

Jun 18 15:53:13 monitoring SQLAnywhere(dbinit_engine): iAnywhere Solutions, Inc., One Sybase Drive, Dublin, CA 94568, USA

Jun 18 15:53:13 monitoring SQLAnywhere(dbinit_engine):

Jun 18 15:53:13 monitoring SQLAnywhere(dbinit_engine): 2 physical processor(s) detected.

Jun 18 15:53:13 monitoring SQLAnywhere(dbinit_engine): This server is licensed to:

Jun 18 15:53:13 monitoring SQLAnywhere(dbinit_engine):     DFM User

Jun 18 15:53:13 monitoring SQLAnywhere(dbinit_engine):     NetApp

Jun 18 15:53:13 monitoring SQLAnywhere(dbinit_engine): Running Linux 3.0.13-0.27-default #1 SMP Wed Feb 15 13:33:49 UTC 2012 (d73692b) on X86_64

Jun 18 15:53:13 monitoring SQLAnywhere(dbinit_engine): Server built for X86_64 processor architecture

Jun 18 15:53:13 monitoring SQLAnywhere(dbinit_engine): Not enough memory

Announcements
NetApp on Discord Image

We're on Discord, are you?

Live Chat, Watch Parties, and More!

Explore Banner

Meet Explore, NetApp’s digital sales platform

Engage digitally throughout the sales process, from product discovery to configuration, and handle all your post-purchase needs.

NetApp Insights to Action
I2A Banner
Public