what causes “systemd: Failed at step USER spawning /usr/sbin/opendkim: No such process”
up vote
10
down vote
favorite
Anybody here tell me how to remove following error
systemd: Failed at step USER spawning /usr/sbin/opendkim: No such process
It occurs when I try to start opendkim service on centos.
linux
add a comment |
up vote
10
down vote
favorite
Anybody here tell me how to remove following error
systemd: Failed at step USER spawning /usr/sbin/opendkim: No such process
It occurs when I try to start opendkim service on centos.
linux
add a comment |
up vote
10
down vote
favorite
up vote
10
down vote
favorite
Anybody here tell me how to remove following error
systemd: Failed at step USER spawning /usr/sbin/opendkim: No such process
It occurs when I try to start opendkim service on centos.
linux
Anybody here tell me how to remove following error
systemd: Failed at step USER spawning /usr/sbin/opendkim: No such process
It occurs when I try to start opendkim service on centos.
linux
linux
asked Dec 15 '16 at 5:38
Syed
51114
51114
add a comment |
add a comment |
4 Answers
4
active
oldest
votes
up vote
7
down vote
I've just ran into this and in my case it was caused by quoting a user name in my service file:
[Unit]
Description=Demonstrate Failed at step USER spawning ...: No such process error when user name is quoted
[Service]
User="tadeusz"
ExecStart=/bin/echo hello
[Install]
WantedBy=multi-user.target
Starting this service on Ubuntu 16.04.2 LTS (Amazon EC2 instance) would fail with following error:
user-example.service: Failed at step USER spawning /bin/echo: No such process
Interestingly, on Ubuntu Gnome 17.04 (my local machine), the error message is much more helpful:
[/etc/systemd/system/user-example.service:5] Invalid user/group name or numeric ID, ignoring: "tadeusz"
Removing quotes in both environments resolved the problem:
[Service]
User=tadeusz
Thanks. In my case the name was completely wrong, and this solves this problem for me very nicely
– Aleks
Apr 13 at 1:06
After pulling my hair for long 4 hours I came across this post and just removedUser=tomcat
which I copied from blog post. Now it works fine :)
– Shashanth
Aug 27 at 10:18
I got similar problem, fixing the username doesn't work, because gunicorn file is not present in virtualenv. I installed using- sudo pip3 install gunicorn in AWS EC2 ubuntu server. what could be possible reason?
– Reema Parakh
Nov 22 at 6:36
add a comment |
up vote
4
down vote
Check if the following record exists in the configuration file of opendkim
:
## Attempt to become the specified user before starting operations.
UserID opendkim:opendkim
add a comment |
up vote
0
down vote
For me this error message was caused by not reloading SystemD after updating systemd. So run # systemctl daemon-reload
or reboot your computer.
1
sudo systemctl daemon-reload
should be enough
– dvska
Aug 17 at 15:40
@dvska Thanks, added that to the answer.
– Babken Vardanyan
Aug 18 at 16:16
add a comment |
up vote
0
down vote
For me it was a simple issue of using the wrong user name, confirm you are using right user
[Service]
User=tadeusz
then reload your SytemD sudo systemctl daemon-reload
New contributor
add a comment |
4 Answers
4
active
oldest
votes
4 Answers
4
active
oldest
votes
active
oldest
votes
active
oldest
votes
up vote
7
down vote
I've just ran into this and in my case it was caused by quoting a user name in my service file:
[Unit]
Description=Demonstrate Failed at step USER spawning ...: No such process error when user name is quoted
[Service]
User="tadeusz"
ExecStart=/bin/echo hello
[Install]
WantedBy=multi-user.target
Starting this service on Ubuntu 16.04.2 LTS (Amazon EC2 instance) would fail with following error:
user-example.service: Failed at step USER spawning /bin/echo: No such process
Interestingly, on Ubuntu Gnome 17.04 (my local machine), the error message is much more helpful:
[/etc/systemd/system/user-example.service:5] Invalid user/group name or numeric ID, ignoring: "tadeusz"
Removing quotes in both environments resolved the problem:
[Service]
User=tadeusz
Thanks. In my case the name was completely wrong, and this solves this problem for me very nicely
– Aleks
Apr 13 at 1:06
After pulling my hair for long 4 hours I came across this post and just removedUser=tomcat
which I copied from blog post. Now it works fine :)
– Shashanth
Aug 27 at 10:18
I got similar problem, fixing the username doesn't work, because gunicorn file is not present in virtualenv. I installed using- sudo pip3 install gunicorn in AWS EC2 ubuntu server. what could be possible reason?
– Reema Parakh
Nov 22 at 6:36
add a comment |
up vote
7
down vote
I've just ran into this and in my case it was caused by quoting a user name in my service file:
[Unit]
Description=Demonstrate Failed at step USER spawning ...: No such process error when user name is quoted
[Service]
User="tadeusz"
ExecStart=/bin/echo hello
[Install]
WantedBy=multi-user.target
Starting this service on Ubuntu 16.04.2 LTS (Amazon EC2 instance) would fail with following error:
user-example.service: Failed at step USER spawning /bin/echo: No such process
Interestingly, on Ubuntu Gnome 17.04 (my local machine), the error message is much more helpful:
[/etc/systemd/system/user-example.service:5] Invalid user/group name or numeric ID, ignoring: "tadeusz"
Removing quotes in both environments resolved the problem:
[Service]
User=tadeusz
Thanks. In my case the name was completely wrong, and this solves this problem for me very nicely
– Aleks
Apr 13 at 1:06
After pulling my hair for long 4 hours I came across this post and just removedUser=tomcat
which I copied from blog post. Now it works fine :)
– Shashanth
Aug 27 at 10:18
I got similar problem, fixing the username doesn't work, because gunicorn file is not present in virtualenv. I installed using- sudo pip3 install gunicorn in AWS EC2 ubuntu server. what could be possible reason?
– Reema Parakh
Nov 22 at 6:36
add a comment |
up vote
7
down vote
up vote
7
down vote
I've just ran into this and in my case it was caused by quoting a user name in my service file:
[Unit]
Description=Demonstrate Failed at step USER spawning ...: No such process error when user name is quoted
[Service]
User="tadeusz"
ExecStart=/bin/echo hello
[Install]
WantedBy=multi-user.target
Starting this service on Ubuntu 16.04.2 LTS (Amazon EC2 instance) would fail with following error:
user-example.service: Failed at step USER spawning /bin/echo: No such process
Interestingly, on Ubuntu Gnome 17.04 (my local machine), the error message is much more helpful:
[/etc/systemd/system/user-example.service:5] Invalid user/group name or numeric ID, ignoring: "tadeusz"
Removing quotes in both environments resolved the problem:
[Service]
User=tadeusz
I've just ran into this and in my case it was caused by quoting a user name in my service file:
[Unit]
Description=Demonstrate Failed at step USER spawning ...: No such process error when user name is quoted
[Service]
User="tadeusz"
ExecStart=/bin/echo hello
[Install]
WantedBy=multi-user.target
Starting this service on Ubuntu 16.04.2 LTS (Amazon EC2 instance) would fail with following error:
user-example.service: Failed at step USER spawning /bin/echo: No such process
Interestingly, on Ubuntu Gnome 17.04 (my local machine), the error message is much more helpful:
[/etc/systemd/system/user-example.service:5] Invalid user/group name or numeric ID, ignoring: "tadeusz"
Removing quotes in both environments resolved the problem:
[Service]
User=tadeusz
answered Jul 18 '17 at 14:12
Tadeusz Łazurski
20127
20127
Thanks. In my case the name was completely wrong, and this solves this problem for me very nicely
– Aleks
Apr 13 at 1:06
After pulling my hair for long 4 hours I came across this post and just removedUser=tomcat
which I copied from blog post. Now it works fine :)
– Shashanth
Aug 27 at 10:18
I got similar problem, fixing the username doesn't work, because gunicorn file is not present in virtualenv. I installed using- sudo pip3 install gunicorn in AWS EC2 ubuntu server. what could be possible reason?
– Reema Parakh
Nov 22 at 6:36
add a comment |
Thanks. In my case the name was completely wrong, and this solves this problem for me very nicely
– Aleks
Apr 13 at 1:06
After pulling my hair for long 4 hours I came across this post and just removedUser=tomcat
which I copied from blog post. Now it works fine :)
– Shashanth
Aug 27 at 10:18
I got similar problem, fixing the username doesn't work, because gunicorn file is not present in virtualenv. I installed using- sudo pip3 install gunicorn in AWS EC2 ubuntu server. what could be possible reason?
– Reema Parakh
Nov 22 at 6:36
Thanks. In my case the name was completely wrong, and this solves this problem for me very nicely
– Aleks
Apr 13 at 1:06
Thanks. In my case the name was completely wrong, and this solves this problem for me very nicely
– Aleks
Apr 13 at 1:06
After pulling my hair for long 4 hours I came across this post and just removed
User=tomcat
which I copied from blog post. Now it works fine :)– Shashanth
Aug 27 at 10:18
After pulling my hair for long 4 hours I came across this post and just removed
User=tomcat
which I copied from blog post. Now it works fine :)– Shashanth
Aug 27 at 10:18
I got similar problem, fixing the username doesn't work, because gunicorn file is not present in virtualenv. I installed using- sudo pip3 install gunicorn in AWS EC2 ubuntu server. what could be possible reason?
– Reema Parakh
Nov 22 at 6:36
I got similar problem, fixing the username doesn't work, because gunicorn file is not present in virtualenv. I installed using- sudo pip3 install gunicorn in AWS EC2 ubuntu server. what could be possible reason?
– Reema Parakh
Nov 22 at 6:36
add a comment |
up vote
4
down vote
Check if the following record exists in the configuration file of opendkim
:
## Attempt to become the specified user before starting operations.
UserID opendkim:opendkim
add a comment |
up vote
4
down vote
Check if the following record exists in the configuration file of opendkim
:
## Attempt to become the specified user before starting operations.
UserID opendkim:opendkim
add a comment |
up vote
4
down vote
up vote
4
down vote
Check if the following record exists in the configuration file of opendkim
:
## Attempt to become the specified user before starting operations.
UserID opendkim:opendkim
Check if the following record exists in the configuration file of opendkim
:
## Attempt to become the specified user before starting operations.
UserID opendkim:opendkim
edited Dec 28 '16 at 14:53
Kamil Maciorowski
22.7k155072
22.7k155072
answered Dec 28 '16 at 6:04
user679441
411
411
add a comment |
add a comment |
up vote
0
down vote
For me this error message was caused by not reloading SystemD after updating systemd. So run # systemctl daemon-reload
or reboot your computer.
1
sudo systemctl daemon-reload
should be enough
– dvska
Aug 17 at 15:40
@dvska Thanks, added that to the answer.
– Babken Vardanyan
Aug 18 at 16:16
add a comment |
up vote
0
down vote
For me this error message was caused by not reloading SystemD after updating systemd. So run # systemctl daemon-reload
or reboot your computer.
1
sudo systemctl daemon-reload
should be enough
– dvska
Aug 17 at 15:40
@dvska Thanks, added that to the answer.
– Babken Vardanyan
Aug 18 at 16:16
add a comment |
up vote
0
down vote
up vote
0
down vote
For me this error message was caused by not reloading SystemD after updating systemd. So run # systemctl daemon-reload
or reboot your computer.
For me this error message was caused by not reloading SystemD after updating systemd. So run # systemctl daemon-reload
or reboot your computer.
edited Aug 18 at 16:16
answered Aug 15 at 15:02
Babken Vardanyan
6501513
6501513
1
sudo systemctl daemon-reload
should be enough
– dvska
Aug 17 at 15:40
@dvska Thanks, added that to the answer.
– Babken Vardanyan
Aug 18 at 16:16
add a comment |
1
sudo systemctl daemon-reload
should be enough
– dvska
Aug 17 at 15:40
@dvska Thanks, added that to the answer.
– Babken Vardanyan
Aug 18 at 16:16
1
1
sudo systemctl daemon-reload
should be enough– dvska
Aug 17 at 15:40
sudo systemctl daemon-reload
should be enough– dvska
Aug 17 at 15:40
@dvska Thanks, added that to the answer.
– Babken Vardanyan
Aug 18 at 16:16
@dvska Thanks, added that to the answer.
– Babken Vardanyan
Aug 18 at 16:16
add a comment |
up vote
0
down vote
For me it was a simple issue of using the wrong user name, confirm you are using right user
[Service]
User=tadeusz
then reload your SytemD sudo systemctl daemon-reload
New contributor
add a comment |
up vote
0
down vote
For me it was a simple issue of using the wrong user name, confirm you are using right user
[Service]
User=tadeusz
then reload your SytemD sudo systemctl daemon-reload
New contributor
add a comment |
up vote
0
down vote
up vote
0
down vote
For me it was a simple issue of using the wrong user name, confirm you are using right user
[Service]
User=tadeusz
then reload your SytemD sudo systemctl daemon-reload
New contributor
For me it was a simple issue of using the wrong user name, confirm you are using right user
[Service]
User=tadeusz
then reload your SytemD sudo systemctl daemon-reload
New contributor
New contributor
answered Nov 21 at 4:09
StackEdd
11
11
New contributor
New contributor
add a comment |
add a comment |
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fsuperuser.com%2fquestions%2f1156676%2fwhat-causes-systemd-failed-at-step-user-spawning-usr-sbin-opendkim-no-such-p%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown