openfire chat server Daemon not getting started while server starts up every time
up vote
1
down vote
favorite
We are using a Chat server It is installed with openfire, for local office use. Every morning while server getting ON openfire service is not getting started, I have added it in run levels too, Using command , chkconfig , Operating system we are using is CentOS 6.5 final.
chkconfig --level 0123456 openfire on
The output of chkconfig was below
openfire 0:on 1:on 2:on 3:on 4:on 5:on 6:on
And still it is not getting started when ever the Server was up and running, Every time I have to start the service manually using
/etc/init.d/openfire start
So this step has not worked for me, so I edited the rc.local file and added the service too. It too is not working for me
vim /etc/rc.local
Entered as below in the rc.local
sh /etc/init.d/openfire start
If any one faces the same issue, please let me know how can I get the fix.
services init.d
add a comment |
up vote
1
down vote
favorite
We are using a Chat server It is installed with openfire, for local office use. Every morning while server getting ON openfire service is not getting started, I have added it in run levels too, Using command , chkconfig , Operating system we are using is CentOS 6.5 final.
chkconfig --level 0123456 openfire on
The output of chkconfig was below
openfire 0:on 1:on 2:on 3:on 4:on 5:on 6:on
And still it is not getting started when ever the Server was up and running, Every time I have to start the service manually using
/etc/init.d/openfire start
So this step has not worked for me, so I edited the rc.local file and added the service too. It too is not working for me
vim /etc/rc.local
Entered as below in the rc.local
sh /etc/init.d/openfire start
If any one faces the same issue, please let me know how can I get the fix.
services init.d
Which version ofopenfireare you using & what are you getting in the error/warn.log.
– Mongrel
Mar 22 '16 at 11:38
add a comment |
up vote
1
down vote
favorite
up vote
1
down vote
favorite
We are using a Chat server It is installed with openfire, for local office use. Every morning while server getting ON openfire service is not getting started, I have added it in run levels too, Using command , chkconfig , Operating system we are using is CentOS 6.5 final.
chkconfig --level 0123456 openfire on
The output of chkconfig was below
openfire 0:on 1:on 2:on 3:on 4:on 5:on 6:on
And still it is not getting started when ever the Server was up and running, Every time I have to start the service manually using
/etc/init.d/openfire start
So this step has not worked for me, so I edited the rc.local file and added the service too. It too is not working for me
vim /etc/rc.local
Entered as below in the rc.local
sh /etc/init.d/openfire start
If any one faces the same issue, please let me know how can I get the fix.
services init.d
We are using a Chat server It is installed with openfire, for local office use. Every morning while server getting ON openfire service is not getting started, I have added it in run levels too, Using command , chkconfig , Operating system we are using is CentOS 6.5 final.
chkconfig --level 0123456 openfire on
The output of chkconfig was below
openfire 0:on 1:on 2:on 3:on 4:on 5:on 6:on
And still it is not getting started when ever the Server was up and running, Every time I have to start the service manually using
/etc/init.d/openfire start
So this step has not worked for me, so I edited the rc.local file and added the service too. It too is not working for me
vim /etc/rc.local
Entered as below in the rc.local
sh /etc/init.d/openfire start
If any one faces the same issue, please let me know how can I get the fix.
services init.d
services init.d
edited Aug 27 '16 at 22:37
Thomas Dickey
51.5k594164
51.5k594164
asked Apr 10 '14 at 4:23
Babin Lonston
1,97111020
1,97111020
Which version ofopenfireare you using & what are you getting in the error/warn.log.
– Mongrel
Mar 22 '16 at 11:38
add a comment |
Which version ofopenfireare you using & what are you getting in the error/warn.log.
– Mongrel
Mar 22 '16 at 11:38
Which version of
openfire are you using & what are you getting in the error/warn.log.– Mongrel
Mar 22 '16 at 11:38
Which version of
openfire are you using & what are you getting in the error/warn.log.– Mongrel
Mar 22 '16 at 11:38
add a comment |
2 Answers
2
active
oldest
votes
up vote
0
down vote
You really need to dig to find the root cause. Blindly putting chkconfig on every runlevel is not going to resolve the issue.
- Check /var/log/messages for startup issues/errors.
- Put set -x right after #!/bin/sh in /etc/init.d/openfire -- It will debug the script for you.
add a comment |
up vote
0
down vote
I have the same question,and solved by stackoverflow
cd /opt/openfire/jre/bin
cp java java.bak
rm java
ln -s /usr/bin/java java
service openfire start
add a comment |
2 Answers
2
active
oldest
votes
2 Answers
2
active
oldest
votes
active
oldest
votes
active
oldest
votes
up vote
0
down vote
You really need to dig to find the root cause. Blindly putting chkconfig on every runlevel is not going to resolve the issue.
- Check /var/log/messages for startup issues/errors.
- Put set -x right after #!/bin/sh in /etc/init.d/openfire -- It will debug the script for you.
add a comment |
up vote
0
down vote
You really need to dig to find the root cause. Blindly putting chkconfig on every runlevel is not going to resolve the issue.
- Check /var/log/messages for startup issues/errors.
- Put set -x right after #!/bin/sh in /etc/init.d/openfire -- It will debug the script for you.
add a comment |
up vote
0
down vote
up vote
0
down vote
You really need to dig to find the root cause. Blindly putting chkconfig on every runlevel is not going to resolve the issue.
- Check /var/log/messages for startup issues/errors.
- Put set -x right after #!/bin/sh in /etc/init.d/openfire -- It will debug the script for you.
You really need to dig to find the root cause. Blindly putting chkconfig on every runlevel is not going to resolve the issue.
- Check /var/log/messages for startup issues/errors.
- Put set -x right after #!/bin/sh in /etc/init.d/openfire -- It will debug the script for you.
answered Jan 18 '16 at 2:50
Sokel
1,40158
1,40158
add a comment |
add a comment |
up vote
0
down vote
I have the same question,and solved by stackoverflow
cd /opt/openfire/jre/bin
cp java java.bak
rm java
ln -s /usr/bin/java java
service openfire start
add a comment |
up vote
0
down vote
I have the same question,and solved by stackoverflow
cd /opt/openfire/jre/bin
cp java java.bak
rm java
ln -s /usr/bin/java java
service openfire start
add a comment |
up vote
0
down vote
up vote
0
down vote
I have the same question,and solved by stackoverflow
cd /opt/openfire/jre/bin
cp java java.bak
rm java
ln -s /usr/bin/java java
service openfire start
I have the same question,and solved by stackoverflow
cd /opt/openfire/jre/bin
cp java java.bak
rm java
ln -s /usr/bin/java java
service openfire start
edited May 23 '17 at 12:40
Community♦
1
1
answered Nov 23 '16 at 3:24
user201827
1
1
add a comment |
add a comment |
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
Required, but never shown
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2funix.stackexchange.com%2fquestions%2f124029%2fopenfire-chat-server-daemon-not-getting-started-while-server-starts-up-every-tim%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
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
Required, but never shown
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
Required, but never shown
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
Post as a guest
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Which version of
openfireare you using & what are you getting in the error/warn.log.– Mongrel
Mar 22 '16 at 11:38