Comments (5)
Hi,
did you also do this
https://github.com/biemond/biemond-oradb#linux-kernel-ulimits-and-required-packages
like creating the oracle user and its groups because the oradb module won't do this because most people want to do this themselves.
Cheers
from biemond-oradb.
Hi,
Thank you for your fast answer. I think you point the finger exactly on what is wrong. My groups are created but my oracle user might not be. I will fix this and test it again to confirm.
Regards
From: Edwin Biemond [mailto:[email protected]]
Sent: 17 April 2015 12:59
To: biemond/biemond-oradb
Cc: masterlf
Subject: Re: [biemond-oradb] error related to home directory during install on 11.2.0.3 (#51)
Hi,
did you also do this
https://github.com/biemond/biemond-oradb#linux-kernel-ulimits-and-required-packages
like creating the oracle user and its groups because the oradb module won't do this because most people want to do this themselves.
Cheers
—
Reply to this email directly or view it on GitHub #51 (comment) . https://github.com/notifications/beacon/ALb8DgQcXY5WFtwIK2OAxuJbxYMCo-3rks5oANDIgaJpZM4ECnBq.gif
from biemond-oradb.
Hi
actually i checked and i confirmed the presence of the prerequisite where my oracle user is defined with /opt/oracle as well as the installdb base parameter. still like you can see in the logs /home/oracle is called...
if i am correct the issue might come from this piece of code where the home directory of the user is not really required but in my case i might have to redefine $userbasedir=/opt
code:
if ( $bashProfile == true ) {
if ! defined(File["${userBaseDir}/${user}/.bash_profile"]) {
file { "${userBaseDir}/${user}/.bash_profile":
ensure => present,
# content => template('oradb/bash_profile.erb'),
content => regsubst(template('oradb/bash_profile.erb'), '\r\n', "\n", 'EMG'),
mode => '0775',
owner => $user,
group => $group,
}
}
}
logs:
Error: Could not set 'present' on ensure: No such file or directory - /home/oracle/.bash_profile20150417-1298-b38wm5.lock at 200:/etc/puppet/modules/oradb/manifests/installdb.pp
Error: Could not set 'present' on ensure: No such file or directory - /home/oracle/.bash_profile20150417-1298-b38wm5.lock at 200:/etc/puppet/modules/oradb/manifests/installdb.pp
Wrapped exception:
No such file or directory - /home/oracle/.bash_profile20150417-1298-b38wm5.lock
Error: /Stage[main]/Profile::Oracle::Server_11203/Oradb::Installdb[11.2.0.3_Linux-x86-64]/File[/home/oracle/.bash_profile]/ensure: change from absent to present failed: Could not set 'present' on ensure: No such file or directory - /home/oracle/.bash_profile20150417-1298-b38wm5.lock at 200:/etc/puppet/modules/oradb/manifests/installdb.pp
from biemond-oradb.
Hi,
you can set userBaseDir to /opt/oracle or disable it by setting bashProfile to false.
Hope this will help.
Thanks
from biemond-oradb.
Hello,
i confirm that the following is the correct one to keep the bash script and using something else than /home as user directory:
::oradb::installdb { '11.2.0.3_Linux-x86-64':
version => '11.2.0.3',
file => 'p10404530_112030_Linux-x86-64',
databaseType => 'SE',
userBaseDir => '/opt',
oracleBase => '/opt/oracle',
oracleHome => '/opt/oracle/product/11.2/db',
user => 'oracle',
group => 'dba',
group_install => 'oinstall',
downloadDir => '/install',
remoteFile => true,
puppetDownloadMntPoint => "puppet:///modules/oradb/",
initfile => true,
}
thank you for your support, this was much appreciated.
cheers
from biemond-oradb.
Related Issues (20)
- Any plans to support 19c database ? HOT 4
- Master branch HOT 1
- Any option to support custom string in listener.ora file ? HOT 1
- Hung on lsinv check by 2 processes simultaneously
- Install OGG on one host twice (2 locations) HOT 2
- using oradb::autostartdatabase for multiple databases per server failing HOT 7
- database 19c creation fails due to Automatic Memory Management option HOT 2
- Update metadata.json dependencies of stdlib and concat HOT 2
- Any plans to support for OEM 13.4 ? HOT 1
- oradb.opatch - OPatchauto and NApply HOT 4
- Any plans to support for RHEL 8? HOT 1
- Legacy facts used for operating system family
- Cut a new release and publish to forge HOT 3
- Run the sql for pdb database HOT 3
- Forge to Deinstall GG - golden gate
- Donate project to Voxpupuli
- How does one create multiple entries in the tnsnames.ora file?
- tnsnames.ora file doesn't identify itself with "Puppet Managed. Do not edit!" or similar HOT 1
- Add tnsnames.ora options
- PROTOCOL = for tnsnames.ora doesn't have a default value HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from biemond-oradb.