Thanks Jochen.  It looks like root is trying to start my graylog-server.  
When I delete the server.log and then try to start the graylog-server, the 
server.log file comes back owned by root:root.

So I deleted the server.log again, made sure the graylog-server and 
graylog-web were stopped, "su graylog", and tried to start the 
graylog-server and got:


*$ start graylog-serverstart: Rejected send message, 1 matched rules; 
type="method_call", sender=":1.6" (uid=1001 pid=4001 comm="start 
graylog-server ") interface="com.ubuntu.Upstart0_6.Job" member="Start" 
error name="(unset)" requested_reply="0" destination="com.ubuntu.Upstart" 
(uid=0 pid=1 comm="/sbin/init ")*

Suggestions?


On Thursday, March 3, 2016 at 11:00:42 AM UTC-8, Clayton Tavernier wrote:
>
> I'm using this guide: 
> https://www.digitalocean.com/community/tutorials/how-to-install-graylog-1-x-on-ubuntu-14-04
>
> Everything seems to install fine but my graylog-server is constantly 
> restarting.
>
> *     Mar  3 10:27:25 logs kernel: [267313.798284] init: graylog-server 
> main process (23744) terminated with status 1*
> *     Mar  3 10:27:25 logs kernel: [267313.798302] init: graylog-server 
> main process ended, respawning*
> *     Mar  3 10:27:26 logs kernel: [267314.433766] init: graylog-server 
> main process (23758) terminated with status 1*
> *     Mar  3 10:27:26 logs kernel: [267314.433775] init: graylog-server 
> main process ended, respawning*
>
> So I look in */var/log/graylog-server/server.log* and it's empty.
>
> Then I look in */var/log/upstart/graylog-server.log *and I find:
>
> *     java.io.FileNotFoundException: /var/log/graylog-server/server.log 
> (Permission denied)*
>
> And I look:
>
> *$ sudo ls -la /var/log/graylog-server*
> *total 8*
> *drwxr-xr-x  2 graylog graylog 4096 Dec  9 11:06 .*
> *drwxrwxr-x 18 syslog  syslog  4096 Mar  3 07:07 ..*
> *-rw-r--r--  1 graylog graylog    0 Dec  9 11:06 server.log*
>
> which seems right to me but I guess it's not?
>
> Any help would be appreciated.
>
>

-- 
You received this message because you are subscribed to the Google Groups 
"Graylog Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/graylog2/8908e79e-9dc2-49b6-a4d9-bee55639a33e%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to