Skip to main content

Support & downloads  >  

Sametime privacy: upgrade_util.sh fails with "bad or missing arguments".

 Technote (troubleshooting)
 
 
Problem
When Following the infocenter documentation to update the Sametime privacy information running the upgrade_util.sh fails with:
"Bad or missing arguments".
Usage: ./upgrade_util.sh <domino-bin-dir> <domino-data-dir> [ <upgrade-util-filter-file> ]

http://publib.boulder.ibm.com/infocenter/sametime/v8r0/topic/com.ibm.help.sametime.802.doc/Standard/st_inst_migrating_aixsolarislinux_t.html?resultof=%22%75%70%67%72%61%64%65%5f%75%74%69%6c%2e%73%68%22%20


Infocenter advises to
1. Run chmod u+x upgrade_util.sh (runs successfully).
2. Run the upgrade util using the following command:
upgrade_util.sh <domino_program_directory> <sametime_server_data_directory> [ <upgrade_util_filter_file> ]


Note: [ <upgrade-util-filter-file> ] is optional, but the script fails whether the file is supplied or not.
 
Symptom
Upgrade Utility script fails to run on Unix based systems.
 
Diagnosing the problem
In review of the code in the upgrade_util.sh the following files are being validated. (stserver, java, sametime.ini).
#
# Check the directories: a simple, to make sure their meaning is well understood
#
if ${test} \! -e "${domino_bin_dir}/stserver"; then
exit_usage
fi
if ${test} \! -e "${domino_bin_dir}/java"; then
exit_usage
fi
if ${test} \! -e "${domino_data_dir}/sametime.ini"; then
exit_usage


The default data directory is /local/notesdata
The default program directory is /opt/ibm/lotus/notes/latest/linux

If you are running into a usage error it is likely these checked files do not exist in the paths being specified above for your particular install.
For instance, stserver is in the /opt/ibm/lotus/notes/latest/linux folder under some installations.
 
Resolving the problem
Enter the the specific path to these files during execution of the script,
Search the installation directory for the stserver binary. Your java binary will also exist in the same directory. When you find this directory you will need to specify that on the command line so this command will work.

The below executed works in 8.0.2.1 testing as the path to stserver, java and sametime.ini is being supplied during execution of the script. If you receive the Usage message again verify the stserver, java and sametime.ini files are in the folders you are specifying.

Script executed from the /local/notesdata directory:

./upgrade_util.sh /opt/ibm/lotus/notes/latest/linux /local/notesdata
 
 
 

Copyright and trademark information
IBM, the IBM logo and ibm.com are trademarks of International Business Machines Corp., registered in many jurisdictions worldwide. Other product and service names might be trademarks of IBM or other companies. A current list of IBM trademarks is available on the Web at "Copyright and trademark information" at www.ibm.com/legal/copytrade.shtml.
Rate this page
Please take a moment to complete this form to help us better serve you.
This material provides me with the information I need.




This material is clear and easy to understand.




Did the information help you to achieve your goal?
What updates, improvements, or related information would you like to see in this document?
Your response will be used to improve our document content. Requests for assistance, if applicable, should be submitted through your normal support channel as we cannot respond from this site.
Input the verification number to submit feedback:
Document information
 Product categories:
 Software
 Organizational Productivity, Portals & Collaboration
 Real-time & Team Collaboration
 Lotus Sametime
 Administration
 Operating system(s):
  AIX, Linux, Solaris
 Software version:
  7.5, 7.5.1, 7.5.1.1, 7.5.1.2, 8.0, 8.0.1, 8.0.2
 Software edition:
  Entry, Standard
 Reference #:
  1406049
 IBM Group:
 Software Group
 Modified date:
 2009-10-07

Translate My Page
 
 

Rate this page

Help us improve this page. Your response will be used to improve our document content. Requests for assistance, if applicable, should be submitted through your normal support channel as we cannot respond from this site.