Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

rpm warns user does not exist #670

Closed
spuder opened this issue Jun 20, 2014 · 5 comments
Closed

rpm warns user does not exist #670

spuder opened this issue Jun 20, 2014 · 5 comments
Milestone

Comments

@spuder
Copy link
Contributor

spuder commented Jun 20, 2014

When you install the 64 bit rpm on cent 6, you get the following warning

id: influxdb: No such user
influxdb Process is not running [ FAILED ]

However if you then run id influxdb manually, everything appears normally.

I suspect that the user needs to be created earlier on in the spec file scripts

[root@influxdb ~]# wget http://s3.amazonaws.com/influxdb/influxdb-latest-1.x86_64.rpm
--2014-06-20 17:18:33--  http://s3.amazonaws.com/influxdb/influxdb-latest-1.x86_64.rpm
Resolving s3.amazonaws.com... 207.171.187.117
Connecting to s3.amazonaws.com|207.171.187.117|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 6293394 (6.0M) [application/x-rpm]
Saving to: “influxdb-latest-1.x86_64.rpm”

100%[====================================================================================================================>] 6,293,394   1.94M/s   in 3.1s    

2014-06-20 17:18:36 (1.94 MB/s) - “influxdb-latest-1.x86_64.rpm” saved [6293394/6293394]

[root@influxdb ~]# sudo rpm -ivh influxdb-latest-1.x86_64.rpm
Preparing...                ########################################### [100%]
   1:influxdb               ########################################### [100%]
id: influxdb: No such user
influxdb Process is not running [ FAILED ]
[root@influxdb ~]# /etc/init.d/influxdb start
Starting the process influxdb [ OK ]
influxdb process was started [ OK ]
[root@influxdb ~]# id influxdb
uid=498(influxdb) gid=498(influxdb) groups=498(influxdb)
@damm
Copy link

damm commented Jun 20, 2014

Deb packages also exhibit this

@jvshahid jvshahid added this to the 0.7.4 milestone Jul 7, 2014
@porjo
Copy link

porjo commented Jul 9, 2014

I've just installed using http://s3.amazonaws.com/influxdb/influxdb-latest-1.x86_64.rpm and am seeing the same error message as reported by @spuder

@jvshahid
Copy link
Contributor

This will be fixed in the next release

@mowknow
Copy link

mowknow commented Jul 14, 2014

Just ran into this myself. For anyone interested, the problem is in /opt/influxdb/versions/0.7.3/scripts/post_install.sh. useradd uses at least one option (--system) that is not available on centos

@jvshahid jvshahid modified the milestones: 0.8.0, 0.7.4 Jul 24, 2014
@aviau
Copy link
Contributor

aviau commented Aug 6, 2014

This issue still happens with the latest release. (deb)
Downloaded two seconds ago (influxdb_latest_amd64.deb)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

6 participants