since 0.1.5 riemann does not accept a full path to the config file, only relative #127

Closed
dch opened this Issue Jan 23, 2013 · 0 comments

Comments

Projects
None yet
2 participants
Contributor

dch commented Jan 23, 2013

During lein run -- /usr/local/etc/riemann.config this error occurs on master:

Compiling 2 source files to /zfs/shared/repos/riemann/core/target/classes
INFO [2013-01-23 22:48:53,606] main - riemann.bin - PID 30727@akai
ERROR [2013-01-23 22:48:53,612] main - riemann.bin - Couldn't start java.lang.
IllegalArgumentException: /usr/local/etc/riemann.config is not a relative path
    at clojure.java.io$as_relative_path.invoke(io.clj:404)
    at clojure.java.io$file.invoke(io.clj:415)
    at riemann.config$include.invoke(config.clj:180)
    at riemann.bin$_main.doInvoke(bin.clj:51)
    at clojure.lang.RestFn.invoke(RestFn.java:408)
    at clojure.lang.Var.invoke(Var.java:415)
    at user$eval23.invoke(NO_SOURCE_FILE:1)
    at clojure.lang.Compiler.eval(Compiler.java:6511)
    at clojure.lang.Compiler.eval(Compiler.java:6501)
    at clojure.lang.Compiler.eval(Compiler.java:6477)
    at clojure.core$eval.invoke(core.clj:2797)
    at clojure.main$eval_opt.invoke(main.clj:297)
    at clojure.main$initialize.invoke(main.clj:316)
    at clojure.main$null_opt.invoke(main.clj:349)
    at clojure.main$main.doInvoke(main.clj:427)
    at clojure.lang.RestFn.invoke(RestFn.java:421)
    at clojure.lang.Var.invoke(Var.java:419)
    at clojure.lang.AFn.applyToHelper(AFn.java:163)
    at clojure.lang.Var.applyTo(Var.java:532)
    at clojure.main.main(main.java:37)

workaround: use a symlink that points to the full path.

aphyr closed this in 32c581c Jan 25, 2013

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment