Registering Values in Audit Database as per server time

Hello Experts,
We have a requirement for values in Business Objects auditing database being entered or registered as per Server time(CDT) and not GMT.
I understand by default its registered as per GMT time,so whatever entries are made, are converted to GMT time first and then entered in audit database.I want the entries to be made as per CDT without converting to GMT. Please let me know if this is possible or a workaround is available for the same.
Thanks and regards,
Abhishek

First go through this KBA:
1736216 - Audit Reports based off of Activity Universe show incorrect data due to audit database storing dates in GMT time zone
Then if required go through these:
1338736 - Time Zone Issue with universe using Audit database tables.
1359599 - MySql Convert UTC GMT to PST

Similar Messages

  • Repoint Audit database in BO XI 3.1 SP3 running on Solaris Server

    Hi,
    We need to repoint to new Audit database in Solaris server which is running BO XI 3.1 SP3 .What steps we need to follow to do that? Do we require root privileges for that?
    Really appreciate your the help
    Regards,
    Anshuman

    Hi,
    you can repoint the Audit DB but you cant move the content of the Audit DB with BO functions. If you want to move the content aswell you have to use DB functions for that. The process would look like:
    1. Create the new DB
    2. Create the connection to the new DB on the BOE Host
    3. Run cmsdbsetup.sh to point the Audit DB to the new DB
    4. Import the Audit Universe and configure the Universe connection to point to the new DB
    Regards
    -Seb.

  • How to Save the multiple selection check box values into the database

    i have the multiple selection check box implemented in UI through drop down list,i can choose the desired values from the drop down through checkbox, but i m unable to store these values and commit the values into the database all at a time.

    You can access the values using listbinding and can then store them as a string by using a delimiter.

  • How to transfer database table contain null values, primary key, and foreign key to the another database in same server. using INSERT method.

    how to transfer database table contain null values, primary key, and foreign key to the another database in same server. using INSERT method.  thanks

    INSERT targetdb.dbo.tbl (col1, col2, col3, ...)
       SELECT col1, col2, col3, ...
       FROM   sourcedb.dbo.tbl
    Or what is your question really about? Since you talke about foreign keys etc, I suspect that you want to transfer the entire table definition, but you cannot do that with an INSERT statement.
    Erland Sommarskog, SQL Server MVP, [email protected]

  • ISV embedding database with one instance per server limitation

    Hi All,
    As an ISV, it would be nice for Oracle to provide a better embedding solution than a silent install then having to script the creation of, or restore the database. Not because it's too complicated for an ISV to script, but purely for speed reasons. It's much faster to copy pre-loaded data files onto a machine than to create empty data files, load the data in, perform an analyze and any other scripts on the database. Dems just my thoughts.
    However, my real issue is regarding the 'one instance per server' install limitation. As an ISV, if I choose to embed Oracle XE in my application - how can I 'guarantee' that my product can be installed on any given server. Picture this:
    - We submit a proposal/ tender for a license to our software.
    - Client, in conjunction with their IT dept adds internal costs, identifying servers that will run on, responsibilities, project plans (the whole works) etc.
    - Client gets signoff from their management and pays for license.
    - Client goes to install our software using Oracle XE just to find that another ISV has their software with Oracle XE embedded installed on the server.
    - Client either has to find/ buy another server, or we lose the license. Either way, client is unhappy.
    Am I missing something here? Is anyone else anticipating this problem?
    Brad

    Hi Florin,
    Thanks for the response.. a good suggestion and our schema would be < 1GB so size would hopefully not be a problem. However, as soon as we plug into another appliation's Oracle XE implementation - we've potentially lost control of the database and it loses it's "embedded" nature. Probably not a huge problem if it's an application independant implementation of Oracle XE by an IT person, but if it's another ISVs embedded database - the dramas could start.
    We effectively put our user's database within the control of another application who may not have considered the possibility of our data residing there. eg. They could do a 'drop-all' and we lose our database. Or tune the database right down and our application suffers. Or the user uninstalls that application and it decides to automatically remove Oracle XE (after all, that ISV thought it was an embedded application, right?). Do you see the potential issues?
    Perhaps Oracle XE isn't as attractive for ISVs as first thought... I guess at the heart of the issue is the fact that Oracle XE isn't really an embedded database. It's just a database you can [silently] install with your application and then becomes a general db on the machine.

  • The security database on the server does not have a computer account for this workstation trust relationship

    When I try to log on to my DC it says "The security database on the server does not have a computer account for this workstation trust relationship". It won't let me log on. I installed another server server 2012r2  (its virtual )
    and I can get to ADSI edit. 
    I think what happened was I had a pc that could not connect without unplugging the network cable. So I found this fix 
    FIX: “The security database on the server does not have a computer account for this workstation trust relationship”2032011
    I’ve seen a lot of solutions, or suggestions rather, with regard to the error in the title of this post.  In my experience, the problem can almost always be resolved without extra domain add/removes and reboots, which is the most prevalent solution I have
    seen around.  Usually, this issue is due to a mismatch between attributes of the computer account in Active Directory and those values on the system itself.  Here are the steps I take to fix this issue when it crops up:
    Open up Active Directory Users & Computers pointed to the domain the computer account resides in
    From the “View” pull-down menu, make sure that “Advanced Features” is checked
    Navigate to the part of your organizational unit (OU) structure where the computer account for this server resides
    Open the Properties for the computer object
    Choose the “Attribute Editor” tab on the Properties dialog box
    Check the Attributes dNSHostName & servicePrincipalName – anywhere that a fully qualified hostname is specified (e.g. myserver.mydomainname.com), make sure that the entry matches the hostname
    you have configured when you go here on your server: Start -> Computer -> Right-Click, Properties -> Change Settings (under “Computer name, domain… settings”) -> Full Computer Name
    As an example, for a fictitious W2K8 R2 server whose Full Computer Name is “srv1.mydomainname.com”, these attribute/value pairs should be in Active Directory:
    dNSHostName:
    srv1.mydomainname.com
    servicePrincipalName:
    HOST/SRV1
    HOST/srv1.mydomainname.com
    RestrictedKrbHost/SRV1
    RestrictedKrbHost/srv1.mydomainname.com
    TERMSRV/SRV1
    TERMSRV/srv1.mydomainname.com"
    Not reading it carefully I add a computer with the same name as the pc having the issue and followed the above. The problem is that I did not notice that the spn did not want the name of my server (serv1) but the name of the trouble
    pc.
    dcdiag output
    PS C:\Users\administrator.TOM> dcdiag.exe
    Directory Server Diagnosis
    Performing initial setup:
       Trying to find home server...
       ***Error: DC3 is not a Directory Server.  Must specify /s:<Directory Server> or  /n:<Naming Context> or nothing to
       use the local machine.
       ERROR: Could not find home server.
    PS C:\Users\administrator.TOM> dcdiag.exe /s:DC2
    Directory Server Diagnosis
    Performing initial setup:
       * Identified AD Forest.
       Done gathering initial info.
    Doing initial required tests
       Testing server: Default-First-Site\DC2
          Starting test: Connectivity
             The host 9e0dca7a-d017-445a-b354-adee5ff53d48._msdcs.TOM could not be resolved to an IP address. Check the DN
             server, DHCP, server name, etc.
             Neither the the server name (DC2.TOM) nor the Guid DNS name (9e0dca7a-d017-445a-b354-adee5ff53d48._msdcs.TOM)
             could be resolved by DNS.  Check that the server is up and is registered correctly with the DNS server.
             Got error while checking LDAP and RPC connectivity. Please check your firewall settings.
             ......................... DC2 failed test Connectivity
    Doing primary tests
       Testing server: Default-First-Site\DC2
          Skipping all tests, because server DC2 is not responding to directory service requests.
       Running partition tests on : ForestDnsZones
          Starting test: CheckSDRefDom
             ......................... ForestDnsZones passed test CheckSDRefDom
          Starting test: CrossRefValidation
             ......................... ForestDnsZones passed test CrossRefValidation
       Running partition tests on : DomainDnsZones
          Starting test: CheckSDRefDom
             ......................... DomainDnsZones passed test CheckSDRefDom
          Starting test: CrossRefValidation
             ......................... DomainDnsZones passed test CrossRefValidation
       Running partition tests on : Schema
          Starting test: CheckSDRefDom
             ......................... Schema passed test CheckSDRefDom
          Starting test: CrossRefValidation
             ......................... Schema passed test CrossRefValidation
       Running partition tests on : Configuration
          Starting test: CheckSDRefDom
             ......................... Configuration passed test CheckSDRefDom
          Starting test: CrossRefValidation
             ......................... Configuration passed test CrossRefValidation
       Running partition tests on : TOM
          Starting test: CheckSDRefDom
             ......................... TOM passed test CheckSDRefDom
          Starting test: CrossRefValidation
             ......................... TOM passed test CrossRefValidation
       Running enterprise tests on : TOM
          Starting test: LocatorCheck
             ......................... TOM passed test LocatorCheck
          Starting test: Intersite
             ......................... TOM passed test Intersite
    PS C:\Users\administrator.TOM> regsvr32 schmmgmt.dll
    PS C:\Users\administrator.TOM> netdig /fix
    netdig : The term 'netdig' is not recognized as the name of a cmdlet, function, script file, or operable program.
    Check the spelling of the name, or if a path was included, verify that the path is correct and try again.
    At line:1 char:1
    + netdig /fix
    + ~~~~~~
        + CategoryInfo          : ObjectNotFound: (netdig:String) [], CommandNotFoundException
        + FullyQualifiedErrorId : CommandNotFoundException
    PS C:\Users\administrator.TOM> Setup /PrepareSchema
    Setup : The term 'Setup' is not recognized as the name of a cmdlet, function, script file, or operable program. Check
    the spelling of the name, or if a path was included, verify that the path is correct and try again.
    At line:1 char:1
    + Setup /PrepareSchema
    + ~~~~~
        + CategoryInfo          : ObjectNotFound: (Setup:String) [], CommandNotFoundException
        + FullyQualifiedErrorId : CommandNotFoundException
    PS C:\Users\administrator.TOM> netdiag /test
    netdiag : The term 'netdiag' is not recognized as the name of a cmdlet, function, script file, or operable program.
    Check the spelling of the name, or if a path was included, verify that the path is correct and try again.
    At line:1 char:1
    + netdiag /test
    + ~~~~~~~
        + CategoryInfo          : ObjectNotFound: (netdiag:String) [], CommandNotFoundException
        + FullyQualifiedErrorId : CommandNotFoundException
    PS C:\Users\administrator.TOM> nslooup
    nslooup : The term 'nslooup' is not recognized as the name of a cmdlet, function, script file, or operable program.
    Check the spelling of the name, or if a path was included, verify that the path is correct and try again.
    At line:1 char:1
    + nslooup
    + ~~~~~~~
        + CategoryInfo          : ObjectNotFound: (nslooup:String) [], CommandNotFoundException
        + FullyQualifiedErrorId : CommandNotFoundException
    PS C:\Users\administrator.TOM>

    Ok fixed. 
    At a elevated cmd prompt run ;
    C:\Users\administrator.TOM>setspn -x
    As you can see the DC serv1 had duplicate SPNs.
    Checking domain DC=TOM
    Processing entry 1
    HOST/serv1.TOM is registered on these accounts:
            CN=SERV1,OU=Domain Controllers,DC=TOM
            CN=C00049,CN=Computers,DC=TOM
    {14E52635-0A95-4a5c-BDB1-E0D0C703B6C8}/TOWN-HBWJ29ZOQC is registered on these ac
    counts:
            CN=Administrator,CN=Users,DC=TOM
            CN=TOWN-HBWJ29ZOQC,CN=Computers,DC=TOM
    {14E52635-0A95-4a5c-BDB1-E0D0C703B6C8}/town-hbwj29zoqc.TOM is registered on thes
    e accounts:
            CN=Administrator,CN=Users,DC=TOM
            CN=TOWN-HBWJ29ZOQC,CN=Computers,DC=TOM
    RestrictedKrbHost/serv1 is registered on these accounts:
            CN=C00049,CN=Computers,DC=TOM
            CN=SERV1,OU=Domain Controllers,DC=TOM
    RestrictedKrbHost/serv1.TOM is registered on these accounts:
            CN=C00049,CN=Computers,DC=TOM
            CN=SERV1,OU=Domain Controllers,DC=TOM
    found 5 groups of duplicate SPNs.
    Went to the computers OU and changed computer c00049 to the correct SPN. Now I have a new issues, I'll start a new thread.

  • AUDIT 기능을 이용하여 DATABASE 사용자를 확인하는 방법.

    제품 : ORACLE SERVER
    작성날짜 : 1999-02-19
    Audit 기능을 이용하여 Database 사용자를 확인하는 방법.
    ==================================================
    1. init.ora 에 다음 파라미터를 셋팅한다.
    audit_trail=none
    기존에 true 등으로 셋팅되어 있다면 반드시 none 으로 변경한다.
    none 이 아닌 TRUE, DB 등으로 셋팅되어 있으면 반드시 none 으로 변경 후
    반드시 DB 재기동이 필요하다.
    이 작업없이 2번 작업을 하고 나면 DB 에 접속 시 error 가 발생한다.
    물론 다시 해당 오브젝트를 drop 하면 문제가 해결된다.
    2. 필요한 오브젝트와 권한을 생성한다.
    SVRMGR> connect internal
    SVRMGR> create table system.aud$ as select * from aud$
    SVRMGR> rename aud$ to aud$_temp
    SVRMGR> connect system/manager
    SVRMGR> create index i_aud1 on aud$ (sessionid, ses$tid)
    SVRMGR> grant all on aud$ to sys with grant option
    SVRMGR> connect internal
    SVRMGR> create view aud$ as select * from system.aud$
    SVRMGR> exit
    $ cd $ORACLE_HOME/rdbms/admin
    $ svrmgrl
    SVRMGR> connect internal
    SVRMGR> @cataudit.sql
    sys 유저에 audit 정보를 저장할 테이블을 생성한다.
    aud$ table 에 변경이 가해지면 Trigger 가 fire 되어 아래 테이블에
    필요한 정보를 입력하게 된다.
    SVRMGR>
    create table accounting
    (USERNAME VARCHAR2(30),
    LOGIN_TIME DATE,
    LOGOFF_TIME DATE,
    SCHEMANAME VARCHAR2(30),
    OSUSER VARCHAR2(15),
    PROCESS VARCHAR2(9),
    MACHINE VARCHAR2(64),
    TERMINAL VARCHAR2(8),
    PROGRAM VARCHAR2(64),
    TYPE VARCHAR2(10),
    LOGICAL_READ NUMBER,
    PHYSICAL_READ NUMBER,
    SID NUMBER,
    SESSION_SID NUMBER,
    CPU_TIME NUMBER)
    Trigger 를 생성한다.
    SVRMGR>
    create table oper (act varchar2(27));
    create or replace trigger acc_trigger
    after update on system.aud$ for each row
    when (new.action# = 101 or new.action# = 102)
    begin
    insert into accounting
    select :new.userid,:new.timestamp#,:new.logoff$time,
    ss.schemaname, ss.osuser, ss.process, ss.machine, ss.terminal,
    ss.program, ss.type, :new.logoff$lread, :new.logoff$pread,
    st.sid, ss.audsid, st.value
    from V$STATNAME S, V$SESSTAT ST, V$SESSION SS
    where S.STATISTIC# = ST.STATISTiC# AND ST.SID = SS.SID
    and :new.sessionid = SS.AUDSID
    and S.NAME='CPU used by this session';
    insert into oper
    select audit_actions.name
    from audit_actions
    where :new.action# = audit_actions.action;
    end;
    3. init.ora 파일에 다음과 같이 파라미터를 다시 변경후 DB 재기동 한다.
    audit_trail=DB
    timed_statistics=TRUE
    4. Audit 기능을 설정한다.
    예) audit session by hanseo
    예) audit all on username.table명
    예) audit table by scott by access whenever successful
    그리고 다음 쿼리문을 실행한다.
    SQL> select osuser,username,to_char(LOGIN_TIME,'dd.mm.yy:hh:mi') login,
    to_char(LOGOFF_TIME,'dd.mm.yy:hh:mi') logout, MACHINE, CPU_TIME
    from accounting;
    SQL>
    OSUSER USERNAME LOGIN LOGOUT MACHINE CPU_TIME
    hanseo HANSEO 29.01.99:11:07 29.01.99:11:12 윤 한서 66
    1 row selected.
    OSUSER : windows login name
    USERNAME : DB username
    MACHINE : 제어판--네트워크--컴퓨터확인--컴퓨터이름 이다.

  • DB2 UDB9.1 support as CE10 CMS and Audit database

    Does any body know if DB2 UDB 9.1 is supported as CMS and Audit database for Crystal Enterprise (CE) version 10?
    I know CE 10 is not supported by BO any more, we are in the process of migrating to BOXI but mean while we have a need to upgrade DB2 UDB from 8.1 to 9.1 version.
    Also did any one encounter any issues using CE10 against DB2 UDB 9.1.
    Please advise.
    Thanks

    Hello Romain,
    Thank you very much for your clarifications.
    I guess there was a second question hidden behind my first question.
    Here is the whole story, we had a workshop yesterday with some Consultants specialized on BI.4 technologies. We were discussing the architecture, and more particularly which would be the most suitable Web Application Server :
    * It seems that most SAP Customers choose the bundled WAS : Tomcat 7
    * But as SAP Basis Administrators,we had pretty much no previous exposure to Tomcat/Apache Technologies
    * The Consultants told us that an increasing number of SAP Customers are choosing SAP NW AS for deployment of BOE.war and other BI webapps
    * But so are now considering installing dedicated Netweaver AS on Windows, that will be acting as BI 4.1 Application Servers. We do not plan to deploy BI 4.1 applications on any of our existing  NW AS ,as they have been installed on HP-UX ( not supported by BI.4 )
    The only problem with that is that you can not install a Netweaver AS, without its corresponding Database, so I was wondering if that New Oracle Database installed only when deploying"NW AS/BI 4 Web application Tier", could be used as the CMS/Audit Database.
    Your latest answer seems to suggest that it is definitely not a good idea.
    The thing is , that we do not want to end up with two databases per Landscape tier (DEV,QAS,PRD)
    I hope it is a bit more clear.
    Thank you

  • Problem with Cisco Bars after Database Republish ("Could not find Cisco Unified database on this server")

    OS Version: 2000.4.3a
    OS Service Release: 2000.4.5bSR21
    OS Upgrade: 2000.4.5a
    Bars Version: 4.0.15000
    CUCM Version: 4.2(3)sr4b
    During the upgrade process of our CUCM 4.2(3) to version CUCM 4.2(3)sr4b the database replication between our 2 servers (1x pub, 1x sub) failed. After fixing this via dbhelper tool (everthing´s green and smiling again) service seemed to be ok.
    But now Cisco Bars does not work anymore. The backup process of the publisher fails with "Error=[Microsoft][ODBC SQL Server Driver][SQL Server]Login failed for user '(null)'. Reason: Not associated with a trusted SQL-Server connection." So it looks like some kind of database setting for bars  is misconfigured after the republishing process.
    Yesterday I tried to reinstall BARS (now in the newest version 4.0.150000), but the same error message occured. Now I get the message "Could not find Cisco Unified database on this server" when I try to configure the Backup source within BARS.
    Curiously the backup of our second CCM (sub) works as expected (but without CDR and TFTP Data). The "BackAdmin" User exists and is not locked (and wasn´t changed manually at all).
    I am runnig out of ideas... :-(
    Any hint or idea on how to fix this is kindly appreciated
    best regards
    Michael

    Mike,
    I don't have anything definitive here but I am wondering if there is a discrepency between the database names.  In SQL Enterprise Manager, you can go to the Publisher and see what the current database name is.  It will be the one being replicated and will take the form of CCM0300 or CCM0301 or CCM0302.  You should see more than one.  Anyway, take note of the name.
    Then on the Publisher launch regedit and go to HKLM\Software\Cisco Systems, Inc.\DBL\
    Look at the values for DBConnection0 and DBConnection1.
    It will be something like DSN=CiscoCallManager;Server=;DATABASE=;Trusted_Connection=yes
    Does the in the DSN match what you expect?
    Also, going to back to SQL Enterprise Manager, check out the permissions on the database (Right Click->Properties, go to Permissions tab).
    Another thing to check if you think it is permissions related is the AdminUtility.exe (c:\program files\cisco\bin\).  This can be used to resync system account passwords.
    TBH, I am just shooting in the dark here but these are things I would check.
    Regards,
    Bill

  • Problem with upgrade due to no connection to audit database

    Hello everyone!
    Today after work I wanted to finally upgrade ZCM but run into some problems.
    We have three servers: Two primary servers and one database-server (OEM Sybase SQL Anywhere). All three are running on SLES 11.
    I want to upgrade our ZCM11.2.4MU1 to ZCM11.3a and then to 11.3.1.
    I started by upgrading the Sybase database and running dbunload according to the documentation.
    Then I continued with "sh install.sh -c" and chose "Audit Database". I selected the OEM Sybase SQL Anywhere with port 2639.
    Admin, password and database-name were unique. But I made the mistake to set the servername to the same as the zenworks-database. *sigh*
    The installation completed.
    The sybase-asa and sybase-audit-asa services couldn't run at the same time, therefore I rebooted the database-server and installed the audit database again with a unique database-name.
    Before the upgrade I could start dbisql and connect without problems to backup the database. Now I cannot connect anymore without using the additional parameter: links=tcpip{host=IPorDNSName,port=2638}
    Connecting to the Audit Database via dbisql is not possible, with the following message:
    Code:
    Could not connect to the database.
    Database server not found
    Ensure that the name in the "Server name" field is spelled correctly, that the network options on the network tab are correct and that the database server has been started.
    [Sybase][ODBC Driver][SQL Anywhere]Database server not found
    SQLCODE=-100
    SQLSTATE=08001
    Connection parameters:
    User=zenauditadmin
    Password=***
    Server=zenworks_audit_database_server
    DBN=zenworks_audit_database2
    LINKS=ShMem
    ENC=NONE
    links=tcpip{host=<ip>,port=2639}
    With that said, it is not possible to upgrade the first primary server because the setup routine is also not possible to connect to the Audit Server:
    Code:
    We were unable to create a connection to the database. Please check your
    connection information.
    Specify the existing ZENworks database and database authentication information
    for an existing user with sufficient permissions.
    The services sybase-asa and sybase-audit-asa are both running. I also restarted them a couple of times.
    zenworks_database.conf and zenworks_database_audit.conf look fine.
    Do you have any idea what I missed?
    Is the duplicate servername still somewhere existend and prevents the proper running?
    Thank you very much in advance for pointing me in any direction!

    novellchuck wrote:
    >
    > Hello everyone!
    >
    > Today after work I wanted to finally upgrade ZCM but run into some
    > problems.
    >
    > We have three servers: Two primary servers and one database-server
    > (OEM Sybase SQL Anywhere). All three are running on SLES 11.
    > I want to upgrade our ZCM11.2.4MU1 to ZCM11.3a and then to 11.3.1.
    >
    > I started by upgrading the Sybase database and running dbunload
    > according to the documentation.
    > Then I continued with "sh install.sh -c" and chose "Audit Database". I
    > selected the OEM Sybase SQL Anywhere with port 2639.
    >
    > Admin, password and database-name were unique. But I made the mistake
    > to set the servername to the same as the zenworks-database. sigh
    > The installation completed.
    > The sybase-asa and sybase-audit-asa services couldn't run at the same
    > time, therefore I rebooted the database-server and installed the audit
    > database again with a unique database-name.
    >
    > Before the upgrade I could start dbisql and connect without problems
    > to backup the database. Now I cannot connect anymore without using the
    > additional parameter: links=tcpip{host=IPorDNSName,port=2638}
    >
    > Connecting to the Audit Database via dbisql is not possible, with the
    > following message:
    >
    >
    > Code:
    > --------------------
    > Could not connect to the database.
    > Database server not found
    >
    > Ensure that the name in the "Server name" field is spelled
    > correctly, that the network options on the network tab are correct
    > and that the database server has been started. [Sybase][ODBC
    > Driver][SQL Anywhere]Database server not found SQLCODE=-100
    > SQLSTATE=08001
    > Connection parameters:
    > User=zenauditadmin
    > Password=***
    > Server=zenworks_audit_database_server
    > DBN=zenworks_audit_database2
    > LINKS=ShMem
    > ENC=NONE
    > links=tcpip{host=<ip>,port=2639}
    > --------------------
    >
    >
    > With that said, it is not possible to upgrade the first primary server
    > because the setup routine is also not possible to connect to the Audit
    > Server:
    >
    >
    > Code:
    > --------------------
    > We were unable to create a connection to the database. Please
    > check your connection information.
    >
    >
    > ************************************************** ********************
    > ******** Specify the existing ZENworks database and database
    > authentication information for an existing user with sufficient
    > permissions. --------------------
    >
    >
    > The services sybase-asa and sybase-audit-asa are both running. I also
    > restarted them a couple of times.
    > zenworks_database.conf and zenworks_database_audit.conf look fine.
    >
    > Do you have any idea what I missed?
    > Is the duplicate servername still somewhere existend and prevents the
    > proper running?
    >
    > Thank you very much in advance for pointing me in any direction!
    Oh boy... and no backup?
    Not sure how to get the sybase back working again... my first choice in
    such a case would be to make a contact to Novell, are you able to
    create an SR on this?
    Niels
    I have always liked... Cowabunga!
    If you find this post helpful, please show your appreciation by
    clicking on the star below.
    A member must be logged in before s/he can assign reputation points.

  • How to combine multiple columns into one column and delete value the row (NULL) in sql server for my example ?

    My Example :
    Before:              
    Columns
    name               
    address          
                   jon                      DFG
                   has                     NULL
                   adil                      DER
    After:                  
    Column 
                                    Total   
                      name : jon , address : DFG
                      name : has
                      name : adil , address : DER

    Why not doing such reports on the client site?
    create table #t (name varchar(10),address varchar(20))
    insert into #t values ('jon','dfg'),('has',null),('adil','der')
    select n,case when right(n,1)=':' then replace(n,'address:','') else n end
    from
    select concat('name:',name, ' address:',address  ) n from #t
    ) as der
    Best Regards,Uri Dimant SQL Server MVP,
    http://sqlblog.com/blogs/uri_dimant/
    MS SQL optimization: MS SQL Development and Optimization
    MS SQL Consulting:
    Large scale of database and data cleansing
    Remote DBA Services:
    Improves MS SQL Database Performance
    SQL Server Integration Services:
    Business Intelligence

  • Oracle 9I Database, and Mobile Server install history

    Dear Oracle technical representative:
    This TAR started out as a true request for help in solving installation problems with Oracle 9i Release 2 Enterprise Edition, and Oracle 9i Mobile Server Release 5.0.1, but it has turned into a history of frustration with out of date, laconic, and often incorrect, and misleading documentation. As a software developer, I understand that documentation is always out of date, at least mine is. Nonetheless, I must speak my mind while understanding, and sympathizing with your situation.
    I struggled through the documentation, and managed to get everything working. While I was doing that, I wrote down the step by step procedure that I used to get Database, and Mobile Server running. By sharing this rough install history with you, it is my hope that it will help prevent others from experiencing the same difficulties that I have had. It has been my observation that when a user has problems installing a trial software package they give up quickly, and do not purchase a copy. It is thus extremely important that the installation instructions, and quick start guide be accurate, attentive to detail, and well written. The first impression is the one that counts.
    The Oracle 9i Lite Installation, and Configuration Guide for Windows NT shipped with Oracle 9i Lite Release 5.0.1 definitely requires, and emergency rewrite. It is terribly out of date, inaccurate, and laconic. My guess is that it is a very sloppy rewrite of poorly written 8i documentation. The Oracle 9i Database Installation Guide for Windows is somewhat better. It however should do a better job informing you that before installing onto a old server the Microsoft Foundation Class (MFC), and VC runtime libraries must be up to date. The history describes the trouble with not having the MFC42.dll at version 6. Another corker is that the default port the installer presents is 2030, and not 1521, and that leads to major confusion in the both the Database, and Mobile Server installs.
    Thank you for looking at the history. I hope that it will be of use to you when you update your documentation.
    Thomas G. Matney
    Mississippi State University
    [email protected]
    (662)325-2791
    TAR for Oracle 9i Release 2 Database Enterprise Edition, and Oracle Lite Release 5.0.1 Mobile Server
    Installation problems are highlighted in red.
    Installation sequence/history:
         1. Installed Windows NT 4.0 Server SP1 on Dell Power Edge 4300 dual x86 server to wipe the slate clean.
         2. Setup TCP/IP, and IPX/SPX networks
              Computer name YGGDRASILL
              Host name = YGGDRASILL
              Domain = CFR.MSSTATE.EDU
              Internet name = YGGDRASILL.CFR.MSSATE.EDU = 130.18.130.225
         3. Installed NT SP3, and Internet Explorer 4.01 from the NT 40 Options Pack CD as the gateway to installing MTS 2.0, and IIS 4.0.
         4. Installed MTS 2.0, and IIS 4.0 from NT 4.0 Optins Pack CD.
         5. Applied NT 4.0 SP6.
         6. Installed Internet Explorer 5.5 as a prerequisite to installing MADAC 2.6.          
         7. Installed MDAC 2.6
         8. Installed Paint Shop Pro 7 for capturing error screens.
         9. As previous install errors stated that the ordinal function xxxx could not be found in MFC42.dll, the latest version (6.0.8665.0) of the dll was installed, and registered from MS VC++ SP5. Also I upgraded MSVCIRT.dll, MSVCRT.dll, MSCRT40.dll, and added MSVC60.dll from SP5 to be on the safe side.
    According to the installation documents all the prerequisites for installing Oracle 9i Release 2 Database Enterprise Edition are satisfied.
         10. Began install of Oracle Database Enterprise Edition with target parameters:
              Home directory = D:\Oracle\Ora92
              Database directory = D:\Oracle\oradata
              Global database name = FIA.YGGDRASILL.CFR.MSSTATE.EDU
              Port = 2030
              SID = FIA
              SYSTEM Password = phwphw
              SYS Password = phwphw
              SCOTT Password = phwphw
              DBSNMP Password = I left this one unassigned or empty.
              tnsnames.ora entry for remote TCP/IP connection
              a. CD 1 of 3 load
                   1. Error writting to MFC42u.dll. Action ignore. A check indicated that MFC42u.dll version did not match the updated version of MFC42.dll. Plan is to update after install. Unicode version of MFC is probably not used by the installer.
              b. CD 1 completed with only one problem, and CD 2 load begins.
              c. CD 2 installed without incident., and CD 3 load begins, and completes without farther problems. The only issue to address at this time is to update the MFC42u.dll.
                   HTTP Server URLs
                        http://7778
                        https://4443
         12. Evaluation of install success begins.
              a. Oracle HTTP Service will not start. It is of particular interest that on installs that I do not upgrade the MFC42.dll the Oracle HTTP Service will start correctly, but during the install I get the error message Ordinal nnnn not found in MFC42.dll, and the Oracle MTS Recovery Service crashes during the install. I am caught between a rock and hard spot on this one. See the Figure 1. At the end of this document. I do not need the HTTP Server at this time but I will need it later and this issue must be resolved. It appears that it hangs during startup. I am sorry but I lost the ordinal number nnnn.
              When I try to start the HTTP server from the Programs menu. It Hangs, and does not return an error message. See Figure 2, and the included Apache Setup.txt, the install log, and the HTTPd.conf . The conf, and setup files look OK to me. What is the problem?          
              b. All other services start correctly.
              c. Logged into the database as SCOTT on the server with SQL Plus using the connection information:
                   FIA.CFR.MSSTATE.EDU =
                   (DESCRIPTION =
                   (ADDRESS_LIST =
                   (ADDRESS = (PROTOCOL = TCP)(HOST = yggdrasill)(PORT = 1521))
                   (CONNECT_DATA =
                   (SERVER = DEDICATED)
                   (SERVICE_NAME = FIA.YGGDRASILL.CFR.MSSTATE.EDU)
              I created some tables, inserted data, and queried for the data. Everthing seems to be working correctly.
              d. Logged in remotely from my AOL account on a dial-up line using Oracle 9i Release 2 Personal Edition installed on my ThinkPad. Every thing tested out as above. I used the connection information:
                   FIA.CFR.MSSTATE.EDU =
                   (DESCRIPTION =
                   (ADDRESS_LIST =
                   (ADDRESS = (PROTOCOL = TCP)(HOST = yggdrasill.cfr.msstate.edu)(PORT = 1521))
                   (CONNECT_DATA =
                   (SERVER = DEDICATED)
                   (SERVICE_NAME = FIA.YGGDRASILL.CFR.MSSTATE.EDU)
         13. I concluded that except for the Oracle HTTP Server Service not starting correctly, and that after updating the MFC42u.dll to VC++ SP5 level the stage is set for installing Oracle 9i Mobile Server Release 5.0.1. I copied the MFC42u.dll to the server and registered it successfully.
         14. As Visual Studio 6.0 Professional updates all of the MFC stuff, I decides to install it at this juncture, and apply SP5.
         15. Installed JDK1.3.1 required for Oracle 9i Mobile Server Release 5.0.1
    At this time the prerequisites for installing Oracle 9i Mobile Server Release 5.0.1 are satisfied, and MFC, and rt are at version 6.
    It is important to note that after installing MS Visual Studio Professional 6.0 SP5, the HTTP server started working. It is clear that prior to installing Oracle Database it is essential that MFC, and possibly other components are upgraded before starting an installation of Oracle. This probably only applies to old NT servers, but it should be mentioned in the installation instructions.
         16. Attempt to install Oracle Mobile Server Release 5.0.1
              a. File locations Screen
                   Name: = OraLite501               
                   Path: = D:\OraLite501
              b. Select Mobile Server at Installation Screen
              c. Mobile Server Repository Database Information Screen
                   Hostname = YGGDRASILL = hostname from tnsnames.ora
                   Port = 2030 = same as Database port
                        It is troublesome that the port in tsnames.ora is 1521, and not 2030 as was specified in the database install. I will try this port on the reinstall. On the retry, it worked. The problem was that I was mislead by the default port of 2030 at the database install. The database was actually installed on port 1521, and I was not given an error message, or warning. As I am a first time installer of Oracle products this threw me for a loop. The default port for the database needs to be 1521, if regardless of what the user specifies for a port you are going to install on port 1521.
                   Net Service Name = FIA.YGGDRASILL.CFR.MSSTATE.EDU = Global database name as required by installation instructions.
              d. Yes. At Do you want to install the Mobile Server Repository question.
              e. At Oracle Protocol Support, I checked the SPX box.
              f. Summary, and Install screens function to specifications.
              g. Mobile Server Repository Wizard
                   Database System password:
                        Password = phwphw
              h. Mobile Server Repository Wizard
                   Schema Name: fiafield
                   Password : fiafield
              i. Success at last with the install part. The problem was the wrong port number. See my above comments on this problem, and how Oracle could grease the skids for the next first time installer.
         j. I could not find the httpd.conf file in the place the install instructions said it should be for running the Mobile Server in Oracle HTTP Server. Since only one copy of httpd.conf existed, I added the include D:\OraLite501\mobile\server\bin\wtgias.conf to the bottom of the file assuming that it is the correct one. I the re-booted instead of using apache -k restart. The Oracle HTTP Server started, so there is hope. The install instructions state that the httpd.conf file would most likely be in the program files directory, when they are really installed in the Oracle Lite home directory.
         k. According to the documentation the Mobile Server should start when the Oracle HTTP Server starts with the wtgias.conf file added to the httpd.conf file. It does not. If I use Process Explorer, I know that Apache loaded the wtgias.conf, because both Apache.exe processes that are running have the wtgias.dll loaded. The facts are at this stage of the game are
              1. OraMTSRecoveryService is started
              2. OracleOraHome92HTTPService is started
              3. OracleOraHome92Listener is started on port
              4. OracleServiceFIA is started
              5. Apache.exe has the wtgias.dll loaded
              6. The Moble Server is not running and it should be if the documentation is correct.
              7. If I start the Mobile Server either as a service using wtgsvc -i or with the webtogo command from the DOS prompt, the Mobile Server starts, but when I attempt to log in with the URL http://Yggdrasill:7778/webtogo/startup it inform me the Mobile Server is not started and it is. Figure 3 shows the response I receive from the login attempt.
         l. I finally ran the Mobile Server in total debug mode using the command webtogo -d0", and it gave me the subtle hint that the correct URL is
              http://Yggdrasill.cfr.msstate.edu/webtogo/startup.
         When I use the above URL and I can login to the Mobile Server with UN = fiafield, and PW = fiafield. I was confused by the documentation. I was under the assumption that the host address would be either http://Yggdrasill:7778, or http://Yggdrasill:4443. After all when I, installed Oracle Database these URLs were listed. It needs to be made clear in the installation guide for the mobile server that the Mobile Server address is http://Your servers WWW address/webtogo/startup, and the statements about the Mobile Server will start when the Oracle HTTP Server is started needs to be removed since they are incorrect. Also, the documentation should clearly state that the Schema Name, and Password given in the Repository Wizard Screen are synonymous with the username, and password for the Mobile Server login.
         m. After determning the hard way that the Mobile Server does not start when the the Oracle HTTP Server starts, and that the correct URL is http://Internet address/webtogo/startup = http://Yggdrasill.cfr.msstate.edu/webtogo/startup, I decide to start the Mobile Server as a service with the command wtgsvc -i. After I re-booted, to my surprise, I could not login to the Mobile Server. When I checked the system services, the webtogo service was running. So to give the start as a service thing a fair chance I re-booted again, but obtained the same results. I thus concluded that the Mobile Server will not run correctly as a service. As it turns out my conclusion was wrong. After waiting a few minutes, my login try was successful. The documentation should indicate that after booting it may be a minute or two before the Mobile Server service become available.
         n. After some serious problems with the installer, and the documentation everything is working. I have a green light to go on to the next stage, which is program the handheld to take advantage of the Mobile Server. I will be glad to get back to programming, and am so thankful that I am not a network administrator.
         Appendix
    HTTPd.Conf (Abstract only), Apache Setup.txt,
    tsnames.ora, and listener.ora.
    HTTPd.conf (Abstract only)
    # Based upon the NCSA server configuration files originally by Rob McCool.
    # Include the Oracle configuration file for custom settings
    include "D:\oracle\ora92\Apache\Apache\conf\oracle_apache.conf"
    include "D:\OraLite501\mobile\server\bin\wtgias.conf "
         tsnames.ora
    # TNSNAMES.ORA Network Configuration File: D:\oracle\ora92\network\admin\tnsnames.ora
    # Generated by Oracle configuration tools.
    INST1_HTTP.CFR.MSSTATE.EDU =
    (DESCRIPTION =
    (ADDRESS_LIST =
    (ADDRESS = (PROTOCOL = TCP)(HOST = yggdrasill)(PORT = 1521))
    (CONNECT_DATA =
    (SERVER = SHARED)
    (SERVICE_NAME = MODOSE)
    (PRESENTATION = http://HRService)
    FIA.CFR.MSSTATE.EDU =
    (DESCRIPTION =
    (ADDRESS_LIST =
    (ADDRESS = (PROTOCOL = TCP)(HOST = yggdrasill)(PORT = 1521))
    (CONNECT_DATA =
    (SERVER = DEDICATED)
    (SERVICE_NAME = FIA.YGGDRASILL.CFR.MSSTATE.EDU)
    EXTPROC_CONNECTION_DATA.CFR.MSSTATE.EDU =
    (DESCRIPTION =
    (ADDRESS_LIST =
    (ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC0))
    (CONNECT_DATA =
    (SID = PLSExtProc)
    (PRESENTATION = RO)
              listener.ora
    # LISTENER.ORA Network Configuration File: D:\oracle\ora92\network\admin\listener.ora
    # Generated by Oracle configuration tools.
    LISTENER =
    (DESCRIPTION_LIST =
    (DESCRIPTION =
    (ADDRESS_LIST =
    (ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC0))
    (ADDRESS_LIST =
    (ADDRESS = (PROTOCOL = TCP)(HOST = yggdrasill)(PORT = 1521))
    SID_LIST_LISTENER =
    (SID_LIST =
    (SID_DESC =
    (SID_NAME = PLSExtProc)
    (ORACLE_HOME = D:\oracle\ora92)
    (PROGRAM = extproc)
    (SID_DESC =
    (GLOBAL_DBNAME = FIA.YGGDRASILL.CFR.MSSTATE.EDU)
    (ORACLE_HOME = D:\oracle\ora92)
    (SID_NAME = FIA)
              Apache SetupInfo.txt
    The following information is available in:
    D:\oracle\ora92\Apache\Apache\setupinfo.txt
    The HTTP Server can be accessed using the following URLs:
    http://yggdrasill:7778
    https://yggdrasill:4443

    You can find information regarding enabling the iSQLPLUS in the following Oracle manual.
    http://download-east.oracle.com/docs/cd/B19306_01/server.102/b14357/ch2.htm

  • How to search this value in oracle database to find out the table

    Hi expert,
    I know there is a value in oracle database, please show me how to search this value in oracle database to find out the table holding this value.
    Many Thanks,

    918440 wrote:
    Hi friends,
    this question is really practical, I already know there is value from application saved in database, I want to search the whole database to figure out which table the value is contained.write SQL that writes SQL to query every table.
    Handle:     918440
    Status Level:     Newbie
    Registered:     Mar 2, 2012
    Total Posts:     20
    Total Questions:     10 (10 unresolved)
    why do you waste time here when you NEVER get any answer to any question you post?

  • Network.http.max-persistent-connections-per-server keeps reverting to user set 4

    I didn't used to have this problem as far as I'm aware, but as of recently, I've noticed that if I try to download more than 4 of one thing at a time from the same site, it would fail. For instance, if I have up 5 web pages of streaming content, only 4 will load, the other 5th one will do nothing until I finish one of the others. Upon looking up some information on this, I saw that the network.http.max-persistent-connections-per-server is set at "user set = 4", and if I change that number to anything else, it corresponds. If I click to 'reset' the number, it goes to the default of 6 - which is still less than what it used to be. I used to not even have a limit on this as far as I'm aware, or if I did, it was well beyond 10 and that wasn't a product of me manipulating it.
    What I'm asking is this:
    1) How do I make this so it permanently switches to a higher number? Every time I reset it to 6 or I manually change the number to something higher, once I close it, those settings go back to 4.
    2) Why is it reverting and not staying the way I change it?
    3) What's the purpose of this and why is it just recently doing it when I haven't put any new add-ons or made any other refinements to Firefox that I'm aware of?
    Any help would be appreciated

    Two possible causes for it resetting to 4 that I can think of.
    # You have an add-on handing that pref and that is resetting it to 4 when Firefox is restarted.
    # That pref is set via user.js and that causes it to go to that value as Firefox starts.
    http://support.mozilla.com/en-US/kb/troubleshooting+extensions+and+themes <br />
    http://kb.mozillazine.org/User.js_file

  • How can I list print queues per server via power shell script

    Hello,
    we are managing many print servers on our domain environment,  now for auditing purpose I need to report print queues per server,  and it seems bit difficult task doing it via GUI in print management view, could someone help me with script which
    gets me the no. of print queues on each print server.
    Also I need to list all the print drivers installed on each print servers. 
    I tried to list the drivers " Get-WmiObject win32_printerDriver -filter " but this will get me complete information about the driver, I need to list only the driver name (-filter) either _RELPATH or _PATH
    dibu

    You can also use WMI like this:
    (get-WmiObject win32_printer -computer ws702).count
    I don't understand what you mean by list only.  Just select what you need.
    See: http://technet.microsoft.com/en-us/scriptcenter/dd742419
    That will give you some basic background on how to use PowerShell to get the properties of objects.
    ¯\_(ツ)_/¯

Maybe you are looking for