Entdecken Sie eBooks
Kategorien
Entdecken Sie Hörbücher
Kategorien
Entdecken Sie Zeitschriften
Kategorien
Entdecken Sie Dokumente
Kategorien
RO
Für Servicetechniker
Installation Manual
For Service Engineers
03/99
Installationsanleitung für SIPLACE Pro 1.0A
(The reproduction, transmission or use of this (We have checked the contents of the printed documentation to
document or its contents is not permitted without ensure that is in agreement with the hardware and software
express written authority. described therein. However, since discre-pancies cannot be
Offenders will be liable for damages. All rights, ruled out, we cannot assume responsibility for complete
including rights created by patent grant or agreement.
registration of a utility model or design, are the information given in this printed documentation is however
reserved.) regulary reviewed and necessary corrections included in
subsequent editions. We would appreciate any suggestions for
improvements.)
Siemens AG 1999 All rights reserved Subject to change without prior notice
(Weitergabe sowie Vervielfältigung dieser (Wir haben den Inhalt der Druckschrift auf Übereinstimmung
Unterlage, Verwertung und Mitteilung ihres mit der beschriebenen
Inhalts sind nicht gestattet, soweit nicht Hard- und Software geprüft. Dennoch können Abweichungen
ausdrücklich zugestanden. nicht ausgeschlossen
Zuwiderhandlungen verpflichten zu werden, so daß wir für die vollständige Übereinstimmung keine
Schadenersatz. Alle Rechte vorbehalten, insbe- Gewähr übernehmen.
sondere für den Fall der Patenterteilung oder Die Angaben in dieser Druckschrift werden jedoch regelmäßig
GM-Eintragung.) überprüft und notwendi-
ge Korrekturen sind in den nachfolgenden Auflagen enthalten.
Für Verbesserungsvor-
schläge sind wir dankbar.)
I-2
Installation Manual for Service Engineers SIPLACE Pro 1.0A
Table of Contents
0 INTRODUCTION.................................................................................................. I-3
2 TROUBLESHOOTING........................................................................................... I-6
2.1 SOURCES OF INFORMATION FOR TROUBLESHOOTING .............................................................. I-6
2.1.1 The SIPLACE Pro installation log ............................................................................... I-6
2.1.2 The MS SQL Server 7 installation log......................................................................... I-6
2.1.3 The NT event log......................................................................................................... I-6
2.1.4 The MS SQL Server error log ..................................................................................... I-7
I-1
Installation Manual for Service Engineers SIPLACE Pro 1.0A
I-2
Installation Manual for Service Engineers SIPLACE Pro 1.0A
0 Introduction
This paper contains essential information for Siemens service engineers for trou-
bleshooting the SIPLACE Pro system during installation and operation. It also is
intended to serve as the foundation for creating the official instructions for service
technicians.
Please note that a document of this type can never be “complete”. When trouble-
shooting, a service technician will always have to be somewhat creative. The
author hopes that these efforts will be successful J.
You can operate SIPLACE Pro with two versions of the the Microsoft SQL Server
DBMS (database management system):
− Version 7
In this document, the version number is not specified only in cases where the in-
formation applies for both versions. If the DBMS version is mentioned, the infor-
mation applies only to the version specifically stated.
I-3
Installation Manual for Service Engineers SIPLACE Pro 1.0A
The easiest way to check that the system was installed correctly is to start the in-
stalled components, i.e. perform a function test.
To perform the function test, start the following components in the indicated order
or make sure that they are already running:
− MS SQL Server
The function test is successful if the SIPLACE Pro Desk finds the SIPLACE Pro
Server and establishes a connection to it. After its start, SIPLACE Pro Desk indi-
cates a successful connection by displaying the following dialog (note the infor-
mation in the title bar):
I-4
Installation Manual for Service Engineers SIPLACE Pro 1.0A
In some cases, the SIPLACE Pro Server may be slow to accept the connection
with a client. If this happens, the title bar of the above SIPLACE Pro Desk dialog
box will say “SIPLACE Pro Server was not found on ....”, just like it does when the
start fails. The dialog will not close automatically in this case.
Before you start to look for an error, wait a little and then click on “Change
Server…”. Confirm the dialog that appears with OK. The system will start another
attempt to set up a connection with the server shown in the dialog box.
I-5
Installation Manual for Service Engineers SIPLACE Pro 1.0A
2 Troubleshooting
If the function test fails, you should first check if the installation was performed
correctly. Next, check if each system component runs properly or if any errors
occurred.
During its installation, the file setup.log is created in the SIPLACE Pro pro-
gram folder. This file contains a log of the most recent installation. Additional files
with the name(s) setup_<n>.log (with <n> being a running number) contain
the logs of prior installations. The file with the highest running number, for exam-
ple, contains the log for the installation before the last one, etc.
When you install MS SQL Server 7, the setup program creates several log files:
− C:\WinNT\setup.log
− C:\WinNT\setupsql.log
− C:\WinNT\*.iss
The most recent entries are at the top of the event log. Pay special attention to
error entries that are marked with a “STOP” sign.
I-6
Installation Manual for Service Engineers SIPLACE Pro 1.0A
The program directory for the MS SQL Server (default: “c:\mssql65" bzw.
"c:\mssql7") contains in its subdirectory “log” the file “Errorlog” that contains the
current error log for the MS SQL Server. Additional “Errorlog_<n>” files where
<n> is a running number contain previous error logs.
Every time SQL Server starts it creates a new error log. Up to six log old logs can
be stored.
The MS SQL Server error log shows the most recent entries at the bottom of the
list.
Based on the files mentioned in Section 2.1.1, "The SIPLACE Pro installation",
you can check if the installation of SIPLACE Pro was performed successfully.
− The message “Setup successfully completed” at the end of the log indicates a
successful installation. If this entry is missing, check the log from the bottom
up for error messages. How to respond to individual errors goes beyond the
scope of this document.
− After the line with the entry “User information” follows a list with the information
that was entered in the installation dialogs. It is important that you check the
selected components. A non-functioning system can also be caused by an in-
complete selection of components to be installed.
I-7
Installation Manual for Service Engineers SIPLACE Pro 1.0A
Company=Microsoft
[Status]
Completed=1
RebootRequired=0
[ResponseResult]
ResultCode=0
The correct installation of MS SQL Server 6.5 can be checked in several steps:
While in no way complete, the following list contains some possible causes for
failed installations.
− Insufficient access rights for the disk on which the software should be in-
stalled. This is possible even if the local administrator performing the installa-
tion has local Administrator rights. The error exhibits itself when either file
I-8
Installation Manual for Service Engineers SIPLACE Pro 1.0A
cannot be written during the installation or when a service was installed but
cannot be started. If it is the second case, you can check by trying to start the
service manually.
In both cases, you may be able to correct the problem by explicitly giving the
local Administrator as well as the user SYSTEM full access rights to the disk.
− The computer may not have a configured network card. This prevents a suc-
cessful installation of MS SQL Server since it requires a functioning TCP/IP. If
it is not possible to configure a real network card to solve the problem, pro-
ceed as follows:
I-9
Installation Manual for Service Engineers SIPLACE Pro 1.0A
2.3.3 Troubleshooting
− Configuration error?
After you open Start/Settings/Control Panel/Services for the entry
“MSSQLServer”, click on “Startup…” and make sure that the settings are as
follows:
I-10
Installation Manual for Service Engineers SIPLACE Pro 1.0A
If your settings are different, change them to the above settings and try to
carry out the complete function test again.
− Check the same settings for the service SQLServerAgent (MS SQL
Server 7) or SQLExecutive (MS SQL Server 6.5).
I-11
Installation Manual for Service Engineers SIPLACE Pro 1.0A
Troubleshooting
It is highly likely that a runtime error occurred during the start that caused the
service to terminate immediately. Perform the following checks:
− Check the NT event log for any recent error entries for the SIPLACE Pro
Server. Such entries are marked with a “STOP” sign.
− If you find any such errors, check if they are of the “Database” category. If yes,
they are runtime errors of the database system that you can troubleshoot with
database administration steps. Typical errors of this nature are described be-
low.
− Error entries with other categories are usually caused by system errors that
cannot be repaired locally.
The “Database” category errors generally contain an error message. The error
messages described below are not quoted literally but provide a general descrip-
tion of the error. The following are typical errors that prevent the SIPLACE Pro
Server from starting:
− Login failed
Check in the Registry and—with the help of the SQL Enterprise Manager—in
the configuration of the SQL Server login if it contains the correct login infor-
mation (see the description of the Registry).
I-12
Installation Manual for Service Engineers SIPLACE Pro 1.0A
− Open failed - Version mismatch SIPLACE Pro Server / SIPLACE Pro Data-
base
The version of the SIPLACE Pro Server is not compatible with the database.
• Make sure that the SIPLACE Pro Server component and the SIPLACE Pro
Database component were installed from the same installation CD. If you
are not sure, repeat the installation.
• Start the MS SQL Server query application with one of the following start
menu entries, depending on the version:
* Start Menu/Programs/Microsoft SQL Server 6.5/ISQL_w
Runtime errors in SIPLACE Pro Server can interrupt the communication with the
SIPLACE Pro Desk or prevent SIPLACE Pro Server from writing entries made in
SIPLACE Pro Desk to the database.
Troubleshooting
− If you find any such errors, check if they are of the “Database” category. If yes,
they are runtime errors of the database system that you can troubleshoot with
database administration steps. Typical errors of this nature are described be-
low.
− Error entries with other categories are usually caused by system errors that
cannot be repaired locally.
I-13
Installation Manual for Service Engineers SIPLACE Pro 1.0A
The “Database” category errors generally contain an error message. The error
messages described below are not quoted literally but provide a general descrip-
tion of the error. The following are typical errors that occur during the runtime of
the SIPLACE Pro Server and cause system errors:
• Check the ODBC configuration and make any necessary corrections (see
below).
• Close the SIPLACE Pro Server MSSQLServer services and restart both.
This error can occur with MS SQL Server 6.5 in particular. Version 7 has dy-
namic file size management so that this type of error can occur only if the
system runs out of disk space. With this error, the object name shown is un-
important (“PICKUPPOSITION” in the example above). What is important is
the segment:
− "default": The database listed is full and must be increased with the help of the
SQL Server Enterprise Manager: Extend the database medium (or "device")
and them increase the database size. For detailed information about extend-
ing a database, consult the SQL Server online documentation, especially the
articles “Extending the database medium” and Increasing or decreasing data-
bases”.
° When did these tasks run last? The SQL Server computer must run at
night so that these tasks can be performed. This also applies to
weekends.
* Start the batch file <SIPLACE Pro-Programmverzeichnis>\-
DBSkripts\StartMaintenanceTasks.bat. Check in the task his-
tory of the SQL Server Enterprise Manager if the "SiplacePro Weekly
I-14
Installation Manual for Service Engineers SIPLACE Pro 1.0A
Maintenance" task ran successfully (it may run for several minutes, de-
pending on the size of the database). If errors occur, correct them (there
may be insufficient disk space for the backup files, for example) and re-
start the task. As soon as the task has run successfully, you will have
sufficient space again for the transaction log.
* If you cannot find the cause of the error with the above checks, increase
the storage area set aside for the transaction log. For details, check the
two online documentation articles mentioned above.
− Timeout
An access to the SQL Server could not be completed in the time configured.
The configuration is set in the SIPLACE Pro Registry with the value DBSet-
tings\QueryTimeoutSec (see description of the Registry).
• The timeout may have been caused by competing accesses of other data-
base applications. Stop and start the SIPLACE Pro Server and attempt the
failed action again.
• The timeout may also have been caused by unexpectedly high data vol-
ume. Increase the corresponding entry in the Registry and restart the
SIPLACE Pro Server.
If the SIPLACE Pro Desk is unable to find the SIPLACE Pro Server, this may be
caused by a faulty registration of the server or the proxy DLL that is needed for
the communication. To perform the registration manually, proceed as follows:
I-15
Installation Manual for Service Engineers SIPLACE Pro 1.0A
I-16
Installation Manual for Service Engineers SIPLACE Pro 1.0A
I-17
Installation Manual for Service Engineers SIPLACE Pro 1.0A
I-18
Installation Manual for Service Engineers SIPLACE Pro 1.0A
In this section, the complete tree of Registry entries for SIPLACE Pro is listed. Explanations are provided for all entries that
may be modified by the Siemens service technician.
It is important that there are several instances of the described Registry hierarchy on the same computer:
− always under the root key HKEY_CURRENT_USER for the user who installed SIPLACE Pro on the computer
− possibly also under the root key HKEY_CURRENT_USER for additional users who have used the SIPLACE Pro system.
I-19
Installation Manual for Service Engineers SIPLACE Pro 1.0A
I-20
Installation Manual for Service Engineers SIPLACE Pro 1.0A
I-21
Installation Manual for Service Engineers SIPLACE Pro 1.0A
I-22
Installation Manual for Service Engineers SIPLACE Pro 1.0A
I-23
Installation Manual for Service Engineers SIPLACE Pro 1.0A
I-24
Installation Manual for Service Engineers SIPLACE Pro 1.0A
I-25
Installation Manual for Service Engineers SIPLACE Pro 1.0A
The following section explains with screenshots how the data source must be
configured for the SIPLACE Pro system. Normally, the SIPLACE Pro setup pro-
gram performs the configuration automatically, but you can also do it manually,
provided all settings are entered as shown below.
For the screenshots, the SQL Server driver version 3.70.06.23 was used. With
other versions of the SQL Server driver, the DSN configuration dialog boxes may
look differently. Proceed accordingly.
I-26
Installation Manual for Service Engineers SIPLACE Pro 1.0A
− User DSN contains configured data sources that are available to the user
(and only that user) who is currently logged in to NT.
− System DSN contains configured data sources that are available to all users
logged in to that computer. The DSNs used for SIPLACE Pro must be set
up as System DSNs.
− About displays the versions of the DLLs that are part of the ODBC core. This
information can be helpful for system developers when troubleshooting.
− ODBC Drivers displays the ODBC drivers installed on this computer and
their versions. This information can be helpful for system developers when
troubleshooting.
In the dialog box shown above, click on the System DSN tab if it is not already
activated.
− If the list of DSNs includes an entry with the name SiplaceProDB, select it
and click on “Configure…”.
I-27
Installation Manual for Service Engineers SIPLACE Pro 1.0A
The system now activates a wizard that displays a series of dialogs. You move
from one dialog to the next one by clicking on “Next”. Click on “Finish” only if
no “Next” button is displayed.
All dialogs are shown below. All settings and entries must be made exactly as
displayed in the screenshots. If necessary, special notes follow the respective
dialog screenshot.
Notes:
− From the “Server” drop-down list, you can select from all computer names on
which the system found an MS SQL Server. Select the name of the computer
on which the SIPLACE Pro database was installed or enter the name of the
computer.
I-28
Installation Manual for Service Engineers SIPLACE Pro 1.0A
Notes:
− Make sure that you select “SQL Server Authentication” in the upper portion of
the dialog.
− As the password, enter “usr” or the password in the following Registry entry:
\HKEY_LOCAL_MACHINE
\SOFTWARE
\Siemens SIPLACE
\SIPLACE Pro 1.0
\DBSettings
\UseridP.
The information in the lower section of the dialog box is used for testing the
ODBC link at the end of the configuration. It has no effect on the SIPLACE Pro
system.
I-29
Installation Manual for Service Engineers SIPLACE Pro 1.0A
In the two dialog boxes above, you can leave the default values unchanged.
I-30
Installation Manual for Service Engineers SIPLACE Pro 1.0A
− If you click on the “Test Data Source…” button, the system attempts to ad-
dress the SQL Server via the newly configured DSN. The following dialog dis-
plays the result of the test:
I-31
Installation Manual for Service Engineers SIPLACE Pro 1.0A
Click on OK.
2.6.3 Error Message „ The System-DNS „Local Server“ fehlt in der ODBC-
Konfiguration
This error very rarely occurs after deinstalling and reinstalling SIPLACE Pro with-
out database:
I-32
Installation Manual for Service Engineers SIPLACE Pro 1.0A
It may become necessary to reinstall the MS SQL Server. If you don’t make the
proper preparations, you may lose all information about the SIPLACE Pro Data-
base since the master database will be set up from scratch.
To reinstall the MS SQL Server 6.5 without losing your data, carry out the follow-
ing steps:
1. Stop the SIPLACEProServer service and all other applications that are con-
nected with MS SQL Server.
2. Stop the MS SQL Server service.
3. Stop the SQL Executive service.
4. Copy the complete subdirectory “DATA” from the SQL Server program direc-
tory (“c:\mssql” by default) to a secure location away from this program direc-
tory.
The “DATA” directory contains the master database that is always set up new
with each reinstallation.
5. Uninstall the MS SQL Server:
b) Click through the first dialogs until you see the Options dialog:
I-33
Installation Manual for Service Engineers SIPLACE Pro 1.0A
9. Copy the backed-up “DATA” directory and its contents to the new SQL Server
program directory. Overwrite the “DATA” directory that was created during the
installation.
I-34
Installation Manual for Service Engineers SIPLACE Pro 1.0A
To reinstall MS SQL Server 6.5 without the risk of losing data, perform the fol-
lowing steps:
1. Back up the entire system.
2. Open Start Menu/Programs/Microsoft SQL Server 7/Query Ana-
lyzer under the login "sa" and execute the following commands:
a) sp_helpdb
Print and/or save the output. It contains a list of all known databases. There
are two different groups:
* System and sample databases
° master
° msdb
° tempdb
c) sp_helpfile
Print and/or save the output. It contains a list of all files that make up the
respective database.
d) use master
e) sp_detach_db <database name>
1. For each of the user databases except EASYPRO, log the configuration of the
user rights. Consult the system documentation or the online documentation of
MS SQL Server 7 for this procedure.
I-35
Installation Manual for Service Engineers SIPLACE Pro 1.0A
* AddLogins.sql
* AddMaintenanceTasks.sql
Ignore any error messages regarding the attempt to delete non-existing
tasks.
* Create StartupProc.sql
* GrantAllToPublic.sql
10. Configure the user rights for all user databases except EASYPRO according to
the settings logged above.
I-36