Genesys CTI User Forum

Genesys CTI User Forum => Genesys CTI Technical Discussion => Topic started by: Filippe on January 12, 2015, 01:37:07 PM

Title: UCS wont start (LINUX)
Post by: Filippe on January 12, 2015, 01:37:07 PM


Hi everybody!!
We have a trouble with UCS that cannot be started!

We are using:
- Linux Red Hat 6.6
- UCS 8.1.4
- JAVA 1.6.0_45

And the variable [b]GES[/b] are configured correctly!

I tried to find what means [b]"IOException occured when loading file 'lg.cfg' "[/b] but i dont have Idea!

the complete log are here:


[genuraadm@VVCELDURDES03 ucs_hom_p]$ ./run.sh
[err] Application init failed: Could not instantiate ContactServer Runtime :[b] IOException occured when loading file 'lg.cfg' :VVCELDURDES03.localdomain: VVCELDURDES03.localdomain
java.lang.RuntimeException: Could not instantiate ContactServer Runtime : IOException occured when loading file 'lg.cfg' :VVCELDURDES03.localdomain: VVCELDURDES03.localdomain[/b]
        at com.genesyslab.icc.util.Server.initLoggerFactory(Server.java:589)
        at com.genesyslab.icc.contactserver.ContactServerEngine.initInstance(ContactServerEngine.java:391)
        at com.genesyslab.icc.contactserver.ContactServerEngine$4.run(ContactServerEngine.java:1345)
        at java.lang.Thread.run(Unknown Source)
Abnormal server exit, code:-1
[genuraadm@VVCELDURDES03 ucs_hom_p]$


Thankx !!!!!
Title: Re: UCS wont start (LINUX)
Post by: genesysnoob on January 12, 2015, 05:03:25 PM
in the security tab of UCS
did you select "this account" and select account "default", i think a new user has to be created with name default
Title: Re: UCS wont start (LINUX)
Post by: Filippe on January 12, 2015, 05:21:18 PM
Yes "this account" is with Default user!!
it is weird, because i don`t have a clue what means "lg.cfg", in genesys documentation and articles in web site, dont have anything about it!
But Thanks for the reply!
Title: Re: UCS wont start (LINUX)
Post by: cavagnaro on January 12, 2015, 05:53:55 PM
Have you tried a previous version maybe to discard an issue with the installer?
Title: Re: UCS wont start (LINUX)
Post by: genesysnoob on January 12, 2015, 06:10:50 PM
[quote author=filippe_macedo link=topic=8664.msg38349#msg38349 date=1421083278]
Yes "this account" is with Default user!!
it is weird, because i don`t have a clue what means "lg.cfg", in genesys documentation and articles in web site, dont have anything about it!
But Thanks for the reply!
[/quote]
lg.cfg seems like it refers to linux OS
i did a google search
Title: Re: UCS wont start (LINUX)
Post by: Filippe on January 12, 2015, 06:31:54 PM
cavagnaro, Yes, we started installing the 8.5 version but we realised that this version is not supported(yet), so we tried to install 8.1.4 and got the same error!!
it is funny because we have two environments (both with the same configuration)and in the fist one that we installed works perfectly!!

genesysnoob, we tried to google it but nothing helped us!

we also runned the command [b]chmod -R 777[/b] in all UCS folders, GCTI, JAVA and so on... but the issue continues.

any ideia!?

Thanks again!!!
Title: Re: UCS wont start (LINUX)
Post by: genesysnoob on January 12, 2015, 06:37:11 PM
[quote author=filippe_macedo link=topic=8664.msg38352#msg38352 date=1421087514]
cavagnaro, Yes, we started installing the 8.5 version but we realised that this version is not supported(yet), so we tried to install 8.1.4 and got the same error!!
it is funny because we have two environments (both with the same configuration)and in the fist one that we installed works perfectly!!

genesysnoob, we tried to google it but nothing helped us!

we also runned the command [b]chmod -R 777[/b] in all UCS folders, GCTI, JAVA and so on... but the issue continues.

any ideia!?

Thanks again!!!
[/quote]

Just out of curiosity
have you checked the cview options and compared it to the working one
Are both the servers are Linux and same version?
Have you touch based with Linux admin in your company and asked them to look into lf.cgf file
Does the Java home variable set on the Linux host?
Title: Re: UCS wont start (LINUX)
Post by: Filippe on January 12, 2015, 06:51:36 PM
Q:have you checked the cview options and compared it to the working one
A: yes, and are the same!

Q:Are both the servers are Linux and same version?
A: yes the same! RedHat 6.6 codname santiago

Q:Have you touch based with Linux admin in your company and asked them to look into lf.cgf file
A: No, those linux serves are at customer responsibility.
What should be checked into this file as I can ask the customer?

About the java, we set correctly JAVA_HOME (AND GES_HOME_810)
[b]JAVA_HOME= /usr/java/jre1.6.0_45/bin
GES_HOME_801= /GCTI[/b]

Thanks!
Title: Re: UCS wont start (LINUX)
Post by: genesysnoob on January 12, 2015, 06:58:50 PM
[quote author=filippe_macedo link=topic=8664.msg38354#msg38354 date=1421088696]
Q:have you checked the cview options and compared it to the working one
A: yes, and are the same!

Q:Are both the servers are Linux and same version?
A: yes the same! RedHat 6.6 codname santiago

Q:Have you touch based with Linux admin in your company and asked them to look into lf.cgf file
A: No, those linux serves are at customer responsibility.
What should be checked into this file as I can ask the customer?

About the java, we set correctly JAVA_HOME (AND GES_HOME_810)
[b]JAVA_HOME= /usr/java/jre1.6.0_45/bin
GES_HOME_801= /GCTI[/b]

Thanks!
[/quote]

Few more
1) While installing UCS have you used the same level of access Credentails as of the last one
2) I heard there will be some kind of permissions need to be set for the user profile ( above user while installing)
Title: Re: UCS wont start (LINUX)
Post by: Filippe on January 12, 2015, 07:04:22 PM
[quote author=genesysnoob link=topic=8664.msg38355#msg38355 date=1421089130]
[quote author=filippe_macedo link=topic=8664.msg38354#msg38354 date=1421088696]
Q:have you checked the cview options and compared it to the working one
A: yes, and are the same!

Q:Are both the servers are Linux and same version?
A: yes the same! RedHat 6.6 codname santiago

Q:Have you touch based with Linux admin in your company and asked them to look into lf.cgf file
A: No, those linux serves are at customer responsibility.
What should be checked into this file as I can ask the customer?

About the java, we set correctly JAVA_HOME (AND GES_HOME_810)
[b]JAVA_HOME= /usr/java/jre1.6.0_45/bin
GES_HOME_801= /GCTI[/b]

Thanks!
[/quote]

Few more
1) While installing UCS have you used the same level of access Credentails as of the last one
2) I heard there will be some kind of permissions need to be set for the user profile ( above user while installing)
[/quote]

1) Yes the same!
2)This servers are the exactly the same (a copy one of another)

All configuration of the servers are exactly the same!!!!


Title: Re: UCS wont start (LINUX)
Post by: genesysnoob on January 12, 2015, 07:07:33 PM
[quote author=filippe_macedo link=topic=8664.msg38356#msg38356 date=1421089462]
[quote author=genesysnoob link=topic=8664.msg38355#msg38355 date=1421089130]
[quote author=filippe_macedo link=topic=8664.msg38354#msg38354 date=1421088696]
Q:have you checked the cview options and compared it to the working one
A: yes, and are the same!

Q:Are both the servers are Linux and same version?
A: yes the same! RedHat 6.6 codname santiago

Q:Have you touch based with Linux admin in your company and asked them to look into lf.cgf file
A: No, those linux serves are at customer responsibility.
What should be checked into this file as I can ask the customer?

About the java, we set correctly JAVA_HOME (AND GES_HOME_810)
[b]JAVA_HOME= /usr/java/jre1.6.0_45/bin
GES_HOME_801= /GCTI[/b]

Thanks!
[/quote]

Few more
1) While installing UCS have you used the same level of access Credentails as of the last one
2) I heard there will be some kind of permissions need to be set for the user profile ( above user while installing)
[/quote]

1) Yes the same!
2)This servers are the exactly the same (a copy one of another)

All configuration of the servers are exactly the same!!!!
[/quote]

Can you search for that file and see thats inside it - lg.cfg

linux command: find -name "lg.cfg"
Title: Re: UCS wont start (LINUX)
Post by: Filippe on January 12, 2015, 07:13:14 PM
On both servers we cannot find this lg.cfg!
we tried to find on both !!

just for curiosity, i have ran [b]echo $lg.cfg[/b] and i got as [b]return .cfg [/b]so maybe this (lg.cfg is not a file, maybe a environment variable) who knows!!??????? ::)
Title: Re: UCS wont start (LINUX)
Post by: genesysnoob on January 12, 2015, 07:32:40 PM
[quote author=filippe_macedo link=topic=8664.msg38358#msg38358 date=1421089994]
On both servers we cannot find this lg.cfg!
we tried to find on both !!

just for curiosity, i have ran [b]echo $lg.cfg[/b] and i got as [b]return .cfg [/b]so maybe this (lg.cfg is not a file, maybe a environment variable) who knows!!??????? ::)
[/quote]
Reach out to Linux team may be they will help on that file
Title: Re: UCS wont start (LINUX)
Post by: Filippe on January 12, 2015, 09:12:06 PM
Thanks for your time!!!!!!
:)
Title: Re: UCS wont start (LINUX)
Post by: Kubig on January 13, 2015, 09:21:55 AM
It is some "mis-configuration" on Linux OS, I guess. Which OS and exactly version are you using? Are there any other "non-standard" binaries or packages on that server/OS? I have installed eServices version 8.1.x and 8.5 for several times and never have encountered similiar error/issue. So, that points to the issue on OS level or at some UCS<->OS relation.
Title: Re: UCS wont start (LINUX)
Post by: Filippe on January 13, 2015, 12:12:42 PM
It is the first time that happens with me as well!
but we will try to find the solution!
FOR SURE IT WILL BE WORK!!  ;)

when I get it I wil post here!!!!
Title: Re: UCS wont start (LINUX)
Post by: Filippe on January 13, 2015, 12:37:38 PM
I Think that the people here helped me a lot!!!
to arrive in this conclusion I received help of some people from here!

And of course, here in this Post have the version of OS!

But thanks!  ;)
Title: Re: UCS wont start (LINUX)
Post by: genesysnoob on January 14, 2015, 08:38:45 PM
[quote author=filippe_macedo link=topic=8664.msg38383#msg38383 date=1421152658]
I Think that the people here helped me a lot!!!
to arrive in this conclusion I received help of some people from here!

And of course, here in this Post have the version of OS!

But thanks!  ;)
[/quote]
Did it Work?
Title: Re: UCS wont start (LINUX)
Post by: Filippe on January 15, 2015, 01:12:14 PM
Hi !!

Not yet !!! :(
I tried to do some changes but did not work!!

For now, Im getting focus in other troubles  ;)

But soon We will try again!!
thanx!
Title: Re: UCS wont start (LINUX)
Post by: Grand_Master on January 29, 2015, 01:20:28 AM
What's in run.sh?