Author Topic: Cannot log into eGroupware - webserver not/won't start  (Read 2844 times)

PaulR

  • Zen Apprentice
  • *
  • Posts: 32
  • Karma: +0/-0
    • View Profile
Cannot log into eGroupware - webserver not/won't start
« on: September 15, 2009, 12:46:54 am »
I've just finised installing 1.2 on top of Hardy.  Everything works beautifully - love what I see so far.  However, I do have one problem.  No matter what I do, I can not log into the eGroupware page. After a little poking around, it appears to be because the webserver is not starting.  I try to start it, and I get a message back indicating that it has done so, but no go...

What do I need to look at next?

Thanks,
Paul

dragonslayr

  • Zen Warrior
  • ***
  • Posts: 157
  • Karma: +1/-0
    • View Profile
Re: Cannot log into eGroupware - webserver not/won't start
« Reply #1 on: September 15, 2009, 06:36:00 am »
I've just finised installing 1.2 on top of Hardy.  Everything works beautifully - love what I see so far.  However, I do have one problem.  No matter what I do, I can not log into the eGroupware page. After a little poking around, it appears to be because the webserver is not starting.  I try to start it, and I get a message back indicating that it has done so, but no go...

What do I need to look at next?


Make sure in modules mail and web server and Groupware are checked and check out the others while your in there. I had something like this the other day and thought they were all checked and they weren't. Though it was not groupware.
Also, make sure there is a virtual Domain defined in the groupware configuration.
These are the obvious things, after that report back and we'll dig a little..

On another note, I've had better luck using the ebox installer.



PaulR

  • Zen Apprentice
  • *
  • Posts: 32
  • Karma: +0/-0
    • View Profile
Re: Cannot log into eGroupware - webserver not/won't start
« Reply #2 on: September 15, 2009, 01:47:43 pm »
Thanks - I've done all of those things - several times.  Yes, all the modules are installed, and checked, and I do have virtual domains setup.  The only other weird thing that I could see in poking around, and I'm not sure if this helps at all, was that if I look at a group in which I've defined an e-mail address, there is a message in there stating that it will not be active until after the mail module is started.  Now, that same thing does not show up under any of the users, AND... mail is not only setup, but working perfectly.  By working, I mean using Thunderbird to connect to it, and send an receive just fine.  So, I think the mail service is OK.  Again, I'm not sure that egroupware is not fine too, I just can't launch the web app for it.

Thanks again,
Paul

J. A. Calvo

  • Zentyal Staff
  • Zen Hero
  • *****
  • Posts: 1986
  • Karma: +67/-3
    • View Profile
    • http://blogs.zentyal.org/jacalvo
Re: Cannot log into eGroupware - webserver not/won't start
« Reply #3 on: September 15, 2009, 05:07:59 pm »
Please try the following:

First, "pkill -9 apache", then:
/etc/init.d/ebox apache start
/etc/init.d/ebox webserver start

If it outputs some error you can paste it here to see if it adds some information.

You can also check if it's listening on port 80 (netstat -tlnp).

Regards,

J. A. Calvo
Zentyal Server Lead Developer

PaulR

  • Zen Apprentice
  • *
  • Posts: 32
  • Karma: +0/-0
    • View Profile
Re: Cannot log into eGroupware - webserver not/won't start
« Reply #4 on: September 15, 2009, 10:13:13 pm »
Thanks for responding.  Everything went clean, no errors at all.  ...however, a search of the open ports shows no port 80.

Thanks again,
Paul

PaulR

  • Zen Apprentice
  • *
  • Posts: 32
  • Karma: +0/-0
    • View Profile
Re: Cannot log into eGroupware - webserver not/won't start
« Reply #5 on: September 16, 2009, 08:12:51 pm »
OK - I've got a little more information to pass along.  I have managed to get the webserver started, but still have issues with ebox.  I think the problem may be related to groups, and not having the default groups created.  When I try to add a new user, I got error messages that stated that "Domain users", Domain admins" and administrators did not exists.  I manually created those, and was able to get the users created.  BUT... the following two problems show up:  user shares can not be mounted (permission denied) and egroupware can not log into email - "connection to imap refused".  Additional file shares work fine, it's just the user shares that fail. 
Is there a way to recreate the default groups in the user/group section?  I've tried removing it and adding it back, but no luck.  So if I look at the group list right now, the only ones in there are the ones I've created.

Frustrating...-
Paul

J. A. Calvo

  • Zentyal Staff
  • Zen Hero
  • *****
  • Posts: 1986
  • Karma: +67/-3
    • View Profile
    • http://blogs.zentyal.org/jacalvo
Re: Cannot log into eGroupware - webserver not/won't start
« Reply #6 on: September 17, 2009, 01:31:03 am »
I don't know if you would like this solution, but you can try to reinstall eBox, specially the ebox-usersandgroups and ebox-samba modules. First you can uninstall them with "apt-get remove --purge ebox-usersandgroups" and then "apt-get install ebox-samba ebox-egroupware", or any other module that gets uninstalled after that.

Regards,

J. A. Calvo
Zentyal Server Lead Developer

PaulR

  • Zen Apprentice
  • *
  • Posts: 32
  • Karma: +0/-0
    • View Profile
Re: Cannot log into eGroupware - webserver not/won't start
« Reply #7 on: September 18, 2009, 05:56:48 pm »
I did wind up re-installing from scratch.  System came up fine and everything, well almost everything is working now.  I just tried to install ebox-dns and it failed with unmet dependancies.  so... I tried apt-get -f install, and it too failed to install anything.  So, any thoughts on that one?  I really appreciate the help.  Right now, when things are working, they work very well, but the configuration dependancies and modifications seem very very fragile.  Please let me know if there is any additional information I can provide, or if there is something you think I should try.

Thanks again,
Paul

J. A. Calvo

  • Zentyal Staff
  • Zen Hero
  • *****
  • Posts: 1986
  • Karma: +67/-3
    • View Profile
    • http://blogs.zentyal.org/jacalvo
Re: Cannot log into eGroupware - webserver not/won't start
« Reply #8 on: September 18, 2009, 06:25:59 pm »
You can provide as additional information which exact dependency problems are you getting, and also which eBox version are you using (apt-cache policy ebox-dns). You can also show us the contents of your /etc/apt/sources.list file.

Regards,

J. A. Calvo
Zentyal Server Lead Developer

PaulR

  • Zen Apprentice
  • *
  • Posts: 32
  • Karma: +0/-0
    • View Profile
Re: Cannot log into eGroupware - webserver not/won't start
« Reply #9 on: September 18, 2009, 08:35:27 pm »
Here is the error I'm getting in response to an apt-get upgrade

Reading state information... Done
You might want to run `apt-get -f install' to correct these.
The following packages have unmet dependencies:
  egroupware-calendar: Depends: egroupware-notifications (= 1.6.001+dfsg-2ubuntu2) but 1.6.001+dfsg-2ubuntu4 is installed
  egroupware-manual: Depends: egroupware-core (= 1.6.001+dfsg-2ubuntu4) but 1.6.001+dfsg-2ubuntu2 is installed
                     Depends: egroupware-wiki (= 1.6.001+dfsg-2ubuntu4) but 1.6.001+dfsg-2ubuntu2 is installed
  egroupware-notifications: Depends: egroupware-core (= 1.6.001+dfsg-2ubuntu4) but 1.6.001+dfsg-2ubuntu2 is installed
  egroupware-polls: Depends: egroupware-core (= 1.6.001+dfsg-2ubuntu4) but 1.6.001+dfsg-2ubuntu2 is installed
  egroupware-sambaadmin: Depends: egroupware-core (= 1.6.001+dfsg-2ubuntu4) but 1.6.001+dfsg-2ubuntu2 is installed
  egroupware-tracker: Depends: egroupware-notifications (= 1.6.001+dfsg-2ubuntu2) but 1.6.001+dfsg-2ubuntu4 is installed
E: Unmet dependencies. Try using -f.

The output of apt-get policy ebox-dns:

ebox-dns:
  Installed: (none)
  Candidate: 1.2.2-0ubuntu1~ppa1~hardy1
  Version table:
     1.2.2-0ubuntu1~ppa1~hardy1 0
        500 http://ppa.launchpad.net hardy/main Packages
     0.11-0ubuntu3 0
        500 http://us.archive.ubuntu.com hardy/universe Packages

Finally - the contents of apt/sources.list:

#
# deb cdrom:[Ubuntu-Server 8.04.2 _Hardy Heron_ - Release i386 (20090121.1)]/ hardy extras main restricted

#deb cdrom:[Ubuntu-Server 8.04.2 _Hardy Heron_ - Release i386 (20090121.1)]/ hardy extras main restricted
# See http://help.ubuntu.com/community/UpgradeNotes for how to upgrade to
# newer versions of the distribution.

#deb cdrom:[Ubuntu-Server 8.04.2 _Hardy Heron_ - Release i386 (20090121.1)]/ hardy extras main restricted
deb http://us.archive.ubuntu.com/ubuntu/ hardy main restricted
deb-src http://us.archive.ubuntu.com/ubuntu/ hardy main restricted

## Major bug fix updates produced after the final release of the
## distribution.
deb http://us.archive.ubuntu.com/ubuntu/ hardy-updates main restricted
deb-src http://us.archive.ubuntu.com/ubuntu/ hardy-updates main restricted

## N.B. software from this repository is ENTIRELY UNSUPPORTED by the Ubuntu
## team, and may not be under a free licence. Please satisfy yourself as to
## your rights to use the software. Also, please note that software in
## universe WILL NOT receive any review or updates from the Ubuntu security
## team.
deb http://us.archive.ubuntu.com/ubuntu/ hardy universe
deb-src http://us.archive.ubuntu.com/ubuntu/ hardy universe
deb http://us.archive.ubuntu.com/ubuntu/ hardy-updates universe
deb-src http://us.archive.ubuntu.com/ubuntu/ hardy-updates universe

## N.B. software from this repository is ENTIRELY UNSUPPORTED by the Ubuntu
## team, and may not be under a free licence. Please satisfy yourself as to
## your rights to use the software. Also, please note that software in
## multiverse WILL NOT receive any review or updates from the Ubuntu
## security team.
deb http://us.archive.ubuntu.com/ubuntu/ hardy multiverse
deb-src http://us.archive.ubuntu.com/ubuntu/ hardy multiverse
deb http://us.archive.ubuntu.com/ubuntu/ hardy-updates multiverse
deb-src http://us.archive.ubuntu.com/ubuntu/ hardy-updates multiverse

## Uncomment the following two lines to add software from the 'backports'
## repository.
## N.B. software from this repository may not have been tested as
## extensively as that contained in the main release, although it includes
## newer versions of some applications which may provide useful features.
## Also, please note that software in backports WILL NOT receive any review
## or updates from the Ubuntu security team.
# deb http://us.archive.ubuntu.com/ubuntu/ hardy-backports main restricted universe multiverse
# deb-src http://us.archive.ubuntu.com/ubuntu/ hardy-backports main restricted universe multiverse

## Uncomment the following two lines to add software from Canonical's
## 'partner' repository. This software is not part of Ubuntu, but is
## offered by Canonical and the respective vendors as a service to Ubuntu
## users.
# deb http://archive.canonical.com/ubuntu hardy partner
# deb-src http://archive.canonical.com/ubuntu hardy partner

deb http://security.ubuntu.com/ubuntu hardy-security main restricted
deb-src http://security.ubuntu.com/ubuntu hardy-security main restricted
deb http://security.ubuntu.com/ubuntu hardy-security universe
deb-src http://security.ubuntu.com/ubuntu hardy-security universe
deb http://security.ubuntu.com/ubuntu hardy-security multiverse
deb-src http://security.ubuntu.com/ubuntu hardy-security multiverse

deb http://ppa.launchpad.net/ebox/1.2/ubuntu hardy main


J. A. Calvo

  • Zentyal Staff
  • Zen Hero
  • *****
  • Posts: 1986
  • Karma: +67/-3
    • View Profile
    • http://blogs.zentyal.org/jacalvo
Re: Cannot log into eGroupware - webserver not/won't start
« Reply #10 on: September 18, 2009, 09:52:52 pm »
I don't know if it's going to work, but try the following:

apt-get update

apt-get install egroupware

If you get any dependency error, paste it here.

Regards,

J. A. Calvo
Zentyal Server Lead Developer

PaulR

  • Zen Apprentice
  • *
  • Posts: 32
  • Karma: +0/-0
    • View Profile
Re: Cannot log into eGroupware - webserver not/won't start
« Reply #11 on: September 19, 2009, 01:07:44 am »
Reading package lists... Done
Building dependency tree       
Reading state information... Done
You might want to run `apt-get -f install' to correct these:
The following packages have unmet dependencies:
  egroupware-calendar: Depends: egroupware-notifications (= 1.6.001+dfsg-2ubuntu2) but 1.6.001+dfsg-2ubuntu4 is to be installed
  egroupware-manual: Depends: egroupware-core (= 1.6.001+dfsg-2ubuntu4) but 1.6.001+dfsg-2ubuntu2 is to be installed
                     Depends: egroupware-wiki (= 1.6.001+dfsg-2ubuntu4) but 1.6.001+dfsg-2ubuntu2 is to be installed
  egroupware-notifications: Depends: egroupware-core (= 1.6.001+dfsg-2ubuntu4) but 1.6.001+dfsg-2ubuntu2 is to be installed
  egroupware-polls: Depends: egroupware-core (= 1.6.001+dfsg-2ubuntu4) but 1.6.001+dfsg-2ubuntu2 is to be installed
  egroupware-sambaadmin: Depends: egroupware-core (= 1.6.001+dfsg-2ubuntu4) but 1.6.001+dfsg-2ubuntu2 is to be installed
  egroupware-tracker: Depends: egroupware-notifications (= 1.6.001+dfsg-2ubuntu2) but 1.6.001+dfsg-2ubuntu4 is to be installed
E: Unmet dependencies. Try 'apt-get -f install' with no packages (or specify a solution).

PaulR

  • Zen Apprentice
  • *
  • Posts: 32
  • Karma: +0/-0
    • View Profile
Re: Cannot log into eGroupware - webserver not/won't start
« Reply #12 on: September 19, 2009, 03:31:30 am »
A little more poking around tonight might have revealed the problem.... I have a system disk patitioned as 35GB for / and 5 for swap.  Then I have a raid array that is partitioned for /var and /home.  The raid array is fine, but the system partition, the 35GB one is slammed full.  I thought maybe logs, so I purged them, no change.  Any idea what on earth could have consumed all that space?  ..and better still, what can I clean up to recover it?

Thanks,
Paul

dragonslayr

  • Zen Warrior
  • ***
  • Posts: 157
  • Karma: +1/-0
    • View Profile
Re: Cannot log into eGroupware - webserver not/won't start
« Reply #13 on: September 19, 2009, 07:46:38 am »
A little more poking around tonight might have revealed the problem.... I have a system disk patitioned as 35GB for / and 5 for swap.  Then I have a raid array that is partitioned for /var and /home.  The raid array is fine, but the system partition, the 35GB one is slammed full.  I thought maybe logs, so I purged them, no change.  Any idea what on earth could have consumed all that space?  ..and better still, what can I clean up to recover it?

Thanks,
Paul

Sure I do, ebox is backing up the entire drive to a directory called /mnt/backup. :(
The powers that be are going to have to work on that little issue.. 

PaulR

  • Zen Apprentice
  • *
  • Posts: 32
  • Karma: +0/-0
    • View Profile
Re: Cannot log into eGroupware - webserver not/won't start
« Reply #14 on: September 19, 2009, 01:12:07 pm »
BINGO!!!  Thanks a million.  That solved all of my current problems.
I would never have thought that the backup was of all of the servers data too.  Configuration yes.  Perhaps some more exposed configuration here would be very useful.  Perhaps the ability to configure the backup for various "functional" groups.  Enable/disable those groups, and be able to point them to different backup mounts.

Thanks again for your help.
Paul