New user's registration have been closed due to high spamming and low trafic on this forum. Please contact forum admins directly if you need an account. Thanks !

Claire???

Got problems with your B2 or B3? Share and get helped!
efiggy
Posts: 26
Joined: 21 Aug 2007, 06:38

Post by efiggy »

After removing lighttpd from rc2.d, I can access the web admin again. Looks like all is working again. Why is lighttpd got installed?
Hammer
Posts: 124
Joined: 02 Oct 2007, 13:37

Post by Hammer »

Gawd, this is deep space.

Web interface dead. Apache2 impossible to restart, even after boot.


After your:
apt-get remove --purge bubba-backend
apt-get -f install
apt-get install bubba-frontend
I get this:
=========================================
Starting web server (apache2)...Syntax error on line 14 of /etc/apache2/conf.d/admin:
Invalid command 'FastCgiExternalServer', perhaps misspelled or defined by a module not included in the server configuration
failed!
.
.
.
dpkg: dependency problems prevent configuration of bubba-frontend:
bubba-frontend depends on bubba-backend; however:
Package bubba-backend is not configured yet.
dpkg: error processing bubba-frontend (--configure):
dependency problems - leaving unconfigured
Errors were encountered while processing:
mt-daapd
dovecot-common
dovecot-imapd
bubba-horde
bubba-backend
bubba-frontend
E: Sub-process /usr/bin/dpkg returned an error code (1)
=========================================

Now the first page of the web interface is working, but not Webmail or Administration. (404 not found)

So crap-crap-crap!!!
Do appreciate you trying carl, but this seems like a lost case.
Would you like me to set up an account on the bubba with shell access so you can have a look?
Hammer
Posts: 124
Joined: 02 Oct 2007, 13:37

Post by Hammer »

so I tried this again:
Code:
cp /usr/share/bubba-configs/apt/* /etc/apt/


Here I do an intentional semi-failed distupgrade, might not be needed, but anyway. as I force it, you will get the option to remove two packages, answer yes there.
Code:
apt-get dist-upgrade -f


Now we remove everything that depends on bad packages
Now the Horde web interface is accessible, but I cannot login with my user. Don't say everything is gone, then I'll go bonkers.

Webadmin is still not accessible.
Hammer
Posts: 124
Joined: 02 Oct 2007, 13:37

Post by Hammer »

continued the trail in your post:
apt-get install php-date php-db php-file php-http-request php-log php-mail php-mail-mime php-mdb2 php-mdb2-driver-mysql php-net-imap php-net-socket php-net-url php-pear php5-cli php5-common php5-gd php5-imap php5-mcrypt php5-mysql php5-xcache
Got
Errors were encountered while processing:
mt-daapd
E: Sub-process /usr/bin/dpkg returned an error code (1)
Hammer
Posts: 124
Joined: 02 Oct 2007, 13:37

Post by Hammer »

And the last line:
apt-get install bubba-frontend
got me

Invalid command 'FastCgiExternalServer', perhaps misspelled or defined by a module not included in the server configuration
failed!
invoke-rc.d: initscript apache2, action "reload" failed.

Setting up proftpd (1.3.0-19ex5) ...
Starting ftp server: proftpd - IPv6 getaddrinfo 'thor.localdomain' error: Name or service not known
.

dpkg: dependency problems prevent configuration of bubba-backend:
bubba-backend depends on mt-daapd; however:
Package mt-daapd is not configured yet.
dpkg: error processing bubba-backend (--configure):
dependency problems - leaving unconfigured
Setting up libapache2-mod-fastcgi (2.4.2-8ex1) ...
Module fastcgi installed; run /etc/init.d/apache2 force-reload to enable.

dpkg: dependency problems prevent configuration of bubba-frontend:
bubba-frontend depends on bubba-backend; however:
Package bubba-backend is not configured yet.
dpkg: error processing bubba-frontend (--configure):
dependency problems - leaving unconfigured
Errors were encountered while processing:
mt-daapd
bubba-backend
bubba-frontend
E: Sub-process /usr/bin/dpkg returned an error code (1)
===========================================

Still no access to webadmin....
efiggy
Posts: 26
Joined: 21 Aug 2007, 06:38

Post by efiggy »

Hammer,

I got the same problem as yours. You may want to stop lighttpd and start apache2 instead.

#/etc/init.d/lighttpd stop
#/etc/init.d/apache2 start
davidI
Posts: 49
Joined: 07 Oct 2008, 13:39

Post by davidI »

Hammer wrote:Gawd, this is deep space.


After your:
apt-get remove --purge bubba-backend
apt-get -f install
apt-get install bubba-frontend
shouldn't that be remove bubba-backend, install bubba-backend???

I.e.

Code: Select all

apt-get remove --purge bubba-backend 
apt-get -f install
apt-get install bubba-backend 
carl
Posts: 474
Joined: 07 May 2008, 04:41

Post by carl »

davidI wrote:
Hammer wrote:Gawd, this is deep space.


After your:
apt-get remove --purge bubba-backend
apt-get -f install
apt-get install bubba-frontend
shouldn't that be remove bubba-backend, install bubba-backend???

I.e.

Code: Select all

apt-get remove --purge bubba-backend 
apt-get -f install
apt-get install bubba-backend 
As bubba-frontend depends on bubba-backend, the frontend will be removed when the bakcend is removed, and the backend will be installed if the frontend is beeing installed.

On an other note, I tested this on a clean RC7 after one failed dist-upgrade, the basic problem is a symlink in the php5-cgi package which we assumed was an directory (/etc/php5/cgi/conf.d), which resulted in this problem, have filed an bug upstream to see if we can solve this problem in a good upstream manner (http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=505743), otherwise I will need to patch the php5 package locally (which I'm already in the progress of doing).

If you want, you can set up an ssh account for me, and I can try fixing the system for you, as it is difficult to give exact instructions, as different instructions are required depending on how much the packages are configured. Though remember to remove any account information from fetchmail first, so you don't need to change passwords for all your external email accounts.You can mail support@excito.com if you want this solution.

/Carl Fürstenberg
/Carl Fürstenberg, Excito Software Developer
http://www.excito.com
support@excito.com
Hammer
Posts: 124
Joined: 02 Oct 2007, 13:37

Post by Hammer »

Can I install a fresh system without touching my data?
If so, how?
Post Reply