[opensuse] Samba startup
Hi Listmates, On my fresh installed OpenSuse KDE system I tried to startup Samba for the first time. Samba was not accessible by the webinterface (localhost:901). I get this error in logsmbd: [2009/12/29 09:56:02, 0] smbd/server.c:1065(main) smbd version 3.4.2-1.1.3.1-2229-SUSE-SL11.2 started. Copyright Andrew Tridgell and the Samba Team 1992-2009 [2009/12/29 09:56:03, 0] smbd/server.c:457(smbd_open_one_socket) smbd_open_once_socket: open_socket_in: Address already in use Where should I look for this problem, I can't find it. Another question how should I start and stop Samba from the commandline. Its now started on bootup. Thanks, Hans -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
On Tuesday 29 December 2009 11:06:58 Hans de Faber wrote:
On my fresh installed OpenSuse KDE system I tried to startup Samba for the first time.
Samba was not accessible by the webinterface (localhost:901). I get this error in logsmbd:
[2009/12/29 09:56:02, 0] smbd/server.c:1065(main) smbd version 3.4.2-1.1.3.1-2229-SUSE-SL11.2 started. Copyright Andrew Tridgell and the Samba Team 1992-2009 [2009/12/29 09:56:03, 0] smbd/server.c:457(smbd_open_one_socket) smbd_open_once_socket: open_socket_in: Address already in use
Where should I look for this problem, I can't find it.
Another question how should I start and stop Samba from the commandline. Its now started on bootup.
For Samba server configuration it's easier to use the yast module. You need also to enable samba browsing from Firewall configuration module. -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
On 29/12/09 10:31, Bogdan Cristea wrote:
On Tuesday 29 December 2009 11:06:58 Hans de Faber wrote:
On my fresh installed OpenSuse KDE system I tried to startup Samba for the first time.
Samba was not accessible by the webinterface (localhost:901). I get this error in logsmbd:
[2009/12/29 09:56:02, 0] smbd/server.c:1065(main) smbd version 3.4.2-1.1.3.1-2229-SUSE-SL11.2 started. Copyright Andrew Tridgell and the Samba Team 1992-2009 [2009/12/29 09:56:03, 0] smbd/server.c:457(smbd_open_one_socket) smbd_open_once_socket: open_socket_in: Address already in use
Where should I look for this problem, I can't find it.
Another question how should I start and stop Samba from the commandline. Its now started on bootup.
For Samba server configuration it's easier to use the yast module. You need also to enable samba browsing from Firewall configuration module.
In the firewall there are only 2 sambamodules sambaserver and sambaclient. Stopping the firewall has no effect ! -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
On Tuesday 29 December 2009 11:38:00 Hans de Faber wrote:
In the firewall there are only 2 sambamodules sambaserver and sambaclient.
Stopping the firewall has no effect !
In Firewall you should look for "Allowed services" and add the one related to "Samba browsing". However, when accessing locally your samba server the firewall should have no influence. My point was that the easiest way to configure the Samba server it's through Yast. -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Hans de Faber wrote:
Hi Listmates,
On my fresh installed OpenSuse KDE system I tried to startup Samba for the first time.
Samba was not accessible by the webinterface (localhost:901). I get this error in logsmbd:
[2009/12/29 09:56:02, 0] smbd/server.c:1065(main) smbd version 3.4.2-1.1.3.1-2229-SUSE-SL11.2 started. Copyright Andrew Tridgell and the Samba Team 1992-2009 [2009/12/29 09:56:03, 0] smbd/server.c:457(smbd_open_one_socket) smbd_open_once_socket: open_socket_in: Address already in use
Where should I look for this problem, I can't find it.
Another question how should I start and stop Samba from the commandline. Its now started on bootup.
Thanks, Hans
As a matter of interest have you installed and enabled SWAT. This handles the samba web interface on port 901.... - -- ============================================================================== I have always wished that my computer would be as easy to use as my telephone. My wish has come true. I no longer know how to use my telephone. Bjarne Stroustrup ============================================================================== -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.9 (GNU/Linux) Comment: Using GnuPG with SUSE - http://enigmail.mozdev.org/ iEYEARECAAYFAks6CakACgkQasN0sSnLmgLl9ACfdDTpjCFmD3pkdUh4LiB7jt4t 2okAoLbaV91WLHzzQKBkL9Ds7wsu7P1l =KpXL -----END PGP SIGNATURE----- -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
Sorry the problem is slightly different. I can connect from a remote node with the command smbclient //node/share and then get the directory. It looks that the webinterface SWAT is not in any repository I can't find it. Is it obsolete ??? On 29/12/09 10:06, Hans de Faber wrote:
Hi Listmates,
On my fresh installed OpenSuse KDE system I tried to startup Samba for the first time.
Samba was not accessible by the webinterface (localhost:901). I get this error in logsmbd:
[2009/12/29 09:56:02, 0] smbd/server.c:1065(main) smbd version 3.4.2-1.1.3.1-2229-SUSE-SL11.2 started. Copyright Andrew Tridgell and the Samba Team 1992-2009 [2009/12/29 09:56:03, 0] smbd/server.c:457(smbd_open_one_socket) smbd_open_once_socket: open_socket_in: Address already in use
Where should I look for this problem, I can't find it.
Another question how should I start and stop Samba from the commandline. Its now started on bootup.
Thanks, Hans -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
Hans de Faber wrote:
Sorry the problem is slightly different.
I can connect from a remote node with the command smbclient //node/share and then get the directory.
It looks that the webinterface SWAT is not in any repository I can't find it. Is it obsolete ???
On 29/12/09 10:06, Hans de Faber wrote:
It's part of the samba package
go to /etc/xinetd.d and edit the swat file and make disable=yes to disable=no then do service xinetd restart then you can connect via firefox or konq or you're favorite browser. If you want to access via remote you'll have to explicitly allow that port in the suse firewall. -- This message has been scanned for viruses and dangerous content by MailScanner, and is believed to be clean. -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
Thanks to everybody, everything in samba now works as expected. Happy Newyear, Hans On 29/12/09 16:57, Michael S. Dunsavage wrote:
Hans de Faber wrote:
Sorry the problem is slightly different.
I can connect from a remote node with the command smbclient //node/share and then get the directory.
It looks that the webinterface SWAT is not in any repository I can't find it. Is it obsolete ???
On 29/12/09 10:06, Hans de Faber wrote:
It's part of the samba package
go to /etc/xinetd.d and edit the swat file and make disable=yes to disable=no
then do
service xinetd restart
then you can connect via firefox or konq or you're favorite browser. If you want to access via remote you'll have to explicitly allow that port in the suse firewall.
-- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
On Tue, Dec 29, 2009 at 10:06:58AM +0100, Hans de Faber wrote:
On my fresh installed OpenSuse KDE system I tried to startup Samba for the first time.
Samba was not accessible by the webinterface (localhost:901). I get this error in logsmbd:
What you're looking for was SWAT which is still part of the package named samba. Bit it is disabled by default. See /etc/xinetd.d/swat But you have found this meanwhile.
[2009/12/29 09:56:02, 0] smbd/server.c:1065(main) smbd version 3.4.2-1.1.3.1-2229-SUSE-SL11.2 started. Copyright Andrew Tridgell and the Samba Team 1992-2009 [2009/12/29 09:56:03, 0] smbd/server.c:457(smbd_open_one_socket) smbd_open_once_socket: open_socket_in: Address already in use
Where should I look for this problem, I can't find it.
Another question how should I start and stop Samba from the commandline. Its now started on bootup.
service nmb stop # halts the netbios name resolution service service nmb start # starts the service or: service nmb restart # (re)starts the service even if not running before or: service nmb try-restart # only restarts it if in operation. The same arguments (stop, start, restart, try-restart) are valid for the smb service. While the nmb service is optional to provide netbios name resolution mechanisms over TCP (an laternative to DNS) the smb service is the one you need if you like to share files and printers. To enable or disable a service to get started and stopped while boot and shutdown it's possible to use the chkconfig command line tool. YaST offers a graphical front end to manipulate the same service state. Lars -- Lars Müller [ˈlaː(r)z ˈmʏlɐ] Samba Team SUSE Linux, Maxfeldstraße 5, 90409 Nürnberg, Germany
participants (5)
-
Bogdan Cristea
-
G T Smith
-
Hans de Faber
-
Lars Müller
-
Michael S. Dunsavage