java.io.FileNotFoundException: C:\Program Files\OpenNMS\logs\controller\controll er.log (âAâNâZâXé¬ïæö█é│éΩé▄é╡é╜üB)

The OpenNMS Issue Tracker | Masateru KUWATA | 3 years ago
  1. 0

    Dear Sirs, I am pretty new to OpenNMS and trying to install it on Windows7. First, I installed PostgreSQL9.3 and got a following message which seems implying something wrong(?); ------------------------- C:\Program Files\PostgreSQL\9.3\bin>initdb -E UTF-8 -U postgres ..\data The files belonging to this database system will be owned by user "In4S". This user must also own the server process. The database cluster will be initialized with locale "Japanese_Japan.932". initdb: could not find suitable text search configuration for locale "Japanese_Japan.932" The default text search configuration will be set to "simple". Data page checksums are disabled. initdb: directory "../data" exists but is not empty If you want to create a new database system, either remove or empty the directory "../data" or run initdb with an argument other than "../data". ------------------------------------------------------- Second, I installed OpenNMS-Windows-Installer which looks like successfully completed. Then I started "opennms.bat start". Then I tried to connect to opennms via Web, but failed. Then I typed "opennms.bat status" and got a following message; ----------------------------------------------- C:\Program Files\OpenNMS\bin>opennms status C:\Program Files\OpenNMS\bin>"C:\Program Files\Java\jdk1.7.0_45\bin\java" -Xmx51 2m -XX:MaxPermSize=256m -Dopennms.home="C:/Program Files/OpenNMS" -Djava.endorse d.dirs="$OPENNMS_HOME/lib/endorsed" -jar "C:/Program Files/OpenNMS/lib/opennms_b ootstrap.jar" status log4j:ERROR setFile(null,true) call failed. java.io.FileNotFoundException: C:\Program Files\OpenNMS\logs\controller\controll er.log (âAâNâZâXé¬ïæö█é│éΩé▄é╡é╜üB) 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:294) at org.apache.log4j.RollingFileAppender.setFile(RollingFileAppender.java :207) at org.apache.log4j.FileAppender.activateOptions(FileAppender.java:165) at org.apache.log4j.config.PropertySetter.activate(PropertySetter.java:3 07) at org.apache.log4j.config.PropertySetter.setProperties(PropertySetter.j ava:172) at org.apache.log4j.config.PropertySetter.setProperties(PropertySetter.j ava:104) at org.apache.log4j.PropertyConfigurator.parseAppender(PropertyConfigura tor.java:809) at org.apache.log4j.PropertyConfigurator.parseCategory(PropertyConfigura tor.java:735) at org.apache.log4j.PropertyConfigurator.configureRootCategory(PropertyC onfigurator.java:615) at org.apache.log4j.PropertyConfigurator.doConfigure(PropertyConfigurato r.java:502) at org.apache.log4j.PropertyConfigurator.doConfigure(PropertyConfigurato r.java:395) at org.apache.log4j.PropertyConfigurator.configure(PropertyConfigurator. java:403) at org.opennms.netmgt.vmmgr.Controller.configureLog4j(Controller.java:18 2) at org.opennms.netmgt.vmmgr.Controller.main(Controller.java:116) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl. java:57) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces sorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:606) at org.opennms.bootstrap.Bootstrap$3.run(Bootstrap.java:362) at java.lang.Thread.run(Thread.java:744) --------------------------------------------------------------- It looked like that the access to controller.log was disabled?? How can I diagnose this problem in more detail? Any suggestions and advices would be appreciated! Best Regards

    The OpenNMS Issue Tracker | 3 years ago | Masateru KUWATA
    java.io.FileNotFoundException: C:\Program Files\OpenNMS\logs\controller\controll er.log (âAâNâZâXé¬ïæö█é│éΩé▄é╡é╜üB)
  2. 0

    Dear Sirs, I am pretty new to OpenNMS and trying to install it on Windows7. First, I installed PostgreSQL9.3 and got a following message which seems implying something wrong(?); ------------------------- C:\Program Files\PostgreSQL\9.3\bin>initdb -E UTF-8 -U postgres ..\data The files belonging to this database system will be owned by user "In4S". This user must also own the server process. The database cluster will be initialized with locale "Japanese_Japan.932". initdb: could not find suitable text search configuration for locale "Japanese_Japan.932" The default text search configuration will be set to "simple". Data page checksums are disabled. initdb: directory "../data" exists but is not empty If you want to create a new database system, either remove or empty the directory "../data" or run initdb with an argument other than "../data". ------------------------------------------------------- Second, I installed OpenNMS-Windows-Installer which looks like successfully completed. Then I started "opennms.bat start". Then I tried to connect to opennms via Web, but failed. Then I typed "opennms.bat status" and got a following message; ----------------------------------------------- C:\Program Files\OpenNMS\bin>opennms status C:\Program Files\OpenNMS\bin>"C:\Program Files\Java\jdk1.7.0_45\bin\java" -Xmx51 2m -XX:MaxPermSize=256m -Dopennms.home="C:/Program Files/OpenNMS" -Djava.endorse d.dirs="$OPENNMS_HOME/lib/endorsed" -jar "C:/Program Files/OpenNMS/lib/opennms_b ootstrap.jar" status log4j:ERROR setFile(null,true) call failed. java.io.FileNotFoundException: C:\Program Files\OpenNMS\logs\controller\controll er.log (âAâNâZâXé¬ïæö█é│éΩé▄é╡é╜üB) 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:294) at org.apache.log4j.RollingFileAppender.setFile(RollingFileAppender.java :207) at org.apache.log4j.FileAppender.activateOptions(FileAppender.java:165) at org.apache.log4j.config.PropertySetter.activate(PropertySetter.java:3 07) at org.apache.log4j.config.PropertySetter.setProperties(PropertySetter.j ava:172) at org.apache.log4j.config.PropertySetter.setProperties(PropertySetter.j ava:104) at org.apache.log4j.PropertyConfigurator.parseAppender(PropertyConfigura tor.java:809) at org.apache.log4j.PropertyConfigurator.parseCategory(PropertyConfigura tor.java:735) at org.apache.log4j.PropertyConfigurator.configureRootCategory(PropertyC onfigurator.java:615) at org.apache.log4j.PropertyConfigurator.doConfigure(PropertyConfigurato r.java:502) at org.apache.log4j.PropertyConfigurator.doConfigure(PropertyConfigurato r.java:395) at org.apache.log4j.PropertyConfigurator.configure(PropertyConfigurator. java:403) at org.opennms.netmgt.vmmgr.Controller.configureLog4j(Controller.java:18 2) at org.opennms.netmgt.vmmgr.Controller.main(Controller.java:116) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl. java:57) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces sorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:606) at org.opennms.bootstrap.Bootstrap$3.run(Bootstrap.java:362) at java.lang.Thread.run(Thread.java:744) --------------------------------------------------------------- It looked like that the access to controller.log was disabled?? How can I diagnose this problem in more detail? Any suggestions and advices would be appreciated! Best Regards

    The OpenNMS Issue Tracker | 3 years ago | Masateru KUWATA
    java.io.FileNotFoundException: C:\Program Files\OpenNMS\logs\controller\controll er.log (âAâNâZâXé¬ïæö█é│éΩé▄é╡é╜üB)
  3. 0

    FileNotFoundException on startup

    GitHub | 4 years ago | skivvies
    java.io.FileNotFoundException: log.txt (Permission denied)
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    ElasticSearch pod failing to start and preventing start script from finishing

    GitHub | 2 years ago | rawlingsj
    java.io.FileNotFoundException: /data/log/elasticsearch.log (No such file or directory)
  6. 0

    CTL -Call failed error

    Google Groups | 6 years ago | ramesh
    java.io.FileNotFoundException: /home/ctier/ctl/var/logs/command.log (Permission denied)

  1. eti22 3 times, last 3 weeks ago
  2. tyson925 49 times, last 2 weeks ago
  3. MoYapro 1 times, last 1 month ago
  4. musketyr 3 times, last 1 month ago
  5. iridic 12 times, last 1 month ago
23 more registered users
72 unregistered visitors
Not finding the right solution?
Take a tour to get the most out of Samebug.

Tired of useless tips?

Automated exception search integrated into your IDE

Root Cause Analysis

  1. java.io.FileNotFoundException

    C:\Program Files\OpenNMS\logs\controller\controll er.log (âAâNâZâXé¬ïæö█é│éΩé▄é╡é╜üB)

    at java.io.FileOutputStream.open()
  2. Java RT
    FileOutputStream.<init>
    1. java.io.FileOutputStream.open(Native Method)
    2. java.io.FileOutputStream.<init>(FileOutputStream.java:221)
    3. java.io.FileOutputStream.<init>(FileOutputStream.java:142)
    3 frames
  3. Apache Log4j
    PropertyConfigurator.configure
    1. org.apache.log4j.FileAppender.setFile(FileAppender.java:294)
    2. org.apache.log4j.RollingFileAppender.setFile(RollingFileAppender.java:207)
    3. org.apache.log4j.FileAppender.activateOptions(FileAppender.java:165)
    4. org.apache.log4j.config.PropertySetter.activate(PropertySetter.java:307)
    5. org.apache.log4j.config.PropertySetter.setProperties(PropertySetter.java:172)
    6. org.apache.log4j.config.PropertySetter.setProperties(PropertySetter.java:104)
    7. org.apache.log4j.PropertyConfigurator.parseAppender(PropertyConfigurator.java:809)
    8. org.apache.log4j.PropertyConfigurator.parseCategory(PropertyConfigurator.java:735)
    9. org.apache.log4j.PropertyConfigurator.configureRootCategory(PropertyConfigurator.java:615)
    10. org.apache.log4j.PropertyConfigurator.doConfigure(PropertyConfigurator.java:502)
    11. org.apache.log4j.PropertyConfigurator.doConfigure(PropertyConfigurator.java:395)
    12. org.apache.log4j.PropertyConfigurator.configure(PropertyConfigurator.java:403)
    12 frames
  4. org.opennms.netmgt
    Controller.main
    1. org.opennms.netmgt.vmmgr.Controller.configureLog4j(Controller.java:182)
    2. org.opennms.netmgt.vmmgr.Controller.main(Controller.java:116)
    2 frames
  5. Java RT
    Method.invoke
    1. sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    2. sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
    3. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
    4. java.lang.reflect.Method.invoke(Method.java:606)
    4 frames
  6. org.opennms.bootstrap
    Bootstrap$3.run
    1. org.opennms.bootstrap.Bootstrap$3.run(Bootstrap.java:362)
    1 frame
  7. Java RT
    Thread.run
    1. java.lang.Thread.run(Thread.java:744)
    1 frame