6 Replies Latest reply on Apr 2, 2014 6:58 AM by Tomaz Cerar

    Not able to start JBoss as service.

    Lalit Shaktawat Newbie

      Hi All

       

      I am trying to add JBoss as Service but it is showing error. Steps that I adopts was :

      1] I created Soft link by using below command on

               cd /etc/init.d

                ln -s /usr/share/JBoss_7.1.3_FINAL/jboss-as-7.1.3.Final/build/target/jboss-as-7.1.3.Final/bin/init.d/jboss-as-standalone.sh

      2] Now I checked for this link

               ls -l j*

                lrwxrwxrwx 1 root root 117 Apr  2 09:53 jboss-as-standalone.sh -> /usr/share/JBoss_7.1.3_FINAL/jboss-as-7.1.3.Final/build/target/jboss-as-7.1.3.Final/bin/init.d/jboss-as-standalone.sh

      3] It was correct.

      4] When I want to start it as a Service It is showing following errors :

                /etc/init.d/jboss-as-standalone.sh start

               /etc/init.d/jboss-as-standalone.sh: 12: .: Can't open /etc/init.d/functions

      Steps to solve it :

      I used

             ./etc/init.d/jboss-as-standalone.sh start

            -su: ./etc/init.d/jboss-as-standalone.sh: No such file or directory

       

      How to resolve this issue.

       

      Is there any steps is missing?

       

      Thanks in an advanced.