Author Topic: OCS 7.61 does not start  (Read 13552 times)

Offline bogdan

  • Jr. Member
  • **
  • Posts: 94
  • Karma: 0
OCS 7.61 does not start
« on: September 29, 2009, 08:58:49 AM »
Hello guys,

I'm upgrading from OCS 7.1 to 7.6 and when I start the component nothing happens, is stail... Can anyone tell me how should I troubleshoot this?

[code]blum:/gcti/ocs_761_p$ ./cmserver -host calypso.crm.mycompany.intra -port 2020 -app "ocs_761_p" -l "7260@calypso.crm.mycompany.intra"
(conn_adjust_rlimit) max=1024, current=60 -> 1024(max) ok
11:52:12.103 Trc 04112 The Log Output of type 'stdout' has been created and opened
11:52:12.087 Trc 04110 Option 'verbose' has been set to the value 'all'
11:52:12.088 Trc 04110 Option 'buffering' has been set to the value 'no'
11:52:12.088 Trc 04110 Option 'expire' has been set to the value 'no'
11:52:12.088 Trc 04110 Option 'segment' has been set to the value 'no'
11:52:12.088 Trc 04110 Option 'spool' has been set to the value ''
11:52:12.088 Trc 04110 Option 'keep-startup-file' has been set to the value 'no'
11:52:12.088 Trc 04110 Option 'MessageFile' has been set to the value 'OCServer.lms'
11:52:12.088 Trc 04110 Option 'time-format' has been set to the value 'time'
11:52:12.088 Trc 04110 Option 'time-convert' has been set to the value 'local'
11:52:12.088 Trc 04110 Option 'message-format' has been set to the value 'short'
11:52:12.089 Trc 04110 Option 'memory-storage-size' has been set to the value '2 Mb'
11:52:12.089 Trc 04110 Option 'compatible-output-priority' has been set to the value 'no'
11:52:12.089 Trc 04110 Option 'print-attributes' has been set to the value 'no'
11:52:12.089 Trc 04110 Option 'check-point' has been set to the value '1'
11:52:12.089 Trc 04110 Option 'memory' has been set to the value ''
11:52:12.103 Std 04106 Log Messages file 'OCServer.lms' successfully loaded
11:52:12.103 Trc 04112 The Log Output of type 'stdout' has been created and opened
11:52:12.105 Trc 04100 Logging service started
11:52:12.107 Trc 04500 Connecting to Configuration Server 'confserv' at host 'calypso.crm.mycompany.intra', port 2020
[CFGLIB]:ConfOpenServerX is called for -1 - calypso.crm.mycompany.intra:2020...
[CFGLIB]: Processing mode set to ASYNC
[CFGLIB]: Cfglib Connect Timeout set to 0
[CFGLIB]:Trying to connect Async to calypso.crm.mycompany.intra/2020...
addp-trace off
(addp_xconfig) local OFF, remote OFF, trace off
[CFGLIB]:Connection accepted for 4
[CFGLIB]:Connection 4 : status set to CONNECTED
[CFGLIB]:Client registered for 4. Protocol: 365, session number: 1254329949, schema version:
[CFGLIB]:Server info received. Primary is 99, backup is 123
[CFGLIB]:Schema received. Server version is 7.2.000.05
[CFGLIB]:This application info received. Name 'ocs_761_p'
[CFGLIB]:Configuration Server host info received. Name 'blum.crm.mycompany.intra'
[CFGLIB]:Application backup info received. DBID 344, Name 'ocs_761_b'
[CFGLIB]:Application server info received. DBID 338, Name 'buc_tserver_p_760'
[CFGLIB]:Application server info received. DBID 196, Name 'cpd_buc'
[CFGLIB]:Application server info received. DBID 103, Name 'message_server_p'
[CFGLIB]:Application server info received. DBID 335, Name 'tim_tserver_p_760'
[CFGLIB]:Configuration Server primary application info received. Name confserv
[CFGLIB]:Configuration Server backup application info received. Name confserv_b
[CFGLIB]:Configuration Server backup host info received. Name 'agnes.crm.mycompany.intra'
[CFGLIB]:Startup cache is loaded
[CFGLIB]:Connection 4 : protocol set to DEFAULT
11:52:12.134 Std 04503 Connected to Configuration Server 'confserv' at host 'calypso.crm.mycompany.intra', port 2020

------------ Reading Config Data ... ------------
11:52:12.134 Reading <Switch>...
11:52:12.134 Reading <DN>...
11:52:12.134 Reading <Person>...
11:52:12.134 Reading <Place>...
11:52:12.134 Reading <AgentGroup>...
11:52:12.134 Reading <PlaceGroup>...
11:52:12.134 Reading <Tenant>...
11:52:12.135 Reading <Application>...
11:52:12.135 Reading <Host>...
11:52:12.135 Reading <Script>...
11:52:12.135 Reading <Field>...
11:52:12.135 Reading <Format>...
11:52:12.135 Reading <TableAccess>...
11:52:12.135 Reading <CallingList>...
11:52:12.135 Reading <Campaign>...
11:52:12.135 Reading <Treatment>...
11:52:12.135 Reading <Filter>...
11:52:12.135 Reading <TimeZone>...
11:52:12.135 Reading <Enumerator>...
11:52:12.135 Reading <EnumeratorValue>...
11:52:12.135 Reading <CampaignGroup>...
kvlist_filter: default filter set tp 'log-filter' type
11:52:13.533 Trc 04110 Option 'buffering' has been set to the value 'yes'
11:52:13.533 Trc 04110 Option 'expire' has been set to the value '20'
11:52:13.533 Trc 04110 Option 'segment' has been set to the value '10000'
11:52:13.534 Trc 04110 Option 'keep-startup-file' has been set to the value 'no'

^C

ConnCleanup: 7.5.000.33 C2
0) fd=3 SERVER: 0.0.0.0:0 connected q--x-r
Timers created  1652
Timers deleted  3
Invalid timers  0
Conn created    3
Conn accepted  0
Conn connected  2
Conn exceptions 0
Conn closed    2
Conn deleted    2
Conn balance    1
Errors          0
blum:/gcti/ocs_761_p$ [/code]

The configuration of the application is [i]practically[/i] the same (as in 7.1)

Thx

Offline ecki

  • Sr. Member
  • ****
  • Posts: 329
  • Karma: 8
Re: OCS 7.61 does not start
« Reply #1 on: September 29, 2009, 09:43:20 AM »
Hi,

What does it mean "is stail"? What are you expecting to happen?

E.

Offline bogdan

  • Jr. Member
  • **
  • Posts: 94
  • Karma: 0
Re: OCS 7.61 does not start
« Reply #2 on: September 29, 2009, 09:50:25 AM »
For example if start it from SCI I get "SCS002 Unable to start the Application ocs_761_p with configured timeout."

In the other hand, if started succesfully I should see messages from TServer in logs, something like this (snipp from ocs_7.1 log - which is up and running):

[quote]received from 65200(buc_tserver_p_760)blum.crm.mycompany.intra:3200(fd=11) message EventPrivateInfo
       AttributeUserEvent      EventPrivateInfo
       AttributeReferenceID    4294967295
       AttributeCustomerID     'Resources'
       AttributeConnID 014f01ab8d280cd2
       AttributeCallState      19
       AttributeThisDN 'vq_buc_cs_rl_business'
       AttributeThisQueue      'vq_buc_cs_rl_business'
       AttributeExtensions     [100] 00 04 00 00..
               'SIGNATURE'     'router'
               'NAME'  'urs_server2_p'
               'VERSION'       'Version: 7.2.001.10'
               'CLUSTER'       'urs_server2_p'
       AttributePrivateMsgID   20004
       AttributeTimeinSecs     1254217464 (12:44:24)
       AttributeTimeinuSecs    979969
       attr_#148       00000000029cc3ee[/quote]


Sorry, I meant "stale" :P

And here is my cfg for the OCS:
[code][log-filter]
default-filter-type=copy

[license]
license-file=7260@calypso:7260@agnes
num-of-licenses=1

[OCServer]
outbound_answer_action=soft_answer
outbound_release_action=soft_previous
agent_preview_mode_start=true
call_wait_connected_timeout=30
call_wait_original_establish_timeout=4
call_wait_in_queue_timeout=30
call_wait_agent_connected_timeout=6
call_transfer_type=one_step
stale_clean_timeout=30
record_save_intermediate_results=true
engaged_release_action=soft_previous
call_timeguard_timout=5000
check_dnc_call=true
desktop_version=6
inbound_answer_action=soft_answer
inbound_release_action=soft_call_work
internal_answer_action=soft_answer
internal_release_action=soft_previous
login_action=soft_not_ready
login_ignore_queue=true
min_record_buf_size=0
ocs_group=true
opt_record_buf_size=0
stale_clean_interval=15
predictive_callback=false
record_processed=false
call_answer_type_recognition=full_positive_am_detection
management-port=5205

[log]
all=/gcti/logs/ocs_761_p/ocs_p
buffering=yes
debug=
expire=20
interaction=
messagefile=OCServer.lms
segment=10000
standard=network
trace=
verbose=all[/code]
« Last Edit: September 29, 2009, 10:10:04 AM by mielu »

Offline Steve

  • Sr. Member
  • ****
  • Posts: 298
  • Karma: 11
Re: OCS 7.61 does not start
« Reply #3 on: September 29, 2009, 10:27:47 AM »
Can you start it, in a command window on the server?

How did you create the first log extract? It seems to be starting OK until the ctrl-C which obviously stops it.

Offline bogdan

  • Jr. Member
  • **
  • Posts: 94
  • Karma: 0
Re: OCS 7.61 does not start
« Reply #4 on: September 29, 2009, 11:01:24 AM »
the first snipp of code from my first post shows output generated when started manually. That's my question, why it remains like this and no nothing ???

Offline ecki

  • Sr. Member
  • ****
  • Posts: 329
  • Karma: 8
Re: OCS 7.61 does not start
« Reply #5 on: September 29, 2009, 11:49:08 AM »
Does it happen always you start it? And does it end always on the same spot?

Offline ecki

  • Sr. Member
  • ****
  • Posts: 329
  • Karma: 8
Re: OCS 7.61 does not start
« Reply #6 on: September 29, 2009, 11:53:00 AM »
Could you just for sure redirect the log output to file?

Offline bogdan

  • Jr. Member
  • **
  • Posts: 94
  • Karma: 0
Re: OCS 7.61 does not start
« Reply #7 on: September 29, 2009, 11:59:45 AM »
[quote]-rw-r-----   1 genesys    genesys       1707 Sep 29 14:57 ocs_p.20090929_143542_792.log
blum:/gcti/logs/ocs_761_p$ cat ocs_p.20090929_143542_792.log
Application name: ocs_761_p
Application type: OCServer (12)
Command line:     ./cmserver -host calypso.crm.mycompany.intra -port 2020 -app ocs_761_p -l 7260@calypso.crm.mycompany.intra
Host name:        blum
DST:              TZ = 1, timeb = 1
Time zone:        -7200, EET, EETDST
UTC time:         2009-09-29T11:35:42.889
Local time:       2009-09-29T14:35:42.889
Start time (UTC): 2009-09-29T11:35:40
Running time:     0:00:00:02
Host info:        HP-UX, blum, B.11.11, U, 9000/800
File:             (1) /gcti/logs/ocs_761_p/ocs_p.20090929_143542_792.log

14:35:42.889 Trc 04112 The Log Output of type '/gcti/logs/ocs_761_p/ocs_p' has been created and opened
14:35:42.891 Std 04503 Connected to Message server '' at host 'calypso.crm.mycompany.intra', port 3005
Get New CfgObject: CfgDeltaAgentGroup=deltaGroupInfo=deltaGroup=DBID=828tenantDBID=0name=NILmanagerDBIDs=NILrouteDNDBIDs=NILcapacityTableDBID=0quotaTableDBID=0state=0userProperties=NILcapacityRuleDBID=0siteDBID=0contractDBID=0deletedManagerDBIDs=NILdeletedRouteDNDBIDs=NILdeletedUserProperties=NILchangedUserProperties=NILdeletedAgentDBIDs=818addedAgentDBIDs=NIL
Get New CfgObject: CfgDeltaCampaign=deltaCampaign=DBID=112tenantDBID=0name=NILdescription=NILcallingLists=callingListDBID=108share=10isActive=2campaignGroups=NILscriptDBID=0state=0userProperties=NILdeletedCallingListDBIDs=07changedCallingLists=NILdeletedCampaignGroupDBIDs=NILchangedCampaignGroups=NILdeletedUserProperties=NILchangedUserProperties=NIL

User Break, EXITing...                <------- here is my ^C
LCA g_shutdown_app callback
14:57:54.885 Std 60001 OCS is exiting...
14:57:54.885 Std 05063 Normal termination
14:57:55.065 Trc 04109 Logging service stopped
blum:/gcti/logs/ocs_761_p$ [/quote]


PS verbose=all
« Last Edit: September 29, 2009, 12:04:54 PM by mielu »

Offline ecki

  • Sr. Member
  • ****
  • Posts: 329
  • Karma: 8
Re: OCS 7.61 does not start
« Reply #8 on: September 29, 2009, 01:16:53 PM »
So then, what about configuration in CME? Conections? All fine? Can you restart the ocs so we have in log all config details?

Out of the topic question. Do you really have setup for all other log levels "no" ?
« Last Edit: September 29, 2009, 01:18:49 PM by ecki »

Offline bogdan

  • Jr. Member
  • **
  • Posts: 94
  • Karma: 0
Re: OCS 7.61 does not start
« Reply #9 on: September 29, 2009, 01:27:29 PM »
Connection are identical (tserver, message_server and CPD).

As for debug level, I really don't care at this stage :P until will work properly i will keep it on "all"  ;D - Now I even don't know why am I laughing here - I'm starting to get crazy


I've also looked at the lca, but I cannot see the difference between 7.1 and 7.6...(ocs started from sci):
[quote]sc_server_p: 16:33:49 [RequestStartApplication, DBID=343]start_application(343,'ocs_761_p')
        workDir='/gcti/ocs_761_p/'
        cmdLine='./cmserver'
        cmdParams='-l "7260@calypso:7260@agnes" -app "ocs_761_p" -host calypso.crm.mycompany.intra -port 2020'
arg[0]=./cmserver
arg[1]=-l
arg[2]=7260@calypso:7260@agnes
arg[3]=-app
arg[4]=ocs_761_p
arg[5]=-host
arg[6]=calypso.crm.mycompany.intra
arg[7]=-port
arg[8]=2020
CREATE Application <343, ocs_761_p, pid=14448, socket=-1, confserv=calypso.crm.mycompany.intra:2020>.
16:33:49 DEBUG: SetSetCheckStartupTimer #719323141 on 90 sec.
Notify STATUS: App<343, ocs_761_p, pid=14448, APP_STATUS_START_PENDING,      .
sc_server_p: 16:33:57 [RequestExecuteXRequest]
X2Request processed.
sc_server_p: 16:34:27 [RequestExecuteXRequest]
X2Request processed.
sc_server_p: 16:34:57 [RequestExecuteXRequest]
X2Request processed.
WARNING: Startup timeout (90 sec) for App<343, ocs_761_p, pid=14448> EXPIRED, trying STOP it.
*** Process 14448 has been killed ***
Notify STATUS: App<343, ocs_761_p, pid=14448, APP_STATUS_STOPPED,      .
~Application<14448, ocs_761_p>

Process=14448 <343,'ocs_761_p'> Terminated with error='unknown error'
Child 14448 terminated normally, return status is 0
[/quote]
« Last Edit: September 29, 2009, 01:41:30 PM by mielu »

Offline ecki

  • Sr. Member
  • ****
  • Posts: 329
  • Karma: 8
Re: OCS 7.61 does not start
« Reply #10 on: September 29, 2009, 03:14:08 PM »
Could you switch off buffering, restart the ocs and post the log here again?

Offline cavagnaro

  • Administrator
  • Hero Member
  • *****
  • Posts: 7636
  • Karma: 56330
Re: OCS 7.61 does not start
« Reply #11 on: September 29, 2009, 04:05:55 PM »
If I'm not wrong OCS 7.6 needs a level of cfgserver, as DB structure changed in 7.6 it also reads another tables that in 7.1 were not declared as needed by this new version. Go for OCS 7.5 if you can't go to cfgserver 7.6

Offline ecki

  • Sr. Member
  • ****
  • Posts: 329
  • Karma: 8
Re: OCS 7.61 does not start
« Reply #12 on: September 29, 2009, 04:23:00 PM »
Yep, you are correct Cav.

Offline cavagnaro

  • Administrator
  • Hero Member
  • *****
  • Posts: 7636
  • Karma: 56330
Re: OCS 7.61 does not start
« Reply #13 on: September 29, 2009, 06:28:43 PM »
Gimme 5! lol  ;D
Lets wait for his feedback...  :)

Offline bogdan

  • Jr. Member
  • **
  • Posts: 94
  • Karma: 0
Re: OCS 7.61 does not start
« Reply #14 on: September 30, 2009, 09:51:19 AM »
You're all right, and I'm just a stupid moron for not checking the compatibility matrix :-[
The future is dark for me, cause I have to upgrade the framework as 7.1(currently) -> 7.2 -> 7.5 -> 7.6 ... and it seems I can't skipp any stage :'(

Best regards
« Last Edit: September 30, 2009, 09:53:53 AM by mielu »