View Single Post
  #1  
Old 11th June 2009, 19:16
Slowhand Slowhand is offline
Member
 
Join Date: Sep 2007
Posts: 96
Thanks: 6
Thanked 0 Times in 0 Posts
Default Newb: Roundcube installation gone slightly awry...

Hi,

Still battling on... (Ubuntu 8.04 LTS)

I have roundcube installed in /usr/share/webmail (Mostlly seems Ok. See below)

I have Croydon's plugin enabled in ISPc3 to create a webmail folder in each site created by ISPc3.

My server is sierra.myserver.com.
If I go to myserver.com/webmail I see roundcube

I created site www.123.co.uk
When I go to www.123.co.uk/webmail I get a
ERROR 500 - Internal Server Error!

I then did the following:
Code:
slowhand@sierra:/var/www/www.123.co.uk/web$ ll
total 20
drwxr-xr-x 2 web1 client1 4096 2009-06-09 10:48 error
-rwxr-xr-- 1 web1 client1 1406 2009-06-09 10:48 favicon.ico
-rwxr-xr-- 1 web1 client1 1861 2009-06-09 10:48 index.html
-rwxr-xr-- 1 web1 client1   34 2009-06-09 10:48 robots.txt
drwxr-xr-x 2 web1 client1 4096 2009-06-10 00:30 stats
lrwxrwxrwx 1 root root      16 2009-06-09 12:12 webmail -> /var/www/webmail
slowhand@sierra:/var/www/www.123.co.uk/web$ cd /var/www
slowhand@sierra:/var/www$ ll
total 24
drwxr-xr-x 2 root root 4096 2009-03-10 18:14 apache2-default
drwxr-xr-x 3 root root 4096 2009-06-09 10:48 clients
-rw-r--r-- 1 root root   45 2009-06-04 16:49 index.html
lrwxrwxrwx 1 root root   34 2009-06-04 18:28 ispconfig -> /usr/local/ispconfig/interface/web
drwxr-xr-x 3 root root 4096 2009-06-04 18:28 php-fcgi-scripts
drwxr-xr-x 2 root root 4096 2009-06-09 13:18 special folder
drwxr-xr-x 2 root root 4096 2009-06-07 06:48 webalizer
lrwxrwxrwx 1 root root   19 2009-06-09 16:29 webmail -> /usr/share/webmail/
lrwxrwxrwx 1 root root   30 2009-06-09 11:19 www.123.co.uk -> /var/www/clients/client1/web1/
slowhand@sierra:/var/www$
To my newb eyes it looks as if there is a symlink from
/usr/share/webmail/

to
/var/www/webmail

which in turn goes to
/var/www/www.123.co.uk/web/webmail

I thought it was the trailing '/' in the first line </usr/share/webmail/> which was the problem so I did
Code:
slowhand@sierra:/var/www$ sudo rm webmail
slowhand@sierra:/var/www$ sudo ln -s /usr/share/webmail /var/www/webmail
slowhand@sierra:/var/www$ ll
total 24
drwxr-xr-x 2 root root 4096 2009-03-10 18:14 apache2-default
drwxr-xr-x 3 root root 4096 2009-06-09 10:48 clients
-rw-r--r-- 1 root root   45 2009-06-04 16:49 index.html
lrwxrwxrwx 1 root root   34 2009-06-04 18:28 ispconfig -> /usr/local/ispconfig/interface/web
drwxr-xr-x 3 root root 4096 2009-06-04 18:28 php-fcgi-scripts
drwxr-xr-x 2 root root 4096 2009-06-09 13:18 special folder
drwxr-xr-x 2 root root 4096 2009-06-07 06:48 webalizer
lrwxrwxrwx 1 root root   18 2009-06-11 16:54 webmail -> /usr/share/webmail
lrwxrwxrwx 1 root root   30 2009-06-09 11:19 www.123.co.uk -> /var/www/clients/client1/web1/
and rebooted the box.

I still get the same error as before.

How badly did I screw it up?

Probably shouldn't wrap two issues in one thread but it might be relevant...

Quote:
I have just been battling with the RC installer on a machine which isn't yet facing the internet and has no DNS pointing at it.

I completed the install but couldn't complete the final tests due to the reasons above.

Now I find that RC is installed in /usr/share/webmail/roundcubemail-0.2.2
Not /usr/share/webmail/ where I wanted it to be.

If I go to mydomain/webmail/roundcubemail-0.2.2/ I can log in fine (although there is only one folder, 'Inbox'...)

Did this happen because I didn't complete the installer properly?

I googled for a solution and settled on:
Code:
sudo su
cd to /usr/share/webmail/roundcubemail-0.2.2
then did
tar cf - . |(cd //usr/share/webmail; tar xvf -)
Quick prayer before hitting return...
Seems to have worked.

Can anyone comment on whether I have done the right thing?
Is my install Ok?
Why did this happen?
Shouldn't I see sent/junk/drafts folders? I'm not, only Inbox.
Slowhand
Reply With Quote
Sponsored Links