Hi, I'm using Firewall2 to protect an mail gateway and I checked out the firewall with NMAP. The TCP scanning looks good - port 25 is open all others are closed. I scanned UDP and there were many, many ports open - what did I do wrong? Thanks, John
Hi, I'm trying to learn samba, so I can share a folder with my win98 pc. Having problems getting samba to work so I tried the swat tool. Im running konqueror on kde3.0.5 suse8.1 When I type into my browser: http://localhost:901 I just get this error: An error occured while loading http://localhost:901: Could not connect to host localhost (port 901) ------------------------------------------------- When i check my samba status I get this: trey@linux:~> smbstatus Samba version 2.2.5-SuSE Service uid gid pid machine ---------------------------------------------- Failed to open byte range locking database ERROR: Failed to initialise locking database Can't initialise locking module - exiting Any help would be very appreciated, -Trey
On Friday 04 April 2003 15:12 pm, Trey wrote:
Hi, I'm trying to learn samba, so I can share a folder with my win98 pc. Having problems getting samba to work so I tried the swat tool. Im running konqueror on kde3.0.5 suse8.1
Personally I know squat about samba but I got it working in about 5 mins after installing Webmin and letting webmin configure it. I've never used Swat and don't really want to. Webmin will configure *lots* of things and is a good tool to have available.
When I type into my browser: http://localhost:901
I just get this error: An error occured while loading http://localhost:901: Could not connect to host localhost (port 901)
------------------------------------------------- When i check my samba status I get this: trey@linux:~> smbstatus
Samba version 2.2.5-SuSE Service uid gid pid machine ----------------------------------------------
Failed to open byte range locking database ERROR: Failed to initialise locking database Can't initialise locking module - exiting
Any help would be very appreciated, -Trey
-- +----------------------------------------------------------------------------+ + Bruce S. Marshall bmarsh@bmarsh.com Bellaire, MI 04/04/03 15:09 + +----------------------------------------------------------------------------+ "Every heart that has beat strong and cheerfully has left a hopeful impulse behind it in the world, and bettered the tradition of mankind." - Robert Louis Stevenson
On Friday 04 April 2003 21:10, Bruce Marshall wrote:
Personally I know squat about samba but I got it working in about 5 mins after installing Webmin and letting webmin configure it.
I've never used Swat and don't really want to. Webmin will configure *lots* of things and is a good tool to have available.
Bruce, I didn't find webmin on the installation disk, (I have 8.1Prof), where can I get this? I have used Swat, but wouldn't mind using webmin if that is better. -- Frits Wüthrich Pentaxianado
On Friday 04 April 2003 16:44 pm, Frits Wüthrich wrote:
On Friday 04 April 2003 21:10, Bruce Marshall wrote:
Personally I know squat about samba but I got it working in about 5 mins after installing Webmin and letting webmin configure it.
I've never used Swat and don't really want to. Webmin will configure *lots* of things and is a good tool to have available.
Bruce, I didn't find webmin on the installation disk, (I have 8.1Prof), where can I get this? I have used Swat, but wouldn't mind using webmin if that is better.
www.webmin.com An excellent program and it should install without a hitch. Get the rpm file that you should find there. I just checked and they support all versions of SuSE (not 8.2 yet... but will) -- +----------------------------------------------------------------------------+ + Bruce S. Marshall bmarsh@bmarsh.com Bellaire, MI 04/04/03 15:56 + +----------------------------------------------------------------------------+ "An American's a person who isn't afraid to criticize the President - but is always polite to traffic cops."
On Fri, 2003-04-04 at 21:58, Bruce Marshall wrote:
An excellent program and it should install without a hitch. Get the rpm file that you should find there.
I have it installed on a SuSE 8.1 machine - it is great for configuring lots of things - works straight out of the box. One problem that i have encountered is that it does not write very good procmailrc files - the syntax appears wrong. Tim
I have it installed on a SuSE 8.1 machine - it is great for configuring lots of things - works straight out of the box.
One problem that i have encountered is that it does not write very good procmailrc files - the syntax appears wrong.
Tim
Well, I installed Webmin & it works, It starts my Smba servers. However I still have all the same errors. When I boot, the only thing I get thats not green is related to samba. Mount SMB Filesystem :UNUSED This pops up in white text. So I must being doing something wrong.... -Trey
hello, take a look at: http://sdb.suse.de/en/sdb/html/start_foo80.html make the chkconfig for the nmb demon first. it worked for me (I've joined an NT40 PDC with my suse 8.1) you may be interested also to: http://sdb.suse.de/en/sdb/html/fhassel_smb.html a great solution for sharing, IMHO. let me know if it works. bye Fabiano At 04:49 PM 4/4/03 -0600, you wrote:
I have it installed on a SuSE 8.1 machine - it is great for configuring lots of things - works straight out of the box.
One problem that i have encountered is that it does not write very good procmailrc files - the syntax appears wrong.
Tim
Well, I installed Webmin & it works, It starts my Smba servers. However I still have all the same errors. When I boot, the only thing I get thats not green is related to samba.
Mount SMB Filesystem :UNUSED
This pops up in white text. So I must being doing something wrong.... -Trey
-- Check the headers for your unsubscription address For additional commands send e-mail to suse-linux-e-help@suse.com Also check the archives at http://lists.suse.com Please read the FAQs: suse-linux-e-faq@suse.com
(\__/) .~ ~. )) /0 0 `./ .' {O__, \ { / . . ) \ |-| '-' \ } )) .( _( )_.' '---.~_ _ _& ************************************************ **** WHOLE LOTTA LOVE!!! ***** ************************************************ FABIANO PETRONE CIB3 - Biblioteca di Economia e Giurisprudenza VIA TOMADINI 30/A 33100 UDINE ITALY 0432-249604 fax: 0432-249619 fabiano.petrone@bib.uniud.it
On Friday 04 April 2003 16:44 pm, Frits Wüthrich wrote:
On Friday 04 April 2003 21:10, Bruce Marshall wrote:
Personally I know squat about samba but I got it working in about 5 mins after installing Webmin and letting webmin configure it.
I've never used Swat and don't really want to. Webmin will configure *lots* of things and is a good tool to have available.
Bruce, I didn't find webmin on the installation disk, (I have 8.1Prof), where can I get this? I have used Swat, but wouldn't mind using webmin if that is better.
www.webmin.com
An excellent program and it should install without a hitch. Get the rpm file that you should find there.
I just checked and they support all versions of SuSE (not 8.2 yet... but will) I installed it, it can do more then Samba, but for Samba I don't see what the advantage is over Swat. Perhaps there is, I simply don't know as a newbie. I thought Webmin could help me ressolve the issue I have since the last weekend in March with the summertime: SuSE8.1 advanced the time one hour which was OK, and when I booted into WindowsXP, that also did that showing
On Friday 04 April 2003 21:58, Bruce Marshall wrote: the correct time, and when I booted later again SuSE, it was running an hour ahead. I used Webmin to adjust the time. I wish I didn't, since then the time while running SuSE is erratic, it is now 34 minutes behind. The time on WindowsXP is still OK. Don't know how I can fix this one. -- Frits Wüthrich Pentaxianado
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On Tuesday 08 April 2003 22:15, Frits Wüthrich wrote:
On Friday 04 April 2003 21:58, Bruce Marshall wrote: <snip>
I would set the correct time in bios get the correct time from a time-server and install xntpd so the linux machine has the correct time. and using a netlogon script get the win machines to sync there time with samba Ian - -- A child of five would understand this. Send someone to fetch a child of five. Groucho Marx - ---------------------------------------------------- This mail has been scanned for virus by AntiVir for UNIX Copyright (C) 1994-2003 by H+BEDV Datentechnik GmbH. -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.0.6 (GNU/Linux) Comment: For info see http://www.gnupg.org iD8DBQE+lB+BKiWi8VifhEkRArL6AJ0dSvox1cMQbDI8tIYiNbkx9q0NVACcD8nl nM+qF3ITXndNT3jv+o/7erA= =0wQt -----END PGP SIGNATURE-----
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On Friday 04 April 2003 12:12 pm, Trey wrote:
Having problems getting samba to work so I tried the swat tool. Im running konqueror on kde3.0.5 suse8.1
When I type into my browser: http://localhost:901
I just get this error: An error occured while loading http://localhost:901: Could not connect to host localhost (port 901)
Generally "could not connect" errors mean that nobody is listening [no server process, that is] likewise
trey@linux:~> smbstatus [...] Failed to open byte range locking database
may also imply no server is actually running. Normally, when you boot a system you'll see a series of "services" with the words "running", "not used", "failed", or similar status words in green/red/yellow in a column to the right. [on the text console] If you've installed samba correctly, go to a shell and (as root) issue the command "rcsamba status" -- you should see output like this: franky:/var/cache/awstats # rcsamba status Checking for SAMBA nmbd running Checking for SAMBA smbd running franky:/var/cache/awstats # ["running" is in birght green -- actually almost unreadable on my monitor, but the fact that it is in green is enough for me] If it doesn't say "running" then you need to investigate your logs [usually /var/log/samba/<filename>] or the catch-all /var/log/messages file for errors. Your original problem, however, is with swat -- I don't know if that is started with samba or started seperately [see if you have a file called "rcswat" on your system] but either way, once it is running you should be able to "see" that it is listening with the command netstat -an --inet Again, you should see output like this: franky:/var/cache/awstats # netstat -an --inet Active Internet connections (servers and established) Proto Recv-Q Send-Q Local Address Foreign Address State tcp 0 0 0.0.0.0:139 0.0.0.0:* LISTEN tcp 0 0 192.168.40.6:139 192.168.40.2:40242 ESTABLISHED here my system is waiting for connections on port 139 [samba] and one client is in fact connected to port 139. You should also see something with ":901" in the local address if SWAT is running - -- Yet another Blog: http://osnut.homelinux.net -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.0.7 (GNU/Linux) Comment: http://osnut.homelinux.net/TomEmerson.asc iD8DBQE+jfbTV/YHUqq2SwsRAvijAKClbsULN2nBdYg+wh5Ibi52DkzfzQCghdJ+ Fc+6MbXtIa5X3beB3PcjoAA= =yrSi -----END PGP SIGNATURE-----
On Friday 04 April 2003 23:19, Tom Emerson wrote:
On Friday 04 April 2003 12:12 pm, Trey wrote:
Having problems getting samba to work so I tried the swat tool. Im running konqueror on kde3.0.5 suse8.1
When I type into my browser: http://localhost:901
I just get this error: An error occured while loading http://localhost:901: Could not connect to host localhost (port 901)
Generally "could not connect" errors mean that nobody is listening [no server process, that is] likewise
trey@linux:~> smbstatus
[...]
Failed to open byte range locking database
may also imply no server is actually running. Normally, when you boot a system you'll see a series of "services" with the words "running", "not used", "failed", or similar status words in green/red/yellow in a column to the right. [on the text console] If you've installed samba correctly, go to a shell and (as root) issue the command "rcsamba status" -- you should see output like this:
franky:/var/cache/awstats # rcsamba status Checking for SAMBA nmbd running Checking for SAMBA smbd running franky:/var/cache/awstats #
["running" is in birght green -- actually almost unreadable on my monitor, but the fact that it is in green is enough for me] If it doesn't say "running" then you need to investigate your logs [usually /var/log/samba/<filename>] or the catch-all /var/log/messages file for errors.
Your original problem, however, is with swat -- I don't know if that is started with samba or started seperately [see if you have a file called "rcswat" on your system] but either way, once it is running you should be able to "see" that it is listening with the command
netstat -an --inet
Again, you should see output like this:
franky:/var/cache/awstats # netstat -an --inet Active Internet connections (servers and established) Proto Recv-Q Send-Q Local Address Foreign Address State tcp 0 0 0.0.0.0:139 0.0.0.0:* LISTEN tcp 0 0 192.168.40.6:139 192.168.40.2:40242 ESTABLISHED
here my system is waiting for connections on port 139 [samba] and one client is in fact connected to port 139. You should also see something with ":901" in the local address if SWAT is running Hi,
For swat to run it needs to be commented out in /etc/inetd.conf swat stream tcp nowait.400 root /usr/sbin/swat swat This will enable swat and you can use it after you do killall -HUP inet Ian -- ---------------------------------------------------- This mail has been scanned for virus by AntiVir for UNIX Copyright (C) 1994-2003 by H+BEDV Datentechnik GmbH.
Can someone please email me a text copy of these samba files: file:/etc/samba/smbfstab file:/etc/samba/lmhosts file:/etc/samba/smbusers That way I can learn/compare my system to a working one. Thanks, -Trey
participants (8)
-
Bruce Marshall
-
Fabiano Petrone
-
Frits Wüthrich
-
Ian David Laws
-
John Birkhead
-
tim
-
Tom Emerson
-
Trey