Page 1 of 1
ruined my webinterface
Posted: 30 Jan 2009, 17:28
by kees
Hi,
I'm afraid I ruined my bubba-web interface, while installing qmail. I think the "apt-get install courier-imap"-command deinstalled some bubba specific software.
http://bubba works as expected
http://bubba/admin gives:
The requested URL /admin was not found on this server.
http://bubba/manual gives:
The requested URL /manual was not found on this server.
http://bubba/pim works as expected
http://bubba:631 (cups) works normal
http://bubba:3689 (firefly) works normal
Is it possible to restore the admin and manual page with an apt-get command??
Or any another way??
Please...

[/code]
Posted: 31 Jan 2009, 03:09
by Eek
Probably the apache settings have been changed by qmial
in the /etc/apache2/sites-enabled there should be a link bubba
which refers to the file /etc/apache2/sites-available/bubba
check if that is there
and check the error-log of apache.
cheers Eek
thanks!!
Posted: 31 Jan 2009, 05:10
by kees
Thanks Eek,
That's it... /etc/apache2/sites-enabled is empty!
New problem is /etc/apache2/sites-available has only a "default" in it, no "bubba". I wonder where it went!!?..
Can you post "/etc/apache2/sites-available/bubba" here?
Or if not, send me a copy?
Many thanks..
Re: thanks!!
Posted: 31 Jan 2009, 13:57
by carl
kees wrote:Thanks Eek,
That's it... /etc/apache2/sites-enabled is empty!
New problem is /etc/apache2/sites-available has only a "default" in it, no "bubba". I wonder where it went!!?..
Can you post "/etc/apache2/sites-available/bubba" here?
Or if not, send me a copy?
Many thanks..
Check so that you have bubba-backend and bubba-frontend installed, e.g.
Code: Select all
apt-cache policy bubba-backend
apt-cache policy bubba-frontend
should be marked with a star IF it's installed.
/Carl
Posted: 01 Feb 2009, 03:21
by kees
We're coming close:
after:
Code: Select all
apt-get install bubba-frontend
apt-get install bubba-backend
http://bubba/manual is werking again!
but:
http://bubba/admin displays a directory listing:
Code: Select all
[ ] adminfunctions.php 14-Dec-2008 04:24 28K
[TXT] backend.pl 14-Dec-2008 18:09 36K
[TXT] disk.pl 04-Dec-2008 19:24 6.7K
[ ] firewall.conf 04-Dec-2008 19:24 1.3K
[TXT] firewall.pl 18-Dec-2008 17:55 13K
[ ] phptest.php 14-Dec-2008 04:24 1.8K
[TXT] print.pl 04-Dec-2008 19:24 6.9K
[TXT] testclient.pl 14-Dec-2008 04:24 272
[TXT] thumbnail.pl 04-Dec-2008 19:24 4.1K
[TXT] updatebackend.pl 14-Dec-2008 21:58 5.3K
[TXT] updater.pl 04-Dec-2008 19:24 3.5K
Posted: 01 Feb 2009, 03:36
by Eek
if you do a
http://bubba/server-info
does it list mod_php5.c
at the loaded modules?
Posted: 01 Feb 2009, 06:50
by kees
hmmm..
http://bubba/server-info says:
Code: Select all
The requested URL /server-info was not found on this server.
Posted: 02 Feb 2009, 03:17
by Eek
check if these exist
ls -l /etc/apache2/mods-enabled/php*
Posted: 02 Feb 2009, 03:58
by kees
They do!
Code: Select all
root@bubba:~# ls -l /etc/apache2/mods-enabled/php*
lrwxrwxrwx 1 root root 27 2008-01-26 18:31 /etc/apache2/mods-enabled/php5.conf -> ../mods-available/php5.conf
lrwxrwxrwx 1 root root 27 2008-01-26 18:31 /etc/apache2/mods-enabled/php5.load -> ../mods-available/php5.load
Posted: 02 Feb 2009, 06:45
by Eek
does ls -l /etc/apache2/conf.d/admin exist?
in there /admin should direct to /usr/share/web-admin/admin
where a index.php should exist
Posted: 02 Feb 2009, 08:05
by kees
The "/etc/apache2/conf.d/admin" file indeed exists, and contains a redirection to /usr/share/web-admin/admin:
Code: Select all
Alias /admin /usr/share/web-admin/admin/
Alias /manual /usr/share/web-admin/manual/
<Directory /usr/share/web-admin/admin >
AllowOverride None
Order allow,deny
allow from all
DirectoryIndex index.php
AddHandler php-cgi .php
Action php-cgi /fcgi-bin/php.cgi virtual
</Directory>
ScriptAlias /fcgi-bin/php.cgi /usr/share/web-admin/admin
FastCgiExternalServer /usr/share/web-admin/admin/index.php -socket fcgi -idle-timeout 120
<Location /admin>
RewriteEngine on
RewriteBase /admin
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^(.*)$ index.php/$1 [L]
</Location>
A listing of /usr/share/web-admin/admin gives:
Code: Select all
root@bubba:~# ls /usr/share/web-admin/admin -l
total 12
-rw-r--r-- 1 root root 3297 2008-05-11 15:18 index.php
-rw-r--r-- 1 root root 2542 2007-04-15 14:41 license.txt
drwxr-xr-x 13 root root 4096 2009-02-01 01:08 system
Posted: 02 Feb 2009, 08:55
by carl
Could still perhaps be a broken package somewhere, could you give the output of following command:
/Carl
Yes!! Fixed!
Posted: 04 Feb 2009, 07:23
by kees
Hi,
Everthing is back to normal.
This is what happend:
The "dkpg install courier-imap-ssl", part of the
www.qmailrocks.org installation, deinstalled the packages:
dovecot-commom
dovecot-imapd
dubba-backend
bubba-frontend
Thanks to Eek and Carl is was fixed like this:
Code: Select all
dpkg dovecot-imapd
dpkg dovecot-common
dpkg install bubba-backend
dpkg install bubba-frontend
cd /var/www/sites-enabled
rm 00-enabled (is a link)
ln -s ../sites-availabe/bubba ./
NB.
The qmail installatation (which ruined the bubba admin-interface) succeded at last, and the Bubba|2 serves five domains now!
Thanks for the many,fast and all very useable replies!