LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Networking (https://www.linuxquestions.org/questions/linux-networking-3/)
-   -   SWAT dependent on inetd ? (https://www.linuxquestions.org/questions/linux-networking-3/swat-dependent-on-inetd-48086/)

gromer 03-03-2003 03:34 PM

SWAT dependent on inetd ?
 
Hey everyone,

I am a newbie in the linux world. I am trying to setup a fileserver for our department using Samba 2.2.5 (SuSE 8.1).
I managed to get smbd -D and nmbd -D started on system start. Yet I would like to have swat enabled as well.
I have configured /etc/inetd.config und /etc/service accoringly.
I can see my machine on the Win XP client under my workgroup.
But I cannot start SWAT neither from the XP nor from the Linux machine without having typed inetd (then it works from both machines)
Is there any way to have have the necessary demon started on startup, so that I don't have to bother when the system needs a restart and I am (far) away ?`

Is there a way to have everything started without being logged on (that is Linux is waiting for logon but I can have access from my clients already ?)

I know that these are silly questions to the experienced folks yet they cost me endless hours.
Thank you for YOUR time and patience !

peter_robb 03-03-2003 04:15 PM

This is the job of inetd or xinetd.
This daemon listens for incoming requesta and then starts the service named in the appropriate /etc/xinetd.d/~ file.

Make sure this is on at bootup...

Also have a look at tcp_wrappers. It provides extra security, ip control etc.
man tcpd

kangus 03-05-2003 01:23 PM

SWAT YaST & SuSE
 
:( With SuSE you can use YaST to setup SWAT; Start YaST then click on Network/Basic and then click on Start/Stop services (inetd) - Select: On with custom configuration... scroll down to swat and Activate it then click Finish.

MAKE SURE the package is installed, you can Activate an package that has not been installed without an error! :eek:

If you want your web server to start during the boot add it.

That is assuming that you got your web server to install and run, after two weeks of trying I'm buying Red Hat or some other release.
SuSE must think we are stupid; php is incorrectly installed and when you email for support they inform you that they want money to tell you how to fix it!
The configuration management tool, YaST, is nothing more then a file copy utility that puts files in locations that no other version of Linux does which means you have to hunt and peck to find anything and configure it.

tellezj 03-05-2003 03:43 PM

restarting inetd
 
Once you make the change to /etc/inetd.conf then you need to use:

killall -HUP inetd

This will restart inetd with the new configuration. When you reboot, it will use the new configuration, as long as inetd is started at startup.

kangus 03-05-2003 03:53 PM

SWAT/SuSE Samba
 
When you 'Finish' Activating SWAT with YaST, YaST restarts inetd


All times are GMT -5. The time now is 12:06 AM.