Apache und ProFTPD startet nicht

Irgendwelche Probleme mit XAMPP für Mac OS X? Dann ist hier genau der richtige Ort um nachzufragen.

Postby HOAPT » 06. October 2005 11:07

ich hab das mit dem etc/hosts noch net verstanden, bin ja auch nen ziemlicher n00b. kann mir das noch jemand erklären?

Thx im vorraus, HOAPT
HOAPT
 
Posts: 3
Joined: 05. October 2005 19:38

Postby daniello » 06. October 2005 18:10

ich hatte den Rechnernamen nicht korrekt in die Zeile eingetrage .. dieser steht in der Fehlermeldung drin. Wichtig ist, dass in besagter Datei ein Eintrag steht
127.0.0.1 Rechnername

Das kann man auch mit einem Editor da rein schreiben.

Gruß
Daniel
daniello
 
Posts: 5
Joined: 02. October 2005 16:17

Postby HOAPT » 06. October 2005 22:16

:~ ptmc$ sudo su
:/Users/ptmc root# /Applications/xampp/xamppfiles/mampp restart
Stopping XAMPP for MacOS X 0.4...
XAMPP: XAMPP-Apache is not running.
XAMPP: Stopping MySQL...
XAMPP: XAMPP-ProFTPD is not running.
XAMPP stopped.
Starting XAMPP for MacOS X 0.4...
XAMPP: Starting Apache with SSL (and PHP5)...
XAMPP: Error 1! Couldn't start Apache!
XAMPP: Starting MySQL...
XAMPP: Starting ProFTPD...
XAMPP: - getaddrinfo '' error: nodename nor servname provided, or not known
- warning: unable to determine IP address of ''
- error: no valid servers configured
- Fatal: error processing configuration file '/Applications/xampp/etc/proftpd.conf'
XAMPP: Error 1! Couln't start ProFTPD!
XAMPP for MacOS X started.
:/Users/ptmc root#


also was muss ich eingeben wenn das kommt?
ich krieg das einfach net gebacken, sry
HOAPT
 
Posts: 3
Joined: 05. October 2005 19:38

Postby daniello » 07. October 2005 05:12

Dein Rechner ist offenbar nameslos .. meiner hieß
Macintosh.local

da sah die eine Zeile in der Fehlermeldung so aus:

XAMPP: - getaddrinfo 'Macintosh.local' error: No address associated with nodename

Also musste

127.0.0.1 Macintosh.local
in die Datei geschrieben werden.

Gib Deinem "Kind" mal einen Namen :-)

Daniel
daniello
 
Posts: 5
Joined: 02. October 2005 16:17

Postby HOAPT » 07. October 2005 09:21

:/Users/ptmc root# echo '127.0.0.1 Macintosh.local' >> /etc/hosts
:/Users/ptmc root# /Applications/xampp/xamppfiles/mampp restart
Stopping XAMPP for MacOS X 0.4...
XAMPP: XAMPP-Apache is not running.
XAMPP: Stopping MySQL...
XAMPP: XAMPP-ProFTPD is not running.
XAMPP stopped.
Starting XAMPP for MacOS X 0.4...
XAMPP: Starting Apache with SSL (and PHP5)...
XAMPP: Error 1! Couldn't start Apache!
XAMPP: Starting MySQL...
XAMPP: Starting ProFTPD...
XAMPP: - getaddrinfo '' error: nodename nor servname provided, or not known
- warning: unable to determine IP address of ''
- error: no valid servers configured
- Fatal: error processing configuration file '/Applications/xampp/etc/proftpd.conf'
XAMPP: Error 1! Couln't start ProFTPD!
XAMPP for MacOS X started.
:/Users/ptmc root#


läuft immernoch net
:(
HOAPT
 
Posts: 3
Joined: 05. October 2005 19:38

Postby ego » 14. September 2006 09:07

Hallo erstmal!

Das selbe Problem wie HOAPT hab ich auch, und auch nach mehreren Tagen suchen in Foren und vielen De-und Reinstallationen finde ich keine Lösung.

Der Apple-Apache startet und funktioniert problemlos, aber beim starten von xampp heißt es:

XAMPP: Starting Apache with SSL (and PHP5)...
XAMPP: Error 1! Couldn't start Apache!
XAMPP: Starting MySQL...
XAMPP: Starting ProFTPD...
XAMPP: - getaddrinfo '' error: nodename nor servname provided, or not known
- warning: unable to determine IP address of ''
- error: no valid servers configured
- Fatal: error processing configuration file '/Applications/xampp/etc/proftpd.conf'
XAMPP: Error 1! Couln't start ProFTPD!
XAMPP for MacOS X started.



Das deutet ja darauf hin, dass mein Rechner keinen Namen hat, hat er aber laut "Sharing". Dieser Name ist auch in der hosts-Datei eingetragen.

Weiß echt grad nicht weiter.
ego
 
Posts: 1
Joined: 14. September 2006 08:58

Postby breytex » 11. October 2006 13:42

Hallo zusammen!
Habe gerade eben auch versucht xampp auf meinem macbook zu installieren..

Auch bei mir startet apache nicht...
"error 1!"

echo '127.0.0.1 noname' >> /etc/hosts

habe ich auch probiert...
danach restart, hat nix gebracht.

Jemand ne idee was man noch versuchen könnte ?
breytex
 
Posts: 3
Joined: 11. October 2006 13:34

Postby Waldgeist » 13. October 2006 19:01

Gut jetzt wo ich es auch verstanden habe hier nochmal für alle:

Ihr dürft nicht einfach "echo '127.0.0.1 noname' >> /etc/hosts" eintragen.
Für noname müsst ihr den Rechnernamen eintragen.
Dieser ist zu finden und zu ändern unter Systemeinstellungen > Sharing und dort ganz oben der Gerätename.

Dann funktioniet es bzw. danach hat es bei mir funktioniert.

Grüße Jonas
Waldgeist
 
Posts: 6
Joined: 13. October 2006 16:47
Location: Berlin

Postby breytex » 22. October 2006 13:16

das war mir schon klar, ich habe da auch meinen pc namen eingetragen, es ausgeführt, aber beim restart kommt immernoch error 1!
breytex
 
Posts: 3
Joined: 11. October 2006 13:34

Apache and ProFTPD startet nicht

Postby sailorarie » 05. December 2006 18:29

Ich habe auch den selben Problem:


root# /Applications/xampp/xamppfiles/mampp start
Starting XAMPP for MacOS X 0.6a...
XAMPP: Starting Apache with SSL (and PHP5)...
XAMPP: Error 1! Couldn't start Apache!
XAMPP: Starting MySQL...
XAMPP: Starting ProFTPD...
XAMPP: - IPv4 getaddrinfo '' error: nodename nor servname provided, or not known
- warning: unable to determine IP address of ''
- error: no valid servers configured
- Fatal: error processing configuration file '/Applications/xampp/etc/proftpd.conf'
XAMPP: Error 1! Couln't start ProFTPD!

Leider hilft es nicht wenn ich die Hostfile aendere..
Ich habe mac osx 10.4 Intel..

Wer hilft ? Vielen dank !!
sailorarie
 
Posts: 1
Joined: 05. December 2006 15:16

Postby preisel » 14. December 2006 17:50

wenn ich das machen will sagt er mir Permission denied

liegt vermutlich daran das ich kein root bin, aber wie werde ich root? ich bin der einzige benutzer an meinem Laptop...

das kommt bei mir:
smpc:~ sm$ echo '127.0.0.1 smpc' >> /etc/hosts
-bash: /etc/hosts: Permission denied
preisel
 
Posts: 6
Joined: 14. December 2006 17:19

Postby Kristian Marcroft » 14. December 2006 18:21

preisel wrote:wenn ich das machen will sagt er mir Permission denied

liegt vermutlich daran das ich kein root bin, aber wie werde ich root? ich bin der einzige benutzer an meinem Laptop...

das kommt bei mir:
smpc:~ sm$ echo '127.0.0.1 smpc' >> /etc/hosts
-bash: /etc/hosts: Permission denied


Hi,

versuchs mal mit:
$ sudo echo '127.0.0.1 smpc' >> /etc/hosts

Gruß
Kristian Marcroft
User avatar
Kristian Marcroft
AF Moderator
 
Posts: 2962
Joined: 03. January 2003 12:08
Location: Diedorf

Postby preisel » 14. December 2006 18:31

nee ohne $ funktionierts jetzt, hab mich nicht als root eingeloggt gehabt...
preisel
 
Posts: 6
Joined: 14. December 2006 17:19

Postby Kristian Marcroft » 14. December 2006 18:39

Hi,

das "$" gehört auch nicht dazu.
In der Unixwelt bedeutet "$" = User und "#" = root.
Also wenn vor einem Kommando $ steht sollst du das als "User" ausführen, also mit deinem Account und wenn ein # vor einem Befehl steht ist es erforderlich diesen Befehl als "root" auszuführen, bzw. mit "sudo".

Gruß
Kristian Marcroft
User avatar
Kristian Marcroft
AF Moderator
 
Posts: 2962
Joined: 03. January 2003 12:08
Location: Diedorf

Postby preisel » 14. December 2006 19:19

Geht immernoch nicht, der Apache zeigt nachwievor den Error

ProFTPD startet er ohne Probleme

echo '127.0.0.1 smpc' >> /etc/hosts
mit smpc-local
und/oder sudo erbringen keine Wirkung, bin mitlerweile ratlos
preisel
 
Posts: 6
Joined: 14. December 2006 17:19

PreviousNext

Return to XAMPP für macOS

Who is online

Users browsing this forum: No registered users and 6 guests