server: Better handling of errors when accessing the /proc control files on Solaris.