Export for system copy fails - Error 9 (Bad file number)

Hello all,
I am attempting to perform the export phase for a hetergenous system copy on our BI system (BI 7.0 - NW2004s).  This system runs on HP-UX 11.11 using Oracle  10.2.0.2 and will be migrated to Windows Server 2003 and MS SQL Server 2005, once the export is complete.
While running sapinst to export the data from the source system, there are several input dialog screens that are skipped, which means I am not able to enter all the paramters used for the export.  After seeing this behavior from sapinst, I reviewed the sapinst.log and sapinst_dev.log files and find the warning/error "System call failed. Error 9 (Bad file number)".  I have included a portion of these files below.
I have reviewed notes 546006 and 583861, but these seem to refer to an Oracle error ORA-27121, but I am not receiving any Oracle errors in sapinst.log or the Oracle alert log.  I have looked for possible permission or ownership problems with any of the SAP or Oracle files, but have not found any that were incorrect.  Also, these errors do not specify which file sapinst is having problems with, so I do not have  a specific file or area to check.
If anyone has seen something similar to this and has any suggestions, I would greatly appreciate any help.
sapinst.log details:
INFO 2009-02-14 15:15:51.67
Execute step collect of component |NW_Export|ind|ind|ind|ind|0|0|NW_GetSidFromProfiles|ind|ind|ind|ind|1|0|NW_readProfileDir|ind|ind
|ind|ind|0|0
INFO 2009-02-14 15:15:52.737
Account bwpadm already exists.
WARNING 2009-02-14 15:15:52.747
System call failed. Error 9 (Bad file number) in execution of system call 'getgrent' with parameter (), line (292) in file (syuxcuse
r.cpp).
INFO 2009-02-14 15:15:52.757
Account 0 already exists.
WARNING 2009-02-14 15:15:52.777
System call failed. Error 9 (Bad file number) in execution of system call 'getgrent' with parameter (), line (292) in file (syuxcuse
r.cpp).
INFO 2009-02-14 15:15:52.777
Account 200 already exists.
WARNING 2009-02-14 15:15:52.827
System call failed. Error 9 (Bad file number) in execution of system call 'getgrent' with parameter (), line (292) in file (syuxcuse
r.cpp).
INFO 2009-02-14 15:16:04.937
Creating file /tmp/sapinst_instdir/NW04S/LM/COPY/ORA/EXP/CENTRAL/AS/EXP/ypcat.log.
INFO 2009-02-14 15:16:05.007
Output of ypcat passwd.byname is written to the logfile ypcat.log.
sapinst_dev.log details:
TRACE      2009-02-14 15:15:52.737
2009-02-14 15:15:52.743 NW._getSAPMount() done: /sapmnt
INFO       2009-02-14 15:15:52.737 [syuxcaccmg.cpp:227]
           bool CSyAccountMgtImpl::isExisting(ISyAccountMgt::eAccountType accountType, iastring sName)
Account bwpadm already exists.
TRACE      2009-02-14 15:15:52.747 [syuxcuser.cpp:1943]
           CSyUserImpl_getOsInfos(ILogBook *m_logBook, iastring sName, iastring sID, tSyUserInfo& msUserinfo)
getspnam(bwpadm) returned NULL.
WARNING    2009-02-14 15:15:52.747 [syxxsyshlp.cpp:78]
           syslib::printOSError(const iastring &, int, DWORD, const iastring &, CMessage::eLogMessage)
System call failed. Error 9 (Bad file number) in execution of system call 'getgrent' with parameter (), line (292) in file (syuxcuse
r.cpp).
Regards,
Rusty Robbins

Hello Peter,
Thanks for the reply. I did confirm the points you made, and have the details below.
1. check filesystem, if you have enough space, especially /tmp
All filesystems have available space, and /tmp has 310 MB available, before the start of sapinst.
2. check again alert log, trace log for Oracle,
I could not find any errors in the alert_SID.log or any unusual trace files.
3. How did you run sapinst? Are you using "root" account.
I am running sapinst as user root and I am following all the recomendations in the system copy guide (at least as far as I can tell.  ;p )
We have four BI systems in this landscape, and the other three have migrated successfully.  The procedure I am using, is the same as for the other 3 systems and uses the same SAP media directory that was used on the other systems.
One other item that may be part of my problem here, is that this system is the production system, and was originally installed as a high-availability system, using HP-UX Service Guard for clustering.  Currently, this system does not have fail-over enabled, but of course the cluster is still intact.  One required piece of the Service Guard enviornment is the use of a virtual hostname.  This seems to resolve successfully by sapinst, as I see the correct (virtual) hostname referenced several times.  While this is a clustered system (for fail-over purposes), the CI and DB are installed on the same host.  So it is not a distributed system, and if failover had been initiated, it would fail both the CI and DB instance, which is the same and only SAP instance.
This did raise one question in my mind, however.  I am attempting to extract this using the following menu path within sapinst.
SAP NetWeaver 7.0 Support Release 3  --> Software Life-Cycle Options --> System Copy --> Oracle --> Source System Export --> Central System --> Based on AS ABAP and AS Java
Since this does use Service Guard, but is not a distributed system, should I be using a different path in the sapinst tree, for the export?  I have only performed a migration using the above path, so I am not familar with the detailf of the other types, such as High-Availabitly or Distributed-System.
Regards,
Rusty

Similar Messages

  • Ifconfig pcelx0 plumb fails with Bad file number error

    Hi,
    I installed solaris 8 (x86) on a Toshiba Tecra 8000.
    The Tecra uses Neomagic NM2200 chipset for it's display.
    Even though it is not supported by the Sun Drivers, getting xfree86 for sun fixed the display problem for me.
    Now according to the various sources that guided me in this task seemed to point at a few things that I had to do in order to make the Tecra work okay with Solaris 8 :
    1)Change the PCMCIA mode in the BIOS from automatic to PCIC mode
    2)Make sure that there were no IRQ conflicts on the system.
    3)Install the OS.
    Once the OS was installed, I ran prtconf -D and saw that the network instance #0 pcelx0 was showing up under pcic.
    I did not have to install the xig init-pcic patch.
    But it did not create an entry in /devices or /dev (as a link) with the error
    "pcelx0 requested IRQ failed 6".
    Also, I suppose that is the reason why when pcelx0 is plumbed, it comes out with the error message:
    ifconfig pcelx0 plumb : "bad file number"
    Any help will be greatly appreciated.
    Thanks,
    Dwai.

    Thanks Alex,
    I found out -
    ifconfig adapter plumb will fail with Bad File number error when the device file that is being referred to is missing.
    I checked and found that the pcelx link is not being made in the /dev directory and the file not created in /devices.
    I also found that when /reconfigure is run, it tries to create the device for pcelx but fails with this eror message:
    pcelx : RequestIRQ fail 6
    I am assuming that there is some IRQ conflict with some other device.
    Thanks,
    Dwai.

  • How to export for System Copy

    I know I can import the database using system copy in sapinst but can someone please explain how do I export the existing database so that I can import it.

    Hello Rajesh,
    the same way as you do an import.
    In the sapinst menu is a point for exporting the database.. that is what you are searching for.
    Regards
    Stefan

  • Error while running sapinst for system copy

    Hi all,
    For system copy activity of our ECC 6 system, we ran sapinst to take data export but it is not getting started and giving error "Login in process error -
    An attempt to write to socket 1684 failed; reason: This application has requested the runtime to terminate it in an unusual way."
    Any idea how to fix this !!!!!!
    Thanks & Regards,
    Pavan I

    Hi,
    Here is my opinion on this error, please try this out if you have downtime on your ECC system.
    1. Reboot your windows system and then try exporting your DB.
    2. Alternatively bring down your SAP system and DB and then try running the export and see whether it is moving fine.
    Keep us posted with your feedback which will help to provide you with any other additional troubleshooting points.
    Best Regards,
    Vasanth G

  • Getting an error while configuring VMM for System Center 2012. error - An internal error has occurred trying to contact an agent on the WIN-NTJU8CNU server: : . Ensure the agent is installed and running.

    Hi,
    I am trying to install "System Center 2012 - Virtual Machine Manager by Using a Pre-Configured VHD".
    I downloaded install guide & the binaries from http://www.microsoft.com/en-us/download/details.aspx?displaylang=en&id=10712
    I have followed the installation document & getting an error while configuring VMM for System Center 2012.
    error details from log file given below:
    01:12:24:VMMPostinstallProcessor threw an exception: Threw Exception.Type: Microsoft.Carmine.WSManWrappers.WSManProviderException, Exception.Message: An internal error has occurred trying to contact an agent on the WIN-NTJTNEJ1UCN.mydomain.com server: : .
    Ensure the agent is installed and running. Ensure the WS-Management service is installed and running, then restart the agent.
    01:12:24:StackTrace:   at Microsoft.Carmine.WSManWrappers.ErrorContextParameterHelper.ThrowTranslatedCarmineException(WsmanSoapFault fault, COMException ce)
       at Microsoft.Carmine.WSManWrappers.WsmanAPIWrapper.RetrieveUnderlyingWMIErrorAndThrow(SessionCacheElement sessionElement, COMException ce)
       at Microsoft.Carmine.WSManWrappers.WsmanAPIWrapper.Invoke(String actionUri, WSManUri targetUri, Hashtable parameters, Type returnType, Boolean isCarmineMethod, Boolean forceResponseCast)
       at Microsoft.Carmine.WSManWrappers.AgentManagement.AssociateLibrary(WsmanAPIWrapper wsmanObject, String CertificateSubjectName, String& ExportedCertificate, ErrorInfo& ErrorInfo)
       at Microsoft.VirtualManager.Setup.VirtualMachineManagerHelpers.AssociateAgentServer(String fullyQualifiedServerName)
       at Microsoft.VirtualManager.Setup.VirtualMachineManagerHelpers.AssociateDefaultLibraryServer()
       at Microsoft.VirtualManager.Setup.VirtualMachineManagerHelpers.SetupLibraryShare()
       at Microsoft.VirtualManager.Setup.InstallItemCustomDelegates.PangaeaServerPostinstallProcessor()
    01:12:24:InnerException.Type: System.Runtime.InteropServices.COMException, InnerException.Message: There is a time and/or date difference between the client and server.
    01:12:24:InnerException.StackTrace:   at WSManAutomation.IWSManSession.Invoke(String actionUri, Object resourceUri, String parameters, Int32 flags)
       at Microsoft.Carmine.WSManWrappers.MyIWSManSession.Invoke(String actionUri, Object resourceUri, String parameters, Int32 flags)
       at Microsoft.Carmine.WSManWrappers.WsmanAPIWrapper.Invoke(String actionUri, WSManUri targetUri, Hashtable parameters, Type returnType, Boolean isCarmineMethod, Boolean forceResponseCast)
    01:12:24:ProcessInstalls: Running the PostProcessDelegate returned false.
    01:12:24:ProcessInstalls: Running the PostProcessDelegate for PangaeaServer failed.... This is a fatal item.  Setting rollback.
    01:12:24:SetProgressScreen: FinishMinorStep.
    01:12:24:ProcessInstalls: Rollback is set and we are not doing an uninstall so we will stop processing installs
    I have completed MSSQL server configuration and while configuring VMM the below error displayed in the wizard:
    An internal error has occurred trying to contact an agent on the WIN-NTJTNEJ1UCN.mydomain.com server: : .
    Ensure the agent is installed and running. Ensure the WS-Management service is installed and running, then restart the agent.
    I have checked that the following services are running:
    1) Verified WS-Management srvice 2) MSSQL server + MSSQL (agent)  3)SC VM Manager Agent  4)  Windows management instrumentation .
    I have joined the VM (on which installing SC VMM) in a domain(as per install guide) and installing VMM using domain account & it is in local Administrators group.
    Also I would like know if there is any stand alone SC VMM installer. If yes then please let me know the installer location & install guide.
    thanks.
    ====

    Have you installed AppController on the same machine with VMM?

  • [SOLVED] gpgme error: Bad file descriptor

    I tried to install a new system today. I chrooted into it and wanted to install some packages, but all I got was this error instead:
    error: GPGME Error: bad file descriptor
    error: <package>: missing required signature
    And that for each and every single package...
    I ran pacman-key --init and --populate, set SigLevel to Optional in pacman.conf, did pacman -Syu and all you want, still got the same error.
    Last edited by DeatzoSeol (2012-06-17 22:55:10)

    ... which I have. Still the same.
    OMG! I re-checked and found out there's no procfs in my chroot. Damn me it works now... what did I learn today? double-check your chroot.
    Thanks
    Last edited by DeatzoSeol (2012-06-17 22:55:46)

  • DNG conversion 6.6 works on my XP system, but fails to see files on my Vista OS.

    DNG conversion 6.6 works on my XP system, but fails to see files on my Vista OS. Same goes for older versions of DNG.  I use the same setup of security on both systems.
    Can anyone help?

    Run an Apple Hardware test.  That may provide a clue:
    http://support.apple.com/en-us/HT201257
    Note that an error free AHT is not definitive.
    If you have all of your data backed up or an external clone HDD, I would try erasing the internal HDD,  reinstalling the OSX and then upgrading the software to 10.6.8.
    Ciao.

  • Transport for System Copy from RSA1 in BW 3.5

    Hi Guys,
    I am not able to create transport for Source system objects for system copy in RSA1.
    I have copied the production system(BWP) to sandbox(BWQ) and want to connect to same source system.
    According to note 886102 when creating transport for Source system objects I am getting following error.
    You cannot use request BWQK900020
    Object ISIP ZPAK_5FKMUFOSQPPRNYYDZV1U6A7W0 could not be saved to order
    BWQK900020
    This is stand alone system but for transports I have created virtual system. Before creating virtual system I am able to create transports. But now after creating virtual systems I am not able to get pass above errors.
    Any help would be appreciated also with points.
    regards,
    Santosh

    Hi,
    Check the notes 140276 and 325470 to chart out a plan of action.
    BR/
    Mathew.

  • Unable to prepare project for publishing the project could not be prepared for publishing because an error occurred. (file already open with write permission)

    Get this message when I try to publish my iMovie project.  "unable to prepare project for publishing the project could not be prepared for publishing because an error occurred. (file already open with write permission)"

    See the discussion here:
    https://discussions.apple.com/message/16784714#16784714

  • Save for system Copy grouping how we can use

    Hi,
    In transporting objects for grouping the collected objects (necesaary,iefore,after and befroe ,after i am ok with those) i do not know waht is the use save for system Copy can anybody expalin what it is and how it is useful when collecting the objects.
    Thanks & Regards
    sathish

    Hi,
    Before transport the objects, you must set the source system connections, we won't trasport source systems, but I need to tell to my system if I release and Transport the request then where it shoud go and which source system/target system like this , you can check in RSA1>Tools>Assignements of source system.
    I'm not getting
    what is the difference between for coping and before after collecting please i want some clarification
    Thanks
    Reddy

  • Re: Bad File Number Closing.....

    Just a thought-
    Is this Windows? Make sure you have a large enough "FILES"
    parameter in your CONFIG.SYS, etc. I seem to recall problems similar
    to what you describe when we didn't have it high enough.
    Make sure to re-boot after changing the "FILES" parameter..
    Also, if you encounter or generate exceptions, be very careful to
    catch them and close open files! Otherwise in the course of testing your
    application you will slowly use up the available file handles and get
    problems more often. Quitting the application (in the
    Development Workshop) does not free the handles --
    Quitting Forte completely does.
    Hope this helps.
    -Greg
    To: forte-users <[email protected]>
    From: Michael George <[email protected]>
    Date: 8 Nov 96 14:59:43
    Subject: Bad File Number Closing.....
    Reply-to: Michael George <[email protected]>
    Has anyone ever encountered the Bad File Number error when closing a file
    object. This is a random error that is causing us major grief. We can run our
    application 6 or 7 times before we eventually receive the bad file number error
    when executing the "close" method. Incidentally, this same error occurs when
    you import a new project into your workspace, and then try to import the exact
    same project again (overwriting the first one).
    We tried using the "Flush" method before closing, we also tried deleting the
    text file after we closed it each time. But nothing seems to be helping. Any
    help would be appreciated.
    Greg Nyberg, Senior Consultant
    Born Information Services Group
    Phone: (612) 404-4217 Fax: (612) 404-4440
    ------------------------------------------------------

    Thanks for your prompt answers.
    Are your two processes on two different hosts accessing a common NFS file system? If so, all bets are off.We have processes from multiple (hundreds in fact) boxes accessing common NFS system. With a careful design of one process accessing BDB at a time, we have pretty good success. Millions of BDB GET/PUT per day are succeeding just fine. Occasionally we see this bad file number error in different scenario of GET/PUT/CLOSE.
    Came up on the following article in a google search which indicates that a JDK bug may be causing this behavior.
    http://256.com/gray/docs/misc/java_bad_file_descriptor_close_bug.shtml
    We are running 1.5.0_11-b03 currently. We will try to upgrade the JDK and see if the problem goes away. Upgrading is a slow process though.
    The cleaner is the only thing that deletes a log file so it must be running somehow.We are explicitly disabling cleaner by setting e.env.runCleaner to false. Let me know, if the cleaner can still run somehow.
    Does closing the environment in all threads of the process that receives the exception and then reopening the environment clear the problem? Note that unless you do Environment.close() on all Environment handles, the Environment will not get truly closed. In cases when GET and CLOSE fail because of "Bad File Number", things are recoverable. When PUT fails because of "Bad File Number", we are loosing user data which is bad.

  • Solaris boot images fail with bad magic number

    hi guys, have had Solaris on boxes for allmost 10 years. I have never installed sol10, and I have a problem
    1. I download the zip file, then use winrar to unzip them..
    2. burt the image with nero 7
    when my SunBlade 1000 comes up I do the Stop-A, and from the Ok promt
    I do boot cdrom
    this fails with "bad magic number" I have redown loaded it and reburnt it with nero reinstalled
    and also changed out the DVD on SunBlade
    3 I found a copy of Solaris 8 and the I got back a 'bitch' where is Solaris 9 so, most likely the drive is OK
    HELP
    Cris Harrison

    Hello Cris,
    unfortunately I don't understand your last sentence !
    I found a copy of Solaris 8 and the I got back a '*****' where is Solaris 9 so, most likely the drive is OK
    If this was a Solaris 8 (7/01 or later) DVD that did successfully boot, your DVD drive firmware (assuming that this is the Sun Toshiba SD-M1401) is up-to-date. If the DVD drive has firmware 1007, an update to 1009 is required to boot from DVD. otherwise you won't be able to boot from DVD (boot from CD works and a DVD can be automounted/mounted).
    Partial output of probe-scsi
    Before update:
    Unit 0 Removable Read Only device TOSHIBA DVD-ROM SD-M14011007
    After update:
    Unit 0 Removable Read Only device TOSHIBA DVD-ROM SD-M14011009
    [*Patch 111649-04 - Toshiba DVD 1401 firmware update*|http://sunsolve.sun.com/search/advsearch.do?collection=PATCH&type=collections&queryKey5=111649&toDocument=yes]
    when my SunBlade 1000 comes up I do the Stop-A, and from the Ok promt ...
    Instead of trying to directly boot, disable auto-boot and retry after a clean power-on.
    Break with Stop-A
    setenv auto-boot? false
    reset-all
    boot cdrom
    Michael

  • IOException :Bad file number

    Hi All
    I have written a program which writes into the file and reads from the file.
    I encounter bad file number error whenever I create new jar and replace it with old one.
    Actually file handle writes into the file correctly initially but after 5-6 operations I get bad file number error.
    Whenever I get this error then I close my application and start it again.after that I never face any issue.
    I am using solaris 9 OS and jdk1.6.
    I am using FileOutputStream to write into the File.
    Please let me know If you need more info?

    In my case, this exception was due to a defect in some timeout code I'd written. I didn't want to wait forever for the command to complete, so after an appropriate amount of time, the code would destroy the process. That invalidated the data streams however, causing the bad file number exception in the reader threads.
    So you may look for ways in which the executed process might be getting destroyed.

  • Bad file number - comes when i upload the file

    While i tried to upload the file more 300 kb (any file type)to 2 apache server using nfsmount (nfsmnt-apache 1 and nfsmnt2 -apache 2) through weblogic 9.2 (it is running in linux), i got the following exception, but less 200kb file i can upload the file (any type) to both apache server.
    java.io.IOException: Bad file number at java.io.FileInputStream.readBytes(Native Method) at java.io.FileInputStream.read(FileInputStream.java:177) at
    anybody known this prob, pls help me

    Suggestion: read [the documentation|http://commons.apache.org/fileupload/using.html] for it.
    By default it will store files in memory up to about 10k. Larger than that will be written to disk.
    If you are really worried about memory, perhaps you should take a look at the [streaming API|http://commons.apache.org/fileupload/streaming.html]
    How large are the files being uploaded?
    How many users are we talking about?

  • Exception clearing file manager: java.io.IOException: Bad file number

    I see the following exception when closing the environment. Not reproducible easily, happens only with production user's data occasionally. Any ideas on what causes this and what can be done to resolve it?
    com.sleepycat.je.RunRecoveryException: (JE 3.2.74)
    Exception clearing file manager: java.io.IOException: Bad file number
    at com.sleepycat.je.dbi.EnvironmentImpl.doClose(EnvironmentImpl.java:1123)
    at com.sleepycat.je.dbi.EnvironmentImpl.close(EnvironmentImpl.java:995)
    at com.sleepycat.je.Environment.close(Environment.java:322)

    Thanks for the pointers.
    We are running on Solaris.
    I located a narrow window in our code where another thread from the same process was permitted to close the environment when a close is already in progress. Will plug that window.

Maybe you are looking for

  • Can't get AirPort Express working with TIOD on iPad

    Hi All, I realise this is not the support forum for TIOD, but not having been able to find such a thing or a response from their Facebook page, I'm asking here in the hope that someone else has encountered and overcome this issue. I'm trying to conne

  • Edit Report option freezes and Formatting vanishes in EPM Excel 10.0

    Hi, While creating a report in EPM 10.0 which i have selected as 'Use as Input form', i created Active X buttons and did dynamic formatting as well. All seems to be fine but as i Close and Reopen, or i Refresh the template, formatting vanishes and Ed

  • Progress bar in ADF

    Hi, I am trying to use a progress bar in a web page. After a user enters his log in details, the progress bar should display the status of the page being loaded. Can anyone help me in implementing this using ADF progress bar component? Thanks in adva

  • Table maintenance for HRUS_D2 missing in SRM 7.0

    Hi All, The table maintenance for HRUS_D2 is missing in SRM 7.0. Is there any other  other way of maintaining substitue on a large scale  by an administrator. i know we can assign substitute form portal , but initially we want some substitute set in

  • Proximity Sensor issue worse after the update

    I have the iphone 4 exchanged once and after seting the new one ( not from old back up) everithing seemed to be fine not perfect but fine ( 1 out of 10 calls would be an issue) but now after the update every call is an issue again ( pressing buttons