Problem on Creating a Swapfile for adding swap space

Folks,
Hello. I am using Oracle Linux 5.6. At this time, the Linux swap space is 0 KB by using the command:
[root@rac1 /]# grep SwapTotal /proc/meminfo
I need 150MB swap space to install Oracle Database. I create the swap space using the following commands:
Step 1:
[root@rac1 /]# dd if=/dev/zero of=/swapfile bs=1024 count15360 hit enter
Output: 153600 to records in
153600 to records out
157286400 bytes(157MB) copied, 3.3835 seconds, 46.5MB/s.
Step 2:
[root@rac1 /]# mkswap /swapfile hit enter
Output: Command not found.
Step 3:
[root@rac1 /]# swapon /swapfile hit enter
Output: Command not found.
Step 4:
[root@rac1 etc]#vi fstab
Add this line into the file: /swapfile swap swap defaults 0 0
Save and close the file fstab.
Step 5:
Reboot Oracle Linux 5.6 and run this command:
[root@rac1 /]# grep SwapTotal /pro/meminfo
Output: SwapTotal: 0 KB
As you see above, swap space is not added. I think the problem is that the commands "mkswap /swapfile" and "swapon /swapfile" are not executed.
My question is : Do any folk understand how to add the swap space successfully ?

When you execute a program, the command shell will walk through the locations specified by $PATH environment variable in order to find it. The "./" path is the current working directory and should not be in the $PATH environment to make sure applications are run only from locations defined by $PATH and not the current working directory. You can bypass this behavior iif you specify the full absolute path to the program at the command prompt, e.g. cd /sbin, ./mkswap or /sbin/mkswap. Other programs and administration tasks will use Linux utilities located in /sbin without specifying the full path and will not work if /sbin is not part of your PATH environment.
You may have seriously screwed up your system because your root account contains /home/ora11g/bin, which is normally defined by .bash_profile located in the user account's home directory. Before analyzing your login scripts, I suggest you post the output of the following command:
cat /etc/passwd

Similar Messages

  • Problem in creating new versions for existing DIR using CV01N

    I am working in SAP ERP 6.0 EHP 4.0 system.
    I have problem in creating new versions for existing DIR using CV01N
    I create a DIR version 00 with functional location and mpd cycles. Then when i try to create a new version by copying the contents created from already created document.I change the MPD cycles in the new version and save it.
    once when i display the first document created the mpdcycle specified in version 01 is copied to the 00 version.
    The document is inconsistent where versioning of document doesnot work properly wrt MPDCYCLE and MP HEADER.
    The problem which i found was the document identification guid remains the same for all the document versions getting created.
    The same is working fine in SAP ERP6.0 EHP3.0 sytem.
    Please someone help me in resolving the above issue.
    Regards,
    Prasad.B

    There is a change in the standard code.The reason for the above problem was  because of a missing Enhancemnet point in a standard function module 'CV110_DOC_CREATE_WITH_TEMPLATE'.
    IS-ADEC-MPD  - Enhancement to copy MPD data
    ENHANCEMENT-POINT CV110_DOC_CREATE_WTEMPL_01 SPOTS ES_SAPLCV110.
    +*$*$-Start: CV110_DOC_CREATE_WTEMPL_01----------------------------------------------------------$*$*+
    +**ENHANCEMENT 1  ZSF_AD_MPD_SAPLCV110.    "active version**+
    +*** copy MPD relevant data from templ. doc to current doc**+
      +**CALL FUNCTION 'MPD02_COPY_MPD_DATA'**+
        +**EXPORTING**+
          +**is_draw = ls_draw**+
        +**TABLES**+
          +**ct_drad = lt_drad.**+
    +*ENDENHANCEMENT.**$*$-End:   CV110_DOC_CREATE_WTEMPL_01----------------------------------------------------------$*$*+
    Created a custom enhancement point similar to SAP ECC6.0 EHP 3.0 system.
    The reason was the buffer was not getting cleared previously.After inserting the above code the DIR's are getting created withot any issues.
    Regards,
    Prasad.B

  • Bins problem while creating goods receipt for production order.

    Hi All,
              I am facing a problem with selection of bins while creating goods receipt for production order in transaction MB31 and MBBE.
    The order of filling bins is with respect to storage Unit not by document no, Please suggest something.
    The scene is like that.
    The bins are not filled in the proper sequence, the system checks for the empty bins and filled those later on.
    like this,.
    Typ StorageBin  SC SS    Stock Avail.st BUn GR Date    DocumentNo Storage Unit         Time   
    SLoc Batch      Re IA PutawayS Pick qty Cert. No.                                                                               
    VN1 106A088                 0        0  CS  01/25/2010    4739297 1005721391           10:00:59
    100  0001020069            60        0                                                        
    VN1 107B076                 0        0  CS  01/25/2010    4739298 1005721392           10:01:01
    100  0001020069            60        0                                                        
    VN1 108B076                 0        0  CS  01/25/2010    4739299 1005721393           10:01:04
    100  0001020069            60        0                                                        
    VN1 109A077                 0        0  CS  01/25/2010    4739300 1005721394           10:01:06
    100  0001020069            60        0                                                        
    VN1 110B079                 0        0  CS  01/25/2010    4739301 1005721395           10:01:08
    100  0001020069            60        0                                                        
    VN1 106B088                 0        0  CS  01/25/2010    4739302 1005721403           10:01:11
    100  0001020069            60        0                                                        
    VN1 123B158                 0        0  CS  01/25/2010    4739303 1005721389           10:01:13
    100  0001020069            60        0                                                        
    VN1 124A160                 0        0  CS  01/25/2010    4739304 1005721390           10:01:15
    100  0001020069            60        0                                                        
    VN1 118A133                 0        0  CS  01/25/2010    4739305 1005721396           10:01:17
    100  0001020069            60        0                                                        
    VN1 119A128                 0        0  CS  01/25/2010    4739306 1005721397           10:01:20
    100  0001020069            60        0                                                        
    VN1 120B162                 0        0  CS  01/25/2010    4739307 1005721398           10:01:22
    100  0001020069            60        0                                                        
    VN1 121B159                 0        0  CS  01/25/2010    4739308 1005721399           10:01:24
    100  0001020069            60        0                                                        
    VN1 122B159                 0        0  CS  01/25/2010    4739309 1005721400           10:01:26
    100  0001020069            60        0                                                        
    VN1 123B159                 0        0  CS  01/25/2010    4739310 1005721401           10:01:29
    100  0001020069            60        0                                                        
    VN1 124B160                 0        0  CS  01/25/2010    4739311 1005721402           10:01:31
    100  0001020069            60        0                                                        
    Thnks you,
    Anmol.
    Edited by: anmol112 on Jan 25, 2010 10:34 PM

    no replay, clossing threat.

  • Problem in creating new implementation for filter dependent badi

    Hi Experts,
       I want to use badi NOTIF_EVENT_POST.It is a filter dependent badi. It is asking filter type while implementing thro se19. Could anyone pls tel me how to create new implementation for the filter dependent badi. Existing filter type is QMART. is there any problem if i change the filter type?
    Thanks in Advance!

    Hi ,
    NOTIF_EVENT_POST is filter dependent and filter values are based on QMART value in table TQ80. You need to specify the filter value ie : QMART value before implimentation , before that check all active implimentations for the same , if u have to impliment on same filter value , you need to deactivate the one which is implimented on same filter value .
    You are not supposed to change the filter type.
    Regards,
    Vamsi
    Edited by: CH. VAMSHI on Sep 29, 2009 11:58 AM

  • Problem in creating output device for RICOH Aficio MP 2000 PCL 5e printer

    HI,
    i have problem in creating a output device for the RICOH Aficio MP 2000 PCL 5e as i am unable make out which device type should be assigned and what should be given in spool server tab.
    i have pinged the printer in lan and it is connecting.
    when i am giving the print from new ricoh printer its going to some other old printer in network.
    we are unable to get the logo of our company when we are taking print from this printer from sap level.
    kindly suggest what other things has to be taken care.
    regards
    anil

    Hi,
    shall i do in development and then import the same to quality and production.
    also tell me what shd i put in these tabs
    version-sapsripthandling-driver
    list handling-printer driver
    printer character set-character set-syt character set
    we can find this tab in create option of device type.
    when i am trying to save its showing it has to be done on program level.
    kindly reply back as it will resolve the big issue for me.
    thanks
    anil

  • Problem when creating  a tcode for maintainence view

    when i'm trying to create a tcode for maintainence view of table ,i used to fields view name: here i gave the table name;
    update : x
    now when i activated and executed the tocde the screen is showing some abnormal values in the display..this is happening in the development server..can any one help me on this..i can send the screen shot if required..thanks in advance,,
    challa

    hi,
    thank you.
    i have done the same...but here i dont want to skip the intial screen...so i didnt check that box..now comes the problem ..i can see some boxes with 'x' at the end of the paarameters..give me u r mail id i can send u the screen shot..
    thanks,
    challa

  • Problem in creating proxy code for webservices in Myeclipse

    Hi
    I am using MyEclipse 9.1 to create client proxy for Account WSDL v1. I following following steps:
    1. Created a web service project
    2. Copied the WSDL file to WebRoot folder within the MyEclispe
    3. With Right click on the WSDL file, I selected option 'New Web Service Client'
    4. With some options selected, the application started creating proxy client.
    5. During the process, it flashed a message in tool tip format. It is as following
    "WS-I: A problem occured while running the WS-I WSDL conformance check:
    org.eclipse.wst.wsi.internal.analyzer.WSIAnalyzerException: The WS-I
    Test Assertion Document (TAD)document was either not found or could not be
    processed.The WSDLAnalyzer was unable to validate the given WSDL File"
    6. When I proceeded with it, it created all the necessary classes but the proxy class was not created. Hence I could not begin writting my code in it.
    Can someone help me know what went wrong in the entire process?
    Thanks and regards,

    Hi,
       I could not respond to your answer, as I was away from work. I did the same thing as proposed by you.
    I have created the tax code V5 in FTXP. I did not enter any value in any of the rows, as we are using TAXINN.
    then in FV11, I selected gave condition JSRT.
    In column 7th, I entered tax code V5, then gave the value of 12.5% in column 3rd, then I gave in 1st column
    when i press enter or try to save system is giving error message
    The condition record entered already exists
    Now what I did in 1st column I gave from my own just like P1, it is giving message
    Tax ID V5 cannot be checked (there are several/no tax records).
    if i enter, the message disappears and i can save.
    Is it correct?
    say I have different values for the condition JSRT(Service Tax), say 12.5% and 10 %
    How to proceed in this case?
    do I have to make 2 codes say P1 and P2 against V5.
    REGARDS

  • Problem: Cannot create Apple-ID for kids under 13

    Hello!
    I have recurring problem to create an apple-id for my kids.
    At the end of the process i get the follwoing message:
    "Apple-ID kann nicht erstellt werden - Dieser Vorgang kann derzeit nicht abgeschlossen werden."
    in english: "Apple-ID can not be created - The task can not be completed at the moment."
    Any suggestions?

    You could try the solution posted by jsnola here: Re: Family sharing valid payment.

  • How to solve the problem "cannot create a datasink for **(datasource)"

    There is a forums that can send and receive RTP streams, and it can play on the client. Now I want to save it. I write the code according to the jmf2_0-guide, how ever it always throws the exception "cannot create a datasink for **(datasource)". The datasource is the RTP stream received from the server. Is there anything wrong with the data source or anything else?
    here is the code:
    public synchronized void update( ReceiveStreamEvent evt){
    if(evt instanceof NewReceiveStreamEvent){
    try{
    stream = ((NewReceiveStreamEvent)evt).getReceiveStream();
    DataSource ds = stream.getDataSource();
    MediaLocator f = new MediaLocator("file://foo.au");
    Manager.createDataSink(ds, f);
    RTPControl ctl = (RTPControl)ds.getControl("javax.media.rtp.RTPControl");
    if (ctl != null) {
         System.err.println(" - Recevied new RTP stream: " + ctl.getFormat());
         } else {
         System.err.println(" - Recevied new RTP stream");
         if (participant == null) {
         System.err.println(" The sender of this stream had yet to be identified.");
         } else {
         System.err.println(" The stream comes from: " + participant.getCNAME());
         // create a player by passing datasource to the Media Manager
         Player p = javax.media.Manager.createPlayer(ds);
         if (p == null) {
         return;
         p.addControllerListener(this);
         p.realize();
         PlayerWindow pw = new PlayerWindow(p, stream);
         playerWindows.addElement(pw);
         // Notify intialize() that a new stream had arrived.
         synchronized (dataSync) {
         dataReceived = true;
         dataSync.notifyAll();
         } catch (Exception e) {
         System.err.println("NewReceiveStreamEvent exception " + e.getMessage());
         return;
    Does any one know how to solve this problem? How to save or how to create a datasink? Please help! Thank you!!

    The complete error message:
    NewReceiveStreamEvent exception Cannot find a DataSink for: com.sun.media.protocol.rtp.DataSource@4741d6

  • Creating null links for image swap

    I have this problem with Internet Explorer 6 for PC which
    moves the webpage to the top of the browser whenever the swap image
    ref is clicked. It will do this if the link is set to #, if it is
    set to javascript:; then IE wont display the image which I think
    has something to do with preloading. SO, does anyone know another
    null link style I could use. I'm working in Dreamweaver CS3 for
    Mac.

    Show us your code, and I'll show you how to fix it.
    Murray --- ICQ 71997575
    Adobe Community Expert
    (If you *MUST* email me, don't LAUGH when you do so!)
    ==================
    http://www.projectseven.com/go
    - DW FAQs, Tutorials & Resources
    http://www.dwfaq.com - DW FAQs,
    Tutorials & Resources
    ==================
    "danfb08" <[email protected]> wrote in
    message
    news:g95qcq$abv$[email protected]..
    >I have this problem with Internet Explorer 6 for PC which
    moves the webpage
    >to
    > the top of the browser whenever the swap image ref is
    clicked. It will do
    > this
    > if the link is set to #, if it is set to javascript:;
    then IE wont display
    > the
    > image which I think has something to do with preloading.
    SO, does anyone
    > know
    > another null link style I could use. I'm working in
    Dreamweaver CS3 for
    > Mac.
    >

  • Create customised page for adding removing portlets

    Hi All,
    I want to make a customised page which has checkboxes preceeding the portlet name which the user can use for adding/removing portlets . This requirement is similar to the add/remove portlet page provided on my.oracle.com when we go for customization of our page. I would like to know how to go about it and if any reference code exists for the same.
    thanks

    The problem - IF we were the only company using the product - AND this were only an internal portal. That might be acceptable.
    The problem with that is that we are using portal in a way that was not considered by the developers.
    We are using portal to customize (not per department) - but per CLIENT or CUSTOMER. That means - when we implement a site for one of OUR customers. We are not going to be customizing in house per customer. We will be allowing the CUSTOMER to customize their own site (AND their portlets).
    Now - a customer from "ABC Company" does NOT want to customize something and see a whole bunch of generic stuff. They want to see THEIR stuff in "ABC Company" format with their logo etc. Any other way is unacceptable.
    This use case needs to be revisited by the Oracle development team to address this issue if the only option is that we can't customize the page. (I assume that by hunting through the JDK, and looking through code - I might have a chance... but I was hoping for an easier solution).
    -RP

  • Problem in creating a bapi for bom

    hai all,
    i am trying to create a bapi for bom using csap_mat_bom_create, but it am getting sy-subrc value as 1.
    and displaying error message as the function module name itself.
    is there any solution dor it.

    Hello,
    Try to use that bapi :
    BAPI_MATERIAL_BOM_GROUP_CREATE
    Thierry

  • Problem when creating receiver agreement for File to IDOC scenario

    I have done the following :
    1. Created two business systems one for the file system and other for the R3 system and also I created two communication channel, one as sender communication channel and one as receiver communication channel.
    2. Created the receiver determination
    3. Created the interface determination
    4. Created the sender agrement
    5. Now when I was trying to create the receiver agreement I want to assign the receiver communication channel i have created to the receiver agreement but the F4 help gives me no records and I am thus stuck at this point.
    Please suggest me how to proceed forward from here.

    Hi ,
    <i>5. Now when I was trying to create the receiver agreement I want to assign the receiver communication channel i have created to the receiver agreement but the F4 help gives me no records and I am thus stuck at this point.</i>
    Make sure that your created communication channel for reciever is under the respective reciever business system and give the same while creating the reciver agrement.
    sekhar

  • Problem while creating transaction variant for transaction KCH1.

    Hi All,
    I am trying to create transaction variant for KCH1 transaction code.
    I am able to deactivate standard navigation options Change, Copy, Delete for the menu called "Group" in the main screen.
    But I am unable to disable the standard navigation options for the menu u201CGroupu201D in the second screen where we enter possible profit center values in hierarchal structure.  I want to deactivate u201COther Groupu201D , u201CChangeu201D and u201CCopyu201D In the hierarchy screen.
    Please advice.
    Thanks & Regards,
    Padmasri

    Hi,
    As I have already mentioned in my previous message, I am able to deactivate standard menu options by using Menu functions for Main screen where we provide Profit center group value which needs to be created. For this screen I have passed GUID START_CO and was able to deactivate required options. But for the Hirarchial screen, I am unable to deactivate some of the menu options. In menu functions I have passed LIST_01(GUID for the screen) and deactivated the options but was not reflecting which testing the transaction variant.
    Anyone please let me know if transaction variant work for my scenario. If no please suggest a solution.
    Thanks & Regards,
    Pratima

  • Facing problem in creating a domain for osb10.3.1

    Hi All,
    I have installed osb10.3.1. Now I want to create a domain for osb10.3.1. In the steps of creating domain we have to provide the database details for configuring the jdbc datasources. I am not understanding which username and password should be given here. Do we need to create any schema for osb10.3.1 through rcu prior to creating the domain?
    Thanks in Advance

    Hi Again,
    Oops my mistake :) You can follow the below link for Oracle Service Bus 10g Release 3
    http://docs.oracle.com/cd/E1315901/osb/docs10gr3/_
    For Specific Oracle Service Bus Domain Creation,The below link would be helpful
    http://docs.oracle.com/cd/E1284001/common/docs103/confgwiz/newdom-alsb.html#wp1080587_
    Regards
    Fabian

Maybe you are looking for

  • Problem playing back canvas on external monitor

    I am using Final cut express HD When I play my final sequence (the one shown on the right hand screen of a standard layout, the canvas). All i get from my external TV is the audio, i cant get any picture. However if i then play a clip on the viewer (

  • Updating tables in Cloned Database

    I have a cloned of my production database on another server, let say server 2. I will like to, on a weekly basics copy update made to all tables on the production database on server 1 to this cloned database on server 2. What is the best way I can go

  • No Refresh from my app

    i tested my application with some data and it worked. Now i have cleaned up all the data in the database. But my app still shows my previous data in the reports and stuff . How do i get html db to refresh

  • Weblogic embedded ldap

    can someone please confirm - can the embedded ldap server within weblogic handle password policies like min length, max expiry etc... I can't believe that it can't do things like this which seem fundamental to any security set-up. If it doesn't can a

  • Tip for PrP editors cutting Red

    Red Cine-X Pro is great for one lights and more. PrP users benefit by not needing to CC Red clips while cutting, which reduces need for lots of horsepower. Its so good "Storm" made by The Foundry (a competing product) has been discontinued. And its F