Freesco, NND, CDN, EOS
http://forum.freesco.pl/

Problem z Apache ... pgsql.so ma ktoś ten pliczek?
http://forum.freesco.pl/viewtopic.php?f=22&t=15164
Strona 1 z 1

Autor:  oset17 [ niedziela, 8 kwietnia 2007, 21:55 ]
Tytuł:  Problem z Apache ... pgsql.so ma ktoś ten pliczek?

Witam

Instalowałem dzisiaj czujniki temp. do phpsysinfo i od tego czasu Apache daje mi błedy w errors

Cytuj:
[Sun Apr 08 21:38:36 2007] [warn] Init: Session Cache is not configured [hint: SSLSessionCache]
[Sun Apr 08 21:38:37 2007] [notice] Digest: generating secret for digest authentication ...
[Sun Apr 08 21:38:37 2007] [notice] Digest: done
PHP Warning: Unknown(): Unable to load dynamic library '/usr/lib/php/pgsql.so' - /usr/lib/php/pgsql.so: cannot open shared object file: No such file or directory in Unknown on line 0
[Sun Apr 08 21:38:45 2007] [crit] (70023)This function has not been implemented on this platform: DBD: driver for [DBDriver unset] not available
[Sun Apr 08 21:38:45 2007] [crit] (70023)This function has not been implemented on this platform: DBD: failed to initialise
[Sun Apr 08 21:38:45 2007] [crit] (70023)This function has not been implemented on this platform: DBD: driver for [DBDriver unset] not available
[Sun Apr 08 21:38:45 2007] [crit] (70023)This function has not been implemented on this platform: DBD: failed to initialise
[Sun Apr 08 21:38:45 2007] [crit] (70023)This function has not been implemented on this platform: DBD: driver for [DBDriver unset] not available
[Sun Apr 08 21:38:45 2007] [crit] (70023)This function has not been implemented on this platform: DBD: failed to initialise
[Sun Apr 08 21:38:45 2007] [crit] (70023)This function has not been implemented on this platform: DBD: driver for [DBDriver unset] not available
[Sun Apr 08 21:38:45 2007] [crit] (70023)This function has not been implemented on this platform: DBD: failed to initialise
[Sun Apr 08 21:38:45 2007] [notice] Apache configured -- resuming normal operations
[Sun Apr 08 21:38:45 2007] [crit] (70023)This function has not been implemented on this platform: DBD: driver for [DBDriver unset] not available
[Sun Apr 08 21:38:45 2007] [crit] (70023)This function has not been implemented on this platform: DBD: failed to initialise
[Sun Apr 08 21:41:09 2007] [crit] (70023)This function has not been implemented on this platform: DBD: driver for [DBDriver unset] not available
[Sun Apr 08 21:41:09 2007] [crit] (70023)This function has not been implemented on this platform: DBD: failed to initialise
[Sun Apr 08 21:41:26 2007] [error] [client 192.168.1.101] Directory index forbidden by Options directive: /home/httpd/siec/download/
[Sun Apr 08 21:41:27 2007] [crit] (70023)This function has not been implemented on this platform: DBD: driver for [DBDriver unset] not available
[Sun Apr 08 21:41:27 2007] [crit] (70023)This function has not been implemented on this platform: DBD: failed to initialise



Z tego co wiem to praguje mi tego lib'sa

Miałbym wielką prośbę aby ktoś mi go udostępnił

Pozdrawiam i Wesołych Świąt Wielkanocy

Autor:  oset17 [ niedziela, 8 kwietnia 2007, 23:59 ]
Tytuł: 

Wyłączyęłm w php.ini pgsql.so i teraz mam inne bledy

Cytuj:
[Sun Apr 08 23:52:09 2007] [notice] caught SIGTERM, shutting down
[Sun Apr 08 23:52:12 2007] [warn] Init: Session Cache is not configured [hint: SSLSessionCache]
[Sun Apr 08 23:52:13 2007] [notice] Digest: generating secret for digest authentication ...
[Sun Apr 08 23:52:13 2007] [notice] Digest: done
[Sun Apr 08 23:52:14 2007] [crit] (70023)This function has not been implemented on this platform: DBD: driver for [DBDriver unset] not available
[Sun Apr 08 23:52:14 2007] [crit] (70023)This function has not been implemented on this platform: DBD: failed to initialise
[Sun Apr 08 23:52:14 2007] [crit] (70023)This function has not been implemented on this platform: DBD: driver for [DBDriver unset] not available
[Sun Apr 08 23:52:14 2007] [crit] (70023)This function has not been implemented on this platform: DBD: failed to initialise
[Sun Apr 08 23:52:14 2007] [crit] (70023)This function has not been implemented on this platform: DBD: driver for [DBDriver unset] not available
[Sun Apr 08 23:52:14 2007] [crit] (70023)This function has not been implemented on this platform: DBD: failed to initialise
[Sun Apr 08 23:52:14 2007] [notice] Apache configured -- resuming normal operations
[Sun Apr 08 23:52:14 2007] [crit] (70023)This function has not been implemented on this platform: DBD: driver for [DBDriver unset] not available
[Sun Apr 08 23:52:14 2007] [crit] (70023)This function has not been implemented on this platform: DBD: failed to initialise
[Sun Apr 08 23:52:14 2007] [crit] (70023)This function has not been implemented on this platform: DBD: driver for [DBDriver unset] not available
[Sun Apr 08 23:52:14 2007] [crit] (70023)This function has not been implemented on this platform: DBD: failed to initialise
[Sun Apr 08 23:52:19 2007] [error] [client 192.168.1.101] Directory index forbidden by Options directive: /home/httpd/siec/download/
[Sun Apr 08 23:52:20 2007] [crit] (70023)This function has not been implemented on this platform: DBD: driver for [DBDriver unset] not available
[Sun Apr 08 23:52:20 2007] [crit] (70023)This function has not been implemented on this platform: DBD: failed to initialise
[Sun Apr 08 23:52:20 2007] [error] [client 192.168.1.101] Directory index forbidden by Options directive: /home/httpd/siec/download/
[Sun Apr 08 23:52:21 2007] [crit] (70023)This function has not been implemented on this platform: DBD: driver for [DBDriver unset] not available
[Sun Apr 08 23:52:21 2007] [crit] (70023)This function has not been implemented on this platform: DBD: failed to initialise
[Sun Apr 08 23:52:21 2007] [crit] (70023)This function has not been implemented on this platform: DBD: driver for [DBDriver unset] not available
[Sun Apr 08 23:52:21 2007] [crit] (70023)This function has not been implemented on this platform: DBD: failed to initialise
[Sun Apr 08 23:52:21 2007] [error] [client 192.168.1.101] Directory index forbidden by Options directive: /home/httpd/siec/download/
[Sun Apr 08 23:52:22 2007] [error] [client 192.168.1.101] Directory index forbidden by Options directive: /home/httpd/siec/download/
[Sun Apr 08 23:52:23 2007] [error] [client 192.168.1.101] Directory index forbidden by Options directive: /home/httpd/siec/download/
[Sun Apr 08 23:53:22 2007] [error] [client 192.168.1.101] File does not exist: /home/httpd/siec/download/Log
[Sun Apr 08 23:53:28 2007] [error] [client 192.168.1.101] File does not exist: /home/httpd/html/download/Log


Zaczynam podejzewac ze to wina konfiguracji

Tutaj znajduje sie wszystko (logi, /conf (czyli httpdkonfiguracje) oraz php.ini)

http://www.pmssc.dyn.pl/download/NND/ost/

Prosze kogoś o pomoc bo gdy otwieram katalog jest OK ale gdy wchdze 192.168.1.1/download i nei tylko download ale jaki kolwiek podkatalog wyskakuje mi ze nie mam praw do wejscia a od zew. czyli www.pmssc.dyn.pl/download jest ok tylko ze to inne katalogi ale z zew. moge wszedzie wejsc

Pozdrawiam i bardzo prosze o pomoc :oops:

Autor:  JakubC [ poniedziałek, 9 kwietnia 2007, 00:39 ]
Tytuł: 

Podałeś tyle cennych informacji a zapomniałeś o najważniejszej: jaką masz wersję apache?

Autor:  oset17 [ poniedziałek, 9 kwietnia 2007, 00:46 ]
Tytuł: 

Przepraszam, w zamieszaniu zawsze sie o czymś zapomni :oops:

Cytuj:
[root@netsys ~]# pacman -Qs apache
local/apache 2.2.3-2nnd
Wysokowydajny serwer HTTP, z SSL
local/apr 1.2.7-1nnd
The Apache Portable Runtime
local/apr-util 1.2.7-1nnd
Narzędzia dla Apache Portable Runtime



Cytuj:
[root@netsys ~]# pacman -Qs php
local/php 4.4.4-5nnd
A high-level scripting language


Kernel24 2.4.32-10

Autor:  JakubC [ poniedziałek, 9 kwietnia 2007, 12:55 ]
Tytuł: 

No to używasz mojej paczki. Kilka pytań kontrolnych:
1. Dlaczego korzystasz z testing?
2. masz/używasz postgresql ?
3. Czy masz zakomentowaną linię tą linię w /etc/httpd/conf/httpd.conf
#LoadModule dbd_module /usr/lib/apache/mod_dbd.so


Pozdrawiam

Autor:  oset17 [ poniedziałek, 9 kwietnia 2007, 14:53 ]
Tytuł: 

Ad 1 Korzystam z testing ponieważ wpisałem sobie nowe ropozytoria i jakoś tak nie miałem problemu z testing

Ad 2 Nie używam postgresql, nie mam go

Ad 3 linia jest odhaszowana, wszystko tak jak w
http://www.pmssc.dyn.pl/download/NND/os ... httpd.conf

Dla wyjasnienia wszytskei pliku w katalogu /NND/ost to "powiązania symboliczne" z oryginalnymi plikami w /etc/ jak i /var/log

---------------------Dodane później--------------------

Chciałbym dodać iż do tego katlogu do którego nei moge się dostać bo pisze "nie masz praw dostępu" gdy utworzylem w nim index.php albo index.html wtedy folder sie otworzył 8O biała strona byłą bo użyłem tylko znakó <?php ?> w pliku
Może ta wskazówka coś powie...


Pozdrawiam, HELP

Autor:  JakubC [ poniedziałek, 9 kwietnia 2007, 15:46 ]
Tytuł: 

To zaplotkuj tą linie. Jeżeli nie jesteś testerem to nie rozumiem dlaczego masz repo.test.

Co do tego folderu to wszystko tylko prawa dostępu, nadaj mu 777 i będzie ok.

Pozdrawiam

Autor:  oset17 [ poniedziałek, 9 kwietnia 2007, 15:54 ]
Tytuł: 

Niestety nie pomogło

Zaplotkowałem linie, chmod 777 i nadal to samo ...

Autor:  JakubC [ poniedziałek, 9 kwietnia 2007, 15:56 ]
Tytuł: 

Czyli co sie dokładnie dzieje bo się chyba nie rozumiemy?

Autor:  oset17 [ poniedziałek, 9 kwietnia 2007, 16:02 ]
Tytuł: 

Nie moge się dostać do żadnego katalogu w 192.168.1.1/ ponieważ wyskakuje mi błąd "error 403 Nie masz prawa dostępu do żądanego
katalogu."
strone na 192.168.1.1 otwiera bez przeszkód ale jakiś podkatalog np. download wlasnie ten blad wyskakuje

a mam w 192.168.1.1 w głównym katalogu założony .htaccess, i jest on dobry, dostep tylko dla użytkowników z LAN

---------Dodane później---------

to ciekawostka

wpisuje 192.168.1.1/download/ wyskakuje bląd 403 "nie masz dostepu"
wpisze 192.168.1.1/download/zdjecie.jpg (jakis plik ktory tam jest) to normalnie go otwiera 8O tylko katalogu nie moge ogladac, jak to jest?

Autor:  oset17 [ piątek, 13 kwietnia 2007, 00:02 ]
Tytuł: 

Po wielu kombinacjach nic nie stwierdziłem ... poprostu kaplica chyba ...

Naprawde nikt nie umie mi pomóc? dodam ze teraz nie działają pliki .htaccess w calym katalogu dla userów czyli /home/http/siec inne działaja katalogi ...

heh czarna magia czy co? :(

Autor:  rikardo7 [ piątek, 13 kwietnia 2007, 00:23 ]
Tytuł: 

a w pliku httpd.conf w lini(u mnie) 8 "ServerRoot" ja mam "/usr" a ty "/etc/httpd" ja bym to zmienil!! :-)

Autor:  oset17 [ piątek, 13 kwietnia 2007, 00:33 ]
Tytuł: 

Dzieki za pomoc ale niby czemu mam to zmieniac?

Pliki konfiguracyjne (u mnie) sa w /etc/httpd oryginalnei tak były i ich nie ruszałem sam.
Oczywiście spróbowałem Twojego sposobu, bo a nuz pomoze ale niestety nie ...

Autor:  rikardo7 [ piątek, 13 kwietnia 2007, 00:38 ]
Tytuł: 

bo tak jest nawet w orginalnym pliku apacha

EDIT
a nie lepiej bylo by ci uzyc konfiguratora ?
zmien grupe na Group #-1
a nazwa servera powinna byc chyba z HOSTNAME

Autor:  oset17 [ piątek, 13 kwietnia 2007, 00:45 ]
Tytuł: 

Powiem tylko jedno ... Ale ja g**** jestem :lol: oj będziecie sie smiali ze mnie jak wam powiem co było źle ...

Ponieważ nie używam DocumentRoot bo mam kilka www w róznych domenach na jednym IP

mam porobione documenty
/home/httpd/bidziny ; /html ; /siec

Wszystko chodziło pieknie bałwan jestem nie wpakowałem phpsysinfo do kat /siec wtedy sie posypal i dodanie w http.conf

: [/] [] ()
<Directory "/home/httpd/siec">


    Options Indexes FollowSymLinks
    AllowOverride All

</Directory>


Rozwiązalo problem i to dzięki wątkowi
http://forum.freesco.pl/viewtopic.php?t ... t=htaccess

Ale dziekuje wszystkim którzy chcieli mi pomóc

Autor:  Maciek [ piątek, 13 kwietnia 2007, 00:47 ]
Tytuł: 

Nie wiem skąd to wziąłeś?
: [/] [] ()
# Miejsce przechowywania plików konfiguracyjnych.
ServerRoot "/etc/httpd"

ServerRoot to powinno być /usr i nie jest to wcale miejsce przechowywania plików konfiguracyjnych.
O ile pamiętam za listowanie katalogów odpowiada Options Indexes, a za .htaccess AllowOverride All.

Autor:  oset17 [ piątek, 13 kwietnia 2007, 00:51 ]
Tytuł: 

Nie pamiętam już ale to miejsce "/etc/httpd" mam chyba od początku dodania Apach'a i chodziło ta i nadal chodzi

A jeśli chodzi o rozwiązaniu to po wpisaniu tego co jest zawarte w kodzie problem ustąpił i pliki .htaccess też działaja tzn zabezpieczaja foldery

Autor:  JakubC [ piątek, 13 kwietnia 2007, 01:04 ]
Tytuł: 

Maciek pisze:
Nie wiem skąd to wziąłeś?
: [/] [] ()
# Miejsce przechowywania plików konfiguracyjnych.
ServerRoot "/etc/httpd"

ServerRoot to powinno być /usr i nie jest to wcale miejsce przechowywania plików konfiguracyjnych.
.

Tam mi się siekło, w nowych wersjach jest już to poprawione, niestety nie dane im było jeszcze zobaczyć repozytorium...

Autor:  oset17 [ piątek, 13 kwietnia 2007, 01:12 ]
Tytuł: 

A ta linia jest odpowiedzialna za coś 'ważnego'? bo jak miałem od nowosci :) "/etc/httpd" teraz zmienilem na "/usr" to Apach jak pracował tak pracuje ... czyli OK a tamto to jak pisałem problem był directorów :x

Strona 1 z 1 Strefa czasowa UTC+2godz.
Powered by phpBB® Forum Software © phpBB Group
https://www.phpbb.com/