RoundCube

On a new server install Roundcube looks great. So I thought I'd add it to our existing servers. I downloaded the install script and executed it. I got the following result:

(apollon|ttyp0) scripts # ./roundcube.sh
cat: /var/www/html/roundcube/index.php: No such file or directory
[: !=: unexpected operator
Editing roundcube configuration...
Roundcube has been installed successfully.


When I go to the roundcube url I get:

DATABASE ERROR: CONNECTION FAILED!

Unable to connect to the database!
Please contact your server-administrator.
 
Try this again:
Code:
[FONT=monospace]
[/FONT]cd /usr/local/directadmin/scripts[FONT=monospace]
[/FONT]wget -O roundcube.sh http://files.directadmin.com/services/all/roundcube.sh[FONT=monospace]
[/FONT]chmod 755 roundcube.sh[FONT=monospace]
[/FONT]./roundcube.sh
 
[root@host scripts]# cd /usr/local/directadmin/scripts
[root@host scripts]# wget -O roundcube.sh http://files.directadmin.com/services/all/roundcube.sh
[root@host scripts]# chmod 755 roundcube.sh
[root@host scripts]# ./roundcube.sh
cp: cannot stat `/var/www/html/roundcube/logs/*': No such file or directory
cp: cannot stat `/var/www/html/roundcube/temp/*': No such file or directory
Editing roundcube configuration...
Roundcube has been installed successfully.
[root@host scripts]#
 
I wish I could replace the default webmail app from squirrelmail to roundcube,
any idea of how to do so?
 
Last edited:
You could change the alias to point from squirrelmail to roundcube in the httpd.conf file:

Alias /squirrelmail /var/www/html/squirrelmail

to

Alias /squirrelmail /var/www/html/roundcube

Restart apache and it'll load roundcube.

Jon
 
Check your /etc/resolv.conf file. For now just try this:
Code:
cd /usr/local/directadmin/scripts
wget -O roundcube.sh http://72.35.85.222/services/all/roundcube.sh
chmod 700 roundcube.sh
./roundcube.sh
[URL="http://files.directadmin.com/services/all/roundcube.sh"][/URL]
 
Check your /etc/resolv.conf file. For now just try this:
Code:
cd /usr/local/directadmin/scripts
wget -O roundcube.sh http://72.35.85.222/services/all/roundcube.sh
chmod 700 roundcube.sh
./roundcube.sh
[URL="http://files.directadmin.com/services/all/roundcube.sh"][/URL]



okay thats working alone 1 problem

i hava a error ! this my error


20:11:10 (127.59 MB/s) - `roundcube.sh' saved [4950/4950]

[root@Server2 scripts]# chmod 700 roundcube.sh
[root@Server2 scripts]# ./roundcube.sh

gzip: stdin: unexpected end of file
/bin/tar: Child returned status 1
/bin/tar: Error exit delayed from previous errors
Directory /var/www/html/roundcubemail-0.1-rc2 does not exist

who can help my plz ?
 
Try: rm -rf /usr/local/directadmin/scripts/packages/roundcube*
Then run the script again.
 
i have fix it the tar.gz most removed on /usr/local/directadmin/scripts/packages/roundcube ;)
 
Last edited:
Warning: ini_set() [function.ini-set]: SAFE MODE Restriction in effect. The script whose uid is 501 is not allowed to access logs/errors owned by uid 0 in /var/www/html/roundcubemail-0.1-rc2/program/include/main.inc on line 150

? Error
 
Warning: ini_set() [function.ini-set]: SAFE MODE Restriction in effect. The script whose uid is 501 is not allowed to access logs/errors owned by uid 0 in /var/www/html/roundcubemail-0.1-rc2/program/include/main.inc on line 150

? Error

Did you enabled Safe Mode in the php.ini?
If you have, it will break lots of things.
You should use safe mode in the PHP Safe Mode Configuration at the Admin Level per each website.
If you use the global safe mode in the php.ini it will not work for you.

-Alon.
 
[root@lelu ~]# service httpd restart
Stopping httpd: [ OK ]
Starting httpd: [Mon Feb 11 22:42:53 2008] [warn] The Alias directive in /etc/httpd/conf/httpd.conf at line 179 will probably never match because it overlaps an earlier Alias.
[Mon Feb 11 22:42:53 2008] [warn] NameVirtualHost xx.xx.xx.xx:80 has no VirtualHosts
[Mon Feb 11 22:42:53 2008] [warn] NameVirtualHost xx.xx.xx.xx:443 has no VirtualHosts
[Mon Feb 11 22:42:53 2008] [warn] NameVirtualHost xx.xx.xx.xx:80 has no VirtualHosts
[Mon Feb 11 22:42:53 2008] [warn] NameVirtualHost xx.xx.xx.xx:443 has no VirtualHosts

What with the alias directive for roundcube? It works, but why this error?
I checked the httpd.conf file and there was includes to half a million different files? Which one should I look in.
Also where can I go to fix those nasty little warn errors? Which would be great if they were fixed in DA?
 
Check if you have another /roundcube alias like the one on line 179. If so, comment out the duplicate or incorrect one.
 
Back
Top