Hot answers tagged

17 votes

netstat shows a listening port with no pid but lsof does not

Based on hint from @user202173 and others I have been able to use the following to track down the process that owns a port even when it is listed as - in netstat. Here was my starting situation. sudo ...
user avatar
  • 303
10 votes
Accepted

NFSv4 not able to set any sockets for nfsd without running rpcbind

This was a bug in NFS server kernel module. It was patched in December 2013. Starting with kernel 3.14, rpcbind is no longer required to run in-kernel NFS server. (assuming that server is configured ...
user avatar
8 votes
Accepted

How to block 111 udp port via iptables?

Depending on how nice you want to be to the client, a possible solution can be: iptables -I INPUT -p udp --dport 111 -j DROP or iptables -I INPUT -p udp --dport 111 -j REJECT
user avatar
  • 4,268
7 votes

What is msrpc needed for on a Windows 7 workstation

Port 49152 provides the ability to shut the computer down remotely via the shutdown.exe tool. It can be disabled by writing registry DWord HKLM\Software\Microsoft\Windows\CurrentVersion\Policies\...
user avatar
6 votes
Accepted

NFS: What is remote locking, and do I need it?

The answer lies in the good old man page of rpc.statd: File locks are not part of persistent file system state. Lock state is thus lost when a host reboots. Network file systems must also detect ...
user avatar
  • 6,752
6 votes

Can't mount CentOS NFS share on Windows 10 - "Network Error - 53"

On the Linux part - make sure your NFS Server Configuration is correct: nfs-utils and nfs-utils-lib should be installed rpcbind, nfs-server, nfs-lock, nfs-idmap should be enabled rpcbind, nfs-...
user avatar
  • 2,950
4 votes
Accepted

Windows Server 2012 member server reports - there is a time or date difference between your computer and the remote computer

The member server is showing that it's using type AllSync and syncing with an external time source (time.windows.com). It should be using type NT5DS and syncing with one of the DC's. You should ...
user avatar
  • 108k
2 votes

What causes repeated linux NFS client side RPC credential refreshing?

I encountered this exact issue with NFS. The problem in my case was caused by actimeo being set too low. While you may not be using this exact setting, there is a whole family of settings that can ...
user avatar
  • 200
2 votes

netstat shows a listening port with no pid but lsof does not

I've turned @studgeek's excellent answer into a one-line / shell function. Broken into several lines for clarity(ish): lookup_port_pid() { netstat -lptnae | awk -v port="$1" '/^(udp|...
user avatar
  • 432
2 votes
Accepted

Restart-Server Powershell Port

You need DCOM ports and WSMan ports open. If you use Powershell v3+, by default DCOM range is 1024-5000, and WSMAN ports are 5985 (http) and 5986 (https). Hope it'll helps you. Regards
user avatar
2 votes

Unable to install libtirpc1 due to dependecies error

Probably your system is trying to get packages from testing/unstable. Try this sudo apt-get update sudo apt-get install rpcbind -t stable
user avatar
2 votes

Unable to install libtirpc1 due to dependecies error

Encountered the same issue; downgrading libc6 (to 2.17) did the trick for me. See https://stackoverflow.com/questions/10863613/how-to-upgrade-glibc-from-version-2-13-to-2-15-on-debian for ...
user avatar
  • 31
2 votes
Accepted

How does data flow in a password change with Open Directory?

Not sure how much Apple has changed things from a typical LDAP/Kerberos setup. In LDAP, a password change would involve TCP client:highport -> server:389 (or the LDAPS equivalent port, or possibly ...
user avatar
  • 1,591
2 votes
Accepted

Error: "The RPC server is unavailable. (Exception from HRESULT: 0x800706BA)" when using CNAME

Have you looked at OptionalNames and DisableStrictNameChecking in the LanmanServer parameters? Depending on your Windows version these may be the issue. HKEY_LOCAL_MACHINE\System\CurrentControlSet\...
user avatar
2 votes

cassandra unable to create thrift socket

I was having the same issue. Before switching to sync, try increasing rpc_max_threads and use hsha as the rpc_server_type
user avatar
2 votes
Accepted

cassandra unable to create thrift socket

It seems that there is a conflict with rpc_server_type: hsha when switched to sync i ve got first a null point exception and then retried few second later it started thrift.
user avatar
  • 163
2 votes

What is a practical difference between RPC and FaaS?

In basic way yes, it is the same. You're using some another resources in way they owners described. RPC is one of protocols how you can access remote resources, defined in RFC 1831. Another protocol ...
user avatar
2 votes

Remote Management of Windows Server 2016 via Powershell through the firewall

The default ports are TCP 5985 / 5986 See here for more info: https://marckean.com/2016/02/08/remote-powershell-ssl-https-5986/
user avatar
2 votes

Can't mount CentOS NFS share on Windows 10 - "Network Error - 53"

This solved it for me: The NFS was running only under NFS v4 - adding v2/3 service to the Linux server solved the problem and I could mount the NFS.
user avatar
2 votes

What is the difference between mount -t nfs3 and mount -t nfs -o nfsvers=3?

@håkan-lindqvist is onto the answer. I don't have a mount.nfs3 but I have a mount.nfs4 and it is just a symlink to mount.nfs. I looked at the source for mount.nfs and it doesn't do anything special ...
user avatar
  • 17.7k
1 vote

Error: "The RPC server is unavailable. (Exception from HRESULT: 0x800706BA)" when using CNAME

What TheFiddlerWins describes is a very likely culprit. I dealt with a similar issue a couple months ago, see WMI queries can't run with a FQDN?.
user avatar
  • 15.4k
1 vote

Can I get SSH to run a "local-procedure-call" back on my workstation, allowing me to use my trusty sysadmin scripts wherever I may be?

Could you just do this: workstation$ ssh server cat /var/log/apache/access.log |ip-tally.pl The cat would be run on server, stdout piped to workstation and ip-tally run locally on workstation with ...
user avatar
  • 27k
1 vote
Accepted

Enable port 135 on Azure server

You MUST have a private network connection to communicate over known insecure ports. This is where you must use things like IPSEC VPN, DMVPM, MPLS, SD-WAN. Port 135, among MANY others are blocked. ...
user avatar
  • 7,606
1 vote

AIX portmapper reported listening at port 32771. Why is it not the nlockmgr process?

The output of lsof shows you clearly which process is listening on the port 32771: portmap 3735666 0 5u IPv6 0xf100050002116a00 0t0 UDP *:32771 You can IPv6 is jest tells you that v6 ...
user avatar
  • 4,268
1 vote
Accepted

Firewall rules for the RPC Protocol

In TCP/IP protocol, reply are always thanks to a dynamic port. The client communicate with the server with port 135 or 111 and answer in done by a port dynamically opened by the client. More info: ...
user avatar
  • 186
1 vote
Accepted

windows firewall rpc 135

TCP/135 is used for Microsoft RPC. This is semi-documented protocol that is used by many Microsoft tools AFAIK (DCOM, MAPI(Exchange) etc). It was initialy created to be local area network protocol, ...
user avatar
1 vote
Accepted

Nginx proxy_set_header Host for RPC management

This was actually something I had missed – linkerd supports HTTP/1.1 out of the box and nginx was using 1.0 to forward to the linkerd service. Adding proxy_http_version 1.1 Fixed the issue for me.
user avatar
  • 225
1 vote

RPC Server is unavailable while trying to promote a domain controller. Open firewall

These aren't all required AD ports. TCP and UDP 389 TCP 636 TCP 3268 TCP 3269 TCP and UDP 88 TCP and UDP 53 TCP and UDP 445 TCP 25 TCP 135 TCP Dynamic TCP 5722 UDP 123 TCP and UDP 464 UDP Dynamic ...
user avatar
1 vote
Accepted

What is the difference between setting the DTC port range via Registry and dcomcnfg?

There is no difference*, as in both cases the Ports value under HKEY_LOCAL_MACHINE\Software\Microsoft\Rpc\Internet Registry key is being modifying. The screenshot below shows the registry modification ...
user avatar
1 vote
Accepted

On CentOS, rpcinfo uses unusual source port when run as root

There is a security reason for that. To prevent any user to modify rpc mapping, portmap/rpcbind requires that requests comes from privileged user. By using source port < 1024, rpcinfo can proof ...
user avatar
  • 4,268

Only top scored, non community-wiki answers of a minimum length are eligible