Author Topic: [SOLVED] no admin page  (Read 7861 times)

robb

  • Guest
[SOLVED] no admin page
« on: June 09, 2011, 03:13:31 pm »
I run a few zentyal servers on ESXi4.1

On one of those servers I locked myself out of the administration page. I think this happened after I set the interface to external, but I am not 100% sure.
The second interface of the server is not configured on that VM, so I can't access from that interface.

Apache is running since I get an "It Works" default page when I connect to http://localhost on the console of ESXi

I did a netstat -tlnp | grep apache2 And got the following output:
tcp         0          0  0.0.0.0:80            0.0.0.0:*            listen           1949/apache2

so no listening on port 443 ??
I allready stopped the firewall just in case the rules were blocking traffic on port 443, but no difference.

I allso tried to add eth1 in /etc/network/interfaces and restarted networking, but no success on connecting through the other network adapter.
After reboot all is set back to starting values so any changes don't last for long.

Any ideas how I can get my admin page back?

/edit:
tried dpkg-reconfigure ebox

received following response:
 *stopping Zentyal module: apache
root command /usr/share/ebox/ebox-apache2ctl stop failed
Error output: (20014)Internal Error: Error retrieving pid file /var/lib/ebox/tmp/apache.pid
Remove it before continuing if it is corrupted

^^
This last sentence saved my day: after removing the .pid file and running dpkg-reconfigure ebox I got back my admin loginpage....
« Last Edit: June 09, 2011, 03:28:54 pm by robb »

Josep

  • Zen Samurai
  • ****
  • Posts: 255
  • Karma: +6/-0
    • View Profile
Re: [SOLVED] no admin page
« Reply #1 on: June 09, 2011, 03:33:17 pm »
Good to know. By the way, the Apache configuration for the interface is in /var/lib/ebox/conf/apache2.conf.

nicolasdiogo

  • Forum Moderator
  • Zen Samurai
  • *****
  • Posts: 263
  • Karma: +3/-0
  • a pessimist, but trying out optimism
    • View Profile
    • BrainPowered Business Intelligence Consultancy - UK
Re: [SOLVED] no admin page
« Reply #2 on: August 18, 2011, 10:24:23 pm »
same here robb

just being through this error myself
the odd thing is that there is no way of knowing this unless you rerun the dpkg-reconfigure ebox

my opinions and suggestion expressed on this forum are my own as a user.
please note that i am not part of the Zentyal Development Team

www.brainpowered.net - supporting open-source Business Intelligence in Europe

Rortin

  • Zen Warrior
  • ***
  • Posts: 123
  • Karma: +0/-0
    • View Profile
Re: [SOLVED] no admin page
« Reply #3 on: September 06, 2011, 10:29:08 am »
I do it, but i cant access only to login.

When i enter de login and pass...the admin page dont appear. Before 2 minuts it show a black page.

Could someone help me???

Thanks

nicolasdiogo

  • Forum Moderator
  • Zen Samurai
  • *****
  • Posts: 263
  • Karma: +3/-0
  • a pessimist, but trying out optimism
    • View Profile
    • BrainPowered Business Intelligence Consultancy - UK
Re: [SOLVED] no admin page
« Reply #4 on: September 06, 2011, 12:53:39 pm »
have you tried the above suggestion

delete file

/var/lib/ebox/tmp/apache.pid

and then re-run

dpkg-reconfigure ebox

??
my opinions and suggestion expressed on this forum are my own as a user.
please note that i am not part of the Zentyal Development Team

www.brainpowered.net - supporting open-source Business Intelligence in Europe

Rortin

  • Zen Warrior
  • ***
  • Posts: 123
  • Karma: +0/-0
    • View Profile
Re: [SOLVED] no admin page
« Reply #5 on: September 07, 2011, 08:10:30 am »
HI,

I do it, but it does the same. It show a black page after I enter the login.


manuelperezf

  • Zen Apprentice
  • *
  • Posts: 27
  • Karma: +0/-0
    • View Profile
Re: [SOLVED] no admin page
« Reply #6 on: November 11, 2011, 05:16:06 pm »
With this order, I restart the Zentyal Webserver

sudo /etc/init.d/zentyal apache restart

Works for me.