Zookie, You had the same confusion I did after installing the packages. I didn't see any graglog2 files in /etc/init.d/, and tab-completion of the "service " command didn't list any graylog2 files either. I have since learned that the init scripts are located in "/etc/init/", which is the new way to do this with Upstart.
You can control the "graylog2-server" and "graylog2-web" services with these commands: sudo service graylog2-server restart sudo service graylog2-web restart Cheers! Tristan On Wednesday, October 1, 2014 2:49:43 PM UTC-6, Zookie wrote: > > Installed Ubuntu 14.04, Java, Mongodb, and Elasticsearch 1.3.3. > > Ran this off the Graylog2 site: > > wget > https://packages.graylog2.org/repo/packages/graylog2-0.90-repository-ubuntu14.04_latest.deb > sudo dpkg -i graylog2-0.90-repository-ubuntu14.04_latest.deb > sudo apt-get install apt-transport-https > sudo apt-get update > sudo apt-get install graylog2-server graylog2-web > > > Get the following output > > Reading package lists... Done > Building dependency tree > Reading state information... Done > The following NEW packages will be installed: > graylog2-server graylog2-web > 0 upgraded, 2 newly installed, 0 to remove and 48 not upgraded. > Need to get 111 MB of archives. > After this operation, 136 MB of additional disk space will be used. > Get:1 https://packages.graylog2.org/repo/debian/ trusty/0.90 > graylog2-server all 0.90.0-1 [66.2 MB] > Get:2 https://packages.graylog2.org/repo/debian/ trusty/0.90 graylog2-web > all 0.90.0-1 [44.9 MB] > Fetched 111 MB in 54s (2,029 kB/s) > Selecting previously unselected package graylog2-server. > (Reading database ... 56549 files and directories currently installed.) > Preparing to unpack .../graylog2-server_0.90.0-1_all.deb ... > Unpacking graylog2-server (0.90.0-1) ... > Selecting previously unselected package graylog2-web. > Preparing to unpack .../graylog2-web_0.90.0-1_all.deb ... > Unpacking graylog2-web (0.90.0-1) ... > Processing triggers for ureadahead (0.100.0-16) ... > Setting up graylog2-server (0.90.0-1) ... > Warning: The home dir /var/lib/graylog2-server you specified can't be > accessed: No such file or directory > Adding system user `graylog2' (UID 107) ... > Adding new user `graylog2' (UID 107) with group `graylog2' ... > Not creating home directory `/var/lib/graylog2-server'. > Setting up graylog2-web (0.90.0-1) ... > Warning: The home dir /var/lib/graylog2-web you specified can't be > accessed: No such file or directory > Adding system user `graylog2-web' (UID 108) ... > Adding new user `graylog2-web' (UID 108) with group `graylog2-web' ... > Not creating home directory `/var/lib/graylog2-web'. > Processing triggers for ureadahead (0.100.0-16) ... > > > Maybe I was expecting the package to create graylog2ctl (does not exist on > my system) or the init scripts but I'm not sure where to go from here. It > looks like it dropped the graylog2-server.jar file here: > /usr/share/graylog2-server/graylog2-server.jar > > I was originally installing graylog2 from scratch without using the > package manager and while I could get a functional system that way, I would > prefer to have the packaged version working instead. > > Anyway, if anyone can give me some pointers to get from where I am at this > point to a system where graylog2-server and graylog2-web both automatically > start on boot that would be hugely helpful to me and anyone else who is > just getting started with this very cool and powerful system. > > > > -- You received this message because you are subscribed to the Google Groups "graylog2" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/d/optout.
