trying to understand rcpbind

I’m installing an FTP server for local use on openSUSE 13.1

p580:~ # uname -a
Linux p580.cutbeach 3.12.7-2.g78b11e9-desktop #1 SMP PREEMPT Mon Jan 13 14:57:16 UTC 2014 (78b11e9) x86_64 x86_64 x86_64 GNU/Linux
p580:~ # 

I’m trying to complete a setup by following an out of date howto that suggests
the need to run portmap, however I understand that portmap has been superceded
by rcpbind, so I tried to install rcpbind:

p580:~ # zypper in rcpbind
Retrieving repository 'Downloads' metadata 
................................................................................
........................[done]
Loading repository data...
Reading installed packages...
'rcpbind' not found in package names. Trying capabilities.
No provider of 'rcpbind' found.
Resolving package dependencies...


Nothing to do.
p580:~ #

However Yast>Software management reports that rdpbind is installed, so I tried to continue my setup:

p580:~ # chkconfig rcpbind status
illegal runlevel specified for rcpbind: t
p580:~ # chkconfig rcpbind on
rcpbind: unknown service
p580:~ # man rcpbind
No manual entry for rcpbind
p580:~ #

Can somebody a lot brighter than I am offer some guidance?

Hi
Remember we use systemd…


systemctl status rpcbind.service
systemctl start rpcbind.service
systemctl status rpcbind.service

Why use ftp, ssh/sftp are available out of the box, on windows clients use winscp…

The man page for rpcbind is installed here fine?

I really must do some reading on systemd, been procrastinating :([/QUOTE]

Why use ftp, ssh/sftp are available out of the box, on windows clients use winscp…

I’m trying to troubleshoot a problem (unable to add/delete plugins) with a WordPress site and can’t get WP to use either, says it can’t find the ftp server. So far no luck with either FTP or SFTP, so I’m trying to go back to the beginning to find the problem.

p580:~ # systemctl status rpcbind.service
rpcbind.service - RPC Bind
   Loaded: loaded (/usr/lib/systemd/system/rpcbind.service; disabled)
   Active: active (running) since Wed 2014-04-23 10:55:20 EDT; 1h 58min ago
 Main PID: 24986 (rpcbind)
   CGroup: /system.slice/rpcbind.service
           └─24986 /sbin/rpcbind -w -f


Apr 23 10:55:20 p580.cutbeach rpcbind[24986]: Cannot open '/var/lib/rpcbind/rpcbind.xdr' file for reading, errno 2 (No such file or directory)
Apr 23 10:55:20 p580.cutbeach rpcbind[24986]: Cannot open '/var/lib/rpcbind/portmap.xdr' file for reading, errno 2 (No such file or directory)
Apr 23 10:55:20 p580.cutbeach systemd[1]: Started RPC Bind.
Apr 23 12:53:45 p580.cutbeach systemd[1]: Started RPC Bind.
p580:~ #

Hi
So the rpcbind service is running? You might also want to enable it so it starts on reboot (in the output it’s disabled)


systemctl enable rpcbind.service

So what ftp server are you running?

Why do you need portmapper for FTP server? FTP does not use RPC and does not need port mapping.

tried pure-ftp but wasn’t happy, now working with vsftpd

Honestly… I didn’t think I did need it, but the author of the howto I’m currently following insisted that it should be running. I’ve been troubleshooting this stupid little issue with WordPress for way too long, so I thought better I’d pick one set of instructions and follow them to the letter on the off chance that the author was smarter than I (something that happens more often than I like to admit).

Completely correct. That puzzled me about the OP.

The typical problem with FTP, is when you are using some sort of NAT router, which might fail to do the needed masquerading/mapping of ip/ports used.