xxlali
xxlali

Reputation: 1036

User wildfly does not exist

I am trying to run wildfly-init-debian.sh to run wildfly on starup but when I run the file it gives

"user wildfly does not exist..." 

error.

How can I define this user?

Upvotes: 0

Views: 1005

Answers (2)

Henrik Pingel
Henrik Pingel

Reputation: 3193

try

useradd -r wildfly

this will create a dedicated system user for wildfly.

Upvotes: 1

Mike
Mike

Reputation: 4963

The script is almost certainly trying to start WildFly as the debian user wildfly. You will need to create this user and make sure it has correct permissions for your WildFly directories.

The most easy way is to run

useradd wildfly

More detailed instructions can easily be found online

Upvotes: 2

Related Questions