View previous topic :: View next topic |
Author |
Message |
funkoolow Guru
Joined: 21 Sep 2004 Posts: 545 Location: er paese delle anguille
|
Posted: Mon Mar 05, 2012 10:54 am Post subject: [RISOLTO] errore odbc di apache |
|
|
salve,
stamattina all'avvio del mio server rilevo questo errore di avvio di apache:
Code: | /etc/init.d/apache2 start
* apache2 has detected an error in your setup:
apache2: Syntax error on line 170 of /etc/apache2/httpd.conf: Syntax error on line 4 of /etc/apache2/modules.d/70_mod_php5.conf: Cannot load /usr/lib/apache2/modules/libphp5.so into server: libodbc.so.1: cannot open shared object file: No such file or directory
* ERROR: apache2 failed to start
|
non mi pare di aver toccato niente di relativo ad apache, php o simili, potrebbe trattarsi di una corruzione della libreria a livello del disco? per il momento sto provando a ricompilare php senza il supporto a odbc (cosa che non so neanche se potrebbe risolvere), qualcuno ha qualche altro eventuale suggerimento? _________________ SabaziaLUG: il LUG a nord di Roma
Last edited by funkoolow on Sun Mar 11, 2012 10:31 am; edited 1 time in total |
|
Back to top |
|
|
djinnZ Advocate
Joined: 02 Nov 2006 Posts: 4831 Location: somewhere in L.O.S.
|
Posted: Mon Mar 05, 2012 11:26 am Post subject: |
|
|
fai una verifica con qfile per tutti i libphp5 o libodbc che trovi in giro per il sistema e ricompila i pacchetti che li contengono.
Alle volte a revdep-rebuild sfugge qualcosa.
Normalmente questa è la soluzione (se poi ti sei reso conto che il supporto ad odbc non ti serve e stai finalmente iniziando a ripulire le dipendenze male non fai.
un controllo approfondito del filesystem è d'uopo se non se non puoi supporrre che il problema sia frutto di un qualche aggiornamento. _________________ scita et risus abundant in ore stultorum sed etiam semper severi insani sunt
mala tempora currunt...mater stultorum semper pregna est
Murpy'sLaw:If anything can go wrong, it will - O'Toole's Corollary:Murphy was an optimist |
|
Back to top |
|
|
funkoolow Guru
Joined: 21 Sep 2004 Posts: 545 Location: er paese delle anguille
|
Posted: Sun Mar 11, 2012 10:31 am Post subject: |
|
|
ho ricompilato php5 e ora va tutto di nuovo... bah, forse era proprio il disco, il che spiegherebbe anche perchè revdep-rebuild non segnalava mancanze... taggo risolto e mi dedico al badblocks
grazie cmq della dritta con qfile _________________ SabaziaLUG: il LUG a nord di Roma |
|
Back to top |
|
|
djinnZ Advocate
Joined: 02 Nov 2006 Posts: 4831 Location: somewhere in L.O.S.
|
Posted: Sun Mar 11, 2012 1:34 pm Post subject: |
|
|
Se hai il dubbio puoi anche farti (spiacente ma non ci provo proprio, non è giornata) uno script con equery (od anche andando a prendere direttamente i checksum) per vedere quali file sono stati modificati rispetto al checksum e ricompilare di conseguenza. _________________ scita et risus abundant in ore stultorum sed etiam semper severi insani sunt
mala tempora currunt...mater stultorum semper pregna est
Murpy'sLaw:If anything can go wrong, it will - O'Toole's Corollary:Murphy was an optimist |
|
Back to top |
|
|
funkoolow Guru
Joined: 21 Sep 2004 Posts: 545 Location: er paese delle anguille
|
|
Back to top |
|
|
Onip Advocate
Joined: 02 Sep 2004 Posts: 2912 Location: Parma (Italy)
|
Posted: Mon Mar 12, 2012 3:16 pm Post subject: |
|
|
equery -h wrote: |
equery -h
Gentoo package query tool
Usage: equery [global-options] module-name [module-options]
-- CUT --
chec(k) verify checksums and timestamps for PKG
-- CUT --
|
_________________ Linux Registered User n. 373835
Titus Lucretius Carus, De Rerum Natura - Tantum religio potuit suadere malorum |
|
Back to top |
|
|
djinnZ Advocate
Joined: 02 Nov 2006 Posts: 4831 Location: somewhere in L.O.S.
|
Posted: Tue Mar 13, 2012 10:30 am Post subject: |
|
|
L'unico problema è che non è una scheggia e l'output non è il massimo. Forse è meglio aggirarlo _________________ scita et risus abundant in ore stultorum sed etiam semper severi insani sunt
mala tempora currunt...mater stultorum semper pregna est
Murpy'sLaw:If anything can go wrong, it will - O'Toole's Corollary:Murphy was an optimist |
|
Back to top |
|
|
|