Hi :-) This is my first Post on this Forum, i use Websense since near 5 or 6 Years.
But know i got a real hard Problem :-)
We build up vom Ground a new Websense Server (Windows 2008 x32) Filters on an TMG 2010 on Win2k8R2
The Database is host on the Win2k8 x32 SP2 Machine where Websense Services Installed.
All working fine i see the Traffic comming in on the TestLog Server Utility.
After Install i got an Errormessage that the DB cannot be Created so i use the CreateDBu.exe Utility to Create on.
The Commands running, on the sqlmanagement tool i see the Database comming up. After a while when the createdbu.exe is complete the Database is not here anymore.In stdout and stderror Textfile is nothing but in the CreadbInstall.txt Follow:
CreateDb Starting
CreateDb Parse Command Line Parameters
CreateDb Create event to tell calling process to wait.
CheckConnection: See if the user entered the right server, user name, and password
Creating a connection string. Connection = SERVER=127.0.0.1;DATABASE=master
Creating the sp_database.sql file to see if the database exists.
Getting the Osql login timeout from the LogServer.ini file.
Running the following command with CreateProcess
.\osql -S "127.0.0.1" -d "master" -i ".\sp_database.sql" -m-1 -l "65" -o ".\sp_database.out" -E
Parsing the sp_database.out file to see if a connection can be made.
The database connection is OK
Generating a new ODBC connection for this database.
CheckIfDbExists: See if the database exists
Parsing sp_database.out to see if the database exists.
CreateDb - create the DB.
Creating a connection string. Connection = DSN=wslogdb70;SERVER=127.0.0.1;DATABASE=master
Calling Logdatabases createNewDatabase
Generating a new ODBC connection for this database.
Creating a connection string. Connection = DSN=wslogdb70;SERVER=127.0.0.1;DATABASE=wslogdb70
Loading tables and stored procedures into the database.
Writing to Install File
WriteToInstallFile(.\CheckSpDatabase.txt) = ERROR: 9
FATAL ERROR OCCURRED, CLEANING UP THE DATABASE.
DB CLEANUP - Dropping SQL Agent jobs.
DB CLEANUP - Dropping all paritions.
Creating a connection string. Connection = DSN=wslogdb70;SERVER=127.0.0.1;DATABASE=master
Generating a new ODBC connection for this database.
DB CLEANUP - Connecting to the master db.
DB CLEANUP - Dropping Catalog database.
DB CLEANUP - Dropping partition database.
Failed to create the DB.
Writing to Install File
WriteToInstallFile(.\CheckSpDatabase.txt) = ERROR: 6
What is ERROR:6 or ERROR:9
A Feature Request: Errorcode List.
Keeping Checking with Procmon and Regmon and SQL Log since 3 Days.
Thx in Advice
daBONDi