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!
Notices
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.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
init.d services have a number appended to them. This is the order in which the services are started and stopped during startup/shutdown. The services need to be started in order to provide dependencies between the services. starting or stopping a service with /etc/init.d/ does not provide the dependency. Often this does not matter. Using the service command is the 'new way' of starting/stopping services as this checks dependencies before starting/stopping the service.
for your service, have you tried 'service rwalld stop' or '/etc/init.d/rwalld stop'?
The file /etc/services is just a lookup table linking service names to port numbers. As you might know, networks work with numbers, not with names.
Code:
telnet somehost smtp
The telnet program will lookup 'somehost' to get the IP address of it by using whatever is specified in resolv.conf (dns, file /etc/hosts) and it will lookup 'smtp' in /etc/services. Internally it will use the IP address and the port number.
I have tried rwalld stop and it doesn't work. This is the error: "No command 'rwalld' found, did you mean:
Command 'rwall' from package 'rwall' (universe)
rwalld: command not found".
I also tried service rwalld stop and the error was: "unrecognized service". Tried rwall stop and it does nothing...
I can't even find it in the init.d directory.
One more question please, is rwall a protocol? If it is, what port number does it use in the /etc/services file?
Thanks it worked. I guess rwall is not stored in /etc/services, because it worked for other protocols but didn't give any output for rwall. Or is rwall the same as netwall?
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.