Linux - NewbieThis Linux forum is for members that are new to Linux.
Just starting out and have a question?
If it is not in the man pages or the how-to's this is the place!
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Introduction to Linux - A Hands on Guide
This guide was created as an overview of the Linux Operating System, geared toward new users as an exploration tour and getting started guide, with exercises at the end of each chapter.
For more advanced trainees it can be a desktop reference, and a collection of the base knowledge needed to proceed with system and network administration. This book contains many real life examples derived from the author's experience as a Linux system and network administrator, trainer and consultant. They hope these examples will help you to get a better understanding of the Linux system and that you feel encouraged to try out things on your own.
Click Here to receive this Complete Guide absolutely free.
In trying to install samba and I want to be able to use Swat.
When i run 'rpm -iv swat-2.2.7-1.i386.rpm'
It gave me a list of failed dependencies.
So i installed the apt-get program, and synaptic, and through it, I installed everyting, so now for samba-swat is says package is installed.
But if ti is installed, how do i run it?
And i tried to redo the rpm install, and it have meth elist of 5 failed dependencies again.
Shouldn't apt-get have installed all those packages?
also make sure swat is set to run. for redhat 7.3 swat isn't configured to run by default. to make it run on my version, i had to go into the service configuration gui and check the box marked SWAT. that starts swat. to kill swat, uncheck the box marked SWAT. but it maybe different in redhat 9.0. also bear in mind, i don't use redhat's samba packages either. i always use the packages from samba.org. they're usually more recent than redhat's versions and in one nice rpm package as opposed to downloading the serveral packages the way redhat does.
edit: this is the command for the service conf gui tool:
i really do mean localhost. no ip address because swat is being run from your computer. not on the web. as far as getting swat to work for you, i don't know. i remember one person using apt-get to update samba and it not working. i always get the samba packages from samba.org and it always works for me after making sure to check if swat and smb are enabled (smb you can restart).
Well orignally i tried to install swat from rpm...but there was a whole bunch of dependencies, and when i tried to install those, there was another list of dependedncies for each.
Eventallu, I coulnd't install them, and i did some reading, and someone said that one could use apt-get to do it all easily. But after using it, it doesnt seem like swat really is installed, even though it says it is.
Im getting very frustrated, because I can't fgure out what to do
On the samba.org website, it is VERY not newbi-friendly, i don't really understand lost of the documentation, and there is very little doucmentation that I could find on SWAT, which i understand is a program to use samba, right?
I guess I could not sue swat, and just edit the ocnfig file fo samba, but it seems very hard to do.
In your /etc/xinetd.d directory there needs to be a file named "swat", whose contents should be very similar to:
# 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.
disable = yes
port = 901
socket_type = stream
wait = no
# only_from = 127.0.0.1
user = root
server = /usr/sbin/swat
log_on_failure += USERID
If you have a static IP address, try connecting (on port 901) to that instead of localhost. For example:
Okay... killing the process entirely makes sure it won't work. You need to (re) start xinetd. It's probably something like /etc/init.d/xinetd start or something like that. Are you running a firewall that is blocking port 901 or something? It's really a weird problem; I've installed Samba several times, but SWAT was never an issue. In all fairness; that was a while back, SuSE 7.2 and still using inetd (not xinetd).
Hope someone can help you, because I am running out of stupid ideas...