Closed andreaconsadori closed 9 years ago
apt- get install graylog2 graylog2 - server - web Reading package lists ... Done Dependency tree Reading state information ... Done The following NEW packages will be installed: graylog2 graylog2 - server - web 0 upgraded , 2 newly installed, 0 to remove and 0 not upgraded. Need to get 0 B / 142 MB of archives. After this operation, will be occupied 160 MB of disk space . Selected package graylog2 - server not previously selected . ( Reading database ... 35154 files and directories currently installed . ) Extracting graylog2 - server ( from ... / graylog2 - server_0.91.3-1_all.deb ) ... Selected package graylog2 - web not previously selected . Extracting graylog2 - web ( from ... / graylog2 - web_0.91.3-1_all.deb ) ... Configuring graylog2 - server ( 0.91.3-1 ) ... Warning : can not access the home directory / var / lib / graylog2 - server indicated : File or directory not existing Adding system user " graylog2 ' ( UID 109 ) ... Adding the new user ' graylog2 ' ( UID 109 ) with group ' graylog2 » ... The home directory " / var / lib / graylog2 - server " was not created . Configuring graylog2 - web ( 0.91.3-1 ) ... Warning : can not access the home directory / var / lib / graylog2 web - indicated : File or directory not existing Adding system user " graylog2 - web " ( UID 110 ) ... Adding the new user ' graylog2 - web "( UID 110 ) with group ' graylog2 - web " ... The home directory " / var / lib / graylog2 - web ' was not created
Same issue (home directories) exists with the Ubuntu 14.04 packages. In addition, the init script is missing?
dpkg -L graylog2-server
/.
/usr
/usr/share
/usr/share/graylog2-server
/usr/share/graylog2-server/bin
/usr/share/graylog2-server/bin/graylog2-es-timestamp-fixup
/usr/share/graylog2-server/plugin
/usr/share/graylog2-server/graylog2-server.jar
/etc
/etc/default
/etc/default/graylog2-server
/etc/graylog2.conf
/etc/init
/etc/init/graylog2-server.conf
/etc/graylog2
/etc/graylog2/server
/etc/graylog2/server/log4j.xml
yes i confirm
+1 I get
apt-get install graylog2-server
Installing new version of config file /etc/graylog2.conf ...
Warning: The home dir /var/lib/graylog2-server you specified can't be accessed: No such file or directory
Adding system user `graylog2' (UID 108) ...
Adding new user `graylog2' (UID 108) with group `graylog2' ...
Not creating home directory `/var/lib/graylog2-server'.
It seems the install script does something with the graylog2 user home dir before its created by FPM's post-install script?
Thanks for the reports! I'll look into this.
@andreaconsadori These messages about the home directory are just warnings. I tried to reproduce the problem regarding the startup on Debian 7 without success.
Please make sure your server is properly configured before starting it. (check /var/log/graylog2-server/server.log
and /var/log/graylog2-server/console.log
.
@shakalandy The Ubuntu startup is handled by upstart, that's why there is no startup script in /etc/init.d
. The upstart config is in /etc/init/graylog2-server.conf
.
The warning will be gone with the next package revisions.
Closing this. Please reopen if the problem is not fixed for you.
clean debian install miss graylog2-server and web service