on 03-15-2018 4:38 PM
Hi,
I'm attempting a fresh install to get to grips with installation and configuration of ASE16, and I'm repeatedly coming across this issue.
I'm following the guide for Installing on Linux, and I've run through all the pre-install steps and configuration right up to running the console installer, but it always fails at seemingly the last hurdle, running the server.
Here's the error message I've received:
os_create_region: can't allocate 247144448 bytes
The error message according to my research is related to my "kernel.shmmax" property, but I've tried boosting it to ensure there's enough memory allocated (running "/sbin/sysctl -p" shows the correct values) without any effect.
In additon, I've run "ipcs -l" which gives me a shared memory report, which states that I should have > 8GB shared memory able to be allocated, so this is clearly not a memory issue, there must be something else going on.
Any help would be greatly appreciated.
Here's the full log (/opt/sap/ASE-16_0/install/ASE.log):
kernel SySAM: Using licenses from: /usr/local/flexlm/licenses/license.dat
kernel SySAM: Checked out graced license for 1 ASE_CORE (2017.1006) will expire Wed 13 Jun 2018 04:12:48 PM UTC.
kernel SySAM: Failed to obtain license(s) for ASE_CORE feature from license file(s) or server(s).
kernel SySAM: Cannot find license file.
kernel SySAM: The license files (or license server system network addresses) attempted are listed below.
kernel SySAM: License feature name: ASE_CORE
kernel SySAM: License filename: /opt/sap/SYSAM-2_0/licenses
kernel SySAM: License search path: /opt/sap/SYSAM-2_0/licenses
kernel SySAM: FlexNet Licensing error:-1,359. System Error: 2 "No such file or directory"
kernel Error: 131274, Severity: 17, State: 1
kernel SySAM: WARNING: ASE will shutdown on Wed 13 Jun 2018 04:12:48 PM UTC, unless a suitable ASE_CORE license is obtained before that date.
kernel This product is licensed to:
kernel Checked out license ASE_CORE
kernel Adaptive Server Enterprise (Edition not set - under grace)
kernel Performing space allocation for device '/opt/sap/data/master.dat' (0.05 Gb). This may take some time.
kernel Finished initialization.
kernel Using config area from primary master device.
server Configuration Error: Configuration file, '/opt/sap/ASE-16_0/ASE.cfg', does not exist.
kernel Warning: A configuration file was not specified or the default file '/opt/sap/ASE-16_0/ASE.cfg' does not exist. ASE creates the default file.
kernel specified rules file /opt/sap/ASE-16_0/.rules does not exist, creating it as an empty rules file
kernel os_create_region: can't allocate 247144448 bytes
kernel kbcreate: couldn't create kernel region.
kernel kistartup: could not create shared memory
kernel The configuration area in device '/opt/sap/data/master.dat' appears to be corrupt. The server cannot continue and will shut down.
NB - I'm unable to respond to comments as my reputation is too low in this forum.
I found the source of the issue.
In my question, I mentioned that I had increased the memory as per the guide, but what I didn't say is that all this is running on a VirtualBox machine.
I hadn't given enough memory to the server itself within VirtualBox, therefore, despite me saying I wanted to allow 8GB of shared memory, the server it was running on only had 1GB on it. I increased this, re-ran the installer and it all works correctly now.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
94 | |
11 | |
10 | |
9 | |
9 | |
7 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.