Author Topic: zentyal not responding to commands  (Read 1401 times)

cmdr

  • Zen Apprentice
  • *
  • Posts: 4
  • Karma: +0/-0
    • View Profile
zentyal not responding to commands
« on: October 17, 2014, 03:06:13 pm »
Hello,

So it appears like sudo /etc/init.d/zentyal apache restart does not appear to be working, even when I try to restart the zentyal service it just stays there doing nothing.

sudo /etc/init.d/zentyal stop -- I see it in the process list (ps aux) but nothing happens.

All the other zentyal modules are working except the web interface to manage zentyal.  About the only other option I have is to reboot the server however we can't do that just now and we need the web interface up and running to manage users.

We are runnign zentyal 3.1 on ubuntu 12.04 LTS

All the other services appear to be working correctly however the administrative console does not come up.

The /var/zentyal/zentyal.log:

2014/10/17 02:17:01 ERROR> Lock.pm:35 EBox::Util::Lock::lock - Could not get lock for service: manageEBoxLogs
2014/10/17 03:17:01 ERROR> Lock.pm:35 EBox::Util::Lock::lock - Could not get lock for service: manageEBoxLogs
2014/10/17 04:17:01 ERROR> Lock.pm:35 EBox::Util::Lock::lock - Could not get lock for service: manageEBoxLogs
2014/10/17 05:17:02 ERROR> Lock.pm:35 EBox::Util::Lock::lock - Could not get lock for service: manageEBoxLogs
2014/10/17 06:17:02 ERROR> Lock.pm:35 EBox::Util::Lock::lock - Could not get lock for service: manageEBoxLogs
2014/10/17 07:17:01 ERROR> Lock.pm:35 EBox::Util::Lock::lock - Could not get lock for service: manageEBoxLogs

Any help is appreciate it.

Thanks,

robb

  • Guest
Re: zentyal not responding to commands
« Reply #1 on: October 17, 2014, 04:00:30 pm »
You are sure it is a 3.1 version? That is the beta version for 3.2...

cmdr

  • Zen Apprentice
  • *
  • Posts: 4
  • Karma: +0/-0
    • View Profile
Re: zentyal not responding to commands
« Reply #2 on: October 17, 2014, 04:48:12 pm »
After looking at it closer I think it's 3.0,  Is there a way to find the version from the command line?

Thanks

Zei

  • Zentyal Staff
  • Zen Warrior
  • *****
  • Posts: 213
  • Karma: +18/-0
    • View Profile
Re: zentyal not responding to commands
« Reply #3 on: October 20, 2014, 01:11:10 pm »
Hello, you can find the lock files under /var/lib/zentyal/tmp/, so try to remove the .lock file (I suppose that could be something like manageEBoxLogs.lock), and afterwards you should be able to restart the apache service.

Cheers

cmdr

  • Zen Apprentice
  • *
  • Posts: 4
  • Karma: +0/-0
    • View Profile
Re: zentyal not responding to commands
« Reply #4 on: October 20, 2014, 08:39:15 pm »
I have deleted the lock, when I run sudo /etc/init.d/zentyal apache status it says it's running.  When I try to stop it it does not stop it stays there waiting for something to happen.

Also, I believe the lock error is being caused by a cron job or something that is automated, I see it every hour on the hour.  The error is not being generated by me trying to stop and stop apache.

Thanks

Zei

  • Zentyal Staff
  • Zen Warrior
  • *****
  • Posts: 213
  • Karma: +18/-0
    • View Profile
Re: zentyal not responding to commands
« Reply #5 on: October 21, 2014, 05:43:25 pm »
I will advise to try to kill all apache processes and try to run it again. Also, you will probably have some restarting processes hanged, try to kill them too.