bash: redirection error: cannot duplicate fd: Invalid argument

Login error on console “-bash: redirection error: cannot duplicate fd: Invalid argument”

OS: CentOS 6

The error was due to /etc/security/limits.conf settings

The file had:

* hard nofile 10
* hard cpu 10
* hard locks 2

Once commented out and rebooted the error was solved.

Was this answer helpful? 0 Users Found This Useful (0 Votes)