Installation Notes for installing 7.1d porting set on Unix platform. =========================================================== Last Revised: 19th November 2004 =========================================================== Before starting installing this new Porting Set take care that: * nobody is logged in Baan. * there are no long time running Baan jobs are active. To install this Porting Set, perform the following steps: 1. Create a directory $BSE/bin.new and copy bin.dmp.Z in this directory, were $BSE is the directory were your Baan environment is installed. 2. Run compress -d bin.dmp.Z, 3. Run tar -xf bin.dmp 4. Log in as root 5. Check if all users have logged off. You can do it, by typing the command "ps -ef |grep bshell" If no bshell is grepped, no one is logged in anymore. 6. Go to the directory $BSE/etc and stop Baan by executing the command: ./rc.stop . 7. Stop the license daemon (if not stopped by the rc.stop, displayed in the "stop-information") by executing the command licmon6.2 -k . NOTE: this will kill the primary licence daemon 8. Go to directory $BSE and move the directory "bin" to "bin.old" 9. Move bin.new to "bin" 10. To ensure that all the permissions are correct you have to run the binperm6.2 script. This script automatically corrects all the permissions. Go to the directory $BSE/bin and execute the command sh binperm6.2 . 11. Generate a new $BSE/lib/shm_param file: Rename the old one to have a backup for the old portingset: mv shm_param shm_param.old Generate a new file: $BSE/bin/shmvalues6.2>$BSE/lib/shm_param chown bsp:bsp $BSE/lib/shm_param 12. Remove the file $BSE/lib/tbase/tbase_open (if you are using tbase(tp) database). When running rc.start this file is created again. 13. Copy the $BSE/api directory to $BSE/api.old 14. Copy the $BSE/lib directory to $BSE/lib.old 15 Copy the $BSE/java directory to $BSE/java.old 16 Copy the $BSE/shlib directory to $BSE/shlib.old 17. Copy the $BSE/include6.2 directory to $BSE/include6.2.old 18. Copy the api.dmp.Z to the $BSE/api directory 19. Copy the lib.dmp.Z to the $BSE/lib directory 20. Copy the java.dmp.Z to the $BSE/java directory 21. Copy the shlib.dmp.Z to the $BSE/shlib directory 22. Copy the include.dmp to the $BSE/include6.2 directory 23. Run compress -d for lib.dmp.Z, api.dmp.Z, java.dmp.Z, shlib.dmp.Z 24. run tar -xf lib.dmp run tar -xf api.dmp run tar -xf java.dmp run tar -xf shlib.dmp run tar -xf include.dmp 25. remove the files $BSE/bin/bin.dmp, $BSE/lib/lib.dmp, $BSE/api/api.dmp, $BSE/java/java.dmp, $BSE/shlib/shlib.dmp, $BSE/include6.2/include.dmp 26. Check permissions of the new installed file by checking $BSE/lib. Look for the user ID of the directories/files and use the number in the next command. Start this from $BSE: find . -user number -exec chown bsp:bsp {} \; -print also check if permissions of $BSE/shlib/libjvm2bvm.sl has execute rights, else execute chmod a+x libjvm2bvm.sl 27. Change directory to $BSE/etc and start Baan by executing the command ./rc.start . Now it should work. Do a final test before the system is released to the users!