Re: services vs firewall

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Fri, 12 Jul 2013 11:09:15 +0800, Ed Greshko wrote:

> On 07/12/13 10:15, Amadeus W.M. wrote:
>> So the service is enabled and the port isn't? What's the point of
>> enabling services if it doesn't open the appropriate port? An nmap scan
>> from another machine shows
>>
>> 111 tcp open 631 tcp closed 2049 tcp closed
>>
>> Could someone help me understand what's going on? How come the
>> portmapper (111) is open and 2049 is not? And what do I have to do to
>> actually open ports 2049 and 631?
> 
> One question.....  Is the nfs server running?
> 

Thanks, good catch! I too figured it wasn't running because nmap reports 
closed if the port is open, but nothing's listening on it. So I guess the 
firewall configuration survived a reboot, but starting nfs didn't. So 
this is needed:

systemctl enable nfs-server.service





Now on to printing.

43) root:~> systemctl status cups.service
cups.service - CUPS Printing Service
   Loaded: loaded (/usr/lib/systemd/system/cups.service; enabled)
   Active: active (running) since Wed 2013-07-10 03:06:21 EDT; 1 day 20h 
ago
 Main PID: 1330 (cupsd)
   CGroup: name=systemd:/system/cups.service
           └─1330 /usr/sbin/cupsd -f

Jul 11 08:29:47 alpha systemd[1]: Started CUPS Printing Service.
Jul 11 08:30:09 alpha systemd[1]: Started CUPS Printing Service.
Jul 11 14:15:18 alpha systemd[1]: Started CUPS Printing Service.
Jul 11 14:15:18 alpha systemd[1]: Started CUPS Printing Service.
Jul 11 14:15:26 alpha systemd[1]: Started CUPS Printing Service.
Jul 11 14:17:00 alpha systemd[1]: Started CUPS Printing Service.
Jul 11 14:17:01 alpha systemd[1]: Started CUPS Printing Service.
Jul 11 14:17:10 alpha systemd[1]: Started CUPS Printing Service.
Jul 11 18:54:55 alpha systemd[1]: Started CUPS Printing Service.
Jul 11 18:54:55 alpha systemd[1]: Started CUPS Printing Service.

# so cups is running and I do have printers configured


44) root:~> netstat -tupan | grep cups
tcp        0      0 127.0.0.1:631           0.0.0.0:*             
LISTEN      1330/cupsd          
tcp6       0      0 ::1:631                 :::*                    
LISTEN      1330/cupsd          


# I turned the firewall off

45) root:~> firewall-cmd --state
not running

Yet nmap on another machine shows sshd and nfs open, but shows absolutely 
nothing about port 631.

And on that same (redhat) machine, system-config-printer does not see nor 
does it find any network printer.


-- 
users mailing list
users@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines
Have a question? Ask away: http://ask.fedoraproject.org




[Index of Archives]     [Older Fedora Users]     [Fedora Announce]     [Fedora Package Announce]     [EPEL Announce]     [EPEL Devel]     [Fedora Magazine]     [Fedora Summer Coding]     [Fedora Laptop]     [Fedora Cloud]     [Fedora Advisory Board]     [Fedora Education]     [Fedora Security]     [Fedora Scitech]     [Fedora Robotics]     [Fedora Infrastructure]     [Fedora Websites]     [Anaconda Devel]     [Fedora Devel Java]     [Fedora Desktop]     [Fedora Fonts]     [Fedora Marketing]     [Fedora Management Tools]     [Fedora Mentors]     [Fedora Package Review]     [Fedora R Devel]     [Fedora PHP Devel]     [Kickstart]     [Fedora Music]     [Fedora Packaging]     [Fedora SELinux]     [Fedora Legal]     [Fedora Kernel]     [Fedora OCaml]     [Coolkey]     [Virtualization Tools]     [ET Management Tools]     [Yum Users]     [Yosemite News]     [Gnome Users]     [KDE Users]     [Fedora Art]     [Fedora Docs]     [Fedora Sparc]     [Libvirt Users]     [Fedora ARM]

  Powered by Linux