Mailing List
Home
Forum Home
Linux - General Red Hat Linux discussion list
Installation - Getting started with Red Hat Linux
Enterprise Linux 3 - Discussion of Red Hat Enterprise Linux 3 (Taroon)
Red Hat Linux 9 - Discussion of Red Hat Linux 9 (Shrike)
Red Hat Linux 7.2 - Discussion of Red Hat Linux 7.2 (Enigma)
Red Hat Linux 7.3 - Discussion of Red Hat Linux 7.3 (Valhalla)
Apache Web Server
Oracle database, Microsoft SQL server ...
Subjects
application/x mplayer2 plugin
RPM error: db4 error(16) from dbenv >remove: Device or resource
   busy
Command stream end of file while reading
X Windows problem (xauth)
Upgrading openoffice 1 1 rpm
FTP: connection refused
FTP: connection refused
mount: /dev/cdrom: is not a valid block device
Dell Precision 650, RedHat 9, no sound
how to trace the cause resulting in the crash of bind server
Virus on the list
UNINSTALL RPM MYSQL
usb pen drives: mounting as a user
broadcom network interface
make mrproper
sendmail configuration on redhat
Couldn 't open PID file /var/run/named/named pid Permission denied
Promise 378 controller
kernel 2 6 and /dev/sound/mixer not found
Problem using up2date
mrtg step by step howto/configuration for a newbie?
Compiling and Installing Kernel 2 6
Can 't locate module ppp0, can 't locate module ppp compress 21
HOW I CAN MAKE BOOTABLE FLOPPY DISKET
Lotus Notes under Wine
/etc/security/limits conf question
Intel E/1000 driver
Command stream end of file while reading
rpm database corrupt
qla2300 modules
 
Samba--Connection Refused

Samba--Connection Refused

2004-12-13       - By Wayne Watson

 Back
Reply:     1     2     3     4     5     6     7     8     9     10     >>  

I logon as root. Here's some info from an exercise this morning shortly after I
rebooted:

cat /var/log/secure last few lines
Dec 13 12:05:26 AstroPC2004 xinetd[10097]: START: swat pid=10116 from=127.0.0.1
Dec 13 12:05:26 AstroPC2004 xinetd[10117]: FAIL: swat address from=127.0.0.1
Dec 13 12:05:26 AstroPC2004 xinetd[10097]: START: swat pid=10117 from=127.0.0.1
rebooting at this point.
Dec 13 12:06:16 AstroPC2004 sshd[3465]: Received signal 15; terminating.
Dec 13 12:07:38 AstroPC2004 sshd[3450]: Server listening on 0.0.0.0 port 22.
Dec 13 12:08:08 AstroPC2004 xinetd[3464]: START: sgi_fam pid=3788 from=<no
address>

[root@(protected) root]# service xinetd restart
Stopping xinetd:                                           [  OK  ]
Starting xinetd:                                           [  OK  ]

cat /var/log/secure additional lines since restart when opened Mozilla and
tried executing http://127.0.0.1:901 localhost:901 and a mistaken
localsystem:901 entry for the URL. The sgi_fam is a little puzzling. I have a
siig card in my computer. This may not be related to sgi though. The siig card
is a serial/parallel card.

Dec 13 12:08:08 AstroPC2004 xinetd[3464]: START: sgi_fam pid=3788
from=<noaddress>
Dec 13 12:10:35 AstroPC2004 xinetd[3906]: FAIL: swat address from=127.0.0.1
Dec 13 12:10:35 AstroPC2004 xinetd[3861]: START: swat pid=3906 from=127.0.0.1
Dec 13 12:10:35 AstroPC2004 xinetd[3907]: FAIL: swat address from=127.0.0.1
Dec 13 12:10:35 AstroPC2004 xinetd[3861]: START: swat pid=3907 from=127.0.0.1
Dec 13 12:10:35 AstroPC2004 xinetd[3908]: FAIL: swat address from=127.0.0.1
Dec 13 12:10:35 AstroPC2004 xinetd[3861]: START: swat pid=3908 from=127.0.0.1
Dec 13 12:10:35 AstroPC2004 xinetd[3909]: FAIL: swat address from=127.0.0.1
Dec 13 12:10:35 AstroPC2004 xinetd[3861]: START: swat pid=3909 from=127.0.0.1
Dec 13 12:10:35 AstroPC2004 xinetd[3910]: FAIL: swat address from=127.0.0.1
Dec 13 12:10:35 AstroPC2004 xinetd[3861]: START: swat pid=3910 from=127.0.0.1
Dec 13 12:10:35 AstroPC2004 xinetd[3911]: FAIL: swat address from=127.0.0.1
Dec 13 12:10:35 AstroPC2004 xinetd[3861]: START: swat pid=3911 from=127.0.0.1
Dec 13 12:10:35 AstroPC2004 xinetd[3912]: FAIL: swat address from=127.0.0.1
Dec 13 12:10:35 AstroPC2004 xinetd[3861]: START: swat pid=3912 from=127.0.0.1
Dec 13 12:10:35 AstroPC2004 xinetd[3913]: FAIL: swat address from=127.0.0.1
Dec 13 12:10:35 AstroPC2004 xinetd[3861]: START: swat pid=3913 from=127.0.0.1
Dec 13 12:10:35 AstroPC2004 xinetd[3914]: FAIL: swat address from=127.0.0.1
Dec 13 12:10:35 AstroPC2004 xinetd[3861]: START: swat pid=3914 from=127.0.0.1
Dec 13 12:10:35 AstroPC2004 xinetd[3915]: FAIL: swat address from=127.0.0.1
Dec 13 12:10:35 AstroPC2004 xinetd[3861]: START: swat pid=3915 from=127.0.0.1

More data:
[root@(protected) root]# chkconfig --list swat
swat            on

[root@(protected) root]# cat /etc/xinetd.d/swat
# default: off
# description: SWAT is the Samba Web Admin Tool. Use swat \
#              to configure your Samba server. To use SWAT, \
#              connect to port 901 with your favorite web browser.
service swat
{
        disable = no
        port    = 901
        socket_type     = stream
        wait    = no
        only_from = localhost
        user    = root
        server  = /usr/sbin/swat
        log_on_failure  += USERID
}



Michael Schwendt wrote:

> On Mon, 13 Dec 2004 06:31:21 -0800, Wayne Watson wrote:
>
>
>>I've installed samba-3 (See http://mba-3.ora-code.com).0.9-1_rh9.i386.rpm on my machine, and now would like
to fire
>>up Samba. smbd is running. I'm using "Linus Networking" HowTo on the web,
chapter 10.
>>The author is Peter Harrison. On page 5, he talks about the SWAT file. I've
>>incorporated the two statements:
>>
>>disable = no
>>only_from=localhost 192.168.0.2
>
>
> After editing this file, did you restart the xinetd superserver?
> Command "service xinetd restart" would do that.
>
> To enable swat, the "chkconfig swat on" command would have been enough.
> No need to edit the file manually. And access restrictions with only_from
> only make sense after
>
> Note that to run chkconfig/service without full path, you must be
> logged in as root user, i.e. "su --login", "su -l" or "su -".
>
>
>>The IP address is the one I use for my machine. The other machines are at 192
.168.0.1
>>  (linux) and 192.168.0.3 (XP). For the moment only 2 and 3 are online.
>>
>>According to the test I can fire up swat from a browser, Moz, in my case. I
've tried
>>with the following three URLs:
>>http://127.0.0.0:901 --> msg: Connection refused when trying to contact ...
>>http://192.168.0.2:901 -->msg: Document contents are empty ...
>
>
> What is logged in /var/log/secure?
>

--
             Wayne T. Watson (Watson Adventures, Prop., Nevada City, CA)
                 (121.015 Deg. W, 39.262 Deg. N) GMT-8 (See http://GMT-8.ora-code.com) hr std. time)
                  Obz Site:  39?? 15' 7" N, 121?? 2' 32" W, 2700 feet
            (Formerly Homo habilis, erectus, heidelbergensis and now sapiens)

                    "There's no such thing as a stupid question,
                     but they're the easiest to answer!" -- anon.

                        Web Page: <home.earthlink.net/~mtnviews>


--
Shrike-list mailing list
Shrike-list@(protected)
https://www.redhat.com/mailman/listinfo/shrike-list