Quantcast
Channel: VMware Communities: Message List - vCenter™ Server
Viewing all articles
Browse latest Browse all 15787

Database problems?

$
0
0

Hi,

 

I recently upgraded from 5.0 to 5.5 U1 (including the heartbleed bug patch) and am having what I believe are database issues.  All services start and I am able to connect via the vSphere client and the web interface.  The problem comes when I try to create a new VM.  All the steps go through but it hangs at 100% when it says "Copying Virtual Machine configuration" and my vSphere client disconnects.  I then get an error: "connection to the "<server_name>" server was lost while completing the last command.  Confirm that the command was successfully completed.  Then I get "The sessions for the request is not valid".  Looking at the vpxd-n.log i see:

 

mem> 2014-04-29T14:05:34.531-04:00 [07000 warning 'Default'] [VdbStatement] SQL execution failed: insert into VPX_TABLE (TABLE_NAME, COL_NAME, COL_TYPE, COL_LEN, PK_FLG) values (?, ?, ?, ?, ?)

mem> 2014-04-29T14:05:34.531-04:00 [07000 warning 'Default'] [VdbStatement] Execution elapsed time: 0 ms

mem> 2014-04-29T14:05:34.532-04:00 [07000 warning 'Default'] [VdbStatement] Diagnostic data from driver is 07002:1:0:[Microsoft][SQL Server Native Client 11.0]COUNT field incorrect or syntax error

mem> 2014-04-29T14:05:34.532-04:00 [07000 warning 'Default'] [VdbStatement] Bind parameters:

mem> 2014-04-29T14:05:34.532-04:00 [07000 error 'Default'] [Vdb::IsRecoverableErrorCode] Unable to recover from 07002:0

mem> 2014-04-29T14:05:34.532-04:00 [07000 error 'Default'] [VdbStatement] SQLError was thrown: "ODBC error: (07002) - [Microsoft][SQL Server Native Client 11.0]COUNT field incorrect or syntax error" is returned when executing SQL statement "insert into VPX_TABLE (TABLE_NAME, COL_NAME, COL_TYPE, COL_LEN, PK_FLG) values (?, ?, ?, ?, ?)"

mem> 2014-04-29T14:05:34.539-04:00 [07000 error 'Default'] [VdbSchemaLoader::StoreTableSchemaInfoToDB] Error inserting into VPX_TABLE for table VPX_NW_ASSIGNMENT: "ODBC error: (07002) - [Microsoft][SQL Server Native Client 11.0]COUNT field incorrect or syntax error" is returned when executing SQL statement "insert into VPX_TABLE (TABLE_NAME, COL_NAME, COL_TYPE, COL_LEN, PK_FLG) values (?, ?, ?, ?, ?)"

mem> 2014-04-29T14:05:34.539-04:00 [07000 error 'Default'] [VdbTableDef::PopulateSchemaInfo] Failed to retrieve column information for table VPX_NW_ASSIGNMENT. Usually this is the result of a mismatch between the DB schema and the product/build.

mem> 2014-04-29T14:06:12.830-04:00 [07000 panic 'Default'] (Log recursion level 2) [VdbTableDef::PopulateSchemaInfo] Exiting. Unable to retrieve schema information.

 

 

I have setup a service account for the following services: 'VMware VirtualCenter Management Webservices', 'VMware Virtual Center Server', and ''VMware vSphere Update Manager Service'.  The account is a domain account and is a member of the local administrators group.  It seems like the service does not have access to the write to the database but when I look at the database effective permissions for the service account it has lots of permissions including ALTER and INSERT.  Any help would be greatly appreciated.

 

TIA


Viewing all articles
Browse latest Browse all 15787

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>