Kein Ladebalken -> Abbruch

Slemens

Joined: 2010-03-12
Posts: 22
Posted: Wed, 2012-07-11 10:28

Hallo,
ich habe mit meiner Gallery Installation das Problem, dass eigtl. nie mehr der Ladebalken auftaucht, und dann nach einiger Zeit entweder ein Internal Server Error, oder meistens einfach die Meldung "Server antwortet nicht/nicht erreichbar" erscheint. Das passiert vor allem wenn ich Bilder importieren will oder die Datenbank updaten will.
Ich habe auch schon beim Support des Hosters nachgefragt und die waren der Meinung, dass das Problem nicht von ihnen kommen sollte.
Hat da viell. jemand eine Idee woran das liegen könnte?

PHP-Info: http://foscho.de/phpinfo.php

Gallery URL = http://www.foscho.com/
Gallery-Version = 2.3.2 Kern 1.3.0.2
API = Core 7.54, Modul 3.9, Motiv 2.6, Eingebettet 1.5
PHP-Version = 5.2.17 cgi
Webserver = Apache/2.2.X (OVH)
Datenbank = mysqlt 5.0.90-log, lock.system=flock
Werkzeuge = ArchiveUpload, Gd, NetPBM, Exif, LinkItemToolkit
Beschleunigung = none/0, none/0
Betriebssystem = Linux web335.60gp.ha.ovh.net 3.2.2-grsec-mutu-grs-ipv6-64 #1 SMP Thu Jan 26 14:55:34 UTC 2012 x86_64
Standard-Motiv = matrix
gettext = Aktiviert
Sprache = de_DE
Browser = Mozilla/5.0 (Windows NT 6.1; WOW64; rv:13.0) Gecko/20100101 Firefox/13.0.1
Zeilen in der GalleryAccessMap Tabelle = 44
Zeilen in der GalleryAccessSubscriberMap Tabelle = 2056
Zeilen in der GalleryUser Tabelle = 3
Zeilen in der GalleryItem Tabelle = 2055
Zeilen in der GalleryAlbumItem Tabelle = 36
Zeilen in der GalleryCacheMap Tabelle = 0

 
mr.xy

Joined: 2011-09-20
Posts: 67
Posted: Wed, 2012-07-11 12:58

Was steht denn im G3-Error-Log?

 
Slemens

Joined: 2010-03-12
Posts: 22
Posted: Wed, 2012-07-11 13:33

Ich hab die Gallery 2. Gibt es da auch einen Error Log? Ich habe jetzt gerade keinen gefunden.

 
mr.xy

Joined: 2011-09-20
Posts: 67
Posted: Wed, 2012-07-11 13:55

Hmm ... Hatte übersehen, dass es um die G2 geht. Hab ich nicht mehr in Benutzung. Vielleicht helfen die apache-logs weiter.

Ist denn im firebug netzwerktab ein hängender Prozess sichtbar oder in der firebug-Fehlerkonsole ein Fehler auf der Seite notiert?
Gab es eine Änderung, seit der dieses Problem auftritt?
Was meinst du mit Datenbank updaten?

 
Slemens

Joined: 2010-03-12
Posts: 22
Posted: Wed, 2012-07-11 14:09

Firebug zeigt da nichts an. Mit Datenbank updaten meinte ich unter den Wartungsaufgaben, Datenbank Optimieren.
Geändert habe ich eigtl. auch nichts, zumindest wüsste ich nicht dass ich etwas geändert habe und dann der Fehler auftauchte.

 
mr.xy

Joined: 2011-09-20
Posts: 67
Posted: Wed, 2012-07-11 15:18

So kann man die G2 in den Debug-Modus bringen:
http://codex.gallery2.org/Gallery2:FAQ#How_to_set.2Fuse_Gallery_in_debug_mode.3F

Hier hatte jemand das gleiche Problem (allerdings englisch):
http://gallery.menalto.com/node/92212

Werden denn Fotos hochgeladen? Sind nur die Thumbs nicht vorhanden?

 
Slemens

Joined: 2010-03-12
Posts: 22
Posted: Wed, 2012-07-11 16:07

Also es läuft so:
Ich stelle es zum uploaden, und es startet. Dann erscheitn aber nach einiger Zeit der Seiten-Ladefehler, die Seite auf der der Fortschrittsbalken erscheinen sollte wird nie geladen. Bilder werden anscheinend noch so lange importiert, bis der Server nach 120 Sekunden das Skript abbricht. Der Ladefehler kommt aber normal schon früher. Auf die Seite mit dem Ladebalken komme ich nur, wenn die Aktion beendet ist und der Balken demnach auch am Ende angekommen ist.
Wenn ich dann einfach auf Seite neu laden gehe, fängt es eben wieder von vorne an mit importieren von Fotos.

Ich habe das jetzt auch mal in den Debug Modus gesetzt und probiere grade mal rum, ob ich Fehler finde. Hast du Ideen worauf ich besonders achten kann?

Ich habe jetzt mal noch die PHP Meldungen in eine Logdatei speichern lassen, dabei kam eigtl. immer nur folgendes:

Quote:
[11-Jul-2012 18:03:25] PHP Warning: exec() [<a href='function.exec'>function.exec</a>]: Unable to fork [( &quot;/homez.311/scholzme/gallery/netpbm/jpegtopnm&quot; &quot;--quiet&quot; &quot;/homez.311/scholzme/gallery/g2data/albums/Musical/Koenig_und_Ich/test/1_004/Der-Koenig-und-Ich-Samstag-182.JPG&quot; | &quot;/homez.311/scholzme/gallery/netpbm/pnmscale&quot; &quot;--quiet&quot; &quot;-xysize&quot; &quot;150&quot; &quot;150&quot; | &quot;/homez.311/scholzme/gallery/netpbm/pnmtojpeg&quot; &quot;--quality=100&quot; &gt; &quot;/homez.311/scholzme/gallery/g2data/tmp/npbm_gkyRX9&quot; ) 2&gt;&quot;/homez.311/scholzme/gallery/g2data/tmp/g2dbgkEPrBi&quot;] in /homez.311/scholzme/gallery/gallery/modules/core/classes/GalleryPlatform/UnixPlatform.class on line 86
[11-Jul-2012 18:03:25] PHP Warning: Cannot modify header information - headers already sent by (output started at /homez.311/scholzme/gallery/gallery/modules/core/classes/GalleryPlatform/UnixPlatform.class:86) in /homez.311/scholzme/gallery/gallery/modules/core/classes/GalleryPhpVm.class on line 142
[11-Jul-2012 18:03:25] PHP Warning: Cannot modify header information - headers already sent by (output started at /homez.311/scholzme/gallery/gallery/modules/core/classes/GalleryPlatform/UnixPlatform.class:86) in /homez.311/scholzme/gallery/gallery/modules/core/classes/GalleryPhpVm.class on line 142
[11-Jul-2012 18:03:25] PHP Warning: Cannot modify header information - headers already sent by (output started at /homez.311/scholzme/gallery/gallery/modules/core/classes/GalleryPlatform/UnixPlatform.class:86) in /homez.311/scholzme/gallery/gallery/modules/core/classes/GalleryPhpVm.class on line 142
[11-Jul-2012 18:03:25] PHP Warning: Cannot modify header information - headers already sent by (output started at /homez.311/scholzme/gallery/gallery/modules/core/classes/GalleryPlatform/UnixPlatform.class:86) in /homez.311/scholzme/gallery/gallery/modules/core/classes/GalleryPhpVm.class on line 142
[11-Jul-2012 18:03:25] PHP Warning: Cannot modify header information - headers already sent by (output started at /homez.311/scholzme/gallery/gallery/modules/core/classes/GalleryPlatform/UnixPlatform.class:86) in /homez.311/scholzme/gallery/gallery/modules/core/classes/GalleryPhpVm.class on line 142
[11-Jul-2012 18:03:25] PHP Warning: Cannot modify header information - headers already sent by (output started at /homez.311/scholzme/gallery/gallery/modules/core/classes/GalleryPlatform/UnixPlatform.class:86) in /homez.311/scholzme/gallery/gallery/modules/core/classes/GalleryPhpVm.class on line 142
[11-Jul-2012 18:03:26] PHP Warning: exec() [<a href='function.exec'>function.exec</a>]: Unable to fork [( &quot;/homez.311/scholzme/gallery/netpbm/jpegtopnm&quot; &quot;--quiet&quot; &quot;/homez.311/scholzme/gallery/g2data/albums/Musical/Koenig_und_Ich/test/1_004/Der-Koenig-und-Ich-Samstag-184.JPG&quot; | &quot;/homez.311/scholzme/gallery/netpbm/pnmscale&quot; &quot;--quiet&quot; &quot;-xysize&quot; &quot;150&quot; &quot;150&quot; | &quot;/homez.311/scholzme/gallery/netpbm/pnmtojpeg&quot; &quot;--quality=100&quot; &gt; &quot;/homez.311/scholzme/gallery/g2data/tmp/npbm_AXKrVp&quot; ) 2&gt;&quot;/homez.311/scholzme/gallery/g2data/tmp/g2dbgLFFerz&quot;] in /homez.311/scholzme/gallery/gallery/modules/core/classes/GalleryPlatform/UnixPlatform.class on line 86
[11-Jul-2012 18:03:26] PHP Warning: exec() [<a href='function.exec'>function.exec</a>]: Unable to fork [( &quot;/homez.311/scholzme/gallery/netpbm/jpegtopnm&quot; &quot;--quiet&quot; &quot;/homez.311/scholzme/gallery/g2data/albums/Musical/Koenig_und_Ich/test/1_004/Der-Koenig-und-Ich-Samstag-185.JPG&quot; | &quot;/homez.311/scholzme/gallery/netpbm/pnmscale&quot; &quot;--quiet&quot; &quot;-xysize&quot; &quot;150&quot; &quot;150&quot; | &quot;/homez.311/scholzme/gallery/netpbm/pnmtojpeg&quot; &quot;--quality=100&quot; &gt; &quot;/homez.311/scholzme/gallery/g2data/tmp/npbm_NDdYVt&quot; ) 2&gt;&quot;/homez.311/scholzme/gallery/g2data/tmp/g2dbgOfOnFD&quot;] in /homez.311/scholzme/gallery/gallery/modules/core/classes/GalleryPlatform/UnixPlatform.class on line 86
[11-Jul-2012 18:03:26] PHP Warning: exec() [<a href='function.exec'>function.exec</a>]: Unable to fork [( &quot;/homez.311/scholzme/gallery/netpbm/jpegtopnm&quot; &quot;--quiet&quot; &quot;/homez.311/scholzme/gallery/g2data/albums/Musical/Koenig_und_Ich/test/1_004/Der-Koenig-und-Ich-Samstag-187.JPG&quot; | &quot;/homez.311/scholzme/gallery/netpbm/pnmscale&quot; &quot;--quiet&quot; &quot;-xysize&quot; &quot;150&quot; &quot;150&quot; | &quot;/homez.311/scholzme/gallery/netpbm/pnmtojpeg&quot; &quot;--quality=100&quot; &gt; &quot;/homez.311/scholzme/gallery/g2data/tmp/npbm_31ll8y&quot; ) 2&gt;&quot;/homez.311/scholzme/gallery/g2data/tmp/g2dbglsTE2I&quot;] in /homez.311/scholzme/gallery/gallery/modules/core/classes/GalleryPlatform/UnixPlatform.class on line 86
[11-Jul-2012 18:03:26] PHP Warning: Cannot modify header information - headers already sent by (output started at /homez.311/scholzme/gallery/gallery/modules/core/classes/GalleryPlatform/UnixPlatform.class:86) in /homez.311/scholzme/gallery/gallery/modules/core/classes/GalleryPhpVm.class on line 142
[11-Jul-2012 18:03:26] PHP Warning: Cannot modify header information - headers already sent by (output started at /homez.311/scholzme/gallery/gallery/modules/core/classes/GalleryPlatform/UnixPlatform.class:86) in /homez.311/scholzme/gallery/gallery/modules/core/classes/GalleryPhpVm.class on line 142
[11-Jul-2012 18:03:26] PHP Warning: Cannot modify header information - headers already sent by (output started at /homez.311/scholzme/gallery/gallery/modules/core/classes/GalleryPlatform/UnixPlatform.class:86) in /homez.311/scholzme/gallery/gallery/modules/core/classes/GalleryPhpVm.class on line 142
[11-Jul-2012 18:03:26] PHP Warning: Cannot modify header information - headers already sent by (output started at /homez.311/scholzme/gallery/gallery/modules/core/classes/GalleryPlatform/UnixPlatform.class:86) in /homez.311/scholzme/gallery/gallery/modules/core/classes/GalleryPhpVm.class on line 142
[11-Jul-2012 18:03:26] PHP Warning: Cannot modify header information - headers already sent by (output started at /homez.311/scholzme/gallery/gallery/modules/core/classes/GalleryPlatform/UnixPlatform.class:86) in /homez.311/scholzme/gallery/gallery/modules/core/classes/GalleryPhpVm.class on line 142
[11-Jul-2012 18:03:26] PHP Warning: Cannot modify header information - headers already sent by (output started at /homez.311/scholzme/gallery/gallery/modules/core/classes/GalleryPlatform/UnixPlatform.class:86) in /homez.311/scholzme/gallery/gallery/modules/core/classes/GalleryPhpVm.class on line 142
[11-Jul-2012 18:03:26] PHP Warning: Cannot modify header information - headers already sent by (output started at /homez.311/scholzme/gallery/gallery/modules/core/classes/GalleryPlatform/UnixPlatform.class:86) in /homez.311/scholzme/gallery/gallery/modules/core/classes/GalleryPhpVm.class on line 142
[11-Jul-2012 18:03:26] PHP Warning: Cannot modify header information - headers already sent by (output started at /homez.311/scholzme/gallery/gallery/modules/core/classes/GalleryPlatform/UnixPlatform.class:86) in /homez.311/scholzme/gallery/gallery/modules/core/classes/GalleryPhpVm.class on line 142
[11-Jul-2012 18:03:26] PHP Warning: Cannot modify header information - headers already sent by (output started at /homez.311/scholzme/gallery/gallery/modules/core/classes/GalleryPlatform/UnixPlatform.class:86) in /homez.311/scholzme/gallery/gallery/modules/core/classes/GalleryPhpVm.class on line 142
[11-Jul-2012 18:03:26] PHP Warning: Cannot modify header information - headers already sent by (output started at /homez.311/scholzme/gallery/gallery/modules/core/classes/GalleryPlatform/UnixPlatform.class:86) in /homez.311/scholzme/gallery/gallery/modules/core/classes/GalleryPhpVm.class on line 142
[11-Jul-2012 18:03:26] PHP Warning: Cannot modify header information - headers already sent by (output started at /homez.311/scholzme/gallery/gallery/modules/core/classes/GalleryPlatform/UnixPlatform.class:86) in /homez.311/scholzme/gallery/gallery/modules/core/classes/GalleryPhpVm.class on line 142
[11-Jul-2012 18:03:26] PHP Warning: Cannot modify header information - headers already sent by (output started at /homez.311/scholzme/gallery/gallery/modules/core/classes/GalleryPlatform/UnixPlatform.class:86) in /homez.311/scholzme/gallery/gallery/modules/core/classes/GalleryPhpVm.class on line 142
[11-Jul-2012 18:03:26] PHP Warning: Cannot modify header information - headers already sent by (output started at /homez.311/scholzme/gallery/gallery/modules/core/classes/GalleryPlatform/UnixPlatform.class:86) in /homez.311/scholzme/gallery/gallery/modules/core/classes/GalleryPhpVm.class on line 142
[11-Jul-2012 18:03:26] PHP Warning: Cannot modify header information - headers already sent by (output started at /homez.311/scholzme/gallery/gallery/modules/core/classes/GalleryPlatform/UnixPlatform.class:86) in /homez.311/scholzme/gallery/gallery/modules/core/classes/GalleryPhpVm.class on line 142
[11-Jul-2012 18:03:26] PHP Warning: Cannot modify header information - headers already sent by (output started at /homez.311/scholzme/gallery/gallery/modules/core/classes/GalleryPlatform/UnixPlatform.class:86) in /homez.311/scholzme/gallery/gallery/modules/core/classes/GalleryPhpVm.class on line 142
[11-Jul-2012 18:03:26] PHP Warning: Cannot modify header information - headers already sent by (output started at /homez.311/scholzme/gallery/gallery/modules/core/classes/GalleryPlatform/UnixPlatform.class:86) in /homez.311/scholzme/gallery/gallery/modules/core/classes/GalleryPhpVm.class on line 142
[11-Jul-2012 18:03:26] PHP Warning: Cannot modify header information - headers already sent by (output started at /homez.311/scholzme/gallery/gallery/modules/core/classes/GalleryPlatform/UnixPlatform.class:86) in /homez.311/scholzme/gallery/gallery/modules/core/classes/GalleryPhpVm.class on line 142
[11-Jul-2012 18:03:26] PHP Warning: Cannot modify header information - headers already sent by (output started at /homez.311/scholzme/gallery/gallery/modules/core/classes/GalleryPlatform/UnixPlatform.class:86) in /homez.311/scholzme/gallery/gallery/modules/core/classes/GalleryPhpVm.class on line 142
[11-Jul-2012 18:03:26] PHP Warning: exec() [<a href='function.exec'>function.exec</a>]: Unable to fork [( &quot;/homez.311/scholzme/gallery/netpbm/jpegtopnm&quot; &quot;--quiet&quot; &quot;/homez.311/scholzme/gallery/g2data/albums/Musical/Koenig_und_Ich/test/1_004/Der-Koenig-und-Ich-Samstag-194.JPG&quot; | &quot;/homez.311/scholzme/gallery/netpbm/pnmscale&quot; &quot;--quiet&quot; &quot;-xysize&quot; &quot;150&quot; &quot;150&quot; | &quot;/homez.311/scholzme/gallery/netpbm/pnmtojpeg&quot; &quot;--quality=100&quot; &gt; &quot;/homez.311/scholzme/gallery/g2data/tmp/npbm_MLAz8m&quot; ) 2&gt;&quot;/homez.311/scholzme/gallery/g2data/tmp/g2dbgs3TSLy&quot;] in /homez.311/scholzme/gallery/gallery/modules/core/classes/GalleryPlatform/UnixPlatform.class on line 86
[11-Jul-2012 18:03:26] PHP Warning: exec() [<a href='function.exec'>function.exec</a>]: Unable to fork [( &quot;/homez.311/scholzme/gallery/netpbm/jpegtopnm&quot; &quot;--quiet&quot; &quot;/homez.311/scholzme/gallery/g2data/albums/Musical/Koenig_und_Ich/test/1_004/Der-Koenig-und-Ich-Samstag-193.JPG&quot; | &quot;/homez.311/scholzme/gallery/netpbm/pnmscale&quot; &quot;--quiet&quot; &quot;-xysize&quot; &quot;150&quot; &quot;150&quot; | &quot;/homez.311/scholzme/gallery/netpbm/pnmtojpeg&quot; &quot;--quality=100&quot; &gt; &quot;/homez.311/scholzme/gallery/g2data/tmp/npbm_OJrcxn&quot; ) 2&gt;&quot;/homez.311/scholzme/gallery/g2data/tmp/g2dbgD030az&quot;] in /homez.311/scholzme/gallery/gallery/modules/core/classes/GalleryPlatform/UnixPlatform.class on line 86
[11-Jul-2012 18:03:26] PHP Warning: exec() [<a href='function.exec'>function.exec</a>]: Unable to fork [( &quot;/homez.311/scholzme/gallery/netpbm/jpegtopnm&quot; &quot;--quiet&quot; &quot;/homez.311/scholzme/gallery/g2data/albums/Musical/Koenig_und_Ich/test/1_004/Der-Koenig-und-Ich-Samstag-195.JPG&quot; | &quot;/homez.311/scholzme/gallery/netpbm/pnmscale&quot; &quot;--quiet&quot; &quot;-xysize&quot; &quot;150&quot; &quot;150&quot; | &quot;/homez.311/scholzme/gallery/netpbm/pnmtojpeg&quot; &quot;--quality=100&quot; &gt; &quot;/homez.311/scholzme/gallery/g2data/tmp/npbm_oMVsct&quot; ) 2&gt;&quot;/homez.311/scholzme/gallery/g2data/tmp/g2dbgJz9uXE&quot;] in /homez.311/scholzme/gallery/gallery/modules/core/classes/GalleryPlatform/UnixPlatform.class on line 86
[11-Jul-2012 18:03:27] PHP Warning: Cannot modify header information - headers already sent by (output started at /homez.311/scholzme/gallery/gallery/modules/core/classes/GalleryPlatform/UnixPlatform.class:86) in /homez.311/scholzme/gallery/gallery/modules/core/classes/GalleryPhpVm.class on line 142
[11-Jul-2012 18:03:27] PHP Warning: Cannot modify header information - headers already sent by (output started at /homez.311/scholzme/gallery/gallery/modules/core/classes/GalleryPlatform/UnixPlatform.class:86) in /homez.311/scholzme/gallery/gallery/modules/core/classes/GalleryPhpVm.class on line 142
[11-Jul-2012 18:03:27] PHP Warning: Cannot modify header information - headers already sent by (output started at /homez.311/scholzme/gallery/gallery/modules/core/classes/GalleryPlatform/UnixPlatform.class:86) in /homez.311/scholzme/gallery/gallery/modules/core/classes/GalleryPhpVm.class on line 142
...

 
Dayo

Joined: 2005-11-04
Posts: 1642
Posted: Wed, 2012-07-11 19:59

Try using another graphics toolkit such as ImageMagick or GD instead of netpbm

You can also use the toolkit priority feature to move those above netpbm.

--
dakanji.com

 
Slemens

Joined: 2010-03-12
Posts: 22
Posted: Wed, 2012-07-11 21:18

I tried to change it to GD but it is the same problem.

Ich habe jetzt auch gemerkt, dass anscheinend wenn ich einen Ordner mit Bildern auf dem Server auswähle zum importieren dieser immer direkt doppelt importiert wird. Find ich auch etwas komisch, da ich ihn nur einmal starte.

 
mr.xy

Joined: 2011-09-20
Posts: 67
Posted: Wed, 2012-07-11 21:35

Hmm ... Das sind ja alles Warnings. Muss also nicht problematisch sein.

Die php-Version stimmt. php-exec ist nicht disabled.

Ich würde jetzt zwei Dinge prüfen:
1. Hier gibt Wartungsmöglichkeiten, die uns, als wir die G2 noch verwendet haben, immer mal geholfen haben (Dateirechte, Cache löschen ... Ich weiß jetzt nicht mehr, welche es da noch gab:
http://www.foscho.com/lib/support/index.php

2. Systemintegritätscheck über das install-tool:
http://www.foscho.com/install/index.php?step=1&G2SETUPSID=0aaa4bb126cc5d5bf2e08ea652eb60c3

>>> Und bitte: Unbedingt vorher ein Backup von Datenbank und Filesystem ziehen!!! <<<

Das Backup ist kurz, die Reue ist lang.

_____

Übrigens sollte dein Hoster mal den Apachen so einrichten, dass er nicht alle Dateien in einem Verzeichnis auflistet: "Disable Directory Browsing":
http://www.thegeekstuff.com/2011/03/apache-hardening/