Hi,
I have a puppet module that I''m using to manage Oracle 11G.
I''m using
puppet 0.24.8 on 64-bit CentOS 5.4. Everything works properly except
the execution of the oracle installer. It fails because it believes
that the user it is running as is not a member of the proper groups.
However, the user is in the groups, and if I log in as that user and
run the same command that puppet is running the installer executes
successfully.
Am I experiencing the issue described in the documentation as "The
group to run the command as. This seems to work quite haphazardly on
different platforms -- it is a platform issue not a Ruby or Puppet
one, since the same variety exists when running commnands as different
users in the shell.", or does this appear to be a different problem?
I''ve tried searching the list archives, but presence of
''group'' in the
footer Google adds to each message makes it hard to find relevant
information.
Below is the failing statement.
exec { run_installer:
user => "oracle",
group => "oinstall",
cwd => "$tmp",
creates => "$oracle_home/bin/lsnrctl",
command => "$tmp/database/runInstaller -ignoreSysPrereqs -
waitforcompletion -silent -responseFile $tmp/11gR2.rsp",
require => [ Exec["extract_installer"],
File["response"],
File["inventory"] ];
}
Below is the error puppet logs.
(//Node[oracleserver]/oracle::base/oracle::db/Exec[run_installer]/
returns) change from notrun to 0 failed: /u01/oui/database/
runInstaller -ignoreSysPrereqs -waitforcompletion -silent -
responseFile /u01/oui/11gR2.rsp returned 254 instead of 0
Below is a diff of the relevant sections of oracle''s log when I run
the installer successfully and when puppet runs it unsuccessfully.
--- manual 2010-04-16 16:03:46.000000000 -0400
+++ puppet 2010-04-16 16:03:42.000000000 -0400
@@ -40,3 +40,12 @@
INFO: Checking whether the IP address of the localhost could be
determined...
+SEVERE: Unexpected runtime-error while verifying whether the target
environment is supported by CVU or not..
+Refer associated stacktrace #oracle.install.driver.oui.OUISetupDriver:
11
INFO: Completed verification of target environment.
+WARNING: Verification of target environment returned with errors.
+WARNING: [WARNING] [INS-13001] Environment does not meet minimum
requirements.
+ CAUSE: Minimum requirements were not met for this environment
+ ACTION: Either check the logs for more information or check the
supported configurations for this product..
+Refer associated stacktrace
#oracle.install.commons.util.exception.DefaultErrorAdvisor:14
+INFO: Advice is CONTINUE
+WARNING: Advised to ignore target environment verification errors.
INFO: Inventory exists: true
@@ -178,2 +187,4 @@
INFO: [INS-07001] Value for property
''oracle_install_db_CustomComponents'' not found in the bean
store.
+INFO: [INS-07001] Value for property ''ORACLE_HOME'' not found
in the
bean store.
+INFO: [INS-07001] Value for property ''ORACLE_BASE'' not found
in the
bean store.
INFO: [INS-07001] Value for property ''FROM_LOCATION'' not
found in the
bean store.
@@ -273,2 +284,4 @@
INFO: [INS-07001] Value for property
''oracle_install_db_CustomComponents'' not found in the bean
store.
+INFO: [INS-07001] Value for property ''ORACLE_HOME'' not found
in the
bean store.
+INFO: [INS-07001] Value for property ''ORACLE_BASE'' not found
in the
bean store.
INFO: [INS-07001] Value for property ''FROM_LOCATION'' not
found in the
bean store.
@@ -535,2 +548,7 @@
INFO: ... PrivilegedOSGroupValidator: entering validate()
+SEVERE: [FATAL] [INS-35341] User is not a member of the following
chosen OS groups: [dba, oinstall]
+ CAUSE: User is not a member of one or more of the chosen OS
groups.
+ ACTION: Please choose OS groups of which user is a member.
+INFO: Advice is ABORT
+INFO: Adding ExitStatus INVALID_USER_INPUT to the exit status set
INFO: Completed validating state <getPrivilegedOSGroups>
--
Brian Pitts
Systems Administrator | EuPathDB Bioinformatics Resource Center
706-542-1447 | bdp@uga.edu | http://eupathdb.org
--
You received this message because you are subscribed to the Google Groups
"Puppet Users" group.
To post to this group, send email to puppet-users@googlegroups.com.
To unsubscribe from this group, send email to
puppet-users+unsubscribe@googlegroups.com.
For more options, visit this group at
http://groups.google.com/group/puppet-users?hl=en.