Failed to start gunicorn.socket: Unit gunicorn.socket is masked
Clash Royale CLAN TAG#URR8PPP
up vote
1
down vote
favorite
While trying to start gunicorn I get this error,
Failed to start gunicorn.socket: Unit gunicorn.socket is masked.
How do you solve it?
ubuntu systemd
New contributor
add a comment |
up vote
1
down vote
favorite
While trying to start gunicorn I get this error,
Failed to start gunicorn.socket: Unit gunicorn.socket is masked.
How do you solve it?
ubuntu systemd
New contributor
add a comment |
up vote
1
down vote
favorite
up vote
1
down vote
favorite
While trying to start gunicorn I get this error,
Failed to start gunicorn.socket: Unit gunicorn.socket is masked.
How do you solve it?
ubuntu systemd
New contributor
While trying to start gunicorn I get this error,
Failed to start gunicorn.socket: Unit gunicorn.socket is masked.
How do you solve it?
ubuntu systemd
ubuntu systemd
New contributor
New contributor
edited 3 hours ago
Filipe Brandenburger
5,2441624
5,2441624
New contributor
asked 3 hours ago
nvim
61
61
New contributor
New contributor
add a comment |
add a comment |
1 Answer
1
active
oldest
votes
up vote
0
down vote
You can unmask the unit with the following command:
systemctl unmask gunicorn.socket
That will allow you to start the unit again.
A masked unit is an unit that has been prevented from starting. From the systemd documentation:
masked
: Completely disabled, so that any start operation on it fails (permanently in/etc/systemd/system/
or transiently in/run/systemd/systemd/
).
There might be a reason why the unit was masked in your system (maybe you or another system administrator masked it before?) So consider that fact while you ponder whether unmasking it is the correct approach.
You can use the systemctl is-enabled
command to check whether a unit is masked (or, more generally, what the enablement state of the unit is.)
add a comment |
1 Answer
1
active
oldest
votes
1 Answer
1
active
oldest
votes
active
oldest
votes
active
oldest
votes
up vote
0
down vote
You can unmask the unit with the following command:
systemctl unmask gunicorn.socket
That will allow you to start the unit again.
A masked unit is an unit that has been prevented from starting. From the systemd documentation:
masked
: Completely disabled, so that any start operation on it fails (permanently in/etc/systemd/system/
or transiently in/run/systemd/systemd/
).
There might be a reason why the unit was masked in your system (maybe you or another system administrator masked it before?) So consider that fact while you ponder whether unmasking it is the correct approach.
You can use the systemctl is-enabled
command to check whether a unit is masked (or, more generally, what the enablement state of the unit is.)
add a comment |
up vote
0
down vote
You can unmask the unit with the following command:
systemctl unmask gunicorn.socket
That will allow you to start the unit again.
A masked unit is an unit that has been prevented from starting. From the systemd documentation:
masked
: Completely disabled, so that any start operation on it fails (permanently in/etc/systemd/system/
or transiently in/run/systemd/systemd/
).
There might be a reason why the unit was masked in your system (maybe you or another system administrator masked it before?) So consider that fact while you ponder whether unmasking it is the correct approach.
You can use the systemctl is-enabled
command to check whether a unit is masked (or, more generally, what the enablement state of the unit is.)
add a comment |
up vote
0
down vote
up vote
0
down vote
You can unmask the unit with the following command:
systemctl unmask gunicorn.socket
That will allow you to start the unit again.
A masked unit is an unit that has been prevented from starting. From the systemd documentation:
masked
: Completely disabled, so that any start operation on it fails (permanently in/etc/systemd/system/
or transiently in/run/systemd/systemd/
).
There might be a reason why the unit was masked in your system (maybe you or another system administrator masked it before?) So consider that fact while you ponder whether unmasking it is the correct approach.
You can use the systemctl is-enabled
command to check whether a unit is masked (or, more generally, what the enablement state of the unit is.)
You can unmask the unit with the following command:
systemctl unmask gunicorn.socket
That will allow you to start the unit again.
A masked unit is an unit that has been prevented from starting. From the systemd documentation:
masked
: Completely disabled, so that any start operation on it fails (permanently in/etc/systemd/system/
or transiently in/run/systemd/systemd/
).
There might be a reason why the unit was masked in your system (maybe you or another system administrator masked it before?) So consider that fact while you ponder whether unmasking it is the correct approach.
You can use the systemctl is-enabled
command to check whether a unit is masked (or, more generally, what the enablement state of the unit is.)
edited 3 hours ago
answered 3 hours ago
Filipe Brandenburger
5,2441624
5,2441624
add a comment |
add a comment |
nvim is a new contributor. Be nice, and check out our Code of Conduct.
nvim is a new contributor. Be nice, and check out our Code of Conduct.
nvim is a new contributor. Be nice, and check out our Code of Conduct.
nvim is a new contributor. Be nice, and check out our Code of Conduct.
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
StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2funix.stackexchange.com%2fquestions%2f481015%2ffailed-to-start-gunicorn-socket-unit-gunicorn-socket-is-masked%23new-answer', 'question_page');
);
Post as a guest
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
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
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