Getting an error about chown when starting JBoss as linux service?

Solution Verified - Updated -

Issue

  • Not able to start JBoss as service.We are not able to start the Jboss as a service. we are getting following message when we run the following command:
[ init.d]# service jboss-as-standalone.sh start
Starting jboss-as: chown: missing operand after `/var/run/jboss-as'
Try `chown --help' for more information.
  • When starting JBoss EAP in domain mode as a service it's complaining about the chown command. It also say [ OK ], but when I do a "ps" I don't see the process running.
[root@localhost init.d]# service jboss-as-domain.sh start
Starting jboss-as: chown: missing operand after `/var/run/jboss-as'
Try `chown --help' for more information.
                                                           [  OK  ]

Environment

  • Red Hat JBoss Enterprise Application Platform (EAP)
    • 6
    • 7

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content