We are running Web Security 7.6.2.1449 (Server name: Websense running 2008R2) and I recently noticed that a log database was never setup. I had our DBAs carve up a MSSQL instance on another 2008R2 Server (Websense_DB\Websense). Tried to setup the database using the manual method found on "Article Number: 000001356." The following command was what was used...
CreateDbU.exe "Websense_DB\Websense,40024" "websense" "Password" "WSE" "LogServer" "wslogdb70" "\\Websense_DB\Websense"
Here is the CreateDbInstall.log file:
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=WEBSENSE_DB\WEBSENSE;DATABASE=master;UID=websense
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 "WEBSENSE_DB\WEBSENSE" -d "master" -i ".\sp_database.sql" -m-1 -l "65" -o ".\sp_database.out" -U "websense"
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=WEBSENSE_DB\WEBSENSE;DATABASE=master;UID=websense
Calling Logdatabases createNewDatabase
RETRY: Calling Logdatabases createNewDatabase for wslogdb76
Failed to create the DB.
Writing to Install File
WriteToInstallFile(.\CheckSpDatabase.txt) = ERROR: 6
Failed to create the DB.
Writing to Install File
WriteToInstallFile(.\CheckSpDatabase.txt) = ERROR: 6
The user account websense is a sysadmin and the port to connect to is 40024. On Websense_DB\Websense I had a share created called "\Websense_DB\Websense" which my domain ID has RW access to. I have confirmed connectivity via telnet to ensure this is not a firewall issue. Under ODBC Data Source Administrator (SysWow64\odbcad32), I have confirmed wslogdb70 has connected successfully. I am an admin on Websense but not on the Websense_DB server. Also tried changing the share directory to the same as the master db, still no change - same error. I have also tried reinstalling the Log Server.
Assistance is much appreciated.