[Lugor] phppgadmin

Eckart Hillenkamp info at aregus.de
So Jan 12 19:57:58 CET 2014


Hallo Michael,

 

das hatte ich bereits versucht. Hier nochmal:

 

http://192.168.123.20/phppgadmin/index.php

 

Browseeausgabe:

Not Found

 

The requested URL /phppgadmin/index.php was not found on this server.

Apache/2.4.6 (Ubuntu) Server at 192.168.123.20 Port 80

 

Die Error.log zeigt keine Veränderung und hat noch den Stand von 19:30
(s.u.)

 

Viele Grüße

Eckart

 

Eckart Hillenkamp
Dipl.-Ing. Chemie
Fachkraft für Arbeitssicherheit / Sicherheitsingenieur
Umweltauditor / Energiemanagement-Auditor
_________________________________
AREGUS Services
Ingenieurbüro Eckart Hillenkamp
Bügelstrasse 2
D-46045 Oberhausen
Tel: 0208/30 79 345
Mobile: 01522/15 15 160
Fax: 0208/62 65 782
 <blocked::http://www.aregus.de/> www.aregus.de 

  _____  

Von: linux-bounces at lugor.de [mailto:linux-bounces at lugor.de] Im Auftrag von
Michael Gisbers
Gesendet: Sonntag, 12. Januar 2014 19:47
An: linux at lugor.de
Betreff: Re: [Lugor] phppgadmin

 



Eckart Hillenkamp <info at aregus.de> schrieb:

Ja, 

 

/apache2/error.log

 

AH00558: apache2: Could not reliably determine the server's fully qualified
domain name, using 127.0.1.1. Set the 'ServerName' directive globally$

[Sun Jan 12 19:15:39.776466 2014] [mpm_prefork:notice] [pid 1621] AH00163:
Apache/2.4.6 (Ubuntu) PHP/5.5.3-1ubuntu2.1 configured -- resuming norm$

[Sun Jan 12 19:15:39.776519 2014] [core:notice] [pid 1621] AH00094: Command
line: '/usr/sbin/apache2'

[Sun Jan 12 19:30:43.987037 2014] [mpm_prefork:notice] [pid 1621] AH00171:
Graceful restart requested, doing restart

AH00558: apache2: Could not reliably determine the server's fully qualified
domain name, using 127.0.1.1. Set the 'ServerName' directive globally$

[Sun Jan 12 19:30:44.221875 2014] [mpm_prefork:notice] [pid 1621] AH00163:
Apache/2.4.6 (Ubuntu) PHP/5.5.3-1ubuntu2.1 configured -- resuming norm$

[Sun Jan 12 19:30:44.221937 2014] [core:notice] [pid 1621] AH00094: Command
line: '/usr/sbin/apache2'

 

und

/apache2/access.log

 

127.0.0.1 - - [12/Jan/2014:15:32:35 +0100] "GET /phppgadmin HTTP/1.1" 404
498 "-" "Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:26.0) Gecko/2010010$

127.0.0.1 - - [12/Jan/2014:16:57:52 +0100] "GET /phppgadmin HTTP/1.1" 404
498 "-" "Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:26.0) Gecko/2010010$

127.0.0.1 - - [12/Jan/2014:16:57:58 +0100] "GET /phppgadmin HTTP/1.1" 404
498 "-" "Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:26.0) Gecko/2010010$

127.0.0.1 - - [12/Jan/2014:17:13:56 +0100] "GET /phppgadmin.php HTTP/1.1"
404 502 "-" "Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:26.0) Gecko/201$

127.0.0.1 - - [12/Jan/2014:17:14:03 +0100] "GET /phppgadmin HTTP/1.1" 404
498 "-" "Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:26.0) Gecko/2010010$

127.0.0.1 - - [12/Jan/2014:18:13:52 +0100] "GET /phppgadmin HTTP/1.1" 404
498 "-" "Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:26.0) Gecko/2010010$

127.0.0.1 - - [12/Jan/2014:18:21:15 +0100] "GET /phppgadmin/ HTTP/1.1" 404
499 "-" "Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:26.0) Gecko/201001$

127.0.0.1 - - [12/Jan/2014:18:24:05 +0100] "GET /phppgadmin/ HTTP/1.1" 404
499 "-" "Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:26.0) Gecko/201001$

127.0.0.1 - - [12/Jan/2014:18:25:19 +0100] "GET /phppgadmin/ HTTP/1.1" 404
499 "-" "Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:26.0) Gecko/201001$

198.20.69.74 - - [12/Jan/2014:18:39:44 +0100] "GET / HTTP/1.1" 200 427 "-"
"-"

198.20.69.74 - - [12/Jan/2014:18:39:44 +0100] "GET /robots.txt HTTP/1.1" 404
445 "-" "-"

174.143.173.119 - - [12/Jan/2014:18:53:17 +0100] "GET
/w00tw00t.at.blackhats.romanian.anti-sec:) HTTP/1.1" 404 495 "-" "ZmEu"

 

Eckart Hillenkamp
Dipl.-Ing. Chemie
Fachkraft für Arbeitssicherheit / Sicherheitsingenieur
Umweltauditor / Energiemanagement-Auditor
_________________________________
AREGUS Services
Ingenieurbüro Eckart Hillenkamp
Bügelstrasse 2
D-46045 Oberhausen
Tel: 0208/30 79 345
Mobile: 01522/15 15 160
Fax: 0208/62 65 782
 <blocked::http://www.aregus.de/> www.aregus.de 

  _____  

Von: linux-bounces at lugor.de [mailto:linux-bounces at lugor.de] Im Auftrag von
Michael Gisbers
Gesendet: Sonntag, 12. Januar 2014 19:27
An: linux at lugor.de
Betreff: Re: [Lugor] phppgadmin

 



Eckart Hillenkamp <info at aregus.de> schrieb:

Hallo Jens,

 

ja der Ordner sieht gut aus:

 

insgesamt 772

-rw-r--r-- 1 root root 28906 Apr 15  2013 admin.php

-rw-r--r-- 1 root root 16000 Apr 15  2013 aggregates.php

-rw-r--r-- 1 root root  2492 Apr 15  2013 ajax-ac-insert.php

-rw-r--r-- 1 root root 18298 Apr 15  2013 all_db.php

-rw-r--r-- 1 root root  3069 Apr 15  2013 browser.php

-rw-r--r-- 1 root root  2149 Apr 15  2013 casts.php

drwxr-xr-x 3 root root  4096 Jan 12 15:19 classes

-rw-r--r-- 1 root root 12146 Apr 15  2013 colproperties.php

drwxr-xr-x 2 root root  4096 Jan 12 15:19 conf

-rw-r--r-- 1 root root 23443 Apr 15  2013 constraints.php

-rw-r--r-- 1 root root  1861 Apr 15  2013 conversions.php

-rw-r--r-- 1 root root 30409 Apr 15  2013 database.php

-rw-r--r-- 1 root root 10781 Apr 15  2013 dataexport.php

-rw-r--r-- 1 root root  7612 Apr 15  2013 dataimport.php

-rw-r--r-- 1 root root  4347 Apr 15  2013 dbexport.php

-rw-r--r-- 1 root root 27541 Apr 15  2013 display.php

-rw-r--r-- 1 root root 18970 Apr 15  2013 domains.php

-rw-r--r-- 1 root root 35903 Apr 15  2013 fulltext.php

-rw-r--r-- 1 root root  6360 Apr 15  2013 functions.js

-rw-r--r-- 1 root root 38032 Apr 15  2013 functions.php

-rw-r--r-- 1 root root  9068 Apr 15  2013 groups.php

drwxr-xr-x 2 root root  4096 Jan 12 15:19 help

-rw-r--r-- 1 root root  1600 Apr 15  2013 help.php

-rw-r--r-- 1 root root  6178 Apr 15  2013 history.php

drwxr-xr-x 3 root root  4096 Jan 12 15:19 images

-rw-r--r-- 1 root root  1839 Apr 15  2013 indexes.js

-rw-r--r-- 1 root root 13718 Apr 15  2013 indexes.php

-rw-r--r-- 1 root root   861 Apr 15  2013 index.php

-rw-r--r-- 1 root root 12205 Apr 15  2013 info.php

-rw-r--r-- 1 root root  2105 Apr 15  2013 intro.php

drwxr-xr-x 2 root root  4096 Jan 12 15:19 js

drwxr-xr-x 2 root root  4096 Jan 12 15:19 lang

-rw-r--r-- 1 root root  1547 Apr 15  2013 languages.php

drwxr-xr-x 4 root root  4096 Jan 12 15:19 libraries

-rw-r--r-- 1 root root   520 Apr 15  2013 links.js

-rw-r--r-- 1 root root  2398 Apr 15  2013 login.php

-rw-r--r-- 1 root root   265 Apr 15  2013 logout.php

-rw-r--r-- 1 root root   220 Apr 15  2013 multiactionform.js

-rw-r--r-- 1 root root  1881 Apr 15  2013 opclasses.php

-rw-r--r-- 1 root root  8064 Apr 15  2013 operators.php

-rw-r--r-- 1 root root   121 Apr 15  2013 plugin.php

drwxr-xr-x 4 root root  4096 Jan 12 15:19 plugins

-rw-r--r-- 1 root root 11684 Apr 15  2013 privileges.php

-rw-r--r-- 1 root root   667 Apr 15  2013 redirect.php

-rw-r--r-- 1 root root   221 Apr 15  2013 robots.txt

-rw-r--r-- 1 root root 31826 Apr 15  2013 roles.php

-rw-r--r-- 1 root root  7520 Apr 15  2013 rules.php

-rw-r--r-- 1 root root 15687 Apr 15  2013 schemas.php

-rw-r--r-- 1 root root 23978 Apr 15  2013 sequences.php

-rw-r--r-- 1 root root  4380 Apr 15  2013 servers.php

-rw-r--r-- 1 root root  6557 Apr 15  2013 sqledit.php

-rw-r--r-- 1 root root  8222 Apr 15  2013 sql.php

-rw-r--r-- 1 root root   740 Apr 15  2013 tables.js

-rw-r--r-- 1 root root  9969 Apr 15  2013 tablespaces.php

-rw-r--r-- 1 root root 37831 Apr 15  2013 tables.php

-rw-r--r-- 1 root root 28060 Apr 15  2013 tblproperties.php

drwxr-xr-x 5 root root  4096 Jan 12 15:19 themes

-rw-r--r-- 1 root root 13092 Apr 15  2013 triggers.php

-rw-r--r-- 1 root root 24675 Apr 15  2013 types.php

-rw-r--r-- 1 root root 15456 Apr 15  2013 users.php

-rw-r--r-- 1 root root 18652 Apr 15  2013 viewproperties.php

-rw-r--r-- 1 root root 27911 Apr 15  2013 views.php

drwxr-xr-x 2 root root  4096 Jan 12 15:19 xloadtree

___

 

sudo dpkg-reconfigure phppgadmin

 

* Reloading web server apache2
* 

 * The apache2 configtest failed. Not doing anything.

Output of config test was:

apache2: Syntax error on line 224 of /etc/apache2/apache2.conf: Could not
open configuration file /etc/phppgadmin/apache.conf: No such file or
directory

Action 'configtest' failed.

The Apache error log may have more information.

invoke-rc.d: initscript apache2, action "reload" failed.

---

Das war noch mit meiner Modifikation.

 

Nachdem ich diese Rückgängig gemacht (rausgenommen) hatte keine
Fehlermeldung mehr:

 

$ sudo dpkg-reconfigure phppgadmin

 * Reloading web server apache2
*

 

Wo keine Datei steht ist in /var/www , aber das kann ja auch ok sein, wenn
apache2 statt dessen im richtigen Verzeichnis suchen würde. 

Aber genau daran scheint es zu hängen...

 

Viele Grüße

Eckart

 

 

Eckart Hillenkamp
Dipl.-Ing. Chemie
Fachkraft für Arbeitssicherheit / Sicherheitsingenieur
Umweltauditor / Energiemanagement-Auditor
_________________________________
AREGUS Services
Ingenieurbüro Eckart Hillenkamp
Bügelstrasse 2
D-46045 Oberhausen
Tel: 0208/30 79 345
Mobile: 01522/15 15 160
Fax: 0208/62 65 782
 <blocked::http://www.aregus.de/> www.aregus.de 

  _____  

Von: linux-bounces at lugor.de [mailto:linux-bounces at lugor.de] Im Auftrag von
Jens Kapitza
Gesendet: Sonntag, 12. Januar 2014 19:01
An: linux at lugor.de
Betreff: Re: [Lugor] phppgadmin

 

Am 12.01.2014 18:30, schrieb Eckart Hillenkamp:

Hallo zusammen,

 

ich wollte auf meinem Rechner phpPgAdmin installieren, stoße aber auf
Schwierigkeiten.

 

Mein Rechner:

Kubuntu 13.10 64bit

Apache2

php (php-Info läuft)

 

 

Eigentlich sollte es ganz einfach sein, da phppgadmin Bestandteil des
Repositories ist.

Zunächst hatte ich es mit sudo apt-get install postgresql postgresql-contrib
phppgadmin versucht.

Die Installation läuft fehlerfrei. Nachdem es nicht lief hatte ich es
nochmals deinstalliert und über synaptic noch mal installiert.

 

Bein Versuch es im Browser aufzurufen, wird nichts gefunden:

 

Not Found

The requested URL /phppgadmin was not found on this server.

 

Der Inhalt der phppgadmin in /etc/apache2/conf.d/ ist derzeit: 

 

# Alias /phppgadmin /usr/share/phppgadmin

Alias /phppgadmin /etc/phppgadmin/apache.conf

der alias ist auf eine Datei die auskommentierte Zeile ist besser ;)






 

<Directory /usr/share/phppgadmin>

 

DirectoryIndex index.php

AllowOverride None

 

order deny,allow

deny from all

allow from 127.0.0.0/255.0.0.0 ::1/128

nur vom aktuellem PC erlaubt wenn du also von einem anderem PC aus drauf
willst musst du all eintragen und die deny Zeile löschen oder order umdrehen
nach
order allow,deny





allow from all

 

 

<IfModule mod_php5.c>

  php_flag magic_quotes_gpc Off

  php_flag track_vars On

  #php_value include_path .

</IfModule>

<IfModule !mod_php5.c>

  <IfModule mod_actions.c>

    <IfModule mod_cgi.c>

      AddType application/x-httpd-php .php

      Action application/x-httpd-php /cgi-bin/php

    </IfModule>

    <IfModule mod_cgid.c>

      AddType application/x-httpd-php .php

      Action application/x-httpd-php /cgi-bin/php

    </IfModule>

  </IfModule>

</IfModule>

 

</Directory>

 

 Ist in dem ordner was? /usr/share/phppgadmin

ls -l /usr/share/phppgadmin ???

und evtl. hilft dir ja ein dpkg-reconfigure phppgadmin 







-- 
Jens Kapitza

 

Wußten Sie schon...
... daß "finish" gar nicht finnisch ist, sondern englisch?
 
 





  _____  



 
 







Mailingliste der Linux Usergroup Oberhausen






Rheinland (LUGOR) e. V.






linux at lugor.de






http://mailman.mylinuxtime.de/mailman/listinfo/linux




Gibt es denn logfiles vom Apache unterhalb von /var/log ?


Hallo Eckart,

Versuch mal das /index.php mit anzugeben und scha was dann im Log landet.
-- 
Michael Gisbers
http://www.gisbers.de

-------------- nächster Teil --------------
Ein Dateianhang mit HTML-Daten wurde abgetrennt...
URL: <http://mailman.mylinuxtime.de/pipermail/linux/attachments/20140112/f6d5c823/attachment-0001.html>


Mehr Informationen über die Mailingliste linux