greghy 10 Report post Posted April 26, 2005 Ciao a tutti, ho un problema: APACHE (dopo che gli ho apportato le modifiche per configurare il php) non vuole partire! Infatti quando su Terminale scrivo il comando "apachectl graceful" mi appaiono queste righe: /usr/sbin/apachectl graceful: httpd not running, trying to start Processing config directory: /private/etc/httpd/users/*.conf Processing config file: /private/etc/httpd/users/gregorio.conf /usr/sbin/apachectl graceful: httpd could not be started Ho già provato a cambiare i privilegi d'accesso del file "/usr/sbin/apachectl graceful" ma non cambia niente!!! Cosa devo fare? Per favore aiutatemi!!! Share this post Link to post Share on other sites
vdm 10 Report post Posted April 27, 2005 Prova un apachectl configtest ti dovrebbe dire se ci sono errori.Per il php, la cosa migliore è il package di Marc Lyanage, http://www.entropy.ch/software/macosx/php/ Share this post Link to post Share on other sites
gabibbo 10 Report post Posted June 27, 2005 Ciao, scusate ma il comando corretto non è "sudo apachectl graceful"? sono pienamente daccordo per il pacchetto PHP Share this post Link to post Share on other sites
fabribit 10 Report post Posted September 1, 2005 Prova un apachectl configtest ti dovrebbe dire se ci sono errori.Per il php, la cosa migliore è il package di Marc Lyanage, http://www.entropy.ch/software/macosx/php/ ciao ho letto e seguito i comandi per far partire apache...ma mi dà questo errorehttpd could not startedcome posso fare?? Share this post Link to post Share on other sites
vdm 10 Report post Posted September 2, 2005 ciao ho letto e seguito i comandi per far partire apache...ma mi dà questo errorehttpd could not startedcome posso fare?? Citazione:Originale inviato da vdmProva un apachectl configtestti dovrebbe dire se ci sono errori. Share this post Link to post Share on other sites
Inospitale 10 Report post Posted November 19, 2007 Buon giorno, ho il medesimo problema… non mi fa partire Apache.Ultimamente, ho pasticciato un po' ho seguito vari protocolli per installare mysql (che funziona anche se ovviamente non lo posso usare) e ho provato due volte ad attivare php. Ora non va piùIl messaggio che ricevo è questo:Last login: Mon Nov 19 11:02:02 on ttyp2/Volumes/PHP\ MySQL\ OsX\ Ver\ 5/Apache\ Start\ Stop/start_apache_dan; exitWelcome to Darwin!powerbook-g4-15-di-ennio-dal-bo:~ federico$ /Volumes/PHP\ MySQL\ OsX\ Ver\ 5/Apache\ Start\ Stop/start_apache_dan; exit/usr/sbin/apachectl graceful: httpd not running, trying to startProcessing config directory: /private/etc/httpd/users/*.conf Processing config file: /private/etc/httpd/users/+entropy-php.conf Processing config file: /private/etc/httpd/users/federico.conf/usr/sbin/apachectl: line 193: 531 Bus error $HTTPD/usr/sbin/apachectl graceful: httpd could not be startedlogout[Processo completato]Se però verifico la sintassi dell'http, sembra tutto ok:Last login: Mon Nov 19 10:58:38 on ttyp2Welcome to Darwin!powerbook-g4-15-di-ennio-dal-bo:~ federico$ apachectl configtestProcessing config directory: /private/etc/httpd/users/*.conf Processing config file: /private/etc/httpd/users/+entropy-php.conf Processing config file: /private/etc/httpd/users/federico.confSyntax OKHo provato con pacifist a reinstallare apache, ma non è cambiato niente… qualche idea? GrazieHo un mac 32bit, 10.4.10, 1Gb Share this post Link to post Share on other sites
MacApp 10 Report post Posted November 19, 2007 powerbook-g4-15-di-ennio-dal-bo:~ federico$ /Volumes/PHP\ MySQL\ OsX\ Ver\ 5/Apache\ Start\ Stop/start_apache_dan; exit cos'è? Share this post Link to post Share on other sites
Inospitale 10 Report post Posted November 19, 2007 Ah, semplicemtente il nome del computer e dove è collocata la versione apache Share this post Link to post Share on other sites
MacApp 10 Report post Posted November 19, 2007 Ah, semplicemtente il nome del computer e dove è collocata la versione apachescusa ma: a me sembra che:powerbook-g4-15-di-ennio-dal-bo:~ federico$sia il propmpt dei comandi, e:/Volumes/PHP\ MySQL\ OsX\ Ver\ 5/Apache\ Start\ Stop/start_apache_dan;un tuo programma, eexitun exit appunto.Magari non c'entra nulla, ma penso sarebbe meglio se non ci fossero.Hai provato solo con # apachectl stop# apachectl startDopo aver "stoppato" apache, prima quindi di fare start, verifica che non ci siano altre istanze di apache che girano con (se non ci sono processi httpd giranti, allora non ti deve stamapre nulla a video):# ps aux | grep httpd | grep -v grep Share this post Link to post Share on other sites
Inospitale 10 Report post Posted November 19, 2007 Dunque… IL fatto è che in precedenza, ho seguito vari protocolli per avviare php con Apache.1) il primo, qui: http://www.glugitalia.org/vedi_tutto.php?id=294Poi, non sortendo alcun effetto, ho seguito queste indicazioni2) qui:http://it.answers.yahoo.com/question/index;_ylt=AniO62ckeD2yQGIQLKRZ7XvxDQx.;_ylv=3?qid=20070317085109AAl4VKr&show=7#profile-info-028380052ff7268d6ad2a4ac6ff743c6aaNOn funzionando NESSUNA delle due soluzioni (in pratica apache non va), allora ho estratto con pacifist i contenuti di installazione e ho reinstallato tutti i file per Apache, senza effetto…4) per ultimo, ho installato XAMPP, sebbene sia universal-binary, senza effetto…HO scritto apachect1 stop ecc ecc…*non stampa nulla a video. Per quanto riguarda l'ultima stringa, mi da:Last login: Mon Nov 19 14:26:35 on ttyp1Welcome to Darwin!powerbook-g4-15-di-ennio-dal-bo:~ federico$ # apachectl stoppowerbook-g4-15-di-ennio-dal-bo:~ federico$ # apachectl startpowerbook-g4-15-di-ennio-dal-bo:~ federico$ # apachectl stoppowerbook-g4-15-di-ennio-dal-bo:~ federico$ # ps aux | grep httpd | grep -v greppowerbook-g4-15-di-ennio-dal-bo:~ federico$ Share this post Link to post Share on other sites
Inospitale 10 Report post Posted November 21, 2007 up! up! Share this post Link to post Share on other sites