RoundCube Webmail Forum  

Go Back   RoundCube Webmail Forum > Release Support > Pending Issues

For more information about the ads and why they're here, please see the FAQ
Reply
  #1  
Old 08-25-2006, 10:57 PM
Registered User
 
Join Date: Aug 2006
Posts: 7
Downloads: 0
Uploads: 0
Default Service Not Available / (105) DB Error / Site5

Hello. I'm trying to install Roundcube on my Site5 account and have hit some walls. Intially I was following the steps laid out in this tutorial for Site5 users: http://forums.site5.com/showthread.p...ight=roundcube

After becoming frustrated I spent some time in the RoundCubeForum reading folks with similiar problems. I know its possible because others have done it, but i'm hitting my head against the wall at this point. Below is my original post over at Site5. Please help if you can...thanks:

Ok so i've followed the steps (all but chmod 600...i don't know how to do this...yet) and this is what i'm getting:

DB Error in /home/indycdan/public_html/webmail/program/include/rcube_db.inc (105): DB Error: connect failed

SERVICE CURRENTLY NOT AVAILABLE!

DB Error: connect failed

I've went through the install instructions here many times and additionally have spent hours over at roundcubeforum.net trying to figure this out. So now i ask for help.

here's my db.inc.php:

<?php

/*
+-----------------------------------------------------------------------+
| Configuration file for database access |
| |
| This file is part of the RoundCube Webmail client |
| Copyright (C) 2005, RoundCube Dev. - Switzerland |
| Licensed under the GNU GPL |
| |
+-----------------------------------------------------------------------+

*/

$rcmail_config = array();

// PEAR database DSN for read/write operations
// format is db_provider://userassword@host/databse
// currentyl suported db_providers: mysql, sqlite

$rcmail_config['db_dsnw'] = 'mysql://admin:PASSWORD@webmail.indycdandvinyl/roundcube';
// postgres example: 'pgsql://roundcubeass@localhost/roundcubemail';
// sqlite example: 'sqlite://./sqlite.db?mode=0646';

// PEAR database DSN for read only operations (if empty write database will be used)
// useful for database replication
$rcmail_config['db_dsnr'] = '';

// database backend to use (only db or mdb2 are supported)
$rcmail_config['db_backend'] = 'db';

// maximum length of a query in bytes
$rcmail_config['db_max_length'] = 512000; // 500K

// use persistent db-connections
$rcmail_config['db_persistent'] = TRUE;


// you can define specific table names used to store webmail data
$rcmail_config['db_table_users'] = 'users';

$rcmail_config['db_table_identities'] = 'identities';

$rcmail_config['db_table_contacts'] = 'contacts';

$rcmail_config['db_table_session'] = 'session';

$rcmail_config['db_table_cache'] = 'cache';

$rcmail_config['db_table_messages'] = 'messages';


// you can define specific sequence names used in PostgreSQL
$rcmail_config['db_sequence_users'] = 'user_ids';

$rcmail_config['db_sequence_identities'] = 'identity_ids';

$rcmail_config['db_sequence_contacts'] = 'contact_ids';

$rcmail_config['db_sequence_cache'] = 'cache_ids';

$rcmail_config['db_sequence_messages'] = 'message_ids';


// end db config file
?>

Now it should be noted the the database i created through Netadmin was done as 'roundcube' but shows up in mysql as indycdan_roundcube. I placed roundcubes files in a folder called 'webmail' via ftp. I also created webmail.indycdandvinyl.com. Additionally made a user and granted permission.

On the main.inc.php i replaced localhost w/ indycdandvinyl.com but was a little confused about the $rcmail_config['des_key'] = 'change this key'; part. I made up a key but wasn't sure if that was all that was necessary.

I spent 4 hours reading and working on. I finally realized I needed sleep...today it seems wiser to just ask for help.

Thanks,
Ryan
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #2  
Old 08-26-2006, 10:19 AM
Registered User
 
Join Date: Jun 2006
Posts: 106
Downloads: 0
Uploads: 0
Default Re: Service Not Available / (105) DB Error / Site5

$rcmail_config['db_dsnw'] = 'mysql://admin:PASSWORD@YOUR_MYSQL_SERVER/indycdan_roundcube';
__________________
irc://irc.freenode.net:6667/#roundcube
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #3  
Old 08-26-2006, 09:03 PM
Registered User
 
Join Date: Aug 2006
Posts: 7
Downloads: 0
Uploads: 0
Default Re: Service Not Available / (105) DB Error / Site5

thx Yilar! after rereading the Site5 RC tutorial, reading your post, and sleeping I've managed to strike gold.

thx
ryan
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

For more information about the ads and why they're here, please see the FAQ

All times are GMT. The time now is 03:11 PM.


Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.2.0
Copyright © 2006-2008 RoundCube Webmail Community