Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Problem mit Samba und Apache
View unanswered posts
View posts from last 24 hours
View posts from last 7 days

 
Reply to topic    Gentoo Forums Forum Index Deutsches Forum (German)
View previous topic :: View next topic  
Author Message
SamStone
n00b
n00b


Joined: 09 May 2005
Posts: 48

PostPosted: Fri May 20, 2005 2:47 pm    Post subject: Problem mit Samba und Apache Reply with quote

Hallo,

Ich hab mein System jetzt nahezu komplett fertig so laufen, wie es soll. Nur 2 Probleme gibt es noch:

Apache2: Also ich hab das installiert, und wollte das dann mit "/etc/init.d/apache2 start" starten, aber der sagt mir:
Quote:

root@Sven sven # /etc/init.d/apache2 start
* Starting apache2...
apache2: Could not determine the server's fully qualified domain name, using 127.0.0.1 for ServerName [ !! ]


Was genau muss ich machen, damit das klappt? Wenn ich in der "/etc/apache2/conf/apache2.conf" den "ServerName" setze, dann krieg ich als Fehler immer:
Quote:

root@Sven sven # /etc/init.d/apache2 start
* Starting apache2... [ !! ]

Wobei die !! hinten ja signalisieren, das irgendwas schief gelaufen ist...

Mein zweites Problem: Ich will mit Samba Dateien in einem 2 Rechner Netzwerk freigeben. Wenn auf dem anderen Rechner Suse läuft, dann klappt das auch ohne Probleme. Der findet die freigegebenen Dateien dann sofort.
Da auf dem anderen Rechner normalerweise aber immer Windows ME läuft, ist die Sache nicht so einfach. Der findet nähmlich weder die freigegebenen Dateien, noch meinen Rechner.
Bei anderen Distributionen hat das immer mehr oder weniger geklappt.
Hier mal meine smb.conf:
Quote:
[global]
server string = Sven
map to guest = Bad User
restrict anonymous = no
guest ok = yes
domain master = no
preferred master = no
max protocol = NT
ldap ssl = No
server signing = Auto
workgroup = heim

[Musik]
case sensitive = no
msdfs proxy = no
comment = Meine Musik :)
path = /mnt/D/Eigene Dateien/Musik


Ich hoffe ihr könnt mir helfen :D
Back to top
View user's profile Send private message
Marlo
Veteran
Veteran


Joined: 26 Jul 2003
Posts: 1591

PostPosted: Fri May 20, 2005 7:10 pm    Post subject: Reply with quote

Hi SamStone;

ich würde aus deinen zwei Fragen auch zwei Threads machen!

Samba oder Apache, entscheide dich und alle wissen worum es geht. Kannst ja den Titel ändern.:D

Ma
_________________
------------------------------------------------------------------
http://radio.garden/
Back to top
View user's profile Send private message
sokar2000
Tux's lil' helper
Tux's lil' helper


Joined: 17 Feb 2005
Posts: 137
Location: Zu Hause

PostPosted: Fri May 20, 2005 9:26 pm    Post subject: Reply with quote

Oje, das Problem hatte ich mit meiner ersten Apache-Installation auch. Hast Du den Hostname und die dnsdomain gesetzt? Ist /etc/init.d/domainname gestartet? Ist der fqdn in der /etc/hosts eingetragen?

Das hosts file müsste ungefähr so aussehen:

Code:
# /etc/hosts:  This file describes a number of hostname-to-address
#              mappings for the TCP/IP subsystem.  It is mostly
#              used at boot time, when no name servers are running.
#              On small systems, this file can be used instead of a
#              "named" name server.  Just add the names, addresses
#              and any aliases to this file...
# $Header: /home/cvsroot/gentoo-src/rc-scripts/etc/hosts,v 1.8 2003/08/04 20:12:25 azarah Exp $
#

127.0.0.1      {hostname}.{dnsdomainname} {hostname} localhost
# und so weiter


Bitte {hostname} durch deinen Hostnamen und {dnsdomainname} durch Deine Domain ersetzen. Wichtig: Die Infos müssen gleich wie in den Files /etc/hostname und /etc/dnsdomain sein.

Und Kommentier den Servernamen im Apache wieder aus. Das hatte bei mir einige Merkwürdige auswirkungen.

Samba:

Auf der WinDosME Maschine: Mach mal ein Dateimanager-Fenster auf, und gib in der Adresszeile //ip.add.re.ss/share ein. Funktioniert das?
Back to top
View user's profile Send private message
hurra
Apprentice
Apprentice


Joined: 11 Apr 2004
Posts: 224

PostPosted: Fri May 20, 2005 9:43 pm    Post subject: Reply with quote

Hm, geht das nicht so:
Code:

\\ip.adresse\freigabe

?

Cu Hurra
Back to top
View user's profile Send private message
sokar2000
Tux's lil' helper
Tux's lil' helper


Joined: 17 Feb 2005
Posts: 137
Location: Zu Hause

PostPosted: Fri May 20, 2005 10:20 pm    Post subject: Reply with quote

Eeeeehhh sorry!! Jupp, hast recht. Sorry - hab schon lange nicht mehr an ner Windows-Kiste gearbeitet...
Back to top
View user's profile Send private message
SamStone
n00b
n00b


Joined: 09 May 2005
Posts: 48

PostPosted: Sat May 21, 2005 10:44 am    Post subject: Reply with quote

Danke. Jetzt klappts der Apache Server !!! :D

Das mit Samba probier ich nachher aus. Ich komm gerade nicht an den Windows Rechner..
Back to top
View user's profile Send private message
SamStone
n00b
n00b


Joined: 09 May 2005
Posts: 48

PostPosted: Sat May 21, 2005 3:12 pm    Post subject: Reply with quote

Ne das klappt leider nicht mit Windows ME :(

Ich sollte vielleicht auchnoch dazu sagen, dass ich mit meinem Linux Rechner schon auf Windows ME zugreifen kann. Halt nur andersrum nicht.
Back to top
View user's profile Send private message
sokar2000
Tux's lil' helper
Tux's lil' helper


Joined: 17 Feb 2005
Posts: 137
Location: Zu Hause

PostPosted: Sat May 21, 2005 9:13 pm    Post subject: Reply with quote

Hast Du irgend ne Fehlermeldung?
Back to top
View user's profile Send private message
SamStone
n00b
n00b


Joined: 09 May 2005
Posts: 48

PostPosted: Sun May 22, 2005 10:13 am    Post subject: Reply with quote

sokar2000 wrote:
Hast Du irgend ne Fehlermeldung?

Tja der sagt halt nur, dass er das nicht finden kann..
Back to top
View user's profile Send private message
sokar2000
Tux's lil' helper
Tux's lil' helper


Joined: 17 Feb 2005
Posts: 137
Location: Zu Hause

PostPosted: Sun May 22, 2005 10:09 pm    Post subject: Reply with quote

"Der Netzwerkpfad wurde nicht gefunden" - diese Meldung? Kannst Du den Linuxrechner anpingen?
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Deutsches Forum (German) 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