OTRS 4 Appliance Datenbankzugriffsproblem!

Hilfe zu OTRS Problemen aller Art
Post Reply
vogijoey
Znuny newbie
Posts: 17
Joined: 15 Dec 2011, 16:55
Znuny Version: 30110

OTRS 4 Appliance Datenbankzugriffsproblem!

Post by vogijoey »

Hallo,

Seit heute kann ich auf mein OTRS4 Appliance nicht mehr über den Browser zugreifen. :-( Auf den Server komme ich noch. Ich habe das System neu gestartet, aber es kann anscheinend die Datenbank nicht mehr starten und ich habe keinen Plan warum? Das System hat bis letzte Woche einwandfrei funktioniert.
Es kommt die Meldung
Starting PostgresSQL 8.4 database server: main The PostreSQL server failed to satrt. Please check the log output:... failed! failed!

Alles andere kann einwandfrei gestartet werden.
Hat wer vielleicht eine Ansatz wo ich hier suchen kann oder wie ich das wieder zum Laufen bringe?

Danke!
OTRS 3.0.11, redhat 6.2.0.3.el6.x86_64
2tes System: OTRS Appliance 4
Hazet
Znuny wizard
Posts: 383
Joined: 19 Feb 2009, 12:05
Znuny Version: 5.0.9
Real Name: Harald Zahn
Company: Klinikum Augsburg
Location: Augsburg

Re: OTRS 4 Appliance Datenbankzugriffsproblem!

Post by Hazet »

Starting PostgresSQL 8.4 database server: main The PostreSQL server failed to satrt. Please check the log output:... failed! failed!
Was steht denn in dem Log? Ich kenn' mich mit postgres zwar nicht aus, aber ohne das Log zu kennen wird Dir hier keiner helfen können...
Produktiv: OTRS 5.0.9 , (ITSM 5.0.10) unter Ubuntu 14.04, mysql 5.5
Test: OTRS 5.0.8 , (ITSM 5.0.8), KIX unter Ubuntu 14.04, mysql 5.5
vogijoey
Znuny newbie
Posts: 17
Joined: 15 Dec 2011, 16:55
Znuny Version: 30110

Re: OTRS 4 Appliance Datenbankzugriffsproblem!

Post by vogijoey »

der erste Fehler:
2015-06-29 00:10:23 CEST FEHLER: Wert zu lang für Typ character varying(3800)
2015-06-29 00:10:23 CEST ANWEISUNG: INSERT INTO article (ticket_id, article_type_id, article_sender_type_id, a_from, a_reply_to, a_to, a_cc, a_subject, a_message_id, a_message_id_md5, a_in_reply_to, a_references, a_body, a_content_type, content_path, valid_id, incoming_time, create_time, create_by, change_time, change_by) VALUES ($1, $2, $3, $4, $5, $6, $7, $8, $9, $10, $11, $12, $13, $14, $15, $16, $17,
'2015-06-29 00:10:23'
, $18,
'2015-06-29 00:10:23'
, $19)

und die 2te Meldung:
2015-06-29 03:30:04 CEST LOG: konnte tempor?re Statistikdatei >>pg_stat_tmp/pgstat.tmp<< nicht schreiben: Auf dem Ger?t ist kein Speicherplatz mehr verf?gbar

3te Meldung:
2015-06-29 07:30:03 CEST FEHLER: konnte Relation base/16385/16769 nicht erweitern: Auf dem Gerät ist kein Speicherplatz mehr verfügbar

das ganze läuft auf einer VM mit 30 GB und sind 10 GB im Moment belegt. :-(
keine Ahnung woran das liegt.
OTRS 3.0.11, redhat 6.2.0.3.el6.x86_64
2tes System: OTRS Appliance 4
vogijoey
Znuny newbie
Posts: 17
Joined: 15 Dec 2011, 16:55
Znuny Version: 30110

Re: OTRS 4 Appliance Datenbankzugriffsproblem!

Post by vogijoey »

Ich bin einen Schritt weiter.
Problem liegt beim var/otrs/var/tmp/CacheFileStorable
Ich habe den mal weg kopiert und dann konnte ich das Postgresql service wieder starten.
Allerdings kommt dann im Browser eine Meldung dass der Browser veraltet ist (aktuelleste Chrome) und die Maske schaut voll komisch aus.
jetzt weiß ich nur noch nicht welcher Ordner hier genau das Problem ist.
OTRS 3.0.11, redhat 6.2.0.3.el6.x86_64
2tes System: OTRS Appliance 4
vogijoey
Znuny newbie
Posts: 17
Joined: 15 Dec 2011, 16:55
Znuny Version: 30110

Re: OTRS 4 Appliance Datenbankzugriffsproblem!

Post by vogijoey »

otrs4.jpg
so schaut dann das Fenster aus.
You do not have the required permissions to view the files attached to this post.
OTRS 3.0.11, redhat 6.2.0.3.el6.x86_64
2tes System: OTRS Appliance 4
RStraub
Znuny guru
Posts: 2210
Joined: 13 Mar 2014, 09:16
Znuny Version: 6.0.14
Real Name: Rolf Straub

Re: OTRS 4 Appliance Datenbankzugriffsproblem!

Post by RStraub »

Probier mal:

Config neu bauen,
Cache löschen,
Dateirechte korrekt setzen.
Currently using: OTRS 6.0.14 -- MariaDB -- Ubuntu 16 LTS
vogijoey
Znuny newbie
Posts: 17
Joined: 15 Dec 2011, 16:55
Znuny Version: 30110

Re: OTRS 4 Appliance Datenbankzugriffsproblem!

Post by vogijoey »

config neu bauen, cache leeren,...
brachte leider auch keine Besserung :-(
Ich habe im Log noch immer folgende Meldungen. Ich verstehe das einfach nicht.


2015-07-02 14:50:37 CEST LOG: konnte tempor?re Statistikdatei >>pg_stat_tmp/pgstat.tmp<< nicht schreiben: Auf dem Ger?t ist kein Speicherplatz mehr verf?gbar

da ist aber Platz. ich bin echt ratlos.
OTRS 3.0.11, redhat 6.2.0.3.el6.x86_64
2tes System: OTRS Appliance 4
schulmann
Znuny wizard
Posts: 470
Joined: 20 Nov 2011, 16:08
Znuny Version: 6.5.4
Real Name: Schulmann

Re: OTRS 4 Appliance Datenbankzugriffsproblem!

Post by schulmann »

vogijoey wrote:da ist aber Platz.
Woher weißt Du das so sicher?
Was sagt "df -i"?
Znuny6/Debian/ESXi
vogijoey
Znuny newbie
Posts: 17
Joined: 15 Dec 2011, 16:55
Znuny Version: 30110

Re: OTRS 4 Appliance Datenbankzugriffsproblem!

Post by vogijoey »

ich denke das passt so. :-(
otrs4_2.jpg
You do not have the required permissions to view the files attached to this post.
OTRS 3.0.11, redhat 6.2.0.3.el6.x86_64
2tes System: OTRS Appliance 4
vogijoey
Znuny newbie
Posts: 17
Joined: 15 Dec 2011, 16:55
Znuny Version: 30110

Re: OTRS 4 Appliance Datenbankzugriffsproblem!

Post by vogijoey »

So ich komme wieder zur Anmeldemaske und Postgres geht wieder! :-)
Allerdings ist die Anmeldung noch nicht möglich :-( Button Anmeldung ist aktiv, aber es passiert nichts. Hat wer einen Tip woran das liegen könnte?
otrs3.jpg
You do not have the required permissions to view the files attached to this post.
OTRS 3.0.11, redhat 6.2.0.3.el6.x86_64
2tes System: OTRS Appliance 4
Hazet
Znuny wizard
Posts: 383
Joined: 19 Feb 2009, 12:05
Znuny Version: 5.0.9
Real Name: Harald Zahn
Company: Klinikum Augsburg
Location: Augsburg

Re: OTRS 4 Appliance Datenbankzugriffsproblem!

Post by Hazet »

1. Was hast Du gemacht um das postgres wieder zur Mitarbeit zu bewegen?
2. Was sagen Deine Logdateien beim Anmeldeversuch (otrs, apache)?
Produktiv: OTRS 5.0.9 , (ITSM 5.0.10) unter Ubuntu 14.04, mysql 5.5
Test: OTRS 5.0.8 , (ITSM 5.0.8), KIX unter Ubuntu 14.04, mysql 5.5
vogijoey
Znuny newbie
Posts: 17
Joined: 15 Dec 2011, 16:55
Znuny Version: 30110

Re: OTRS 4 Appliance Datenbankzugriffsproblem!

Post by vogijoey »

cache geleert, config rebuild, rechte neu gesetzt.
übers wochenende hat die datenbank auf einmal wieder funktioniert und hatte keine Speicherplatz Probleme mehr.

in den logs steht leider nix zu den Anmeldeversuchen drinnen :-(
OTRS 3.0.11, redhat 6.2.0.3.el6.x86_64
2tes System: OTRS Appliance 4
Post Reply