How to update locate database?

Hi Folks,
Loving arch so far... but struggling to get the locate Db to update.
The docs in the wiki suggest locate -u but this is failing with:
locate: invalid option -- u
It's also not working the same way as on Darwin / RH,
Thanks,
Steve

Hey Steve,
Have you tried "sudo updatedb".  If you're not using sudo you might have to go in as root user.
Good luck!
-y0sh3

Similar Messages

  • How to update Location numbers of customers using BAPI_CUSTOMERCRM_CHANGE

    Hi everyone,
    I would like to ask how to update location numbers 1 and 2 and check digit using this bapi,
    BAPI_CUSTOMERCRM_CHANGE and what are the significance of the following parameters.
    CALL FUNCTION 'BAPI_CUSTOMERCRM_CHANGE'
      EXPORTING
        I_UPLOAD_ID             =
        I_DESTIN                =
        I_SFA_REL               =
        I_KEYWORD_IN            =
        I_CUSTOMER              =
        I_ADDRESS               =
        I_ADRCHANGE             =
        I_SALESORG              =
        I_TAXDATA               =
      I_BANKCHANGE            =
        I_TRANS_MODE            =
      I_ORIGIN                =
      I_CUSTCHANGE            =
      I_SALESCHANGE           =
    IMPORTING
      E_STATUS                =
      TABLES
        TI_STDTEL               =
        TI_STDFAX               =
        TI_STDTTX               =
        TI_STDTLX               =
        TI_STDMAIL              =
      TI_BANK                 =
      TI_LOADING_POINTS       =
        TI_ROLES                =
      TI_BANKCHANGE           =
      TI_ROLECHANGE           =
        TI_EXTENSION            =
        TI_SFA_KEYS             =
    Thanks for helping!
    Regards
    Jay Ags
    Moderator Message: Welcome to SCN. But please search for SAP Documentation and/or sample codes.
    Edited by: kishan P on Apr 6, 2011 12:09 PM

    I was facing the exact same issue and just figured out the solution: the issuing storage location is only accepted if the supplying plant is passed at the same time (in the header structure). That solved the issue for me!

  • Error when update "locate" database

    I'm running a Lion system (10.7.3) that was upgraded from Snow Leopard. I want to update the "locate" database. I tried what is prescribed everywehre I've searched on line:
    sudo /usr/libexec/locate.updatedb
    That gives errors:
    shell-init: error retrieving current directory: getcwd: cannot access parent directories: Permission denied
    shell-init: error retrieving current directory: getcwd: cannot access parent directories: Permission denied
    shell-init: error retrieving current directory: getcwd: cannot access parent directories: Permission denied
    find: .: Permission denied
    What's wrong and how does one fix this?
    Note that now, whenever I try to use locate, I get no output; before I ran the locate.updatedb command, locate had been working as expected.

    What was suggested above didn't work for me.. typing "sudo" just gives me the help content, while "su" tells me "su: Sorry". Conversely "su -MYUSER" worked.
    However, this single command DID work for me (clearly, I am an admin user):
    sudo -u MYUSER /usr/libexec/locate.updatedb
    OSX: 10.8.3, Build 12D78 (semi-fresh OSX install)

  • Very Urgent.......How to update the database values through OAF pages ??

    Hi All,
    I am developeing some self service application thru Oracle Application Framework(OAF). There I am fetching 5 attributes from the database and displaying those attributes in my main page Table Region. Now my requirement is i want to edit that exising values & again i want to store it in the databse while clicking the update button. so first i have created one VO for fetching the values from the database & i make one Table Region in my main page along with 5 MessageTextInput field.. & i mapped that VO's attributes to my textbox.Now i can able to fetch & display the values inside the text box while rendering the page.
    But I dont know how to update the values in the database. Caz in my VO I have only select query. So anyone plz send me the code for update. And also plz let me know where to insert that code..whether (CO or AM or EO)..it is very urgent.
    Thanks
    srini

    David,
    Note that the default JavaBean datacontrol does not allow create/remove and transaction operations. These apis are not implemented for the JavaBean datacontrol.
    You may re-initialize the rowsetiterator, by calling ((oracle.adf.model.generic.DCRowSetIteratorImpl)iteratorBinding.getRowSetIterator()).clearCurrentData().
    This will force the RSI to refresh it's data via the named-accessor again.

  • How to update a database from an MS Excel

    Hi,
    I'm developing an application that would let the user view and edit the data from the database through Excel. My problem is, I need to update the database after the data was modified from MS Excel that doesn't need manual intervention.
    Thanks,
    mangyan

    At the risk of encouraging newbies to ask Microsoft specific questions on this Sun site...... the arch-enemy of Microsoft.....
    You can write a VB Macro to execute when the user clicks a button / control on the spreadsheet to say "Commit to database".
    Or maybe ask the user just before they close the database.
    VB has various database methods, like OpenDatabase.
    See examples in the Macro editor.
    Or if you want to give yourself an ounce of self respect, you could write a JSP application to input the values, and update a database via JDBC.
    regards,
    Owen

  • How to update two database tables as the same Usernamethats logged in?

    I have created 2 separate database tables in PHP/MySQL that I want to store user information in. The first user table I made the fields: id, username, password. The second table I made the fields: id, firstname, lastname, address, phone.
    I want to make an update record page that is restricted by username and password that will update both table1 and table 2 from my MySQL database.
    I have created a registration page, a login page and a restricted page for when the user signs in. On the restricted page I want to update the users information.
    I have tried a few things and I can get the table that has the username field to update, I just can't get the second table to update with the first table.

    Hmm.
    Not sure where your going with the <select> menu.
    The description you made:
    "Both have an id column, which is presumably the record's primary key, but you need to create a relationship by storing the primary key of one table as a foreign key in the child (related) table. For example, you should insert the primary key of the first table in the second table as user_id. That enables you to identify which username and password are related to an individual listed in the second table"
    Seems to be the direction that I'm looking for.
    Now my question is how do I insert the primary key of the first table in the second table as user_id?
    >
    >"For example, you should insert the primary key of the first table in the second table as user_id"
    Since both tables have an id column and they both are the primary key, do I just change the name of the second tables id column to "user_id" then?
    Or is there an actual "insert the primary key to another table" function that I don't know about?

  • How to update two database tables when using DatabaseProvider

    I'm a begginer and I've made an application which uses a database. In one page, I have a table which I've took it from "woodstock basic" palette. I was using DatabaseProvider to populate the table with data from a database table called "copii". My code is:
    //i'm check all the rows in the table to see if the field "IDCOPIIC" =0 and if true I will put the value of "newCopiiId"
    do {
    if (copiiDataProvider.getValue("IDCOPIIC").equals
    (new Long(0))) {
    copiiDataProvider.setValue("IDCOPIIC", new Long(newCopiiId));
    newCopiiId++;
    } while (copiiDataProvider.cursorNext());
    copiiDataProvider.commitChanges();
    My problem comes now because I have another database table tided with a foreign key by this one and I want to update this one too when I'm updating the "copii" table. I don't know how to do it ...I've tried in many ways but is impossible. Can anyone help me ! I'm desperate...I cannot figure it out how I could insert, update in two tables in the same time when I'm using DataProvider .
    Thanks in advance!

    Hmm.
    Not sure where your going with the <select> menu.
    The description you made:
    "Both have an id column, which is presumably the record's primary key, but you need to create a relationship by storing the primary key of one table as a foreign key in the child (related) table. For example, you should insert the primary key of the first table in the second table as user_id. That enables you to identify which username and password are related to an individual listed in the second table"
    Seems to be the direction that I'm looking for.
    Now my question is how do I insert the primary key of the first table in the second table as user_id?
    >
    >"For example, you should insert the primary key of the first table in the second table as user_id"
    Since both tables have an id column and they both are the primary key, do I just change the name of the second tables id column to "user_id" then?
    Or is there an actual "insert the primary key to another table" function that I don't know about?

  • How to update Locator & lot_control having transaction exists

    Dear,
    We have to set item on lot_control & locator control base while these item has alread balance exists in transaction table like quantity in hand, now could you please advice how could it possiable to update flag without removing qty or balance.
    Thanks

    Hi Suresh
      this is actual requirement
    in the CAT2.
    1. Add a new column for WBS description and derive the value as per the FS
    2. Retrieve project number and description and update in the column specified
    3. When a service order is selected it should do the same for 2.
    4. Finally repeat for the worklist view (which is the section above)
       here i am able to display values at data entry area
    for service order and network but not worklist area ?
        updation is not coming, can u plz go throw it..
    Thanks
    Chinna

  • How to update the database table using webdynpro??

    Hi,
    Can anybody helm me in updating database table....by entering the values on the output screen of webdynpro component??should i use any commit statement in function module ,which i used to update.

    hi martina....
    consider you are having two input fields bound to attr1 and attr2.
    now after pressing the save button:
    just read teh two attributes to field1, field2 using code wizard. then
    <db name>-<fieldname1> = <field1>.
    <db name>-<fieldname2> = <field2>.
    insert <dbname>.
    ---regards,
       alex b justin

  • How to update SQL Database with totals from Crystal Report

    Hello,
    I am converting a Crystal Report done using CR 11 and VB6 to VB.Net and Visual Studio 2010.  The report is now working fairly well but there is 1 last thing to figure out.  In the vb6 version there was a report footer event that I used to update the report totals to a record in a database table. 
    It appears that in the .net version we have less events to allow outside processing to occure when a report is produced. Looking thru the available events I don't see a way to do this. Would some be so kind as to suggest a way this might be accomplished?
    Thanks,
    Vic

    Only thing I can think of is the InProc RAS SDK and using the RowSet Controller to query the footer, then parsing out the info you need to submit to the database.
    Ludek
    Follow us on Twitter http://twitter.com/SAPCRNetSup
    Got Enhancement ideas? Try the [SAP Idea Place|https://ideas.sap.com/community/products_and_solutions/crystalreports]

  • How use update in database connectivity

    Bonjour,
    Je suis débutante en labview et j'ai un pb a régler rapidement, voici mon pb:
    J'ai sous labview un tableau 2 dimensions qui représente les colonnes de ma table (crée sous microsoft acces), je voudrais remplacer la table existante par les valeurs du tableau. je crois qu'il faut utiliser la requête SQL 'update', ms comment l'utiliser et surtout comme traiter les valeurs du tableau?
    il y a peut être une autre solution?
    merci pour votre réponse.

    Bonjour,
    En réponse à votre question, je vous envoie un exemple qui pourrait vous intéresser.
    L'exemple permet d'écrire une table dans les colonnes d'une base de données Access en utilisant le toolkit SQL.
    http://sine.ni.com/apps/we/niepd_web_display.display_epd4?p_guid=B45EACE3DD4956A4E034080020E74861&p_node=DZ52093
    Je vous envoie également un document qui explique comment ouvrir une base de donnée Access sans utiliser les fonctions SQL :
    http://digital.ni.com/public.nsf/websearch/F763AA1D7CD3C83D862568E8007C51CD?OpenDocument
    Je vous conseille également d'aller sur le site :
    http://www.ni.com/devzone/dev_exchange/ex_search.htm
    pour chercher des exemples de programmation LabVIEW.
    Cordialement,
    Sanaa T
    National Instruments

  • How to update the field EKET-WEMNG (delivered) in database using BAPI.

    Dear All,
    How to update the values to good received field for EKET WEMNG (delivered) in database using BAPI and please give me the standard bapi and explain the process  how to update to database bcoz am new to bapi concepts and i will be thankful to your help.
    Regards,
    Tazeer.

    this field is only updated when you do a goods receipt. 
    So the only BAPI that can do this is the BAPI GoodsMovement  (BUS2017)

  • How to update a Z d/b table record from report - urgent

    Dear SDN Team Members,
    I have created a ztable for list of all active customers. 
    This ztable has link with other SAP Standard D/b tables and I need to compare the entries with my ztable. 
    After doing so, I need to update a DATE field (called last_req_date) from the program.
    Until now, i only worked on internal tables and update the fields in internal table.  But this time I need to update my zTable and i've not updated any records of the database tables directly from the program.
    Please kindly provide the complete syntax and procedure on how to update z database table.
    Your help will be appreciated and points will be awarded for the same.
    Thanks in Advance.
    Best Regards!
    Krishna.

    Hi,
    To update or Insert fields into teh dbase table.
    INSERT INTO dbtab [CLIENT SPECIFIED] VALUES wa.
    INSERT INTO (dbtabname) [CLIENT SPECIFIED] VALUES wa.
    2. INSERT dbtab [CLIENT SPECIFIED] FROM TABLE itab. oder
    INSERT (dbtabname) [CLIENT SPECIFIED] FROM TABLE itab.
    3. INSERT dbtab [CLIENT SPECIFIED]. oder
    INSERT *dbtab [CLIENT SPECIFIED]. oder
    INSERT (dbtabname) [CLIENT SPECIFIED] ...
    1.TABLES SCUSTOM.
    SCUSTOM-ID        = '12400177'.
    SCUSTOM-NAME      = 'Robinson'.
    SCUSTOM-POSTCODE  = '69542'.
    SCUSTOM-CITY      = 'Heidelberg'.
    SCUSTOM-CUSTTYPE  = 'P'.
    SCUSTOM-DISCOUNT  = '003'.
    SCUSTOM-TELEPHONE = '01234/56789'.
    INSERT INTO SCUSTOM VALUES SCUSTOM.
    2.TABLES SAIRPORT.
    SAIRPORT-ID   = 'NEW'.
    SAIRPORT-NAME = 'NEWPORT APT'.
    INSERT SAIRPORT.
    To UPDATE
    TABLES SFLIGHT.
    UPDATE SFLIGHT SET   SEATSOCC = SEATSOCC + 3
                   WHERE CARRID   = 'LH'   AND
                         CONNID   = '0400' AND
                         FLDATE   = '19950228'.
    TABLES SFLIGHT.
    UPDATE SFLIGHT CLIENT SPECIFIED
                   SET   SEATSOCC = SEATSOCC + 3
                   WHERE MANDT    = '002'  AND
                   WHERE CARRID   = 'LH'   AND
                         CONNID   = '0400' AND
                         FLDATE   = '19950228'.
    TABLES SCUSTOM.
    SCUSTOM-ID       = '00017777'.
    SCUSTOM-DISCOUNT = '003'.
    UPDATE SCUSTOM.
    OR UPDATE dbtab FROM TABLE itab.

  • How to update the ztable using screen.

    hi experts,
    i have one ztable with 8 fields
    and i created one screen with 8 fields
    how to update the ztable using this screen menas when i press the some push button in my screen the table should update.
    Devi

    hi
    check the link shown below
    Coding & screen shots of how to update a database table from screen(Module poool)
    http://www.scribd.com/doc/15628693/moduleprog090311165111phpapp011
    in the attachment u will find
    data  : begin of i_ysrtmm occurs 0,
            sno type ysrtmm-sno,
            sname type ysrtmm-sname,
            scity type ysrtmm-scity,
            sedu type ysrtmm-sedu,
            spercent type ysrtmm-spercent,
            select(1),
            end of i_ysrtmm.
    in the SE51 click on layout & in that menu goto - secwindow- enter the internal table i_ysrtmm
    and click on get from program.u will get all the fields of the internal table select all of them except
    SELECT  field  and then drag and drop on table control . double click on the table control u see the attributes screen there in the w/colselect enter i_ysrtmm-select for tab selection of table control.
    Regards

  • How to update Oracle DB 9.2.0.1 to 9.2.0.3 ?

    Execute me, how to update oracle database 9.2.0.1 to 9.2.0.3 ?
    My OS is Windows XP , I can't find the db 9.2.0.3 version in download zone .
    Please tell me thank you very much .

    The 9203 patch is not available on OTN. You can download it from metalink(http://metalink.oracle.com) if you have a support contract.
    Regards,
    Anupama

Maybe you are looking for

  • Stop the execution of MIGO BADI on click of a button

    Dear Experts, My client have a strange requirement in MIGO  BADI i.e. MB_DOCUMENT_BADI. He wants me to show a popup with some information and which has 3 buttons on it in the above BADI implementation. These 3 buttons are YES, NO & VIEW PDF. When the

  • ALV Grid with Excel

    Hi guys, I need show the Alv Gride Report and Excel mutualy. My program have six internal tables, and each internal table, need put in a sheet diferent of Excel. Is this possible? I found some classes on se24 but I didn´t find example here. Can you h

  • Need DME cabability for payment program RFFOUS_C

    Hi, I am trying to create a DME file for Accounts Payable where we currently use the payment program RFFOUS_C. What do I need to do to get this done? Arne

  • Webobjects and C# web services on IIS.

    I've not been able to find any informationa about the level of interoperability of WebObjects and dotnet C# web services. Here's the situation: members of my programming group are writing an application as a web service. They come from a windows back

  • Ipod all screwed up battery drains

    I have a 4g 20gb u2 ipod. the battery dischargesin about 5 hours whether it is on or off. Also sometimes I have to press the rest button just to turn it on. Also when I restore it, it puts 20mbor so of other on my ipod, but it's always a different am