I have to setup a chroot web environment for a group of informix dba's to use the web based db tools. Most of the tools are working in the chroot, but things that try to open a database connection, like dbaccess commands are not working. The log entries from the httpd error log file are:
[Tue May 04 18:22:09 2010] [error] [client xxx.xx.xx.xx] 25574: Network driver cannot open the network device.
[Tue May 04 18:22:09 2010] [error] [client xxx.xx.xxx.xx]
[Tue May 04 18:22:09 2010] [error] [client xxx.xx.xxx.xx] No such file or directory
I am guessing the chroot is missing some device file that informix needs to run dbaccess, but not sure what it may be looking for. Note the dbaccess commands work when run from a non chroot installation (e.g. has all system files available). The tcp device files were created in the chroot, since that seemed to be the only service added for informix in the /etc/services file.
Any idea what may be missing from the chroot that is causing these errors.