RHEL Engineering is moving the tracking of its product development work on RHEL 6 through RHEL 9 to Red Hat Jira (issues.redhat.com). If you're a Red Hat customer, please continue to file support cases via the Red Hat customer portal. If you're not, please head to the "RHEL project" in Red Hat Jira and file new tickets here. Individual Bugzilla bugs in the statuses "NEW", "ASSIGNED", and "POST" are being migrated throughout September 2023. Bugs of Red Hat partners with an assigned Engineering Partner Manager (EPM) are migrated in late September as per pre-agreed dates. Bugs against components "kernel", "kernel-rt", and "kpatch" are only migrated if still in "NEW" or "ASSIGNED". If you cannot log in to RH Jira, please consult article #7032570. That failing, please send an e-mail to the RH Jira admins at rh-issues@redhat.com to troubleshoot your issue as a user management inquiry. The email creates a ServiceNow ticket with Red Hat. Individual Bugzilla bugs that are migrated will be moved to status "CLOSED", resolution "MIGRATED", and set with "MigratedToJIRA" in "Keywords". The link to the successor Jira issue will be found under "Links", have a little "two-footprint" icon next to it, and direct you to the "RHEL project" in Red Hat Jira (issue links are of type "https://issues.redhat.com/browse/RHEL-XXXX", where "X" is a digit). This same link will be available in a blue banner at the top of the page informing you that that bug has been migrated.
Bug 994979 - ocf-shellfuncs script is not working
Summary: ocf-shellfuncs script is not working
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Red Hat Enterprise Linux 6
Classification: Red Hat
Component: resource-agents
Version: 6.4
Hardware: x86_64
OS: Linux
low
low
Target Milestone: rc
: ---
Assignee: David Vossel
QA Contact: Cluster QE
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2013-08-08 10:32 UTC by Joaquin Fernandez Llamas
Modified: 2014-04-13 17:48 UTC (History)
4 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2014-02-27 14:18:53 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)

Description Joaquin Fernandez Llamas 2013-08-08 10:32:32 UTC
Description of problem:

HA Cluster for an Oracle DB is not working.

Version-Release number of selected component (if applicable):

Version     : 3.9.2
Release     : 21.el6_4.3

How reproducible:

Always happens with Oracle DB cluster.


Steps to Reproduce:
1. Create an Oracle DB cluster
2. Execute rg_test to test the service

Actual results:

Error after validating the configuration for Oracle DB.

Expected results:

Start of the Oracle DB completed

Additional info:

The output from rg_test shows an error calling the script:
/usr/share/cluster/ocf-shellfuncs

Output:
basename: missing operand
Try `basename --help' for more information.

I see the error comes from this file: /usr/share/cluster/ocf-shellfuncs
in line: __LOG_NAME=$(basename $(readlink /proc/$PPID/exe))

Comment 3 Fabio Massimo Di Nitto 2014-02-27 14:18:53 UTC
Oracle DB agent has been tested recently and this error this not show up. Most likely an error in Oracle DB agent triggering the LOG from ocf-shellfuncs.

Please feel free to reopen the bug if it´s still an issue and provide cluster.conf so that we can reproduce your setup.

Comment 4 ERIK.JIANG 2014-04-13 17:48:04 UTC
I got the same issue yet..

version:resource-agents-3.9.2-40.el6_5.7.x86_64
OS:centos 6.5


Note You need to log in before you can comment on or make changes to this bug.