Starting DSHub as a Cron job

Bug #309363 reported by Toast
0
Affects Status Importance Assigned to Milestone
DSHub
New
Undecided
Unassigned

Bug Description

Current found country : en_US
Defaulting to en_US language.
Initializing DSHub Kappa ...
log4j:ERROR setFile(null,true) call failed.
java.io.FileNotFoundException: ./log/log4j.log (Permission denied)
 at java.io.FileOutputStream.openAppend(Native Method)
 at java.io.FileOutputStream.<init>(FileOutputStream.java:177)
 at java.io.FileOutputStream.<init>(FileOutputStream.java:102)
 at org.apache.log4j.FileAppender.setFile(FileAppender.java:289)
 at org.apache.log4j.RollingFileAppender.setFile(RollingFileAppender.java:167)
 at org.apache.log4j.FileAppender.activateOptions(FileAppender.java:163)
 at org.apache.log4j.config.PropertySetter.activate(PropertySetter.java:256)
 at org.apache.log4j.config.PropertySetter.setProperties(PropertySetter.java:132)
 at org.apache.log4j.config.PropertySetter.setProperties(PropertySetter.java:96)
 at org.apache.log4j.PropertyConfigurator.parseAppender(PropertyConfigurator.java:654)
 at org.apache.log4j.PropertyConfigurator.parseCategory(PropertyConfigurator.java:612)
 at org.apache.log4j.PropertyConfigurator.configureRootCategory(PropertyConfigurator.java:509)
 at org.apache.log4j.PropertyConfigurator.doConfigure(PropertyConfigurator.java:415)
 at org.apache.log4j.PropertyConfigurator.doConfigure(PropertyConfigurator.java:441)
 at org.apache.log4j.helpers.OptionConverter.selectAndConfigure(OptionConverter.java:470)
 at org.apache.log4j.LogManager.<clinit>(LogManager.java:122)
 at org.apache.log4j.PropertyConfigurator.configure(PropertyConfigurator.java:336)
 at dshub.HubServer.<init>(Unknown Source)
 at dshub.Main.main(Unknown Source)
log4j:ERROR setFile(null,true) call failed.
java.io.FileNotFoundException: ./log/log4j.log (Permission denied)
 at java.io.FileOutputStream.openAppend(Native Method)
 at java.io.FileOutputStream.<init>(FileOutputStream.java:177)
 at java.io.FileOutputStream.<init>(FileOutputStream.java:102)
 at org.apache.log4j.FileAppender.setFile(FileAppender.java:289)
 at org.apache.log4j.RollingFileAppender.setFile(RollingFileAppender.java:167)
 at org.apache.log4j.FileAppender.activateOptions(FileAppender.java:163)
 at org.apache.log4j.config.PropertySetter.activate(PropertySetter.java:256)
 at org.apache.log4j.config.PropertySetter.setProperties(PropertySetter.java:132)
 at org.apache.log4j.config.PropertySetter.setProperties(PropertySetter.java:96)
 at org.apache.log4j.PropertyConfigurator.parseAppender(PropertyConfigurator.java:654)
 at org.apache.log4j.PropertyConfigurator.parseCategory(PropertyConfigurator.java:612)
 at org.apache.log4j.PropertyConfigurator.configureRootCategory(PropertyConfigurator.java:509)
 at org.apache.log4j.PropertyConfigurator.doConfigure(PropertyConfigurator.java:415)
 at org.apache.log4j.PropertyConfigurator.doConfigure(PropertyConfigurator.java:441)
 at org.apache.log4j.PropertyConfigurator.configure(PropertyConfigurator.java:336)
 at dshub.HubServer.<init>(Unknown Source)
 at dshub.Main.main(Unknown Source)
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
Done.
Parsing to Command Mode.Help for info,quit to quit.
Betahelper Loaded...
Lookup Plugin Loaded...
RSS Feed Plugin Loaded...
Server created. Listening on ports: 411 .
Start Time:Thu Dec 18 16:32:12 CET 2008

Revision history for this message
Pietry (pietry) wrote :

java.io.FileNotFoundException: ./log/log4j.log (Permission denied)
Permission denied usually means you dont have rights to read etc, perhaps try chmod 777 on the file and see if the exception happens again, or see who's the owner of the file

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.