First, set initial passwords for the csadmin and postgres accounts:
root#passwd csadminroot#passwd csoperatorroot#passwd postgres
Since you are using RedHat 9.0, the camac 'crate_24' command must be overwritten:
Not all of these commands are run as root, pay close attention to the examples! Not all of the chown and chmod commands may be necessary, but are included for completeness.
csadmin$cp /AccelNET/necdrivers/rh9/crate_24 /AccelNET/sbin/crate_24csadmin$chown csadmin.cs_admin /AccelNET/sbin/crate_24csadmin$chmod 755 /AccelNET/sbin/crate_24csadmin$ln -s /AccelNET/sbin/crate_24 /AccelNET/sbin/crate
Next, the nec initialization script must be configured and installed.
root#/AccelNET/necdrivers/build_nodesroot#cp /AccelNET/necdrivers/nec /etc/init.d/necroot#chmod 755 /etc/init.d/necroot#cd /etc/init.droot#vi nec
Uncomment the lines to load and unload the device drivers needed for the specific machine.
For RedHat 9.0, you will need to insert the 'rh9' directory between the necdrivers and filename in the commands. (e.g. /sbin/insmod -f /AccelNET/necdrivers/rh9/f_ksc2915mod_24.o major=80) Make sure you use the _24.o files.
Insert the following line just after the 'chkconfig: 2345 92 92' line:
# description: NEC AccelNET device driver loading/unloading
Save the file and close vi.
Finally, add the init script to chkconfig:
root# chkconfig --add nec
root# chkconfig nec on
It is a good idea to reboot (type 'reboot' as root) at this point to make sure that the nec startup script is working and that postgres is starting properly. After rebooting, you can view the loaded modules by typing 'lsmod' and check for errors with 'dmesg'. To verify that postgres started properly, make sure that 'ps ax | grep postmaster' returns an entry with '/AccelNET/pgbin/bin/postmaster -S -D/AccelNET/postgres' or similar.