Database.pl error in Ciscoworks LMS 3.2

Dear Friends,
I am getting the following error only for database.pl when i run selftest under Common-->Services-->Admin:
database.pl
FAIL     Self Test Fail to query dfmEpm.DbVersion, Error: Database server not found (DBD: login failed)
     Self Test Fail to query dfmEpm.SYSTABLE, Error: Database server not found (DBD: login failed)
Please find enclosed the output of pdshow.
Can you please advise the recommended action for this?
Thanks a lot
Gautam

The DFM EPM database is down.  This could be indicative of a corrupt database, or simply a damaged transcation log.  Shutdown Daemon Manager, then delete NMSROOT/databases/dfmEpm/dfmEpm.log if it exists.  Then run:
NMSROOT/objects/db/win32/dbsrv10 -f NMSROOT/databases/dfmEpm/dfmEpm.db
Then restart Daemon Manager.  If the EPMDbEngine process is still down, then you will need to reinitialize your EPM database, or restore LMS from a known good backup.  To reinitialize the database, run:
NMSROOT/bin/perl NMSROOT/bin/dbRestoreOrig.pl dsn=dfmEpm dmprefix=EPM

Similar Messages

  • Extract Devices from Ciscoworks LMS 4.2 to Nagios database

    Hello everyone,
    I'm working on ciscoworks LMS 4.2 and as part of a project I need to extract all of my devices to a Nagios Database.
    Is it possible to do ?
    If yes, can you explain me how can I do that ?
    Perhaps with snmp traps, I don't know.
    Thank for your consideration and your help.
    Cordially.

    I am not an expert in Nagios, so no idea on what options does it have to import devices.
    In LMS, you have an option to export devices and its credentials list in .csv and xml format. Please check if you can use any one of those to get imported on Nagios.
    Check details on how to export from user guide here :
    http://www.cisco.com/en/US/docs/net_mgmt/ciscoworks_lan_management_solution/4.2/user/guide/inventory/mng_device.html#wp1132486
    Also, you can try to fetch database details from LMS using Open Database Connect. Use the following document for more details :
    http://www.cisco.com/en/US/docs/net_mgmt/ciscoworks_lan_management_solution/4.2/database_schema/dbviews_42.html#wp23144
    You should check the possible option on Nagios to import devices and than ask if that is available on LMS.
    -Thanks
    Vinod
    **Rating Encourages contributors, and its really free. **

  • User tracking not finding any hosts in Ciscoworks LMS 3.1

    L.S.
    Our test-configuration is as follows:
    Application versions:
    Ciscoworks LMS 3.1
    Ciscoworks Common Services 3.2.0
    Campus Manager 5.1.4
    We have 31 managed devices in Campus Manager (data has been collected on all),
    Edit: All of them show up green in the topology window.
    The device are: 2 6509 cores (running IOS s72033_rp-IPSERVICESK9_WAN-M version 12.2(18)SXF8), 1 ASA firewall (running ASA-OS version 8.0.5) and 29 switches (2960 and 3560 models both running ios version 12.2(52)SE). The switches are connected as follows:
    User tracking jobs are running normally, but aren't finding any end-hosts or IP phones at all (I suspect around 250-500 hosts+ on these switches)
    We are running SNMP v3 on the switches and have added the following configuration items to all the switches:
    snmp-server group readonly v3 auth context vlan-1
    <repeat for all present snmp-contexts as shown in show snmp context output>
    snmp-server group readonly v3 auth context vlan-83
    Debugging is enabled in CM->Admin->Debugging Options->User Tracking Server
    This is the UT.log file of the last major acquisition:
    messages will remian logged to file: D:\PROGRA~1\CSCOpx\log\ut.log
    2010/01/13 14:00:01 main MESSAGE ProcessInitializer: Properties will be read from D:\PROGRA~1\CSCOpx\campus\etc\cwsi\ut.properties
    I= 0value *.*.*.*
    I= 1value 6
    I= 2value 1
    2010/01/13 14:00:01 main MESSAGE DBConnection: Created new Database connection [hashCode = 10969598]
    PartialOrderNode tree dump: time base = VMPSMajor
    <root>
        VMPSMajor: <root>
        VMPSMajor:     VMPSMajor.GetXMLData
        VMPSMajor:         VMPSMajor.PingSweep
        VMPSMajor:         VMPSMajor.PopulateFromDCR
        VMPSMajor:             VMPSMajor.GetPortStatus
        VMPSMajor:                 VMPSMajor.GetBridgeTable
        VMPSMajor:             VMPSMajor.Sweep
        VMPSMajor:                 VMPSMajor.GetIpXlateTable
        VMPSMajor:                 VMPSMajor.GetIpv6XlateTable
        VMPSMajor:                     VMPSMajor.GenerateTable6
        VMPSMajor:                         VMPSMajor.GenerateTable
    SMFunction evaluation order: time base = VMPSMajor
      VMPSMajor.GetXMLData  Major
      VMPSMajor.PingSweep  Minor
      VMPSMajor.PopulateFromDCR  Major
      VMPSMajor.GetPortStatus  Minor
      VMPSMajor.Sweep  Major
      VMPSMajor.GetBridgeTable  Minor
      VMPSMajor.GetIpXlateTable  Minor
      VMPSMajor.GetIpv6XlateTable  Minor
      VMPSMajor.GenerateTable6  Major
      VMPSMajor.GenerateTable  Major
    Time base VMPSMajor has 5 major nodes and 3 minor traversals.
    log4j:ERROR No appenders could be found for category (CTM.common).
    log4j:ERROR Please initialize the log4j system properly.
    In classlist loader
    In classlist loader processing sub classes
    updation done
    In classlist loader completed
    2010/01/13 14:00:03 main MESSAGE DBConnection: Created new Database connection [hashCode = 12524859]
    Calling default
    Subnet to SubnetData Map Size :73
    2010/01/13 14:01:31 DBConnecton-Reaper MESSAGE DBConnection: Closed Database connection [hashCode = 12524859]
    2010/01/13 14:01:31 DBConnecton-Reaper MESSAGE DBConnection: Closed Database connection [hashCode = 10969598]
    2010/01/13 14:04:50 main MESSAGE DCRDevWrapper: Closing DCRProxy
    I'm slowly getting to a dead end here. What am I missing?

    Well, our problem was resolved finally through a weird coincendence after having a websession with a Cisco TAC engineer (TAC case SR 613376661)
    We changed the
    snmp-server group readonly v3 auth context vlan-xxxx
    commands in the switches to:
    snmp-server group writeonly v3 auth context vlan-xxxx
    that is: use the writestring in the snmp-server groups instead of the read string.
    After we changed that, all of the User Tracking mysteriously started working.
    As far as I know, the writestring should not be needed, but apparently it is....
    Is there any explanation for this?

  • Problems performing CiscoWorks LMS 3.1

    Hello,
    I had previous problems running Daemon Manager, I fixed up that problem already but now the problem is that whenever i want to configure anything within any module, then it shows errors about communication with DCR server or other engines and in some cases it says i have to run the license server.
    I looked over the license server log and shows an error "Unable to launch JVM".
    I also revised my services and all of them appear as started.
    Any suugestions???

    I configured the services as you requested and after that restarted the server tried to open the LMS portal but it shows "the page cannot be dispalyed" so revised services window page and noticed that the following services are down:
    CiscoWorks ANI database engine
    CiscoWorks RME NG database engine
    CiscoWorks Web Server
    CWAWFEngine database engine
    CWCS Cmf database engine
    DFM dfmEpm database engine
    DFM dfmInv database engine
    DFM dfmFh database engine
    OpxXMLRuntime
    only CiscoWorks Tomcat Servlet engine appears as started...
    aren't services supposed to start "automatically" eventhough they're set up as manual???

  • Custom device prompt in Ciscoworks LMS

    Hello,
    In emerging network infrastructure of our client we decided to use some custom promps at device VTY (SSH and Telnet). Console users are network authenticated by means of ACS, and in case ACS is not reachable, we decided to use login prompts as follows:
    Username(local):
    Password(local):
    In this local mode, when CiscoWorks LMS (3.1) tries to collect configuration of switches, VLAN configuration exactly, we got such error messages in LMS interface:
    TELNET: Failed to establish TELNET  connection to 10.52.0.1 - Cause: Authentication failed on device 3 times. VLAN  Config fetch is not supported using TFTP. Command failed VLAN Config fetch is  not supported using RCP.
    Of course, we have checked the possibility to got from LMS host to these devices by SSH and Telnet, credentials are correct, only login prompts are as described earlier.
    I conclude, we need to tell LMS to accept our custom prompts. Is there any possibility and how to achieve this?

    If you're sure the failure is due to the custom prompt, yes, you can simply follow the steps in the following document to let LMS know about that:
    http://www.cisco.com/en/US/products/sw/cscowork/ps2073/products_tech_note09186a00801442c9.shtml

  • Ciscoworks LMS 4.0 – Fault Device Details Issue

           We currently use Ciscoworks LMS 4.0 but when I go into,  Monitor > Fault Settings > Setup > Fault Device Details   
           I get the following message (see attached document with screenshot) and being a LMS newbie am unsure what to do? As have tried to search for this
           file but no luck.
           So thanks in advance for any advice.

    Check if the fault management rediscovery page shows device as discovered and known or does it have any errors?
    Are you able to generate any fault management reports and view other pages?
    Just try to reboot the server/restart daemon to see if it is goes away.
    Else it is mostly corrupt FM DB. Which would need to be re-initialized.
    Fault Mgmt reinitialize is very simple task, which doesnt removes a lot of data, except past 31 days of FM history and custom notifications, if configured.
    Thanks
    Vinod
    **Rating Encourages contributors, and its really free. **

  • Ciscoworks LMS 4.0 – Email Notifications Issue

    We currently use Ciscoworks LMS 4.0 with over 1000 devices in the database. I'm a LMS novice. And have been assigned the task of minimising the amount of email notification’s we receive, as if one device goes Operationally Down all devices off that switch also send alerts to the email notification group, which in turn overwhelms the mailbox.
    The ports are configured not to log or send snmp traps.
    no logging event link-status
    no snmp trap link-status
    So any advice on how we can limit these alerts being generated would be much appreciated.
    Thanks in advance.

    Hi Nessie,
    Go to Monitor > Fault Settings > Setup > Fault Device Details
    select the device and click on view  then Click on the hyperlink or the device name\ip address
    that will bring a new window from there click on Interface and chanaged the Managed state from ture to FLASE for those interfaces for which you do not want ALERTS.
    Thanks-
    Afroz
    [Do rate the useful post]

  • CiscoWorks LMS 4.0.1 - Could not generate the report

    Hello,
    I am running CiscoWorks LMS 4.0.1 since 6 months and I wanted to generate today a report about the interface utilization on 2 Cisco switches (Catalyst 3750G). The corresponding job is created, it runs and then i get "succeeded with info" in the "Run Status" column. When I want to click then on the "View Report" link, I get the following error: "Could not generate the report. Either data is not available for the specified duration or the report job failed."
    I tried the same procedure with 2 other switches but I have got the same result.
    Does anybody has an idea of how I can fix this issue?
    Thanks a lot in advanced.
    Best regards,
    Marc Hoffmann

    Hi Marc,
    I have this problem too. I rebooted my Windows but no solved. You known the service name responsible for this error? You have any other sugestion?
    Thank you !!!

  • CiscoWorks LMS 3.2 Won't Start on Windows Server 2008 Enterprise

    All,
    I installed CiscoWorks LMS 3.2 RME on Windows Server 2008 Enterprise and the daemon manager won't start.  The server is a VMware ESX server 4.0.
    I've uninstalled and reinstalled and still nothing.
    I get message "The service is not responding to the control function"
    Has anyone had this issue?
    Stephanie

    There could be several reasons this happens.  Common one in Windows 2008 is the swap is not set properly as it defaults to "Automatically manage paging file size for all drives".  Try setting the swap to 8GB manually or whichever is the recommendation for your current device count as per:
    http://www.cisco.com/en/US/docs/net_mgmt/ciscoworks_lan_management_solution/3.2/install/guide1/prereq.html
    Also make sure the startup services are set this way:
    CiscoWorks ANI database engine: Manual
    CiscoWorks Daemon Manager: Automatic
    CiscoWorks RME NG database engine: Manual
    CiscoWorks Tomcat Servlet Engine: Manual
    CiscoWorks Web Server: Manual
    CWCS Cmf database engine: Manual
    CWCS rsh/rcp service: Automatic
    CWCS syslog service: Automatic
    CWCS tftp service: Automatic
    DFM dfmEpm database engine: Manual
    DFM dfmFh database engine: Manual
    DFM dfmInv database engine: Manual
    Set DEP for "Windows Essential Programs Only" and set an exclusion for CSCOpx in your anti-virus on-access scanning settings.  Note that Windows 2008 R2 versions are not supported.

  • Error while restoring LMS 2.6 backup

    I am getting following error while restoring ciscoworks lms 2.6 backup.
    ERROR: doRestore of [Resource Manager Essentials] had some errors.
                  Check the log file for details
    Please check attachment for restorebackup.log file

    Looks like some sort of permissions problem or a file that is not found..
    Are you administrator on the machine?
    Does D:\WINDOWS\system32\cacls.exe exist?
    [Sat Feb  6 17:04:29 2010] [ echo y| D:\WINDOWS\system32\cacls.exe backup\0\rmeng\tempDir /T /G Administrators:F casusers:F ]
    Are you sure (Y/N)?The system cannot find the path specified.
    ERROR: In executing echo y| D:\WINDOWS\system32\cacls.exe backup\0\rmeng\tempDir /T /G Administrators:F casusers:F
    [Sat Feb  6 17:04:29 2010] ERROR: In executing echo y| D:\WINDOWS\system32\cacls.exe backup\0\rmeng\tempDir /T /G Administrators:F casusers:F
    ERROR: Error in changing permission to backup\0\rmeng\tempDir.
    [Sat Feb  6 17:04:29 2010] ERROR: Error in changing permission to backup\0\rmeng\tempDir
    Cheers,
    Michel

  • CiscoWorks LMS 2.6: Blank page after login

    Hi,
    CiscoWorks LMS version 2.6 is running on Windows Server 2003. I can load the login page using Internet Explorer. However after login page is blank. I have attached the screenshot(ciscowork.jpg) and pdshow result (pdshow.zip).
    Also there is an error for ANI server: Error: Get reply from Server failed. I have also attached the screenshot (ciscoworks2.jpg) as well, log was also extracted (error_log.txt)
    Please help... Thanks

    Your Services are misconfigured.  Post screenshots of the Services control panel showing all of the CiscoWorks services.

  • What to backup on Ciscoworks lms 2.6 windows server

    Howdy,
    I need to do a file level backup of a Ciscoworks lms 2.6 windows server and want to know what i need to backup on the windows server file level?
    Basically what partitions, folders, files etc?
    Thanks..

    Application-wise, just backup NMSROOT (e.g. C:\PROGRA~1\CSCOpx).  To get the dynamic stuff, you will also need a full Windows Registry backup as well.
    Typically, when customers ask about FULL LMS server backups we recommend they first do an LMS data backup using the Common Services > Server > Admin > Backup interface.  Then, take the backup directory and back that up to your archive server.  Then do a full server backup (i.e. file system backup).
    On a restore, first restore your full server backup.  Then, use the LMS NMSROOT/bin/restorebackup.pl script to restore the LMS data backup you took.  This will ensure database integrity.

  • CISCOWORKS LMS and CISCOSECURE ACS Authenticate any user with HD role

    Hi:
    We are using CiscoSecure for authentication and authorization for differente apps.
    Specifically, any user already in the ACS database is authenticated to log in CiscoWorks LMS, with HD role (this happens although none of the CiscoWorks apps have been checked for this group). 
    Why is this happening?
    We don´t want that any user (although they are only permitted the HD role) could login.
    Thanks a lot
    Julio

    Follow the ACS integration guide to ensure the group you don't want to have access to LMS have the roles set to "NONE" instead of the default HD roles.
    http://www.cisco.com/en/US/partner/prod/collateral/netmgtsw/ps6504/ps6528/ps2425/prod_white_paper0900aecd80613f62.html

  • Migrating from CiscoWorks LMS 3.1 to Cisco Prime LMS 4.2

    Hi Everyone
    My client was formerly having CiscoWorks LMS 3.1. Recently, they purchased Cisco Prime Infrastructure v1.2, which comes with Cisco Prime LMS 4.2. Can I migrate the database (equipment list, usernames etc.) of the CiscoWorks LMS 3.1 to Cisco Prime LMS 4.2? If yes, how do I do this? Please kindly advice.
    Shown below, were the Part Numbers quoted to the end client.
    R-PI12-UP-K9
    LMS 2.x/3.x to Cisco Prime Infrastructure 1.2 Major Upgrade
    L-PI12-LF-1.5K-LIC
    Prime Infrastructure 1.2 - Lifecycle - 1.5K Device Lic PAK
    L-PILMS42-1.5K-U
    Prime Infrastructure LMS 4.2 - 1.5K Device Maj Upg Lic
    R-PI12-BASE-K9
    Prime Infrastructure 1.2 Base License and Software
    L-PI12-1.5K-UP
    LMS 2.x/3.x to Prime Infrastructure 1.2 Maj Upg 1.5K Device
    Regards,
    Ram

    Thanks Marvin for your advice. Just one last question, there's a statement in the URL that you've provided
    "Ensure that the passwords, HTTPS port and SMTP server details are same in both LMS 3.2 SP1, LMS 4.0.1 or LMS 4.1 server and LMS 4.2 server with Symantec Veritas implementation, while migrating data from non-HA to HA environment."
    Does this mean my client need to purchase Symantec Veritas, as well?

  • Prblem while adding firewall in ciscoworks lms 2.6

    We are not able to add firewall ASA5510 in ciscoworks LMS 2.6.
    SNMP configuration on firewall is as follows
    snmp-server host inside 10.48.2.54 community firewall version 2c
    no snmp-server location
    no snmp-server contact
    snmp-server community ****
    snmp-server enable traps snmp authentication linkup linkdown coldstart
    Please check attached file for ciscoworks configuration, SNMP Walk command output and Firewall "show version" output.

    Now I am able to add firewall but when i am trying to access firewall through Cisco View> Chassis View I am getting following error.
    Message
    Can't find applicable device package for 10.44.100.37.
    Cause
    Device package for this device type is not installed or device support for this device type might not be available or you are attempting to open a component inside a device.
    Action
    Please install a device package for the device type or open the parent device to manage the component.
    When I configured netshow job for "show running-config" and "show tech-support" it ends with following error
    Command(s) failed on the device Insufficient no. of interactive responses(or timeout) for command: show tech-support. Insufficient no. of interactive responses(or timeout) for command: show tech-support.

Maybe you are looking for

  • Java ME SDK 3.0 doesn't start - java.lang.reflect.InvocationTargetException

    I want to migrate from NetBeans 6.7.1 to Java ME SDK 3.0 for several reasons. However when trying to start it hangs for a couple of minutes and then this message come up in a pop-up box: "A java.lang.reflect.InvocationTargetException exception has oc

  • Temporal hierarchy join - validity (0TCTVINTV)

    Hello experts, today it is a hierachy display problem in a report: We present a time dependent hierarchy structure with a temporal join. This is to have the postings in the correct periods of the hierarchy. A characteristic of this hierarchy is the v

  • Table and related table keys

    Hi,  Have two tables, related, and wish to not use form / subform to handle relationship. What is the best way to assign PK in primary table to FK in related table? L Leon

  • Adobe Acrobat Professional 8 Mac won't update past 8.1.5

    Adobe Acrobat Professional 8 Mac won't update past 8.1.5

  • IMovie '11 randomly opens capture window

    Usually nowadays when I use iMovie '11 on my MacBook (early 2009 model, running OS X 10.8.2), sometimes when I click anything on the program, it will just open up the capture window and prepare to capture from my iSight webcam, when I DID NOT CLICK O