Getting a perl error when trying to discover a Weblogic Managed Server

Hi,
Any help working this out would be greatly appreciated. I've searched Oracle Support and here without success so far.
I am trying to add a weblogic 10.3 manager server as a target for the agent on that host. Using Grid Control 10.2.0.5 patch 3 on both the OMS and the agent.
I get past the 2nd screen of the wizard then it fails. So far I've entered hostname, port, credentials for weblogic, then on the next page the credentials for the linux user on the host. Hitting next goes to a clock icon for a few seconds then it fails with:
Can't locate File/Find.pm in @INC (@INC contains: /ade/smayer_perl58_main_linux/perl58/bin/Linux/Opt/lib/5.8.3/i686-linux-thread-multi /ade/smayer_perl58_main_linux/perl58/bin/Linux/Opt/lib/5.8.3 /ade/smayer_perl58_main_linux/perl58/bin/Linux/Opt/lib/site_perl/5.8.3/i686-linux-thread-multi /ade/smayer_perl58_main_linux/perl58/bin/Linux/Opt/lib/site_perl/5.8.3 /ade/smayer_perl58_main_linux/perl58/bin/Linux/Opt/lib/site_perl .) at /app/oracle/agent10g/sysman/admin/scripts/weblogicdiscovery.pl line 2. BEGIN failed--compilation aborted at /app/oracle/agent10g/sysman/admin/scripts/weblogicdiscovery.pl line 2.
I understand that when the agent runs the perl script weblogicdiscovery.pl, perl cant find the Find module to include (as instructed on line 2). The file in question exists in /app/oracle/agent10g/perl/lib/5.8.3/File/Find.pm .
I've tried tweaking the PERL5LIB env variable in the shell before I start the agent, and also in the emctl script itself, but neither seems to have any effect on that error message. It at least should have the basic $ORACLE_HOME/perl/lib in the path which is doesn't.
Anywhere else I should look for this variable setting?
Edit: Next question. I've been wondering where those "/ade/smayer_perl58_main_linux/..." paths were coming from as they aren't going to work and I see them (or at least very similar paths) defined in /app/oracle/agent10g/perl/lib/5.8.3/i686-linux-thread-multi/Config.pm . I've checked another linux host with the agent installed and it is the same, so must be defaults from Oracle. Was I supposed to change these after the install? I didn't read that anywhere. Still if we can set PERL5LIB before running emctl this should prepend real paths, right?
Quick test:
export PERL5LIB=$ORACLE_HOME/perl/lib:$ORACLE_HOME/perl/lib/site_perl
perl -e 'print join "\n", @INC'
/perl/lib/5.8.3
/app/oracle/agent10g/perl/lib/5.8.3/i686-linux-thread-multi
/app/oracle/agent10g/perl/lib/5.8.3
/app/oracle/agent10g/perl/lib
/app/oracle/agent10g/perl/lib/site_perl/5.8.3/i686-linux-thread-multi
/app/oracle/agent10g/perl/lib/site_perl/5.8.3
/app/oracle/agent10g/perl/lib/site_perl
/ade/smayer_perl58_main_linux/perl58/bin/Linux/Opt/lib/5.8.3/i686-linux-thread-multi
/ade/smayer_perl58_main_linux/perl58/bin/Linux/Opt/lib/5.8.3
/ade/smayer_perl58_main_linux/perl58/bin/Linux/Opt/lib/site_perl/5.8.3/i686-linux-thread-multi
/ade/smayer_perl58_main_linux/perl58/bin/Linux/Opt/lib/site_perl/5.8.3
/ade/smayer_perl58_main_linux/perl58/bin/Linux/Opt/lib/site_perl
Should $ORACLE_HOME/Perl be rebuilt during the agent install? I'm thinking it should because those details in the file point to someone with a username smayer configuring perl as per his environment.
Cheers,
Damian
Edited by: user11127564 on 29-Jun-2010 21:42
I've located something slightly useful on Metalink. Note ID 762125.1 particularly as we're using delegated privs and sudo.
However, this says this problem is fixed in 10.2.0.5. I'll prod my sysadmins some more on the sudoers configuration.
Edited by: user11127564 on 30-Jun-2010 16:55

Right. If you are using delegated privs and sudo, make sure that sudo is configured to pass on the PERL5LIB and ORACLE_HOME environment variables at least.

Similar Messages

  • SO I am getting a strange error when trying to access the FIM Management Agents

    Hi Everyone,
    So I am getting a really odd error when I go to FIM --> Management Agents -->MOSS-guid ID right click on that and choose porperties, then Configure Connection Information, then I click OK and I get this pop up error "the type of 'pictureurl' string
    is not compatible with the type of 'sps_mv_octelstring_pictureurl'. I got here by noticing that in the error log there was an error that said:
    The management agent "MOSS-guid ID" failed on run profile "MOSS_EXPORT_Guid ID" because the server encountered errors.
    when I searched on that error, it lead me to a ton of blogs that said to do the following:go to FIM --> Management Agents -->MOSS-guid ID right click on that and choose porperties, then Configure Connection Information at the bottom of the page there
    is a Connect To field and every blog I read said to change it to direct:{Domain}:{Port}. The thing is that my domain and port were fine, so that is when I clicked ok, and got that error message. Ever since this happened, my FIM has been broken, and I really
    can't figure out why???
    So I haven't done any updates to the server in at least a year, so nothing could be happening there.
    Any help at all with this would be taken with the greatest appreciation.
    Best regards, Mike

    What you're doing is unsupported. You need to manipulate the MAs via Central Admin -> Manage Service Applications, find your UPA SA and manage it. You can then Manage User Properties and make changes to the Picture property from here.
    Trevor Seward
    Follow or contact me at...
    This post is my own opinion and does not necessarily reflect the opinion or view of Microsoft, its employees, or other MVPs.

  • Getting Administrative Priviledge error when trying to install Pro on 2008 Server

    We are trying to  install Adobe Pro 8 and recieve the error message that you have to be an administrator, i  have tried using the local admin and the domain admin account...Please advise

    We have no idea about your server's configuration or any of that nor should we. That aside you will have to work out your issues yourself. You are a) trying to install an Acrobat version from the stoneage on a relatively modern OS and b) generally Adobe desktop apps are not supported on any server operating system.
    Mylenium

  • I am getting an activation error when trying to sign in to FAceTime

    I am getting an activation error when trying to sign in to FAceTime

    me too after upgrading into lion..

  • I get the following error when trying to open a pdf file... '*pdf.part could not be saved, because the source file could not be read"

    I get the following error when trying to open a pdf file... '*pdf.part could not be saved, because the source file could not be read". I am able to open pdf files in IE and other programs.

    I am encountering the same problem -- though with .qfx files from my bank. This worked fine in Firefox 31 ESR, but since upgrading to Firefox 33.0, I get the "<name>.qfx.part could not be saved, because the source file could not be read" when I attempt to download. (I should add that downloading PDF statements from the same site works fine, and that the qfx downloads work fine in IE and Chrome.)
    I tried safe mode, it is still broken. Tried v34 beta, no luck. I reverted to version 31, it works again.
    I guess I will stick with the older version until a solution is found...or just use an alternate browser to download my financial data.

  • I keep getting a 4000 error when trying to burn discs....only been since the update....Help

    Ever since the Itunes update, I keep getting an 4000 error when trying to burn my music to disc.  How do I fix this?

    Zachy,
    It goes something like this...
    Put your new drive in the enclosure. Use Disk Utility to format it, etc. I'd give it a slightly different name than the original. Let's say you have Old Disk and New Disk as your drive names. Use Carbon Copy Cloner to copy Old Disk to New Disk. Now you should have an exact copy, which you can test by rebooting and holding down the Option key. Choose New Disk from the list and let it boot, make sure all is well.
    Shut down and physically swap the drives. Take Old Disk and put it in the enclosure. Now your system has a new disk with a lot more space and you can reformat your old disk and just use it for large files or whatever.

  • Getting an "u43m1d204" error when trying to update Illustrator CS6

    I keep getting an "u43m1d204" error when trying to update Illustrator CS6 to 16.2.1 as part of my Creative Cloud subscription.
    I'm updating via the Adobe Applicatioin Manager (Version 7.0.0.233 (7.0.0.233)).
    I've tried it several times now over the past few days.
    Best regards,
    Erik

    Same problem here, and I have waited more than a few minutes as asked by the Adobe Application Manager, but I am still getting the same error.
    Mac OS X Mountain Lion (10.8.2)

  • I'm getting a 9041 error when trying to convert files to AAC -- any ideas on how to fix it?  the files files in iTunes show up as Apple Lossless but i can't put them on my iPod

    i'm getting a 9041 error when trying to convert files to AAC -- any ideas on how to fix it?  the files files in iTunes show up as Apple Lossless but i can't put them on my iPod

    "I have been able to convert to AAC by first converting to AIFF  and then to AAC. This is a pan though."
    this worked for me.
    thanks.

  • I am getting a 404 error when trying to access any search link using google, I can get to a website if I enter the url directly.  I have cleared my history, emptied the cache and reset safari.

    I keep getting a 404 error when trying to access any search link using google, I can get to a website by directly using the URL.  I have cleared history, empited the cache and reset safari.  Any suggestions.

    Right. If you are using delegated privs and sudo, make sure that sudo is configured to pass on the PERL5LIB and ORACLE_HOME environment variables at least.

  • I keep getting an unknown error when trying to connect to the store. I ran diagnostics and it says secure link to itunes store failed.

    I keep getting an unknown error when trying to connect to the store. I ran diagnostics and it says secure link to itunes store failed. I've tried all suggestions from apple and nothing will work.
    Please Help

    I received this email from Apple and this corrected the problem for me...  I only had to reset the iTunes cache
    1) Open iTunes
    2) At the top menu, click File > Preferences (iTunes > Preferences on a Mac)
    3) In the Preferences menu, click the Advanced tab
    4) In the Advanced menu, you should see a button that says "Reset Cache". Please click this button.

  • I get a assertion error when trying to up load adobe lightroom have followed the instruction on the adobe site to fix the problem

    i get a assertion error when trying to up load ,lightroom have follow the instructions on the adobe site and it still does not work
    and ideas on how to fix the problem
    tk
    bigguy1965

    Hi,
    Can you Please provide Configuration of your XP, Win7 Machine [How to post a screenshot in the forum]?
    To check if Windows 7 Service Pack is already installed, follow the below steps:
    Click the Start button , right-click Computer, and then click Properties.
    The basic information about your computer page will open.
    To check if Windows XP Service Pack is already installed, follow the below steps:
    Click the Start button , right-click Computer, and then click Properties.
    Click System and Service Pack Information will be listed
    Please also attach log [Where do I find the Flash Player installation log on Windows?], [How to share a document] and Share the Current Version of Flash Player goto - [https://helpx.adobe.com/flash-player.html] and click on Check Now button, using about method can you place the screenshot.
    Meanwhile you can also try cleaning Application Temporary Data and Try again. [c:/users/username/appdata/local/temp folder - Microsoft Community], Due to some reason the Installer file is getting corrupted which might be blocking Flash Player Installation. After cleanup try using the offline Installer [Installation problems | Flash Player | Windows]
    Thanks
    Piyush

  • What can be done to avoid getting the following error when trying to delete unused clips he operation could not be completed.  *** -[__NSArrayM insertObject:atIndex:]: object cannot be nil

    what can be done to avoid getting the following error when trying to delete unused clips in Imovie 09 "the operation could not be completed.  *** -[__NSArrayM insertObject:atIndex:]: object cannot be nil"  I use to get these type of error messages when trying to delete unsused clips from a large event 60 minutes or longer, but now I get this message when trying to reduce a 4 minute event.
    Also, does anyone know if there is a limit to the total amount of space that can be taken up by Projects in Imovie 09
    Thanks for any help

    Zachy,
    It goes something like this...
    Put your new drive in the enclosure. Use Disk Utility to format it, etc. I'd give it a slightly different name than the original. Let's say you have Old Disk and New Disk as your drive names. Use Carbon Copy Cloner to copy Old Disk to New Disk. Now you should have an exact copy, which you can test by rebooting and holding down the Option key. Choose New Disk from the list and let it boot, make sure all is well.
    Shut down and physically swap the drives. Take Old Disk and put it in the enclosure. Now your system has a new disk with a lot more space and you can reformat your old disk and just use it for large files or whatever.

  • Keep getting sync service error when trying to connect my iphone 5S.

    Keep getting sync service error when trying to connect my iphone 5S. It freezes itunes and I can't do anything else. I see that there is an update for my phone and I need to back up, upload new apps, etc before installing. I plug my phone in and get this error every time. I am using a Win 7 SP1

    Howdy Susie48825,
    It sounds like you are getting an error that mentions the sync services when you connect your phone to your computer and so you cannot sync your device. I would use the troubleshooting from the following article that  mentions an error regardign the sync services named:
    iTunes for Windows: "Unable to load data class" or "Unable to load provider data" sync services alert
    http://support.apple.com/kb/ts2690
    Start with these steps:
    1. Check that iTunes is up-to-date
    Ensure that you have updated to the latest version of iTunes.
    2. Reset Sync History
    Resetting your Sync History is a simple step which may resolve some syncing issues. If this works, iTunes will prompt to Merge or Replace the information on your device when you next attempt to sync. To reset your Sync History:
    Disconnect your device.
    Open iTunes.
    From the Edit menu, choose Preferences.
    Click the Devices tab.
    Click the Reset Sync History button, and then reconnect your device.
    If this resolves the issue, and you know all of your contacts, calendars, bookmarks and notes are on your computer:
    Reset the Sync History again using the steps above.
    Select the device in iTunes and click the Info tab.
    Scroll down to the Advanced section, and under "Replace information on this iPhone/iPad/iPod touch" select Contacts or Calendars.
    Click Apply.
    If the issue persists, and you know all your contacts, calendars, bookmarks and notes are on your iPhone, iPad, or iPod touch:
    Remove all of the contact and calendar information from Outlook.
    Select the device in iTunes and click the Info tab.
    Scroll down to the Advanced section, and under "Replace information on this iPhone/iPad/iPod touch" make sure Contacts and Calendars are not selected.
    Click Apply.
    There are additional steps to use in the article if needed, but these will get you started.
    Thank you for using Apple Support Communities.
    All the very best,
    Sterling

  • Getting a U43M1D204 error when trying to update After Effects and Premiere Pro

    Getting a U43M1D204 error when trying to update After Effects and Premiere Pro. I have tried reinstalling the cloud installer and all of my programs with no luck. HELP!! I need the update because I have no direct link from Speedgrade back to Premiere Pro

    See if the following posting helps: http://forums.adobe.com/message/4629442#4629442

  • Get the following error when trying to sync itunes to Nano itunes could not coppy " Song"  to the ipod because unknown error occurred (-5000).  Any ideas?

    Get the following error when trying to sync itunes to Nano itunes could not coppy " Song"  to the ipod because unknown error occurred (-5000).  Any ideas?

    Try my script FindTracks. Select a few of the missing files to start with then run the script. Choose No at the first prompt so that you can check how it works track by track, then confirm or edit the location of the media folder where your files are. Once you are happy with how it behaves let it process larger numbers of tracks automatically.
    tt2

Maybe you are looking for

  • Playhead In Log & Transfer Viewer Doesn't Stay Where It's Put?

    I've noticed this minor quirk that happens with AVCHD footage in the Log & Transfer window. If I drag the playhead (in the L&T Viewer) and let go to set an In or Out point, the playhead jumps back slightly on most occasions making it impossible to ch

  • String.replaceAll

    String line = "\"\\\"\""; // i.e. "\"" line = line.replaceAll("\\\"", "@"); I've expected the code above to change to but I get Could you please help me to understand why it is happening. P.S. I'd like to use the above technics in order to parse scri

  • Cannot activate password file

    Hello, I need to enable remote login for sysdba / sysoper thus I've created a password file. > orapwd file=orapwd.pwd password=super_secret entries=10The file orapwd.pwd was created successful in $ORACLE_HOME/dbs.Now in SQL*Plus SQL> SELECT VALUE FRO

  • Can't install software upgrade to iTouch with 1.1.4.

    I recently acquired an 16 GB iTouch that already had version 1.1.4, and I purchased the January 1.1.4 software upgrade to get email, etc. I can see the purchase for the upgrade in my account, but it won't install the upgrade to my iTouch because of a

  • Finder Drop Down: Open With: Killing me.

    This is not a major issue but when right-clicking on the Finder, like to send something to the Trash, there is also that Open With option. I guess I have a lot of Applications - major & minor freebies - 'cause now almost every time I get the dreaded