WebSphere brand IBM WebSphere Presence Server, Version 7.0

Troubleshooting the database script

You can take a number of different actions if errors occur when you run the database preparation scripts .

Problem Solution
The script fails with an access denied error. Add execute permission for the script, for example:

DB2 chmod 777 Scriptname.sh

Oracle chmod 777 Scriptname.sh

The script fails with a file or directory does not exist error. Run the dos2unix command, for example:

DB2 dos2unix Scriptname.sh

Oracle dos2unix Scriptname.sh

The attempt to unpack IBMPresenceServerDbPackage_7.0.tar fails with an access denied error. Add execute permission for the .tar file, for example:

DB2 chmod 777 IBMWebSpherePresenceServer.tar

You cannot connect to the database. Verify that the DB2® database manager or the Oracle server is started.
DB2 Open the script using a text editor and verify the following:
  • The correct values are specified for DBUSER and DBUSERPW
  • DBCREATE is set to TRUE (for new databases)
  • DBPORT is set to the port that is being used by your DB2 server (the default is 50000)
  • Linux DBSERVER matches the Linux hostname command value, if you are running the script directly on the database server

Oracle Shut down and then restart the database. The easiest way to do this is through the Oracle console.




Terms of use
(C) Copyright IBM Corporation 2009. All Rights Reserved.