Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
[RISOLTO] errore odbc di apache
View unanswered posts
View posts from last 24 hours
View posts from last 7 days

 
Reply to topic    Gentoo Forums Forum Index Forum italiano (Italian)
View previous topic :: View next topic  
Author Message
funkoolow
Guru
Guru


Joined: 21 Sep 2004
Posts: 545
Location: er paese delle anguille

PostPosted: Mon Mar 05, 2012 10:54 am    Post subject: [RISOLTO] errore odbc di apache Reply with quote

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
View user's profile Send private message
djinnZ
Advocate
Advocate


Joined: 02 Nov 2006
Posts: 4831
Location: somewhere in L.O.S.

PostPosted: Mon Mar 05, 2012 11:26 am    Post subject: Reply with quote

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:wink:
mala tempora currunt...mater stultorum semper pregna est :evil:
Murpy'sLaw:If anything can go wrong, it will - O'Toole's Corollary:Murphy was an optimist :wink:
Back to top
View user's profile Send private message
funkoolow
Guru
Guru


Joined: 21 Sep 2004
Posts: 545
Location: er paese delle anguille

PostPosted: Sun Mar 11, 2012 10:31 am    Post subject: Reply with quote

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
View user's profile Send private message
djinnZ
Advocate
Advocate


Joined: 02 Nov 2006
Posts: 4831
Location: somewhere in L.O.S.

PostPosted: Sun Mar 11, 2012 1:34 pm    Post subject: Reply with quote

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:wink:
mala tempora currunt...mater stultorum semper pregna est :evil:
Murpy'sLaw:If anything can go wrong, it will - O'Toole's Corollary:Murphy was an optimist :wink:
Back to top
View user's profile Send private message
funkoolow
Guru
Guru


Joined: 21 Sep 2004
Posts: 545
Location: er paese delle anguille

PostPosted: Sun Mar 11, 2012 1:40 pm    Post subject: Reply with quote

pare interessante, lo provo al più presto 8)
_________________
SabaziaLUG: il LUG a nord di Roma
Back to top
View user's profile Send private message
Onip
Advocate
Advocate


Joined: 02 Sep 2004
Posts: 2912
Location: Parma (Italy)

PostPosted: Mon Mar 12, 2012 3:16 pm    Post subject: Reply with quote

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
View user's profile Send private message
djinnZ
Advocate
Advocate


Joined: 02 Nov 2006
Posts: 4831
Location: somewhere in L.O.S.

PostPosted: Tue Mar 13, 2012 10:30 am    Post subject: Reply with quote

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:wink:
mala tempora currunt...mater stultorum semper pregna est :evil:
Murpy'sLaw:If anything can go wrong, it will - O'Toole's Corollary:Murphy was an optimist :wink:
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Forum italiano (Italian) All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum