View previous topic :: View next topic |
Author |
Message |
sourcez Apprentice
![Apprentice Apprentice](/images/ranks/rank_rect_2.gif)
![](images/avatars/1259934382427260b608e94.png)
Joined: 05 Feb 2004 Posts: 166 Location: Italy
|
Posted: Thu Aug 17, 2006 11:09 am Post subject: Apache non si avvia più[RISOLTO] |
|
|
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 lumanità 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 |
|
![](templates/gentoo/images/spacer.gif) |
syntaxerrormmm Guru
![Guru Guru](/images/ranks/rank_rect_3.gif)
![](images/avatars/399077165456485f2ec558.jpg)
Joined: 17 Apr 2005 Posts: 449 Location: Romano di Lombardia - BG - ITALY
|
Posted: Thu Aug 17, 2006 11:40 am Post subject: |
|
|
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 |
|
![](templates/gentoo/images/spacer.gif) |
sourcez Apprentice
![Apprentice Apprentice](/images/ranks/rank_rect_2.gif)
![](images/avatars/1259934382427260b608e94.png)
Joined: 05 Feb 2004 Posts: 166 Location: Italy
|
Posted: Sat Aug 19, 2006 6:59 pm Post subject: |
|
|
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) ![Mad :x](images/smiles/icon_mad.gif) _________________ "Tutti pensano a cambiare lumanità ma nessuno pensa a cambiare se stesso."
Lev Tolstoj |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
gutter Bodhisattva
![Bodhisattva Bodhisattva](/images/ranks/rank-bodhisattva.gif)
![](images/avatars/67030318436dd16c1dd5e.jpg)
Joined: 13 Mar 2004 Posts: 7162 Location: Aarau, Aargau, Switzerland
|
Posted: Sat Aug 19, 2006 8:13 pm Post subject: |
|
|
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) ![Mad :x](images/smiles/icon_mad.gif) |
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 |
|
![](templates/gentoo/images/spacer.gif) |
sourcez Apprentice
![Apprentice Apprentice](/images/ranks/rank_rect_2.gif)
![](images/avatars/1259934382427260b608e94.png)
Joined: 05 Feb 2004 Posts: 166 Location: Italy
|
Posted: Thu Aug 24, 2006 5:22 pm Post subject: |
|
|
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 lumanità ma nessuno pensa a cambiare se stesso."
Lev Tolstoj |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
.:deadhead:. Advocate
![Advocate Advocate](/images/ranks/rank-G-1-advocate.gif)
![](images/avatars/137562117341c040a92de3d.png)
Joined: 25 Nov 2003 Posts: 2963 Location: Milano, Italy
|
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
|