ARD update crashed another Postgres database

A few days ago I updated the remote desktop client on my OS X server to version 3.2.1 and after that a Postgres database that I had no longer works. I cannot connect to it and the Postgres service manager is no longer able to start my Postgres.
How do I disable the remote desktop instance of postgres? What should I do? I'm completely clueless and desperate here.
Thank you for your support,
Cassiano

Thanks Slade!
I was also able to find a workaround using the SQL query:
SHOW TABLES;
That was also for a MySQL Database, and I don't have enough database experience to comment on how universal that implementation is .
Nevertheless, my implementation is attached below.
Cheers,
Spex
National Instruments
To the pessimist, the glass is half empty; to the optimist, the glass is half full; to the engineer, the glass is twice as big as it needs to be...
Attachments:
DB List Tables Memory Leak Workaround1.zip ‏26 KB

Similar Messages

  • Time Machine Restore - Empty Postgres Databases

    Hello,
    i just had to restore Lion Server and have a problem with it now. All files are back, but my the databases are completely empty.
    I have a dumpall.psql file, but i dont see how to get it back into the postgres database. I know how to deal with mysql, but this seems completely different to it.
    I also have PgAdmin installed and can connect to the database.
    Can someone point me the right way please?
    Another Problem i have is, that the server seems to forget my password. Everytime i try to login with my main user, the password field shakes. I am a 100 % sure it is the right password. I can only login with a second admin account. When i do a restore from an Open  Directory Backup in Server Admin it seems to work again for a while, but not for long.
    Please help me, i really need the server back to work.

    Ok, i'm at least some steps closer:
    I have my data back in postgre and all users have their data back on their devices. At least their data up to the last backup.
    Here is what i did:
    I restored another time machine backup.
    Apple claims, that serverbackup (and therefore Time Machine) does backups of the postgre data, which is true.
    Apple claims, that the postgre data will be restored in case of a Time Machine restore. In my case it didnt.
    You find a dumpall.psql in your time machine backups --> Library/Server/PostgreSQL/Backup (In my case there was a gzip file as well, but it didnt seem to be updated)
    I connected with postgre using pgadmin 3 following this tutorial: http://www.mactasia.co.uk/revisited-using-postgresql-in-lion-server
    I dropped all databases but the postgres-database.
    Open Terminal and write "sudo psql -f infile postgres" with infile being the path to your dumpall.psql (More commands at http://www.postgresql.org/docs/8.1/interactive/backup.html)
    This will write all data from the backup to your database.
    Voilá, you will have your data back.
    Give the clients time to get the content back from the server.
    Never start the wiki again, because it was the one which destroyed everything in the first place.
    Still i have a huge problem:
    I cant login with my main admin user. I can login with another admin. Then i reset the main user password and i can login with it again. But only once. Any advice on this?

  • Email Update/Crash Restore Issue

    Last night I tried installing the update to the BB email setup which resulted in my system crashing and requiring me to reinstall OS 6.0 & restore from backups. A few problems though and I'm hoping someone can help.
    The reinstall / restore worked semi OK but it didn't replace all of my databases, specifically the Password Keeper database AND my previously installed & purchased apps. Is there any way to recover this information?
    I've got the email "receipts" for my purchases and would like these items restored. 
    I should note that I am running on Mac OS-X 10.6, using a BB Bold 9780 which has OS 6.0 Build 1879
    Any help would be appreciated.

    Update:
    After another agonizing 3 hours on the phone with Rogers techs, customer service etc. they now recognize that I have a legitamate issue. Now they want to give me a "refurbished" phone. No way !! Mine's 6 weeks old and though broken, I expect a new one in return at a minimum if not an upgrade to a 9800 for all my trouble. 3 days of dodgy email, no calendar, lost client data, meeting notes, work productivity and they act like they're doing me a favor with a refurbished unit ?
    To anyone reading this, AVOID Rogers like the plague. They're the most expensive, worst customer service attatude (though a few do honestly try but they're the minority), treat existing customers like walking ATMs and blatantly refuse to accept responsibility for supporting their network or the handsets they carry. If it wasn't for the huge penalty involved, I'd cancel with them in a heartbeat !!

  • Updating more than one database...

    I am looking at a scenario were we, each time a change is made to several different caches, needs to update both a legacy database (main frame, non-relational = actually hierarchical) that are used by several large batch applications (that will be converted one by one over time to use the application built on top of the cache) as well as a new database (modern hardware & OS, relational, organized in a quite different way than the legacy database!).
         The sync requirements are:
         * It is REALLY bad if only one database get updated but not the other!
         * The legacy database can be about 5 minutes behind the cache
         * The new database is only used for making the cache persistent (it is fully loaded to cache at system startup) and has really no requirement at all on how much behind the cache it can be as long as data is never lost (we will use backup count = 1).
         Updating the legacy database is NOT straight-forward and will require some data transformations to be performed. They can either be done in the legacy system (if we send the change info using some safe messaging for instance) or in the new environment if we want to update the old database directly.
         A factor complicating things further is that the legacy system have some consistency requirements on the data (in particular when creating new objects that has relationships to each other, you may think about order / order row even if this is not the kind of application we have in mind).
         For performance reasons (and since it seem from another thread that partial writes is a bigger problem with write through) we would probably like to use write behind to update the new database.
         Anybody who have some experience of similar situations and can give some suggestions on how to best go about it?
         Best Regards
         Magnus

    I may also add that our current thinking is to use a "write beside" pattern for the legacy system and a write-behind pattern for the cache to update the new database. An XA transaction will then be used to make sure that both or neither the old system and the cache gets updated. Does this sound like a reasonable solution?
         Best Regards
         Magnus

  • Form based on a view -  FRM-40654: Record has been updated by another user.

    Hi All,
    I am hoping that somebody can help me with this problem that is occurring only when I try an update a record in forms.
    I have a block based on a join-view, I can insert no problems, but I can only update certain records within the block. If I come across a second record that is similar to the first except for primary key and a couple of other values and try and update that record forms gives me the following message FRM-40654: Record has been updated by another user. Re-query to see change.
    The first record I have no problems in updating and I have followed a number of suggestions to get this to work, like setting the key-mode of the block to updateable/non-updateable and setting the primary key to 'yes' for some of the database items. I have also created procedures within the database that are called by triggers on-insert, on-update etc.
    If anybody has any ideas how I can solve this I would be happy to hear your suggestions.
    Thanks in Advance.
    Regards,
    Scott.

    Scott,
    beside of
    1) In the block properties change the Key Mode property of the block to be Non-Updatable Primary Key
    2) Mark one or more columns as Primary Key in the item Property Palette - in this instance you would set the property for Empno.
    Enforce Primary Key = no
    Key Mode = Unique
    Update Changed Columns Only = Yes
    I found a bug entry that is supposed to be fixed in Patch 9 of Forms 6i (assuming you are running 6i). So if you could try with a more recent Patch set (e.g. 14) then probably the problem will go away.
    Fran

  • Updating data in mulitple databases

    Hi,
    I have a requirement in my project to update the data in two databases, when user updates data in the screen and saves it. We are using stateless session EJB to call the DAO. The update is using normal JDBC update statement.
    If some thing goes wrong in update stmt in any of the database, does EJB has capability to rollback the update in another database as well. As both are in single transaction.
    Pls advise on this. Your help is appreciated.
    Thanks
    Kumar.

    ... I only added this constructor to be able to run your code:
        public fillDbGui(){
            setTitle("Fill DB GUI");
            setSize(600,500);
            setLocationRelativeTo(null);
            try{
                DriverManager.registerDriver( new com.mysql.jdbc.Driver() );
                DriverManager.registerDriver( new sun.jdbc.odbc.JdbcOdbcDriver() );
                connection = DriverManager.getConnection(DATABASE_URL, DATABASE_USER, USER_PASSWORD);
                conc = connection.createStatement();
                System.out.println("Successfully connected to database '" +DATABASE_NAME+ "'\n");
            }catch(SQLException ex){
                System.out.println("Connection failed\n");
                JOptionPane.showMessageDialog( this, ex.getMessage(),
                        "Fill_DB_GUI:   SQLException", JOptionPane.ERROR_MESSAGE);
            db2vector();
        public static void main(String args[]) {
            new fillDbGui().setVisible(true);
        private final String DATABASE_NAME = "test";
        private final String DATABASE_URL =  "jdbc:mysql://localhost:3306/" + DATABASE_NAME;
    //    private final String DATABASE_URL = "jdbc:odbc:" + DATABASE_NAME;
        private final String TABLE_NAME = "testuhrand";
        private final String DATABASE_USER = "root";
        private final String USER_PASSWORD = "sql";
        private Statement conc;
        private Connection connection;

  • Adobe Updater Crashing enough already

    I have seen this in the past in CS2 and now see it in CS3 where if I launch Updater 5 for CS3 from Adobe Utilities or if I run Check for Updates from any of the applications the Updater crashes.
    This is really annoying because it pops up every time I launch the apps too.
    The current problem is happening on a fresh archive install of Leopard, and a fresh Adobe CS3 design standard install.
    Console shows this every time the updater runs:
    11/14/07 12:05:23 PM [0x0-0x2f02f]."com.Adobe.ESD.AdobeUpdaterApplication"[538] terminate called after throwing an instance of 'std::runtime_error'
    11/14/07 12:05:23 PM [0x0-0x2f02f]."com.Adobe.ESD.AdobeUpdaterApplication"[538] what(): Unable to determine registration filepath!
    11/14/07 12:05:29 PM com.apple.launchd[120] ([0x0-0x2f02f]."com.Adobe.ESD.AdobeUpdaterApplication"[538]) Exited abnormally: Abort trap
    I have tried from different user accounts, from Root, and I tried in the past on another machine with the same issue in CS2. I also tried in Safe Boot.
    Any help or insight would be appreciated and no I shouldn't have to do a complete erase and reinstall of everything.

    I am getting crashes as well, but the symptoms may be a bit different. Updater runs for a while before crashing. Lots of disk activity. It appears to be running away doing memory allocations from looking at the crash trace.
    My system is 10.5.1 and Photoshop CS3.
    Process: Adobe Updater [3478]
    Path: /Applications/Utilities/Adobe Utilities.localized/Adobe Updater5/Adobe Updater.app/Contents/MacOS/Adobe Updater
    Identifier: "com.Adobe.ESD.AdobeUpdaterApplication"
    Version: Adobe Updater 5.1.0.1082 (5.1.0.1082)
    Code Type: X86 (Native)
    Parent Process: launchd [98]
    Date/Time: 2007-12-03 09:58:20.334 -0800
    OS Version: Mac OS X 10.5.1 (9B18)
    Report Version: 6
    Exception Type: EXC_BAD_ACCESS (SIGBUS)
    Exception Codes: KERN_PROTECTION_FAILURE at 0x0000000000000014
    Crashed Thread: 0
    Thread 0 Crashed:
    0 com.apple.CoreFoundation 0x9288a516 _CFStringCreateWithFormatAndArgumentsAux + 70
    1 com.apple.Foundation 0x92573b26 -[NSPlaceholderString initWithFormat:locale:arguments:] + 86
    2 com.apple.Foundation 0x92573ab8 +[NSString stringWithFormat:] + 88
    3 com.apple.CoreFoundation 0x928dd1ee __raiseError + 206
    4 libobjc.A.dylib 0x91cf109b objc_exception_throw + 40
    5 com.apple.Foundation 0x926c43e8 _NSOutOfMemoryErrorHandler + 72
    6 com.apple.CoreFoundation 0x9287f281 __CFStringChangeSizeMultiple + 1985
    7 com.apple.CoreFoundation 0x928880a7 CFStringAppend + 231
    8 com.apple.CoreFoundation 0x92888de3 _CFStringAppendFormatAndArgumentsAux + 2899
    9 com.apple.CoreFoundation 0x9288a548 _CFStringCreateWithFormatAndArgumentsAux + 120
    10 com.apple.Foundation 0x92573b26 -[NSPlaceholderString initWithFormat:locale:arguments:] + 86
    11 com.apple.Foundation 0x92573ab8 +[NSString stringWithFormat:] + 88
    12 com.apple.CoreFoundation 0x928dd1ee __raiseError + 206
    13 libobjc.A.dylib 0x91cf109b objc_exception_throw + 40
    14 com.apple.CoreFoundation 0x92863b0c CFRunLoopRunSpecific + 4380
    15 com.apple.CoreFoundation 0x92863d38 CFRunLoopRunInMode + 88
    16 com.apple.HIToolbox 0x921688a4 RunCurrentEventLoopInMode + 283
    17 com.apple.HIToolbox 0x921686bd ReceiveNextEventCommon + 374
    18 com.apple.HIToolbox 0x922abf9b ReceiveNextEvent + 58
    19 ...SD.AdobeUpdaterApplication" 0x0010a817 0x1000 + 1087511
    20 ...SD.AdobeUpdaterApplication" 0x000068f3 0x1000 + 22771
    21 ...SD.AdobeUpdaterApplication" 0x0000be86 0x1000 + 44678
    22 ...SD.AdobeUpdaterApplication" 0x000214b6 0x1000 + 132278
    23 ...SD.AdobeUpdaterApplication" 0x00022284 0x1000 + 135812
    24 ...SD.AdobeUpdaterApplication" 0x000261cd 0x1000 + 152013
    25 ...SD.AdobeUpdaterApplication" 0x000139c0 0x1000 + 76224
    26 ...SD.AdobeUpdaterApplication" 0x00002912 0x1000 + 6418
    27 ...SD.AdobeUpdaterApplication" 0x0000282d 0x1000 + 6189

  • "FRM:40654 Record has been updated by another user" - Error in POST-QUERY

    Hi,
    I'm using Forms version 6.0.8.26.0
    In one of the forms, its data block is based on a view.
    In POST-QUERY trigger, I try to change the value for a database item. This operation results in following error:
    "FRM-40654: Record has been updated by another user. Re-query to see change."
    After this message the value of the item is automatically being set back to what was queried from the DB.
    I tried setting the DML Returning Value to 'Yes'. It doesn't help :(
    Any suggestions please?
    Thanks,
    Usha

    Hy
    try to set key-locking delayed
    and check
    if one field from the view as primary key
    or
    manually create On-Update, On-Insert, On-Delete and On-Lock triggers
    or
    write an INSTEAD OF TRIGGER

  • Can i use App schema from another Oracle database.

    Hi everyone,
    can i use application schema from another Oracle database and how can we do this. the reason is that current database where apex is installed is get very slow because of the size of database and application usage.
    Regards,
    Kashif.

    user10485983 wrote:
    Please update your forum profile with a real handle instead of "user10485983".
    can i use application schema from another Oracle database and how can we do this. the reason is that current database where apex is installed is get very slow because of the size of database and application usage.
    You can (using database links), but this will generally result in even poorer performance (unless by "another Oracle database" you mean using RAC?)
    It sounds more like you either need to upgrade your systems, or refactor your applications to have a smaller performance footprint.

  • BO XI3.1: Support for Greenplum/PostGres Database

    Is Support for GreenPlum /Postgres database schedule for next service pack of BO XI3.1?
    With Postgres database - we have support only in Crystal and not in BO according to supported platform guide.
    Could you please advise whether we have scheduled the support for GreenPlum/Postgres database for BOXI 3.1 - in the next release of BOXI 3.1 SP2 ?
    Information from customer :
    - for Postgres database with ODBC drivers are working ok.
    - whether GreenPlum database is going to be supported in the next service pack
    - whether Postgres JDBC drivers could be used to Connect to GreenPlum Database instead of Postgres ODBC Drivers.
    Could you please advise on this database support as requested by customer ?
    Regards,
    Ganesh

    Hi, I've experienced using Greenplum database and odbc PostsgreSQl
    For BOE 3.1, you can create Webi, but not applicable with dashboard part. Where it cannot recognized the Postgre driver.
    Currently i'm trying to use another driver from DataDirect.
    Thats all for now.

  • Error in Multi Record Form. Record has been updated by another User?

    Hi,
    I ma developing Form with 3 blocks (Control Block, Database Block, Button Block). In the Button Block i am updating one Row by calling Program Units as shown below
    Select Print Id into Flag From <Table Name> Where <Conditions> For Update of <Column Name>. after calling this , i created another Program Unit as
    Update <Table Name>

    I assume that the table in your update statement is the same table as the one you based your block on.
    You are manually updating the table, and Forms see this as an update "by another user" (even though it's you). To see the changes you made in your update statement, you have to re-query.
    So, don't update yourself, let Forms do it. If you base a block on a table, everything is done for you by Forms.

  • Updating tableview back into database table

    I am trying to display a recordset from mysql database table into a tableview in javafx. Maybe let's say get all records where invoice number is 101 i n the master table from the child records in the child table.(This is a typical master detail scenario.) After this I update the tableview add, delete, edit some records AND then I want to save this Tableview or rather update it back, synchronise into the database table.
    I request you to kindly help with sample code or any guidelines that will help me in this objective.

    Here is the tutorial of tableView : http://docs.oracle.com/javafx/2/ui_controls/table-view.htm
    You can use the Java Class that mapped the database for ObservableList. Get all the record in the database and cover it to the java object. Then add them to the ObservableList to show on TableView. After add, update, edit,... Get the item in the ObservableList and update back to your database.
    I can't tell in detail. You should try this tutorial and if there are any more Specific Issue you can post another question here.

  • 10.5.3 Update Crashed Now no boot + clicking noise

    There seems to be many similar problems to mine posted, but the solutions there aren't helping.
    My software update crashed at 86%. I assume it was installing 10.5.3 but I didn't see that specified. Since then, I have not been able to get past the grey screen and the spinning gear. I've tried the following:
    1) Hard restart and then booting into safe mode (holding shift).... no dice
    2) Holding option after a hard restart and booting with the system disk. From there I ran the disk check. I got a "this drive is okay" (or something to that effect) but the disk utility wouldn't let me out. I had to foce quit the disk utility.
    3) After another hard reset, I tried repairing disk permissions. It stalled a third of the way in. Had to do another hard reset.
    *The scariest part is that when I see the grey screen (and also when I got stalls after 2 and 3 above), the macbook started softly clicking at me.*
    Is the computer screwed or did Apple totally botch the 10.5.3 updater? Is my computer now caught in limbo, having had the updater crash?
    Message was edited by: munjumba
    Message was edited by: munjumba

    munjumba wrote:
    There seems to be many similar problems to mine posted, but the solutions there aren't helping.
    My software update crashed at 86%. I assume it was installing 10.5.3 but I didn't see that specified. Since then, I have not been able to get past the grey screen and the spinning gear. I've tried the following:
    1) Hard restart and then booting into safe mode (holding shift).... no dice
    2) Holding option after a hard restart and booting with the system disk. From there I ran the disk check. I got a "this drive is okay" (or something to that effect) but the disk utility wouldn't let me out. I had to foce quit the disk utility.
    3) After another hard reset, I tried repairing disk permissions. It stalled a third of the way in. Had to do another hard reset.
    *The scariest part is that when I see the grey screen (and also when I got stalls after 2 and 3 above), the macbook started softly clicking at me.*
    Is the computer screwed or did Apple totally botch the 10.5.3 updater? Is my computer now caught in limbo, having had the updater crash?
    I think your HD is bad. Downloading a large file such as 10.5.3 may show up a HD defect that downloading smaller files does not. Many times the "top" of our HD is not used and may be bad without us noticing anything. But when we download a large file which attempts to write over a bad area of the HD, we see a problem.
    I would boot into your Leopard DVD and run DU from it, repairing both the HD and the permissions.
    Any HD errors would indicate to me a need to replace the HD ASAP.
    Be sure your backup is up to date.

  • FRM-40654 Record has been updated by another user.Re-query to see change.

    Hi All:
    While Updating a record in form its updating fine at first time
    if i updating the record second time its not allowing me to update its showing following error
    FRM-40654 Record has been updated by another user.Re-query to see change.
    After Re-querying its allowing me to update the record .... so anyone can give a good idea to update the record without Re-query.
    i am using following versions
    Apps 11.5.10.2
    Forms 6i
    Database 10g

    @814950,
    Welcome to the Oracle Forums. Please take a few minutes to review the following:
    <ul>
    <li>Before posting on this forum please read
    <li>10 Commandments for the OTN Forums Member
    <li>Announcement: Forums Etiquette / Reward Points
    </ul>
    It is not good to use someone else's post to ask a new question; this is commonly refered to as "Post Hi-jacking." It is always best to create a new post and add a reference link to a similar post. Please create a new post for your question!
    Also,
    >
    BEFORE I NSERT OR U PDATE
    OF quantity, price_override
    ON po.po_line_locations_all
    >
    If I recall correctly from when I worked with the Oracle Enterprise Business Suite (EBS), the PO_LINE_LOCATIONS_ALL is an EBS ta ble. Oracle does not recommend you modify EBS tables directly. There are recommended methods for performing DML on EBS tables. I suggest you review the Oracle Applications Documentation library. Select your EBS version and then scroll to the Standards section and review the following documents:
    <ul>
    <li>Oracle Applications Developer's Guide
    <li>Oracle Applications User Interface Standards for Forms-Based Products
    <li>Oracle Application Framework Personalization Guide
    </ul>
    Again, please ask your question in a new post.
    Craig...
    Edited by: CraigB on Dec 1, 2010 9:29 AM

  • Deinstallation/Update Crashes for Acrobat 9

    hello,
    i hope someone can help me, it is a real mess at the moment:
    - i had a running Acrobat 9 pro on my vista (Hp tablet)for about 2 weeks :-)
    - on last weekend, there was a little box concerning about "updates from adobe", of course i trusted and klicked "update"
    - after that, i couldnt open my pdf, nor the acrobat program itself
    since that, i try to reinstall, deinstall or even repair my acrobat
    it seems to be related to the program-folder. i manually checked the security-settings, i am logged in as local & domain admin.
    the installation-program says after some seconds/minutes working "cannot delete ..../adobe/....../combinefiles/FRA/coversheet.pdf !!!!!!
    the situation is horrible for me, because i am really working with pdf, payd a lot for a pro-version and then this mess...
    any help would be apreciated,
    thanks in advance!

    sorry,
    as far as i understood:
    - the files under "adobe acrobat 9" had different security-settings, no one understand why
    - we had to repeatedly claim a new user (local admin/domain admin)
    - the deinstallation crashed another time (no rights, but this time with other files), claimed user again...
    - after that, the deinstallation worked (and a new installation gave me the possibility of working with pdf again)
    btw, we turned of the UAC after the first step
    before that i tried with a local admin (as suggested by the adobe-support), but working with that user simply brought nothing.
    the clean-up-utilities from MS and adobe where useless, too. after the complete deinstallation i used it, you can never know :-) (anyway, it is only for CS3-products, and the CS4-addition doesnt say what it is doing, so we can only guess)
    - conclusio for me: claiming a new owner of the folder is not enough, do it more than once and dont try with a local admin if you mainly work with a domain-user with local admin rights.
    hope that helps someone! :-)

Maybe you are looking for

  • Facing problem while going to  catch return result from web-services.

    Hi everybody, I am new to BPEL. I am facing problem while going to catch the attributes of resultsets returning from web-services(QAS). As far as my knowledge, two types of results it should return - XML entities and another is attributes which is co

  • Logging out behaviour after installing leopard

    I believe that before I installed the Leopard upgrade when I would log out of one account on my machine and nothing was running, the system would just log off the account without prompting me and return the to the login screen. After installing Leopa

  • AjaxUpdate Error when I try to add ajax support to dripdown

    javax.faces.FacesException: javax.el.ELException: AjaxUpdate component not found for id public void createDropDown(List<EnumValueType> enumValueList, HtmlPanelGrid tempPanelGrid){           HtmlSelectOneMenu menu = new HtmlSelectOneMenu();           

  • PhotoShop ASE ver 3 HELP file

    Anyone know where I can get this file? There is a link posted on: http://www.adobe.com/products/photoshopalbum/starter.html but it only results in an error - ver 2 no longer available........

  • LabView won't startup

    I just installed Labview 8.0 on a Windows 2000 machine.  When I attempt to start LabView I get an error box: -  Microsoft Visual C++ Runtime Library                                                                     - - Runtime Error!