Unable to run wildfly as linux service on Ubuntu 16.10

492 views
Skip to first unread message

Belle W.

unread,
Mar 17, 2017, 4:35:55 AM3/17/17
to i2b2 Install Help
Hi,

I have been keep to setup jBoss on server for days and unable to get it running.

i have followed the instructions on http://community.i2b2.org/wiki/display/getstarted/2.4.2.3+Run+Wildfly+as+a+Linux+Service.

localadmin@NUHSAIOUBUNTU01:/opt/wildfly-10.0.0.Final/docs/contrib/scripts/init.d$ /etc/init.d/wildfly start
/etc/init.d/wildfly: 13: .: Can't open /etc/init.d/functions

Please help.


Belle

Mendis, Michael E.

unread,
Mar 17, 2017, 7:47:53 AM3/17/17
to i2b2-ins...@googlegroups.com
Try running that as root.  
--
You received this message because you are subscribed to the Google Groups "i2b2 Install Help" group.
To unsubscribe from this group and stop receiving emails from it, send an email to i2b2-install-h...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

The information in this e-mail is intended only for the person to whom it is
addressed. If you believe this e-mail was sent to you in error and the e-mail
contains patient information, please contact the Partners Compliance HelpLine at
http://www.partners.org/complianceline . If the e-mail was sent to you in error
but does not contain patient information, please contact the sender and properly
dispose of the e-mail.

Belle W.

unread,
Mar 20, 2017, 2:49:38 AM3/20/17
to i2b2 Install Help
Hi mmendis,

I managed to run as root, but I still have the same problem.

root@NUHSAIOUBUNTU01:/etc/init.d# /etc/init.d/wildfly start

/etc/init.d/wildfly: 13: .: Can't open /etc/init.d/functions
Belle

Jeremy Nix

unread,
Mar 20, 2017, 6:20:55 AM3/20/17
to i2b2-ins...@googlegroups.com
Belle,

Here's what I found while googling for Wildfly 10 on Centos 7:

Mendis, Michael E.

unread,
Mar 20, 2017, 8:51:02 AM3/20/17
to i2b2-ins...@googlegroups.com

Was the redhat or the debian init scripts used?   I think that Ubuntu is debian basd.   Try the wildfly-init-debian.sh script.

 

-mike

--

You received this message because you are subscribed to the Google Groups "i2b2 Install Help" group.
To unsubscribe from this group and stop receiving emails from it, send an email to i2b2-install-h...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Message has been deleted

Belle W.

unread,
Mar 22, 2017, 10:56:02 PM3/22/17
to i2b2 Install Help
Thanks Mike.

After trying the debian based script, now I got a new error msg.

root@NUHSAIOUBUNTU01:~# /etc/init.d/wildfly start
/etc/init.d/wildfly: 68: /etc/init.d/wildfly: log_failure_msg: not found
Belle

Belle W.

unread,
Mar 23, 2017, 11:54:38 PM3/23/17
to i2b2 Install Help
I have tried running it under /bin/sh. Now I got another error message.

$ su root
Password:
root@NUHSAIOUBUNTU01:/home/localadmin# /bin/sh
# /etc/init.d/wildfly start
/etc/init.d/wildfly: 159: /etc/init.d/wildfly: log_daemon_msg: not found


Belle
Reply all
Reply to author
Forward
0 new messages