SQL Server monitoring error event log 4001

hello Experts ,
We have SCOM 2012 R2 environment ,I have installed SQL SERVER MPs 6.5.0.1 and installed SCOM agent on some of SQL Server. Some of the SQL Server are monitoring working properly not all SQL Server but getting error  for some of SQL Server in event log
Event :4001
Management Group: SCOMMgtGroup. Script: Main Module: CPUUsagePercentDataSource.ps1 : 
Computer Name = 'MHSSCOM01.memnet.org' WMI = 'ComputerManagement11' Service Name = 'MSSQLSERVER' SQL Instance Name = 'MSSQLSERVER'
Exception calling "Fill" with "1" argument(s): "The user does not have permission to perform this action."Error occured during CPU Usage for SQL Instances data source executing.
Computer:MHSSCOM01 
Reason: Exception calling "Fill" with "1" argument(s): "The user does not have permission to perform this action."
also not getting Database information within the SQL Server instances for these SQL Server within "Instances Summary "
for resolution ,I have created a Run as account (windows)for SQL monitoring then associated it with Run as profile with SQL Server default account,Discovery account and Monitoring account and distribute it securely to each SQL Server health service object
.The run as account have  added to local admin group on each SQL server.
How to resolved the event log error and how to get database information for all instances of sql server.
Thanks
RICHA

Hi,
It seems like that the action account that run the script does not have enough permissions on the monitored SQL server, I would like to suggest you follow the below link to check your runas account configuration:
http://blogs.technet.com/b/kevinholman/archive/2010/09/08/configuring-run-as-accounts-and-profiles-in-r2-a-sql-management-pack-example.aspx
And make sure the action account also have SQL admin account to the SQL server.
Here is also a link that may be helpful for you:
http://blogs.technet.com/b/momteam/archive/2014/05/12/kb-event-4001-in-the-operations-manager-log-during-sql-server-2012-monitoring.aspx
Regards,
Yan Li
Regards, Yan Li

Similar Messages

  • VB Scripting to monitor application event log based on specific words.

    Hi All,
    I Have written, vb script to monitor application event log based on specific word in the message. when I have included same script in monitor, after running this script at specific time once in day, I am getting run time error in the server, where it
    supposed to run, could you please check the command where I have highlighted in below script.
    Dim VarSize
    Dim objMOMAPI
    Dim objBag
    Set objMOMAPI = CreateObject("MOM.ScriptAPI")
    Set objBag = objMOMAPI.CreateTypedPropertyBag(StateDataType)
    Set objFSO = CreateObject("Scripting.FileSystemObject")
    Const CONVERT_TO_LOCAL_TIME = True
    Set dtmStartDate = CreateObject("WbemScripting.SWbemDateTime")
    dtmStartDate.SetVarDate dateadd("n", -1440, now)' CONVERT_TO_LOCAL_TIME
    strComputer = "."
    Set objWMIService = GetObject("winmgmts:" _
     & "{impersonationLevel=impersonate}!\\" & strComputer & "\root\cimv2")
    Set colLoggedEvents = objWMIService.ExecQuery _
     ("SELECT * FROM Win32_NTLogEvent WHERE Logfile = 'Application' AND " _
     & "EventCode = '100'")
    For Each objEvent in colLoggedEvents
    If InStr(LCase(colLoggedEvents.Message), "Message :Application A3 has been successfully processed for today") Then
    X= "Success"
    end if
    Next
    if X="Success" then
    call objBag.AddValue("State","GOOD")
    call objMOMAPI.Return(objBag)
    wscript.quit()
    Else
    call objBag.AddValue("State","BAD")
    call objMOMAPI.Return(objBag)
    wscript.quit()
    End If

    By programming standards since as long as I can remember the use of the value of a variable to detect its Boolean state has been used.
    Cast your mind back to strongly typed languages, e.g. Pascal.
    I'll cast back to the very early days of the "C" language where all variables could be treated as "bool" without a cast. The is no more strongly type language than "C". "C" practically invented the standards for all modern languages. 
    When I was writin machine language we also used zero as false but many machines only  tested the high bit for truthieness.  The HP machines and Intel allowed a test to aggregate to the sign bit.  Adding that flag to the test alloed tru for
    an numeric value that was non-zero.  A boool test was also used for a negative e switch.  If you study micro language implementation you will find that this hardware design and the companion compiler design is ... well... by design.  It is a
    way of improving the completeness and usefulness of an instruction set.
    Other langauges may require further decoration due to some mistaken desire to be better than perfect. That is like trying to change number theory by renaming addition to be "gunking" and forcing everyone to use multiplication when adding the same number
    more than once.  A Boolean test os a test of the flag bit with to without aggregation.    Even if we test a bit in a word we still mask and aggregate.  It is always the most primitive operation.  It is also the most useful
    operation when you finally realize that it is like an identity in math.
    Use the language features that are designed in. They can help to make code much more flexible and logical.
    By the way, Pascal also treats everything as Boolean when asked to.
    ¯\_(ツ)_/¯

  • Standalone SQL Server monitoring with Solution Manager

    Hi,
    We have a Solman 3.1 instance monitoring all of our SAP and non-SAP Infrastructure.  We have several SQL Server systems we would like to monitor.
    Currently we have installed saposcol and sapccms agents on the servers and are getting the OS alerts and additionally have also configured Process and Log file monitoring.  We would now like to get SQL Server specific alerts like Log full alerts and other db specific alert situations.  Since this is a standalone db, how can we configure this db to report these type of alerts?
    thanks,
    binoy.

    Binoy,
    If I remember correctly I had this setup @ Sharp for oracle. You can use the same step to monitor the SQL DB liek transaction logs, backup etc's. If you can run the report RSDBMON0 this will build the <DB monitoring Tree> on the solman. So you can setup the autoreaction for the respective monitoring segment which you wanted.
    Let me know if any questions.
    Ashwin

  • Sql Server Express Error Visual Studio Isolated Shell Environment

    Hi everybody, 
    We are working with MSSQL 2014 Express edition in a Windows 8 machine, this version was working ok, but one day stopped working.
    When we tried to run mssql manager tool we have the next error:
    Microsoft visual Studio Isolated Shell Environment:
    Unknown error 
    Thanks

    Hi element111,
    According to your description, unfortunately there are little information for troubleshooting. So could you please help to post SQL Server error logs ? By default, the error logs can be found in : C:\Program Files\Microsoft SQL Server\MSSQL12.MSSQLSERVER\MSSQL\Log.
    In addition, we need to verify if you can successfully log in SQL Server via local SQL Server Management Studio (SSMS). If not, please post the full error message for analysis.
    Thanks,
    Lydia Zhang

  • System Center 2012 R2 install: SQL server Data file and log file

    This might be a dumb question, but I can't find the answer anywhere.  
    I'm installing a new instance of  System Center 2012 R2 on a new server, I'm stuck on the SQL Server data file section.  Everytime I put in a path, it says that tne path does not exist.  I'm I supposed to be creating some sort of SQL Server
    data file and log file before this installation, I didn't get this prompt when installing System Center 2012 SP1 or hen I upgraded from System Center 2012 SP1 to System Center 2012 R2
    My SQL is on a different server
    Thank you in advanced

    Have you reviewed the setup.log?
    On a side note, why would you put the database file on the same drive as the OS? That defeats the whole purpose of having a remote SQL Server. Why use a remote SQL Server in the first place.
    Jason | http://blog.configmgrftw.com

  • SQL Server - Extract Error - OGG-00868  Supplemental logging is disabled

    Hello,
    We are trying to replicate from a SQL Server 2008 database to Oracle database, but when trying to start the extract process we are getting the following error message:
    OGG-00868 Supplemental logging is disabled for database 'GoldenGate'. To enable logging, perform the following: 1) Set 'trunc. log on chkpt.' to false. 2) Create a full backup of the database. Please refer to the "Oracle GoldenGate For Windows and UNIX Administration Guide" for details.
    I have read that for enabling the supplemental logging is enough to "add trandata table_name", and this is done, and the extract process we are using is the following:
    EXTRACT cap_or4
    SOURCEDB GoldenGate
    TRANLOGOPTIONS MANAGESECONDARYTRUNCATIONPOINT
    EXTTRAIL c:\GoldenGate\V28983-01-GG-111112-SQLServer-Windows-x64\dirdat\C4
    TABLE GoldenGate.dbo.DES_T1;
    And the 'trunc.log on chkpt' is set to false.
    We don’t know what else to do, or to check... does anyone have any idea?!
    Thank you very much, best regards,
    Araitz.-

    Have you followed all the process for installing as per the guide? clearly you missed something
    Please follow below steps.
    Installation & Configuration of Oracle GoldenGate for MS SQL Server:
    Pre-requisites:
    1.Change Data Capture (CDC) must be enabled for Oracle GoldenGate and will be enabled by Oracle GoldenGate by means of the ADD TRANDATA command.
    2.SQL Server source database must be set to use the full recovery model.
    3.Oracle GoldenGate does not support system databases.
    4.After the source database is set to full recovery, a full database backup must be taken.
    5.SQL Server 2008 ODBC/OLE DB: SQL Server Native Client 10.0 driver
    6.Oracle GoldenGate processes can use either Windows Authentication or SQL Server Authentication to connect to a database.
    7.Before installing Oracle GoldenGate on a Windows system, install and configure the Microsoft Visual C ++ 2005 SP1 Redistributable Package. Make certain it
    is the SP1 version of this package, and make certain to get the correct bit version for your server. This package installs runtime components of Visual C++
    Libraries. For more information, and to download this package, go to http://www.microsoft.com.
    Privileges:
    1.Required SQL Server privileges for Manager when using Windows authentication
    Extract(source system)
    BUILTIN\Administrators account must be a member of the SQL Server fixed server role System Administrators.
    Account must be a member of the SQL Server fixed server role System Administrators
    Replicat (target system)
    BUILTIN\Administrators account must be at least a member of the db_owner fixed database role of the target database.
    Account must be at least a member of the db_owner fixed database role of the target database.
    2.Required SQL Server privileges for Extract and Replicat when using SQL Server authentication
    Extract - Member of the SQL Server fixed server role System Administrators.
    Replicat - At least a member of the db_owner fixed database role of the target database.
    Downloading Oracle GoldenGate
    Download the appropriate Oracle GoldenGate build to each system that will be part of the Oracle GoldenGate configuration.
    1. Navigate to http://edelivery.oracle.com.
    2. On the Welcome page:
    --Select your language.
    --Click Continue.
    3. On the Export Validation page:
    --Enter your identification information.
    --Accept the Trial License Agreement (even if you have a permanent license).
    --Accept the Export Restrictions.
    --Click Continue.
    4. On the Media Pack Search page:
    --Select the Oracle Fusion Middleware Product Pack.
    --Select the platform on which you will be installing the software.
    --Click Go.
    5. In the Results List:
    --Select the Oracle GoldenGate Media Pack that you want.
    --Click Continue.
    6. On the Download page:
    --Click Download for each component that you want. Follow the automatic download
    process to transfer the mediapack.zip file to your system.
    Installing the Oracle GoldenGate files
    1. Unzip the downloaded file(s) by using WinZip or an equivalent compression product.
    2. Move the files in binary mode to a folder on the drive where you want to install Oracle GoldenGate. Do not install Oracle GoldenGate into a folder that contains spaces in its name, even if the path is in quotes. For example:
    C:\“Oracle GoldenGate” is not valid.
    C:\Oracle_GoldenGate is valid.
    3. From the Oracle GoldenGate folder, run the GGSCI program.
    4. In GGSCI, issue the following command to create the Oracle GoldenGate working
    directories.
    CREATE SUBDIRS
    a.Create the necessary working directories for GG.
    Source DB:
    GGSCI>create subdirs
    Target DB:
    GGSCI>create subdirs
    Install the GoldenGate Manager process
    1.Create a GLOBALS parameter file
    --Execute the following commands from the <install location>.
    GGSCI> EDIT PARAMS ./GLOBALS
    --In the text editor, type the following:
    MGRSERVNAME <mgr service>
    Using a GLOBALS file in each GoldenGate instance allows you to run multiple Managers as services on Windows. When the service is installed, the Manager name
    is referenced in GLOBALS, and this name will appear in the Windows Services control panel.
    Note! Check to ensure that the GLOBALS file has been added in the GoldenGate installation directory and that it does not have an extension.
    --Execute the following command to exit GGSCI.
    GGSCI> EXIT
    2. Install the Manager service
    Execute the following command to run GoldenGate’s INSTALL.EXE . This executable installs Manager as a Windows service and adds GoldenGate events to the
    Windows Event Viewer.
    Shell> INSTALL ADDSERVICE ADDEVENTS
    Note: Adding the Manager as a service is an optional step used when there are multiple environments on the same system or when you want to control the name
    of the manager for any reason.
    Configuring an ODBC connection
    A DSN stores information about how to connect to a SQL Server database through ODBC (Open Database Connectivity). Create a DSN on each SQL Server source
    and target system.
    NOTE: Replicat will always use ODBC to query the target database for metadata.
    To create a SQL Server DSN
    1. Run one of the following ODBC clients:
    --If using a 32-bit version of Oracle GoldenGate on a 64-bit system, create the DSN by running the ODBCAD32.EXE client from the %SystemRoot%\SysWOW64
    folder.
    --If using a 64-bit version of Oracle GoldenGate on a 64-bit system, create a DSN by running the default ODBCAD32.EXE client in Control Panel>Administrative
    Tools>Data Sources (ODBC).
    --If using a version of Oracle GoldenGate other than the preceding, use the default ODBC client in Control Panel>Administrative Tools>Data Sources (ODBC).
    2. In the ODBC Data Source Administrator dialog box of the ODBC client, select the System DSN tab, and then click Add.
    3. Under Create New Data Source, select the correct SQL Server driver as follows:
    --SQL Server 2000: SQL Server driver
    --SQL Server 2005: SQL Native Client driver
    --SQL Server 2008: SQL Server Native Client 10.0 driver
    4. Click Finish. The Create a New Data Source to SQL Server wizard is displayed.
    5. Supply the following:
    --Name: Can be of your choosing. In a Windows cluster, use one name across all nodes in the cluster.
    --Server: Select the SQL Server instance name.
    6. Click Next.
    7. For login authentication, select With Windows NT authentication using the network login ID for Oracle GoldenGate to use Windows authentication, or select
    With SQL Server authentication using a login ID and password entered by the user for Oracle GoldenGate to use database credentials. Supply login information
    if selecting SQL Server authentication.
    8. Click Next.
    9. If the default database is not set to the one that Oracle GoldenGate will connect to,
    click Change the default database to, and then select the correct name. Set the other
    settings to use ANSI.
    10. Click Next.
    11. Leave the next page set to the defaults.
    12. Click Finish.
    13. Click Test Data Source to test the connection.
    14. Close the confirmation box and the Create a New Data Source box.
    15. Repeat this procedure from step 1 on each SQL Server source and target system.
    Setting the database to full recovery model
    Oracle GoldenGate requires a SQL Server source database to be set to the full recovery model.
    To verify or set the recovery model
    1. Connect to the SQL Server instance with either Enterprise Manager for SQL Server 2000 or SQL Server Management Studio for SQL Server 2005 and 2008.
    2. Expand the Databases folder.
    3. Right-click the source database, and then select Properties.
    4. Select the Options tab.
    5. Under Recovery, set Model to Full if not already.
    6. If the database was in Simple recovery or never had a Full database backup, take a Fulldatabase backup before starting Extract.
    7. Click OK.
    Enabling supplemental logging
    These instructions apply to new installations of Oracle GoldenGate for all supported SQL Server versions. You will enable supplemental logging with the ADD
    TRANDATA command so that Extract can capture the information that is required to reconstruct SQL operations on the target. This is more information than
    what SQL Server logs by default.
    --SQL Server 2005 updated to CU6 for SP2 or later: ADD TRANDATA calls the sys.sp_extended_logging stored procedure.
    --SQL Server 2005 pre-CU6 for SP2: ADD TRANDATA creates the following:
    A replication publication named [<source database name>]: GoldenGate<source database name> Publisher. To view this publication, look under Replication>Local
    Publications in SQL Server Management Studio. This procedure adds the specified table to the publication as an article.
    A SQL Server Log Reader Agent job for the publication. This job cannot run concurrently with an Extract process in this configuration.
    --SQL Server 2008: ADD TRANDATA enables Change Data Capture (CDC) and creates a minimal Change Data Capture on the specified table.
    a.Oracle GoldenGate does not use the CDC tables other than as necessary to enablesupplemental logging.
    b.As part of enabling CDC, SQL Server creates two jobs per database: <dbname>_capture and <dbname>_cleanup. The <dbname>_capture job adjusts the secondary
    truncation point and captures data from the log to store in the CDC
    tables. The <dbname>_cleanup job ages and deletes data captured by CDC.
    c.Using the TRANLOGOPTIONS parameter with the MANAGESECONDARYTRUNCATIONPOINT option for Extract removes the <dbname_capture> job, preventing the overhead of
    the job loading the CDC tables.
    d.The alternative (using TRANLOGOPTIONS with NOMANAGESECONDARYTRUNCATIONPOINT) requires the SQL Server Agent to be running and requires the <dbname>_capture and <dbname>_cleanup jobs to be retained. You will probably need to adjust the <dbname>_cleanup data retention period if the default of three days is not acceptable for storage concerns.
    To enable supplemental logging
    1. On the source system, run GGSCI.
    2. Log into the database from GGSCI.
    DBLOGIN SOURCEDB <DSN>[, USERID <user>, PASSWORD <password>]
    Where:
    -- SOURCEDB <DSN> is the name of the SQL Server data source.
    -- USERID <user> is the Extract login and PASSWORD <password> is the password that is required if Extract uses SQL Server authentication.
    3. In GGSCI, issue the following command for each table that is, or will be, in the Extract configuration. You can use a wildcard to specify multiple table
    names, but not owner names.
    ADD TRANDATA <owner>.<table>
    NOTE:The Log Reader Agent job cannot run concurrently with the GoldenGate Extract process.
    4.Configuration
    a.Create and start manager on the source and the destination.
    Source DB:
    shell>ggsci
    GGSCI> edit params mgr
    PORT 7809
    DYNAMICPORTLIST 7900-7950
    DYNAMICPORTREASSIGNDELAY 5
    AUTOSTART ER *
    AUTORESTART ER *, RETRIES 3, WAITMINUTES 5, RESETMINUTES 30
    LAGCRITICALMINUTES 60
    LAGREPORTMINUTES 30
    PURGEOLDEXTRACTS c:\ogg\dirdat\T*, USECHECKPOINTS, MINKEEPFILES 10
    GGSCI> start manager
    GGSCI>info all
    b. Create the extract group on the source side:
    GGSCI> edit params EXT1
    Add the following lines to the new parameter file
    EXTRACT EXT1
    SOURCEDB <DSN>, USERID ogg, PASSWORD ogg@321!
    TRANLOGOPTIONS MANAGESECONDARYTRUNCATIONPOINT
    EXTTRAIL c:\ogg\dirdat\T1
    DISCARDFILE c:\ogg\dirrpt\EXT1.DSC, PURGE, MEGABYTES 100
    TABLE dbo.TCUSTMER;
    TABLE dbo.TCUSTORD;
    GGSCI>ADD EXTRACT EXT1, TRANLOG, BEGIN NOW
    GGSCI>ADD EXTTRAIL c:\ogg\dirdat\T1, EXTRACT EXT1, MEGABYTES 100
    GGSCI> edit params PMP1
    Add the following lines to the new parameter file
    EXTRACT PMP1
    SOURCEDB <DSN>, USERID ogg, PASSWORD ogg@321!
    PASSTHRU
    RMTHOST dr, MGRPORT 7810
    RMTTRAIL c:\ogg\dirdat\P1
    TABLE dbo.TCUSTMER;
    TABLE dbo.TCUSTORD;
    GGSCI> ADD EXTRACT PMP1, EXTTRAILSOURCE c:\ogg\dirdat\T1
    GGSCI> ADD EXTTRAIL c:\ogg\dirdat\P1, EXTRACT PMP1, MEGABYTES 100
    Target DB:
    ===========
    shell>ggsci
    GGSCI> edit params mgr
    PORT 7810
    AUTOSTART ER *
    AUTORESTART ER *, RETRIES 3, WAITMINUTES 5, RESETMINUTES 30
    LAGCRITICALMINUTES 60
    LAGREPORTMINUTES 30
    PURGEOLDEXTRACTS c:\ogg\dirdat\P*, USECHECKPOINTS, MINKEEPFILES 10
    GGSCI> start manager
    GGSCI>info all
    Create parameter file for replicat:
    GGSCI> edit params REP1
    REPLICAT REP1
    ASSUMETARGETDEFS
    TARGETDB <dsn>, USERID ogg@DR, PASSWORD ogg@321!
    DISCARDFILE c:\ogg\dirrpt\REP1.DSC, append, megabytes 100
    HANDLECOLLISIONS
    ASSUMETARGETDEFS
    MAP dbo.TCUSTMER, TARGET dbo.TCUSTMER;
    MAP dbo.TCUSTORD, TARGET dbo.TCUSTORD;
    GGSCI>ADD REPLICAT REP1, RMTTRAIL c:\ogg\dirdat\P1, nodbcheckpoint
    # Start extract and replicat:
    Source:
    GGSCI> start er *
    Destination:
    GGSCI> start er *Greetings,
    N K

  • NetBT 4321 Errors in Member Server's System Event Logs

    Hi,
    I've searched high and low and can't find a resolution to this issue.  We have approximately 30 windows server 2003 servers, most R2, all SP2.  We have 2 domain controllers - 10.0.0.10 & 10.0.0.11 (the first one holds the PDC role).
    In the System event log of nearly all the member servers is the NetBT 4321 error, with the following text:
    "The name "OURDOMAIN :1d" could not be registered on the Interface with IP address 10.0.0.43. The machine with the IP address 10.0.0.10 did not allow the name to be claimed by this machine."
    On each machine the first IP mentioned is always that machine's IP (10.0.0.43 in this case), with the second one (the one not allowing 1d to be registered) being the PDC emulator's IP (10.0.0.10).  Now I can understand why this is failing - these machines are all on the same subnet and I would guess that the domain (1d) should only be registered by the PDC emulator anyway.  What I can't work out is why these errors started appearing about 3 months ago - we can't work out what, if any, change occured at that time.
    We run a DNS-only environment (no WINS), 2k3 Native domain.  We're looking to upgrade to a 2k8 Native domain (ie upgrading our DCs) but are wanting to get this niggling issue sorted first.
    Any help would be much appreciated.
    Regards,
    Ben N.

    Hi,
    At some stage I've not been clear - no we most certainly don't have two IPs per server - the two IPs together above are the two domain controllers.
    Here's the IPconfig:
    DOMAIN CONTROLLER:
    Windows IP Configuration
    Host Name . . . . . . . . . . . . : svrdomain1
    Primary Dns Suffix . . . . . . . : us.local
    Node Type . . . . . . . . . . . . : Unknown
    IP Routing Enabled. . . . . . . . : No
    WINS Proxy Enabled. . . . . . . . : No
    DNS Suffix Search List. . . . . . : us.local
    Ethernet adapter Local Area Connection 3:
    Connection-specific DNS Suffix . :
    Description . . . . . . . . . . . : HP Network Team #1
    Physical Address. . . . . . . . . : 00-0B-CD-23-12-F9
    DHCP Enabled. . . . . . . . . . . : No
    IP Address. . . . . . . . . . . . : 10.0.0.10
    Subnet Mask . . . . . . . . . . . : 255.255.255.0
    Default Gateway . . . . . . . . . : 10.0.0.1
    DNS Servers . . . . . . . . . . . : 10.0.0.10
    10.0.0.11
    PROBLEMATIC SERVER:
    Windows IP Configuration
    Host Name . . . . . . . . . . . . : svrfile1
    Primary Dns Suffix . . . . . . . : us.local
    Node Type . . . . . . . . . . . . : Broadcast
    IP Routing Enabled. . . . . . . . : No
    WINS Proxy Enabled. . . . . . . . : No
    DNS Suffix Search List. . . . . . : us.local
    Ethernet adapter Local Area Connection:
    Connection-specific DNS Suffix . :
    Description . . . . . . . . . . . : VMware Accelerated AMD PCNet Adapter
    Physical Address. . . . . . . . . : 00-50-56-89-14-79
    DHCP Enabled. . . . . . . . . . . : No
    IP Address. . . . . . . . . . . . : 10.0.0.43
    Subnet Mask . . . . . . . . . . . : 255.255.255.0
    Default Gateway . . . . . . . . . : 10.0.0.1
    DNS Servers . . . . . . . . . . . : 10.0.0.10
    10.0.0.11
    Thanks,
    Ben.

  • BI to SQL Server Conncetion Errors

    Hi,
    We are getting an RFC Connection error like "ERROR: Program
    MSSAPBI_PROG not registered" while connecting to SQL Server as per the below link.
    [http://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/40ea8832-59ac-2d10-ceae-87ee8d1f8da4?quicklink=index&overridelayout=true]
    RFC Connection test Erros in SM59:
    Logon     Connection Error
    Error Details     Error when opening an RFC connection
    Error Details     ERROR: program MSSAPBI_PROG not registered
    Error Details     LOCATION: SAP-Gateway on host HIMDEVBIW.himalaya.ac / sapgw00
    Error Details     DETAIL: TP MSSAPBI_PROG not registered
    Error Details     COMPONENT: SAP-Gateway
    Error Details     COUNTER: 4054
    Error Details     MODULE: gwr3cpic.c
    Error Details     LINE: 1871
    Error Details     RETURN CODE: 679
    Error Details     SUBRC: 0
    Error Details     RELEASE: 701
    Error Details     TIME: Fri Sep 09 13:59:48 2011
    Error Details     VERSION: 2
    DTP Monitor got the following errors for that request.
    Error: COMMUNICATION_FAILURE with function RSB_API_OHS_3RDPARTY_NOTIFY and target system MSSAPBI.
    Message no. RSBO523
    Error when opening an RFC connection
    Message no. RSBO899
    Error while updating to target ZSTCK_CAT (type Open Hub Destination)
    Message no. RSBK241
    Operation  could not be carried out for
    Message no. RS_EXCEPTION120
    Exception CX_RS_FAILED logged
    Message no. RSBK228
    We tried to register the program in BI server as per below link with command but it was not showing anything in SMGW
    rfcexec u2013g<program id> -a<gateway host name> -x<gateway service>
    Error 'Program not registered' while testing RFC
    If anybody face this issue , request you to reply ASAP.
    Best Regards,
    SG

    Hi SG & Federico,
    Kindly have a look at below note,
    For error message: RSBO899
    1497204  P25: DTP: Open hub confirmation does not always work
    Symptom:
    The confirmation of a third-party tool that has generated an open hub
    data transfer process (DTP) request does not always work if the
    third-party tool calls the function module
    RSB_API_OHS_REQUEST_SETSTATUS.
    Hope this helps.
    Regards,
    Mani

  • Cannot find a report for SQL Server monitoring

    We installed a SCOM 2012 environment recently and imported the SQL Server Management packs successfully. SQL Servers are being monitored. 
    However, in the reporting section, i cannot find a group for SQL Server Reporting. All other show up ( Active Directory, Appication Monitoring, Web monitoring, etc) Just none for the SQL Reporting.
    Please help

    Hi,
    I assume that you miss some SQL management packs, would you please re-download the management pack here and import it:
    https://www.microsoft.com/en-hk/download/details.aspx?id=10631
    After successful importing, you should see it under reporting workspace:
    If you still cannot see it, please check operation manager event logs for more information to help to troubleshoot this issue.
    Regards,
    Yan Li
    Please remember to mark the replies as answers if they help and unmark them if they provide no help. If you have feedback for TechNet Subscriber Support, contact [email protected]

  • How to design SQL server data file and log file growth

    how to design SQL DB data file and log file growth- SQL server 2012
    if my data file is having 10 GB sizze and log file is having 5 GB size
    what should be the size in MB (not in %) of autogrowth. based on what we have to determine the ideal size of file auto growth.

    It's very difficult to give a definitive answer on this. Best principal is to size your database correctly in advance so that you never have to autogrow, of course in reality that isn't always practical.
    The setting you use is really dictated by the expected growth in your files. Given that the size is relatively small why not set it to 1gb on the datafile(s) and 512mb on the log file? The important thing is to monitor it on an on-going basis to see if that's
    the appropriate amount.
    One thing you should do is enable instant file initialization by granting the service account Perform Volume Maintenance tasks in group policy. This will allow the data files to grow quickly when required, details here:
    https://technet.microsoft.com/en-us/library/ms175935%28v=sql.105%29.aspx?f=255&MSPPError=-2147217396
    Also, it possible to query the default trace to find autogrowth events, if you wanted you could write an alert/sql job based on this 
    SELECT
    [DatabaseName],
    [FileName],
    [SPID],
    [Duration],
    [StartTime],
    [EndTime],
    CASE [EventClass]
    WHEN 92 THEN 'Data'
    WHEN 93 THEN 'Log' END
    FROM sys.fn_trace_gettable('c:\path\to\trace.trc', DEFAULT)
    WHERE
    EventClass IN (92,93)
    hope that helps

  • SQL Server Agent Error

    we are constantly getting this error from event log: what is the remedy.
    Unable to read local eventlog (the parameter is incorrect)

    Hi Madalo,
    Did the issue resolved?
    What's the version and service pack level of the SQL Server instance did you installed? Please try to install the latest service pack. You can download and install SQL Server service pack from the following link:
    Update Center for Microsoft SQL Server
    If the issue persists, please post the SQL Server error log for further analysis.
    Regards,
    Fanny Liu
    Fanny Liu
    TechNet Community Support

  • Database link to SQL Server Init error

    Hi all,
    i´m tryng to create a dblink between Oracle 10.2.0 in a RHEL4 and a SQL Server.
    I can connect using isql but when i try using sqlplus i obtain this error:
    SQL> CREATE DATABASE LINK dbl
    CONNECT TO "user"
    IDENTIFIED BY "pwd"
    USING 'hsodbc'; 2 3 4
    Enlace con la base de datos creado.
    SQL> SELECT * FROM Table_1@dbl;
    SELECT * FROM Table_1@dbl
    ERROR en línea 1:
    ORA-28545: error diagnosticado por Net8 al conectar a un agente (error in Net8 while connecting an agent)
    Unable to retrieve text of NETWORK/NCR message 65535
    ORA-02063: 2 lines precediendo a DBL
    This is the error explanantion in Oracle Docs:
    I think the problem is the ini file inithsodbc.ora.
    inithsodbc.ora
    # This is a sample agent init file that contains the HS parameters that are
    # needed for an ODBC Agent.
    # HS init parameters
    # AAB - Parametros para asociar un agente ODBC al HS
    HS_FDS_CONNECT_INFO = MSQLS
    HS_FDS_TRACE_LEVEL = ON
    HS_FDS_SHAREABLE_NAME =/usr/local/freetds/lib/libtdsodbc.so
    HS_AUTOREGISTER = true
    # ODBC specific environment variables
    set ODBCINI=/home/oracle/.odbc.ini
    listener.ora
    # listener.ora Network Configuration File: /app/oracle/oracle/product/10.2.0/db_1/network/admin/listener.ora
    # Generated by Oracle configuration tools.
    SID_LIST_LISTENER =
    (SID_LIST =
    (SID_DESC =
    (SID_NAME = STA2)
    (ORACLE_HOME = /app/oracle/oracle/product/10.2.0/db_1)
         (SID_DESC = (SID_NAME=hsodbc)
    (ORACLE_HOME=/app/oracle/oracle/product/10.2.0/db_1)
    (PROGRAM=hsodbc)
                             (ENVS=LD_LIBRARY_PATH=/app/oracle/oracle/product/10.2.0/db_1/lib:/usr/local/lib)
    LISTENER =
         (DESCRIPTION =
         (ADDRESS_LIST =
              (ADDRESS = (PROTOCOL = TCP)(HOST = nemesisgr2.hi.inet)(PORT = 1521))
    tnsnames.ora
    # tnsnames.ora Network Configuration File: /app/oracle/oracle/product/10.2.0/db_1/network/admin/tnsnames.ora
    # Generated by Oracle configuration tools.
    DEVSTA =
    (DESCRIPTION =
    (ADDRESS_LIST =
    (ADDRESS = (PROTOCOL = TCP)(HOST = nemesisgr.hi.inet)(PORT = 1521))
    (CONNECT_DATA =
    (SERVICE_NAME = devSTA)
    STA2 =
    (DESCRIPTION =
    (ADDRESS_LIST =
    (ADDRESS = (PROTOCOL = TCP)(HOST = nemesisgr2.hi.inet)(PORT = 1521))
    (CONNECT_DATA =
    (SERVICE_NAME = STA2)
    EXTPROC_CONNECTION_DATA =
    (DESCRIPTION =
    (ADDRESS_LIST =
    (ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC0))
    (CONNECT_DATA =
    (SID = PLSExtProc)
    (PRESENTATION = RO)
    STA =
    (DESCRIPTION =
    (ADDRESS = (PROTOCOL = TCP)(HOST = nemesisgr2.hi.inet)(PORT = 1521))
    (CONNECT_DATA =
    (SERVER = DEDICATED)
    (SERVICE_NAME = STA)
    #AAB - Descripcion de servicio para conectar con SQLServer
    HSODBC = (DESCRIPTION=
    (ADDRESS=(PROTOCOL=tcp)
    (HOST=nemesisgr2.hi.inet)
    (PORT=1521)
    (CONNECT_DATA = (SID=hsodbc)
    (HS = OK)
    ODBC Files
    odbc.ini
    [ODBC Data Sources]
    MSQLS = Microsoft SQL Server
    [MSQLS]
    Driver = /usr/local/freetds/lib/libtdsodbc.so
    Description = Microsoft SQL Server
    Trace = No
    Servername = sqlserver
    Database = master
    [Default]
    Driver = /usr/local/freetds/lib/libtdsodbc.so
    odbcinst.ini
    [PostgreSQL]
    Description          = ODBC for PostgreSQL
    Driver          = /usr/lib/libodbcpsql.so
    Setup          = /usr/lib/libodbcpsqlS.so
    FileUsage          = 1
    [MSQLSDRIVER]
    Description          = Driver for MS SQL Server
    Driver          = /usr/local/freetds/lib/libtdsodbc.so
    Setup          = /usr/lib64/libtdsS.so
    FileUsage          = 1
    UsageCount          = 5
    freetds.conf
    # $Id: freetds.conf,v 1.12 2007/12/25 06:02:36 jklowden Exp $
    # This file is installed by FreeTDS if no file by the same
    # name is found in the installation directory.
    # For information about the layout of this file and its settings,
    # see the freetds.conf manpage "man freetds.conf".
    # Global settings are overridden by those in a database
    # server specific section
    [global]
    # TDS protocol version
    ;     tds version = 4.2
         # Whether to write a TDSDUMP file for diagnostic purposes
         # (setting this to /tmp is insecure on a multi-user system)
    ;     dump file = /tmp/freetds.log
    ;     debug flags = 0xffff
         # Command and connection timeouts
    ;     timeout = 10
    ;     connect timeout = 10
         # If you get out-of-memory errors, it may mean that your client
         # is trying to allocate a huge buffer for a TEXT field.
         # Try setting 'text size' to a more reasonable limit
         text size = 64512
    # A typical Sybase server
    [egServer50]
         host = symachine.domain.com
         port = 5000
         tds version = 5.0
    # A typical Microsoft server
    [egServer70]
         host = ntmachine.domain.com
         port = 1433
         tds version = 7.0
    # Test MS SQl Server
    [sqlserver]
         Database = master
         host = pruebas.hi.inet
         port = 1433
         tds version = 7.0
    Any ideas??
    Thanks in advance.
    Alex

    I have changed the inithsodbc.ora file including:
    HS_FDS_SHAREABLE_NAME =/usr/lib/libodbc.so (I have ODBC installed)
    Here you are the other information:
    lsnrctl status
    LSNRCTL for Linux: Version 10.2.0.1.0 - Production on 23-OCT-2008 09:29:52
    Copyright (c) 1991, 2005, Oracle. All rights reserved.
    Bienvenido a LSNRCTL, escriba "help" para obtener información.
    LSNRCTL> status
    Conectándose a (DESCRIPTION=(ADDRESS=(PROTOCOL=TCP)(HOST=nemesisgr2.hi.inet)(PORT=1521)))
    ESTADO del LISTENER
    Alias LISTENER
    Versión TNSLSNR for Linux: Version 10.2.0.1.0 - Production
    Fecha de Inicio 22-OCT-2008 19:31:34
    Tiempo Actividad 0 días 13 hr. 58 min. 29 seg.
    Nivel de Rastreo off
    Seguridad ON: Local OS Authentication
    SNMP OFF
    Parámetros del Listener /app/oracle/oracle/product/10.2.0/db_1/network/admin/listener.ora
    Log del Listener /app/oracle/oracle/product/10.2.0/db_1/network/log/listener.log
    Recibiendo Resumen de Puntos Finales...
    (DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=nemesisgr2)(PORT=1521)))
    Resumen de Servicios...
    El servicio "STA" tiene 1 instancia(s).
    La instancia "STA", con estado READY, tiene 1 manejador(es) para este servicio...
    El servicio "STA2" tiene 2 instancia(s).
    La instancia "STA2", con estado UNKNOWN, tiene 1 manejador(es) para este servicio...
    La instancia "STA2", con estado READY, tiene 1 manejador(es) para este servicio...
    El servicio "STA2XDB" tiene 1 instancia(s).
    La instancia "STA2", con estado READY, tiene 1 manejador(es) para este servicio...
    El servicio "STA2_XPT" tiene 1 instancia(s).
    La instancia "STA2", con estado READY, tiene 1 manejador(es) para este servicio...
    El servicio "STAXDB" tiene 1 instancia(s).
    La instancia "STA", con estado READY, tiene 1 manejador(es) para este servicio...
    El servicio "STA_XPT" tiene 1 instancia(s).
    La instancia "STA", con estado READY, tiene 1 manejador(es) para este servicio...
    El servicio "hsodbc" tiene 1 instancia(s).
    La instancia "hsodbc", con estado UNKNOWN, tiene 1 manejador(es) para este servicio...
    El comando ha terminado correctamente
    LSNRCTL>
    hsodbc
    There is no output executing this command.
    [oracle@nemesisgr2 ~]$ /app/oracle/oracle/product/10.2.0/db_1/bin/hsodbc
    [oracle@nemesisgr2 ~]$
    tnsping hsodbc
    [oracle@nemesisgr2 ~]$ tnsping hsodbc
    TNS Ping Utility for Linux: Version 10.2.0.1.0 - Production on 23-OCT-2008 09:35:58
    Copyright (c) 1997, 2005, Oracle. All rights reserved.
    Archivos de parámetros utilizados:
    /app/oracle/oracle/product/10.2.0/db_1/network/admin/sqlnet.ora
    Adaptador TNSNAMES utilizado para resolver el alias
    Attempting to contact (DESCRIPTION= (ADDRESS=(PROTOCOL=tcp) (HOST=nemesisgr2.hi.inet) (PORT=1521)) (CONNECT_DATA = (SID=hsodbc)) (HS = OK))
    Realizado correctamente (40 mseg)
    Rgds,
    Alex

  • Oracle DB equivalent of SQL Server's Simple Transaction Logging mode?

    G'Day Experts !
    Was wondering if Oracle DB has the functional equivalent of the 'simple' transaction logging available in SQL Server?
    Would this be availabe at the schema level, or would it have to be the entire instance?
    I'm asking because the WebCenter Interaction portal and related services has no practical use for point-in-time rollbacks. The portal uses discreet event boundaries which unfortunately do not map into the relational world.
    Thanks!
    Rob in Vermont

    Plumtree wrote:
    G'Day Experts !
    Was wondering if Oracle DB has the functional equivalent of the 'simple' transaction logging available in SQL Server?
    Would this be availabe at the schema level, or would it have to be the entire instance?
    I'm asking because the WebCenter Interaction portal and related services has no practical use for point-in-time rollbacks. The portal uses discreet event boundaries which unfortunately do not map into the relational world.
    Thanks!
    Rob in VermontHi Rob
    I assume you are referring to the simple recovery model, i.e lose everything since last backup. Oracle's equivalent of that is to run a database in NOARCHIVELOG mode. It applies to the database rather than the instance, though you probably intended database when you said instance.
    Niall Litchfield
    http://www.orawin.info/

  • SQL Server 2000 Error Message

    I got the below error message:
    The description for Event ID ( 17055 ) in Source ( MSSQLSERVER ) cannot be found. The local computer may not have the necessary registry information or message DLL files to display the messages from a remote computer. The following information
    is part of the event: 18456, Login failed for user 'xxxxx_yyyyy'.
    SQL Server version : Microsoft SQL Server  2000 - 8.00.2282 (Intel X86)   Dec 30 2008 02:22:41   Copyright (c) 1988-2003 Microsoft Corporation  Enterprise Edition on Windows NT 5.0 (Build 2195: Service Pack 4)
    Experts kindly suggest if you would have come across the same scenario.
    Yours
    Mrvsfly
    MRVSFLY

    Also how to track the source ip address for this login
    AFAIK it's not possible to get the information from SQL Server; you could only try to capture the failed logins with SQL Server Profiler.
    See thread Capture information for failed logins
    Olaf Helper
    [ Blog] [ Xing] [ MVP]

  • MS SQL Server Migration Errors

    Attempting to migrate from a Microsoft SQL Server Database to a Oracle database, perform all requirements in the tutorial
    <?xml version="1.0" encoding="windows-1252" standalone="no"?>
    <log>
    <record>
      <date>2015-04-29T13:48:50</date>
      <logger>oracle.dbtools.migration.workbench.core.MigrationLogResourceBundle</logger>
      <level>SEVERE</level>
      <class>oracle.dbtools.migration.workbench.core.logging.MigrationLogUtil</class>
      <message>Capture
    Enterprise Capture
    Capture failed.  Refer to MIGRLOG table in the repository for details</message>
      <param>oracle.dbtools.migration.workbench.core.ui.FullMigrateTask.doOnlineEnterpriseCapture(FullMigrateTask.java:758)</param>
      <param>oracle.dbtools.migration.workbench.core.ui.FullMigrateTask.doCapture(FullMigrateTask.java:601)</param>
      <param>oracle.dbtools.migration.workbench.core.ui.FullMigrateTask.doMaskBasedActions(FullMigrateTask.java:400)</param>
      <param>oracle.dbtools.migration.workbench.core.ui.FullMigrateTask.doWork(FullMigrateTask.java:314)</param>
      <param>oracle.dbtools.migration.workbench.core.ui.FullMigrateTask.doWork(FullMigrateTask.java:147)</param>
      <param>oracle.dbtools.raptor.backgroundTask.RaptorTask.call(RaptorTask.java:193)</param>
      <param>java.util.concurrent.FutureTask.run(FutureTask.java:262)</param>
      <param>oracle.dbtools.raptor.backgroundTask.RaptorTaskManager$RaptorFutureTask.run(RaptorTaskManager.java:554)</param>
      <param>java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471)</param>
      <param>java.util.concurrent.FutureTask.run(FutureTask.java:262)</param>
      <param>java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)</param>
      <param>java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)</param>
      <param>java.lang.Thread.run(Thread.java:745)</param>
      <param>oracle.dbtools.migration.workbench.core.logging.LogInfo@8b1009a</param>
      <exception>
        <message>oracle.dbtools.migration.workbench.core.ui.FullMigrateTask$FullMigrateTaskException: Capture
    Enterprise Capture
    Capture failed.  Refer to MIGRLOG table in the repository for details</message>
        <frame>
          <class>oracle.dbtools.migration.workbench.core.ui.FullMigrateTask</class>
          <line>758</line>
        </frame>
        <frame>
          <class>oracle.dbtools.migration.workbench.core.ui.FullMigrateTask</class>
          <line>601</line>
        </frame>
        <frame>
          <class>oracle.dbtools.migration.workbench.core.ui.FullMigrateTask</class>
          <line>400</line>
        </frame>
        <frame>
          <class>oracle.dbtools.migration.workbench.core.ui.FullMigrateTask</class>
          <line>314</line>
        </frame>
        <frame>
          <class>oracle.dbtools.migration.workbench.core.ui.FullMigrateTask</class>
          <line>147</line>
        </frame>
        <frame>
          <class>oracle.dbtools.raptor.backgroundTask.RaptorTask</class>
          <line>193</line>
        </frame>
        <frame>
          <class>java.util.concurrent.FutureTask</class>
          <line>262</line>
        </frame>
        <frame>
          <class>oracle.dbtools.raptor.backgroundTask.RaptorTaskManager$RaptorFutureTask</class>
          <line>554</line>
        </frame>
        <frame>
          <class>java.util.concurrent.Executors$RunnableAdapter</class>
          <line>471</line>
        </frame>
        <frame>
          <class>java.util.concurrent.FutureTask</class>
          <line>262</line>
        </frame>
        <frame>
          <class>java.util.concurrent.ThreadPoolExecutor</class>
          <line>1145</line>
        </frame>
        <frame>
          <class>java.util.concurrent.ThreadPoolExecutor$Worker</class>
          <line>615</line>
        </frame>
        <frame>
          <class>java.lang.Thread</class>
          <line>745</line>
        </frame>
      </exception>
    </record>
    <record>
      <date>2015-04-29T13:48:50</date>
      <logger>oracle.dbtools.migration.workbench.core.MigrationLogResourceBundle</logger>
      <level>WARNING</level>
      <class>oracle.dbtools.migration.workbench.core.ui.FullMigrateTask</class>
      <message>Error:ORA-06550: line 1, column 14:
    PLS-00201: identifier 'SS2K5ALLPLATFORM.STAGECAPTURE' must be declared
    ORA-06550: line 1, column 7:
    PL/SQL: Statement ignored
    : FAILED : Database Migration : FAILED</message>
      <param>oracle.dbtools.migration.workbench.core.logging.LogInfo@7b6bccbd</param>
    </record>
    Here is the log it printed out, unsure of what to do, research shows that maybe the user doesn't have enough privileges, or possibly we ran out of tablespace
    we are running off of SQL Developer 4.0.3 and using jTDS Drivers 1.3.1 from sourceforge

    See Issue with migration DB from SQL Server 2012 to Oracle 11.2 using SQL Developer Migration workbench
    The tutorial isn't as complete as the docs. Read the help/docs on creating the migration repository, and make sure all the proper privs have been granted.

Maybe you are looking for

  • My contacts wont sync with my macbook pro, what do I do?

    Specifically my iMessages. I have the app Messages on my mac and I can use it no problem. However, I can not see who is texting me because none of the contacts from my phone will transfer over to my Mac. Is there an easier way to do this other than h

  • Preview pdf links have black outlines

    Hi there, does anyone know how to remove the black borders that appears around pdf links in Preview? I created the pdf from powerpoint. The black lines around the transparent rectangle links only appear in Preview and not in acrobat for mac or pc. An

  • Change in Business System

    Hi Friends, I've done the change to an Existing Business System and saved. How to know whether this change is reflected or not. Next what all steps i need to take care.. please suggest. Thanks in advance!!! Best Regards Prasad

  • How to setup multi DNS server resolution

    I have a peculiar situation which I think may be applicable to others. I take my Macbook Pro to work. At work I have a Ethernet based LAN connection and a wireless connection. The ethernet connection gets me access to company servers, but uses some c

  • Why is Firefox continuously defaulting to Yahoo 404 while I'm on a selected site and haven't directed any action?

    Whenever I use Firefox and open a selected site (CNN, MSNBC, Sports Illustrated, etc), without any prompting on my part, Firefox defaults to the Yahoo 404 page. I go back to my desired page but an continuously redirected to the 404 page. I have clear