Port NNNN is not secure

From The Open Source Backup Wiki (Amanda, MySQL Backup, BackupPC)
Revision as of 23:37, 30 June 2008 by Dustin (talk | contribs) (man links)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigationJump to search

This article is a part of the Troubleshooting collection.

Problem

amcheck(8) and other programs give the error:

Port nnn is not secure

Solution

Because `amcheck', as some other Amanda programs, must be installed as setuid-root. Run `make install' as `root', or `chown' all Amanda setuid programs to `root', then `chmod u+s' them again, if `chown' drops the setuid bit.

Solution

When the Amanda server contacts a client, it requests one or more ports on the client for communication. Ordinarily, the client will respond with clients in the "secure" range (0 - 1023). If the client's configuration is different, or if it cannot allocate such a port (because it is not running as root), then this error will appear.

See Also

Credits

This text was originally contributed to the AMANDA-FAQ-O-Matic by [email protected].