Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Apache non si avvia più[RISOLTO]
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
sourcez
Apprentice
Apprentice


Joined: 05 Feb 2004
Posts: 166
Location: Italy

PostPosted: Thu Aug 17, 2006 11:09 am    Post subject: Apache non si avvia più[RISOLTO] Reply with quote

dopo aver aggiornato il gcc da 3.4 a 4.1 apache non si avvia più:
Code:
# /etc/init.d/apache2 start
 * Starting apache2 ...
(13)Permission denied: Error retrieving pid file /var/run/apache2.pid                                                                             [ !! ]

e se provo a cancellare il file .pid da root mi dà permesso negato così come se cerco di fare ls o chmod 777
Code:

/var/run # ls
ls: apache2.pid: Permission denied
ls: cpufreqd.pid: Permission denied
acpid.socket  kdm.pid      slmodemd.pid

_________________
"Tutti pensano a cambiare l’umanità ma nessuno pensa a cambiare se stesso."
Lev Tolstoj


Last edited by sourcez on Thu Aug 24, 2006 5:22 pm; edited 1 time in total
Back to top
View user's profile Send private message
syntaxerrormmm
Guru
Guru


Joined: 17 Apr 2005
Posts: 449
Location: Romano di Lombardia - BG - ITALY

PostPosted: Thu Aug 17, 2006 11:40 am    Post subject: Reply with quote

Potresti lanciare un livecd, montare la partizione, cambiare directory, fare un bel
Code:
chown root:root * && chmod 644 *
e poi rebootare...

Ciao.
_________________
"Every rule can be broken, but no rule may be ignored."

Last.fm - Gentoo 2006.1 on:
Acer Aspire 1355LC - suspend2-sources-2.6.18-r3
IBM Thinkpad T30 - suspend2-sources-2.6.19-r3
Back to top
View user's profile Send private message
sourcez
Apprentice
Apprentice


Joined: 05 Feb 2004
Posts: 166
Location: Italy

PostPosted: Sat Aug 19, 2006 6:59 pm    Post subject: Reply with quote

Niente da fare sempre lo stesso problema qualunque cosa faccia ottengo sempre "permission-denied" aquesto punto temo una corruzione del file-system reiser-fs (versione 3.4) :x
_________________
"Tutti pensano a cambiare l’umanità ma nessuno pensa a cambiare se stesso."
Lev Tolstoj
Back to top
View user's profile Send private message
gutter
Bodhisattva
Bodhisattva


Joined: 13 Mar 2004
Posts: 7162
Location: Aarau, Aargau, Switzerland

PostPosted: Sat Aug 19, 2006 8:13 pm    Post subject: Reply with quote

sourcez wrote:
Niente da fare sempre lo stesso problema qualunque cosa faccia ottengo sempre "permission-denied" aquesto punto temo una corruzione del file-system reiser-fs (versione 3.4) :x


Possibile ho avuto problemi simili :?

Se vuoi un consiglio prima di rovinare inevitabilmente un fs, prova a creare un file che contenga l'intero fs (ad esempio con dd) e lanciare un reiserfsck --rebuild-tree su quel file. Se va tutto bene allora monta il fs in questione da livecd e procedi alla riparazione.
_________________
Registered as User #281564 and Machines #163761
Back to top
View user's profile Send private message
sourcez
Apprentice
Apprentice


Joined: 05 Feb 2004
Posts: 166
Location: Italy

PostPosted: Thu Aug 24, 2006 5:22 pm    Post subject: Reply with quote

Alla fine ho risolto molto bruscamente appoggiando i file della partizione danneggiata su un'altra partizione, ho riformattato e ritravasato tutto con "cp -a". Difatti gli unici due file a cui cp non è riuscito ad accedere erano proprio apache2.pid e cpufreqd.pid.
Sarà stato il caldo e qualche shutdown improvviso di troppo a dare alla testa al reiserfs?
_________________
"Tutti pensano a cambiare l’umanità ma nessuno pensa a cambiare se stesso."
Lev Tolstoj
Back to top
View user's profile Send private message
.:deadhead:.
Advocate
Advocate


Joined: 25 Nov 2003
Posts: 2963
Location: Milano, Italy

PostPosted: Thu Aug 24, 2006 9:36 pm    Post subject: Reply with quote

who knows :D il fattore caldo è purtroppo il più probabile e quello che gioca i peggiori scherzi.
_________________
Proudly member of the Gentoo Documentation Project: the Italian Conspiracy ! ;)
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