Apache22 fehler Daroo Files 2011

03/04/2012 15:01 [SA]KiLLeD#1
Also wenn ich VBox starte und den Server anschalte, kommt da ein fehler.

in der vbox steht dann:

Starting Apache22.
/etc/rc: WARNING: failed to start apache22

und dann noch kleiner weiterer text und der login.

was muss ich tun damit es keine Meldung mehr gibt? Außerdem ist dieser "Char" Button auf der Homepage rot statt grün. Kann es an diesem Fehler liegen? Ein Freund von mir konnte ja nichtmal sich einloggen. Alles hängt glaub ich an der Apache22 ab. Also was muss ich machen? Danke jetzt schon wer auch immer das gelesen hat.
03/04/2012 15:39 ImMarco#2
also erstmal hängt apache nicht mit den serverfiles zusammen
den fehler kannst du beheben indem du deine IP der homepage richtig in der hosts datei einträgst, die liegt im /etc/ ordner
03/04/2012 16:43 [SA]KiLLeD#3
Quote:
Originally Posted by ImMarco View Post
also erstmal hängt apache nicht mit den serverfiles zusammen
den fehler kannst du beheben indem du deine IP der homepage richtig in der hosts datei einträgst, die liegt im /etc/ ordner
wo finde ich diesen sogenannten /etc/ ordner? jetzt xampp oder wie?
03/04/2012 23:33 ͺȺʂʞa#4
du connectest mit filezilla auf deinen server gehts dann in das verzeichnis etc/rc.d und dort liegt einen datei namens hosts die lädst du runter öffnest sie mit notepad++ und in der datei steht irgendwo 127.0.1 und dahinter nochwas das was dahinter steht ersetzt du druch daroo.org dann datei speichern wieder hochladen und rebooten und nicht vergessen in der portmap die ports 3306 80 und 22 frei zuschalten
03/05/2012 06:52 Sariumus#5
Über 3306 läuft doch die Datenbank?
Nenn mir mal bitte einen Port für die Datenbank das der Port 3306 frei wird.
03/05/2012 17:07 [SA]KiLLeD#6
Quote:
Originally Posted by sonic 10 View Post
du connectest mit filezilla auf deinen server gehts dann in das verzeichnis etc/rc.d und dort liegt einen datei namens hosts die lädst du runter öffnest sie mit notepad++ und in der datei steht irgendwo 127.0.1 und dahinter nochwas das was dahinter steht ersetzt du druch daroo.org dann datei speichern wieder hochladen und rebooten und nicht vergessen in der portmap die ports 3306 80 und 22 frei zuschalten
Code:
# $FreeBSD: src/etc/hosts,v 1.16.34.1.6.1 2010/12/21 17:09:25 kensmith Exp $
#
# Host Database
#
# This file should contain the addresses and aliases for local hosts that
# share this file.  Replace 'my.domain' below with the domainname of your
# machine.
#
# In the presence of the domain name service or NIS, this file may
# not be consulted at all; see /etc/nsswitch.conf for the resolution order.
#
#
::1			localhost localhost.my.domain
127.0.0.1		localhost localhost.my.domain
#
# Imaginary network.
#10.0.0.2		myname.my.domain myname
#10.0.0.3		myfriend.my.domain myfriend
#
# According to RFC 1918, you can use the following IP networks for
# private nets which will never be connected to the Internet:
#
#	10.0.0.0	-   10.255.255.255
#	172.16.0.0	-   172.31.255.255
#	192.168.0.0	-   192.168.255.255
#
# In case you want to be able to connect to the Internet, you need
# real official assigned numbers.  Do not try to invent your own network
# numbers but instead get one from your network provider (if any) or
# from your regional registry (ARIN, APNIC, LACNIC, RIPE NCC, or AfriNIC.)
#
was soll ich jetz bearbeiten?! auch das localhost oder wie jetz?
03/05/2012 17:59 ͺȺʂʞa#7
einfach so wieder hochladen

PHP Code:
# $FreeBSD: src/etc/hosts,v 1.16.34.1.6.1 2010/12/21 17:09:25 kensmith Exp $
#
# Host Database
#
# This file should contain the addresses and aliases for local hosts that
# share this file.  Replace 'my.domain' below with the domainname of your
# machine.
#
# In the presence of the domain name service or NIS, this file may
# not be consulted at all; see /etc/nsswitch.conf for the resolution order.
#
#
::1            localhost localhost.my.domain
127.0.0.1        localhost daroo
.org
#
# Imaginary network.
#10.0.0.2        myname.my.domain myname
#10.0.0.3        myfriend.my.domain myfriend
#
# According to RFC 1918, you can use the following IP networks for
# private nets which will never be connected to the Internet:
#
#    10.0.0.0    -   10.255.255.255
#    172.16.0.0    -   172.31.255.255
#    192.168.0.0    -   192.168.255.255
#
# In case you want to be able to connect to the Internet, you need
# real official assigned numbers.  Do not try to invent your own network
# numbers but instead get one from your network provider (if any) or
# from your regional registry (ARIN, APNIC, LACNIC, RIPE NCC, or AfriNIC.)

03/05/2012 18:50 [SA]KiLLeD#8
Quote:
Originally Posted by sonic 10 View Post
einfach so wieder hochladen

PHP Code:
# $FreeBSD: src/etc/hosts,v 1.16.34.1.6.1 2010/12/21 17:09:25 kensmith Exp $
#
# Host Database
#
# This file should contain the addresses and aliases for local hosts that
# share this file.  Replace 'my.domain' below with the domainname of your
# machine.
#
# In the presence of the domain name service or NIS, this file may
# not be consulted at all; see /etc/nsswitch.conf for the resolution order.
#
#
::1            localhost localhost.my.domain
127.0.0.1        localhost daroo
.org
#
# Imaginary network.
#10.0.0.2        myname.my.domain myname
#10.0.0.3        myfriend.my.domain myfriend
#
# According to RFC 1918, you can use the following IP networks for
# private nets which will never be connected to the Internet:
#
#    10.0.0.0    -   10.255.255.255
#    172.16.0.0    -   172.31.255.255
#    192.168.0.0    -   192.168.255.255
#
# In case you want to be able to connect to the Internet, you need
# real official assigned numbers.  Do not try to invent your own network
# numbers but instead get one from your network provider (if any) or
# from your regional registry (ARIN, APNIC, LACNIC, RIPE NCC, or AfriNIC.)

okey danke, es kommt keine fehlermeldung, heißt dass es klappt? :D

mfg
03/05/2012 19:35 ͺȺʂʞa#9
ja jetzt einfach auf deine hamachi ip mit 100 am ende connecten im browser
03/05/2012 21:02 Bektas008#10
lol kann man homepage auch über vpc hoch laden?
03/05/2012 21:10 Sariumus#11
Aber wie bearbeite ich die Seite?
03/05/2012 21:23 [SA]KiLLeD#12
Quote:
Originally Posted by Bektas008 View Post
lol kann man homepage auch über vpc hoch laden?
Nein also für ne Homepage brauchst du eigentlich xampp und über vpc ladet man das nicht runter. es gibt viele tuts wie man ne hp macht.

Quote:
Originally Posted by Sariumus View Post
Aber wie bearbeite ich die Seite?
Jetzt von der Homepage oder welche Seiten meinst du?
03/05/2012 21:26 Sariumus#13
Ja habe die HP so gemacht. Also habe jetzt die von der SF.. Wie bearbeite ich diese Homepage jetzt?
03/05/2012 21:31 [SA]KiLLeD#14
Quote:
Originally Posted by Sariumus View Post
Ja habe die HP so gemacht. Also habe jetzt die von der SF.. Wie bearbeite ich diese Homepage jetzt?
In Xampp Datenverzeichnis rein, > htdocs > und dort müsste halt nen ordner mit pages sein, die kannste dann mit notepad++ oder editor selbst bearbeiten, was genau wie weiß ich nicht.
03/05/2012 21:38 Sariumus#15
in htdocs ist nichts....