By: Naveen Kottapalli user 05 Mar 2015 at 11:30 p.m. CST

4 Responses
Naveen Kottapalli gravatar
Hey! Am facing trouble in opening the home page after fresh installation. Below is the log seen in setup.log. **17:55:34 03/04/15 log4j:ERROR setFile(null,true) call failed. java.io.FileNotFoundException: /logs/oxauth_persistence_ldap_statistics.log (No such file or directory) at java.io.FileOutputStream.open(Native Method) at java.io.FileOutputStream.<init>(FileOutputStream.java:221) at java.io.FileOutputStream.<init>(FileOutputStream.java:142) at org.apache.log4j.FileAppender.setFile(FileAppender.java:289) at org.apache.log4j.FileAppender.activateOptions(FileAppender.java:163) at org.apache.log4j.DailyRollingFileAppender.activateOptions(DailyRollingFileAppender.java:215) at org.apache.log4j.config.PropertySetter.activate(PropertySetter.java:256) at org.apache.log4j.xml.DOMConfigurator.parseAppender(DOMConfigurator.java:220) at org.apache.log4j.xml.DOMConfigurator.findAppenderByName(DOMConfigurator.java:150) at org.apache.log4j.xml.DOMConfigurator.findAppenderByReference(DOMConfigurator.java:163) at org.apache.log4j.xml.DOMConfigurator.parseChildrenOfLoggerElement(DOMConfigurator.java:425) at org.apache.log4j.xml.DOMConfigurator.parseCategory(DOMConfigurator.java:345) at org.apache.log4j.xml.DOMConfigurator.parse(DOMConfigurator.java:827) at org.apache.log4j.xml.DOMConfigurator.doConfigure(DOMConfigurator.java:712) at org.apache.log4j.xml.DOMConfigurator.doConfigure(DOMConfigurator.java:618) at org.apache.log4j.helpers.OptionConverter.selectAndConfigure(OptionConverter.java:470) at org.apache.log4j.LogManager.<clinit>(LogManager.java:122) at org.apache.log4j.Logger.getLogger(Logger.java:117) at org.xdi.oxauth.model.util.JwtUtil.<clinit>(JwtUtil.java:84) at org.xdi.oxauth.model.crypto.signature.RSAPrivateKey.toJSONObject(RSAPrivateKey.java:57) at org.xdi.oxauth.model.crypto.Key.toJSONObject(Key.java:112) at org.xdi.oxauth.util.KeyGenerator.generateRS256Keys(KeyGenerator.java:54) at org.xdi.oxauth.util.KeyGenerator.main(KeyGenerator.java:26) log4j:ERROR Either File or DatePattern options are not set for appender [OX_PERSISTENCE_LDAP_STATISTICS_FILE]. log4j:ERROR setFile(null,true) call failed. java.io.FileNotFoundException: /logs/oxauth.log (No such file or directory) at java.io.FileOutputStream.open(Native Method) at java.io.FileOutputStream.<init>(FileOutputStream.java:221) at java.io.FileOutputStream.<init>(FileOutputStream.java:142) at org.apache.log4j.FileAppender.setFile(FileAppender.java:289) at org.apache.log4j.FileAppender.activateOptions(FileAppender.java:163) at org.apache.log4j.DailyRollingFileAppender.activateOptions(DailyRollingFileAppender.java:215) at org.apache.log4j.config.PropertySetter.activate(PropertySetter.java:256) at org.apache.log4j.xml.DOMConfigurator.parseAppender(DOMConfigurator.java:220) at org.apache.log4j.xml.DOMConfigurator.findAppenderByName(DOMConfigurator.java:150) at org.apache.log4j.xml.DOMConfigurator.findAppenderByReference(DOMConfigurator.java:163) at org.apache.log4j.xml.DOMConfigurator.parseChildrenOfLoggerElement(DOMConfigurator.java:425) at org.apache.log4j.xml.DOMConfigurator.parseRoot(DOMConfigurator.java:394) at org.apache.log4j.xml.DOMConfigurator.parse(DOMConfigurator.java:829) at org.apache.log4j.xml.DOMConfigurator.doConfigure(DOMConfigurator.java:712) at org.apache.log4j.xml.DOMConfigurator.doConfigure(DOMConfigurator.java:618) at org.apache.log4j.helpers.OptionConverter.selectAndConfigure(OptionConverter.java:470) at org.apache.log4j.LogManager.<clinit>(LogManager.java:122) at org.apache.log4j.Logger.getLogger(Logger.java:117) at org.xdi.oxauth.model.util.JwtUtil.<clinit>(JwtUtil.java:84) at org.xdi.oxauth.model.crypto.signature.RSAPrivateKey.toJSONObject(RSAPrivateKey.java:57) at org.xdi.oxauth.model.crypto.Key.toJSONObject(Key.java:112) at org.xdi.oxauth.util.KeyGenerator.generateRS256Keys(KeyGenerator.java:54) at org.xdi.oxauth.util.KeyGenerator.main(KeyGenerator.java:26) log4j:ERROR Either File or DatePattern options are not set for appender [FILE]. 17:55:40 03/04/15 Unable to initialize log java.io.IOException: Permission denied at java.io.UnixFileSystem.createFileExclusively(Native Method) at java.io.File.createNewFile(File.java:1006) at java.io.File.createTempFile(File.java:1989) at java.io.File.createTempFile(File.java:2040) at org.opends.quicksetup.installer.SetupLauncher.main(SetupLauncher.java:68) Unable to initialize log java.io.IOException: Permission denied at java.io.UnixFileSystem.createFileExclusively(Native Method) at java.io.File.createNewFile(File.java:1006) at java.io.File.createTempFile(File.java:1989) at java.io.File.createTempFile(File.java:2040) at org.opends.server.tools.InstallDS.mainCLI(InstallDS.java:331) at org.opends.server.tools.InstallDS.mainCLI(InstallDS.java:286) at org.opends.quicksetup.installer.SetupLauncher.launch(SetupLauncher.java:138) at org.opends.quicksetup.installer.SetupLauncher.main(SetupLauncher.java:75) Mar 04, 2015 5:55:40 PM org.opends.quicksetup.Installation setRootDirectory INFO: build info for opendj: Gluu-OpenDJ 2.6.0 (Build ID: 20141124175311Z) Mar 04, 2015 5:55:40 PM org.opends.quicksetup.Installation setInstanceDirectory INFO: build info for .: Gluu-OpenDJ 2.6.0 (Build ID: 20141124175311Z) Server Already Configured setup command-line can only be used with servers that have not yet been configured. The current server: - Is currently running on port 1389 - Contains data - Has already been configured 17:55:44 03/04/15 Unable to connect to the server at "localhost" on port 4444 17:55:47 03/04/15 Unable to connect to the server at "localhost" on port 4444 17:55:48 03/04/15 Unable to connect to the server at "localhost" on port 4444 17:55:50 03/04/15 Unable to connect to the server at "localhost" on port 4444 17:55:53 03/04/15 Unable to connect to the server at "localhost" on port 4444 17:55:55 03/04/15 Unable to connect to the server at "localhost" on port 4444 17:55:57 03/04/15 Unable to connect to the server at "localhost" on port 4444 17:55:59 03/04/15 Unable to connect to the server at "localhost" on port 4444 17:56:01 03/04/15 Unable to connect to the server at "localhost" on port 4444 17:56:03 03/04/15 Unable to connect to the server at "localhost" on port 4444 17:56:07 03/04/15 You have provided options for scheduling this operation as a task but options provided for connecting to the server's tasks backend resulted in the following error: 'The simple bind attempt failed' ... 17:57:37 03/04/15 /bin/chmod: cannot access `/opt/apache-tomcat-7.0.55/webapps/*': No such file or directory** Operating System details: ------------------------- GLUU.[root@ce community-edition-setup]# uname -a Linux ce.gluu.info 2.6.32-431.el6.x86_64 #1 SMP Fri Nov 22 03:15:09 UTC 2013 x86_64 x86_64 x86_64 GNU/Linux GLUU.[root@ce community-edition-setup]# Can anyone please tell what could be wrong? Thanks & Regards, Naveen

By Naveen Kottapalli user 05 Mar 2015 at 11:44 p.m. CST

Naveen Kottapalli gravatar
I was browsing through some other ticket with similar problem and found that the following ports are open and listening. [root@naveencentos65 etc]# netstat -apn | grep 443 tcp 0 0 192.168.64.153:443 0.0.0.0:* LISTEN 10296/httpd tcp 0 0 :::8443 :::* LISTEN 57003/java unix 2 [ ACC ] STREAM LISTENING 9992883 44376/gnome-keyring /tmp/keyring-YTGTDs/socket unix 3 [ ] STREAM CONNECTED 9992966 44381/pam unix 3 [ ] STREAM CONNECTED 9992962 44381/pam unix 3 [ ] STREAM CONNECTED 34430 21663/gnome-termina /tmp/orbit-nkottapalli/linc-549f-0-2ba665442aff8 unix 3 [ ] STREAM CONNECTED 15981 4431/rtkit-daemon unix 2 [ ] DGRAM 15980 4431/rtkit-daemon [root@naveencentos65 etc]# netstat -apn | grep "\<80\>" tcp 0 0 192.168.64.153:80 0.0.0.0:* LISTEN 10296/httpd tcp 0 0 192.168.64.150:58795 173.194.122.6:80 ESTABLISHED 10104/firefox tcp 1 0 192.168.64.154:58483 125.252.226.104:80 CLOSE_WAIT 20938/clock-applet

By Mohib Zico Account Admin 06 Mar 2015 at 2:44 a.m. CST

Mohib Zico gravatar
Hi Naveen, Which version of CE you are using?

By Naveen Kottapalli user 06 Mar 2015 at 2:49 a.m. CST

Naveen Kottapalli gravatar
<p>Thanks a lot for the quick response. <p>Used the following link to download the server <p>http://repo.gluu.org/GLUU/centos/latest/base/x86_64/Packages/Gluu-Server-Repo-1.9-0.el6.x86_64.rpm <p>But the version that got installed is <p>gluu-server-2.0-0.el6.x86_64 Am not able to send any response back. I followed the steps in documentation pointed. But even then am facing this error. Can you please point me to the exact or change I need to do?

By Mohib Zico Account Admin 06 Mar 2015 at 2:54 a.m. CST

Mohib Zico gravatar
Makes sense... Better to follow the doc: http://www.gluu.org/docs/articles/gluu-server-ce/