+ Antworten
Seite 1 von 5 1 2 3 ... LetzteLetzte
Ergebnis 1 bis 10 von 46

Thema: Postgres und Windows 7 x64

  1. #1
    bernhard ist offline Neuer Benutzer
    Registriert seit
    03.11.2009
    Beiträge
    5

    Unglücklich Postgres und Windows 7 x64

    Hab gerade auf meinem frischen Win7 (Professional 64bit) Postgres 8.4.1-1 installiert. Das Setup verläuft ohne Probleme, der Dienst startet und wenn ich dann eine neue leere DB anlegen will, stürtzt das Teil immer ab. Auch eine Neuinstallation (sowohl Win7 als auch Pg) haben nichts geholfen.

    Im Logfile steht immer folgendes:
    2009-11-03 12:11:35 CETLOG: database system was interrupted; last known up at 2009-11-03 11:27:01 CET
    2009-11-03 12:11:35 CETFATAL: the database system is starting up
    2009-11-03 12:11:35 CETLOG: database system was not properly shut down; automatic recovery in progress
    2009-11-03 12:11:36 CETLOG: redo starts at 0/282974D0
    2009-11-03 12:11:36 CETWARNING: could not open directory "base/59037": No such file or directory
    2009-11-03 12:11:36 CETCONTEXT: xlog redo drop db: dir 59037/1663
    2009-11-03 12:11:36 CETWARNING: some useless files may be left behind in old database directory "base/59037"
    2009-11-03 12:11:36 CETCONTEXT: xlog redo drop db: dir 59037/1663
    2009-11-03 12:11:36 CETLOG: unexpected pageaddr 0/2029A000 in log file 0, segment 40, offset 2727936
    2009-11-03 12:11:36 CETLOG: redo done at 0/28298670
    2009-11-03 12:11:36 CETLOG: last completed transaction was at log time 2009-11-03 11:27:02.263+01
    2009-11-03 12:11:36 CETFATAL: the database system is starting up
    2009-11-03 12:11:37 CETLOG: database system is ready to accept connections
    2009-11-03 12:11:37 CETLOG: autovacuum launcher started
    2009-11-03 12:13:22 CETPANIC: could not lock semaphore: error code 0


    This application has requested the Runtime to terminate it in an unusual way.
    Please contact the application's support team for more information.

    2009-11-03 12:13:22 CETLOG: WAL writer process (PID 2932) exited with exit code 3
    2009-11-03 12:13:22 CETLOG: terminating any other active server processes
    2009-11-03 12:13:22 CETWARNING: terminating connection because of crash of another server process
    2009-11-03 12:13:22 CETDETAIL: The postmaster has commanded this server process to roll back the current transaction and exit, because another server process exited abnormally and possibly corrupted shared memory.
    2009-11-03 12:13:22 CETHINT: In a moment you should be able to reconnect to the database and repeat your command.
    2009-11-03 12:13:22 CETWARNING: terminating connection because of crash of another server process
    2009-11-03 12:13:22 CETDETAIL: The postmaster has commanded this server process to roll back the current transaction and exit, because another server process exited abnormally and possibly corrupted shared memory.
    2009-11-03 12:13:22 CETHINT: In a moment you should be able to reconnect to the database and repeat your command.
    2009-11-03 12:13:22 CETLOG: all server processes terminated; reinitializing
    2009-11-03 12:13:32 CETFATAL: pre-existing shared memory block is still in use
    2009-11-03 12:13:32 CETHINT: Check if there are any old server processes still running, and terminate them.


    Kann mir jemand weiter helfen? Bin schön langsam am verzweifeln.

    Lg & Danke,
    Bernhard

  2. #2
    ads
    ads ist offline Moderator
    Registriert seit
    08.02.2006
    Ort
    MD
    Beiträge
    3.405

    Standard

    "No such file or directory", "unexpected pageaddr" ...

    Das hört sich nach einer kaputten Datenbank oder nach Problemen mit der Festplatte an.
    Xandrian: Kurz gesagt: Du hast ein falsches Konzept und willst nicht auf ads hören

    Jetzt NEU: PostgreSQL - Datenbankpraxis für Anwender, Administratoren und Entwickler

    PostgreSQL Service & Support

  3. #3
    bernhard ist offline Neuer Benutzer
    Registriert seit
    03.11.2009
    Beiträge
    5

    Standard

    Danke für die rasche Antwort. Festplatte ist nicht defekt. Habe daraufhin ein neues leeres Dataverzeichnis mit INITDB auf C:\temp\pgData erstellt. Konnte noch 3 leere Datenbanken anlegen und nach ein paar inserts ist der Server wieder abgestürzt. Diesmal schaut das Log ähnlich aus:

    LOG: database system was shut down at 2009-11-03 15:50:14 CET
    FATAL: the database system is starting up
    LOG: autovacuum launcher started
    LOG: database system is ready to accept connections
    PANIC: could not lock semaphore: error code 0


    This application has requested the Runtime to terminate it in an unusual way.
    Please contact the application's support team for more information.

    LOG: WAL writer process (PID 2688) exited with exit code 3
    LOG: terminating any other active server processes
    WARNING: terminating connection because of crash of another server process
    DETAIL: The postmaster has commanded this server process to roll back the current transaction and exit, because another server process exited abnormally and possibly corrupted shared memory.
    HINT: In a moment you should be able to reconnect to the database and repeat your command.
    WARNING: terminating connection because of crash of another server process
    DETAIL: The postmaster has commanded this server process to roll back the current transaction and exit, because another server process exited abnormally and possibly corrupted shared memory.
    HINT: In a moment you should be able to reconnect to the database and repeat your command.
    WARNING: terminating connection because of crash of another server process
    DETAIL: The postmaster has commanded this server process to roll back the current transaction and exit, because another server process exited abnormally and possibly corrupted shared memory.
    HINT: In a moment you should be able to reconnect to the database and repeat your command.
    WARNING: terminating connection because of crash of another server process
    DETAIL: The postmaster has commanded this server process to roll back the current transaction and exit, because another server process exited abnormally and possibly corrupted shared memory.
    HINT: In a moment you should be able to reconnect to the database and repeat your command.
    WARNING: terminating connection because of crash of another server process
    DETAIL: The postmaster has commanded this server process to roll back the current transaction and exit, because another server process exited abnormally and possibly corrupted shared memory.
    HINT: In a moment you should be able to reconnect to the database and repeat your command.
    LOG: all server processes terminated; reinitializing
    FATAL: pre-existing shared memory block is still in use
    HINT: Check if there are any old server processes still running, and terminate them.


    Lg,
    Bernhard

  4. #4
    akretschmer ist offline Erfahrener Benutzer
    Registriert seit
    29.10.2006
    Ort
    Nähe Dresden
    Beiträge
    4.473

    Standard

    Zitat Zitat von bernhard Beitrag anzeigen
    Danke für die rasche Antwort. Festplatte ist nicht defekt.
    Dafür aber vermutlich Deine Tischbrandschutzmauer. Was passiert ohne?

    Andreas
    --
    Papa-Kind-Kur vom 8. bis 29. September ;-)
    PostgreSQL Hosting
    ads Das hatte dir akretschmer gestern schon gesagt und siehe da sobald du das machst, funktioniert es ;-)
    http://www.amazon.de/gp/registry/2APKFICAIYMWB
    https://www.xing.com/profile/Andreas_Kretschmer7

  5. #5
    bernhard ist offline Neuer Benutzer
    Registriert seit
    03.11.2009
    Beiträge
    5

    Standard

    Windows Firewall ist deaktiviert, Virenscanner (Kaspersky) ist deaktiviert, sonnst läuft auch nichts verdächtiges.

    Hab nochmals ein blankes Data Verzeichnis erstellt und nach ein paar inserts wieder den üblichen
    PANIC: could not lock semaphore: error code 0
    Fehler erhalten.

  6. #6
    akretschmer ist offline Erfahrener Benutzer
    Registriert seit
    29.10.2006
    Ort
    Nähe Dresden
    Beiträge
    4.473

    Standard

    Zitat Zitat von bernhard Beitrag anzeigen
    Windows Firewall ist deaktiviert, Virenscanner (Kaspersky) ist deaktiviert, sonnst läuft auch nichts verdächtiges.

    Hab nochmals ein blankes Data Verzeichnis erstellt und nach ein paar inserts wieder den üblichen
    PANIC: could not lock semaphore: error code 0
    Fehler erhalten.
    Google

    Deaktiviert bedeutet bei dieser Art von Schadsoftware nicht, daß es keinen Schaden mehr macht.

    Andreas
    --
    Papa-Kind-Kur vom 8. bis 29. September ;-)
    PostgreSQL Hosting
    ads Das hatte dir akretschmer gestern schon gesagt und siehe da sobald du das machst, funktioniert es ;-)
    http://www.amazon.de/gp/registry/2APKFICAIYMWB
    https://www.xing.com/profile/Andreas_Kretschmer7

  7. #7
    bernhard ist offline Neuer Benutzer
    Registriert seit
    03.11.2009
    Beiträge
    5

    Lächeln

    Danke für die Hilfe. Habe jetzt Kaspersky Anti-Virus 2010 deinstalliert und jetzt funktioniert wieder alles einwandfrei.
    Problem gelöst

  8. #8
    ads
    ads ist offline Moderator
    Registriert seit
    08.02.2006
    Ort
    MD
    Beiträge
    3.405

    Standard

    Zitat Zitat von bernhard Beitrag anzeigen
    Danke für die Hilfe. Habe jetzt Kaspersky Anti-Virus 2010 deinstalliert und jetzt funktioniert wieder alles einwandfrei.
    Ach.

    Was sagt uns das?
    Xandrian: Kurz gesagt: Du hast ein falsches Konzept und willst nicht auf ads hören

    Jetzt NEU: PostgreSQL - Datenbankpraxis für Anwender, Administratoren und Entwickler

    PostgreSQL Service & Support

  9. #9
    akretschmer ist offline Erfahrener Benutzer
    Registriert seit
    29.10.2006
    Ort
    Nähe Dresden
    Beiträge
    4.473

    Standard

    Zitat Zitat von ads Beitrag anzeigen
    Ach.

    Was sagt uns das?
    Das Schadsoftware ihren Zweck gut erfüllt. Aber warum installiert man sich sowas?

    Btw.: heute kam die Karte aus Griechenland an. Danke ;-)

    Andreas
    --
    Papa-Kind-Kur vom 8. bis 29. September ;-)
    PostgreSQL Hosting
    ads Das hatte dir akretschmer gestern schon gesagt und siehe da sobald du das machst, funktioniert es ;-)
    http://www.amazon.de/gp/registry/2APKFICAIYMWB
    https://www.xing.com/profile/Andreas_Kretschmer7

  10. #10
    ads
    ads ist offline Moderator
    Registriert seit
    08.02.2006
    Ort
    MD
    Beiträge
    3.405

    Standard

    Zitat Zitat von akretschmer Beitrag anzeigen
    Btw.: heute kam die Karte aus Griechenland an. Danke ;-)
    Ah, die zweite. Schön schön.

    Die aus Paris dauert noch etwas *grins*
    Xandrian: Kurz gesagt: Du hast ein falsches Konzept und willst nicht auf ads hören

    Jetzt NEU: PostgreSQL - Datenbankpraxis für Anwender, Administratoren und Entwickler

    PostgreSQL Service & Support

+ Antworten
Seite 1 von 5 1 2 3 ... LetzteLetzte

Berechtigungen

  • Neue Themen erstellen: Nein
  • Themen beantworten: Nein
  • Anhänge hochladen: Nein
  • Beiträge bearbeiten: Nein

Links: Tobias Bauer - IT- und Funkdienstleistungen   -   Bilderrahmen-kaufen.de - Der Onlineshop für Bilderrahmen & Fotorahmen   -   Funkforum