Forums

Skip to content

Advanced search
  • Quick links
    • Unanswered topics
    • Active topics
    • Search
  • FAQ
  • Login
  • Register
  • Board index Discussion & Documentation Gentoo Forums Feedback
  • Search

[SOLVED] Unable to connect do database when accessing forums

Having a problem with the forums? Have a suggestion? Post here!
Post Reply
  • Print view
Advanced search
17 posts • Page 1 of 1
Author
Message
codemaker
Guru
Guru
User avatar
Posts: 398
Joined: Thu Jun 03, 2004 6:48 pm
Location: Lisboa, Portugal
Contact:
Contact codemaker
Website

[SOLVED] Unable to connect do database when accessing forums

  • Quote

Post by codemaker » Thu Sep 09, 2004 1:35 pm

I'm having a really strange problem and I don't have a clue of what to do. I can only access this forums when I'm on windows. If I try to access the forums from gentoo, I get an phpBB error. Something like:

phpBB error:

Unable to connect to database



Every single time I try to come here using my gentoo instalation I get this error. I tried using firefox, konqueror and lynx. I get the same error with every browser from gentoo. It was fine some weeks ago.

Every time I boot windows to read the forums, I don't encounter any problem.

What could be wrong? Where should I start looking for this problem.

Thanks!
Last edited by codemaker on Wed Oct 06, 2004 9:13 pm, edited 1 time in total.
Top
codemaker
Guru
Guru
User avatar
Posts: 398
Joined: Thu Jun 03, 2004 6:48 pm
Location: Lisboa, Portugal
Contact:
Contact codemaker
Website

  • Quote

Post by codemaker » Fri Sep 10, 2004 8:29 pm

*bump*

No ideas??
Top
Ateo
Advocate
Advocate
Posts: 2022
Joined: Mon Jun 02, 2003 11:47 pm
Location: Vegas Baby!

  • Quote

Post by Ateo » Sat Sep 11, 2004 7:14 am

Does this happen when you visit *any* phpbb forums or just the gentoo forums?
Top
codemaker
Guru
Guru
User avatar
Posts: 398
Joined: Thu Jun 03, 2004 6:48 pm
Location: Lisboa, Portugal
Contact:
Contact codemaker
Website

  • Quote

Post by codemaker » Sat Sep 11, 2004 9:35 pm

Only Gentoo forums. :(

When I don't feel like booting windows to check the forums for something important, I ssh to my gateway and access the forums from their using lynx. But that sucks :(
Top
codemaker
Guru
Guru
User avatar
Posts: 398
Joined: Thu Jun 03, 2004 6:48 pm
Location: Lisboa, Portugal
Contact:
Contact codemaker
Website

  • Quote

Post by codemaker » Fri Sep 17, 2004 9:40 am

It's getting worse. Now I get "connection refused".

This problem may have something to do with this other thread:

http://forums.gentoo.org/viewtopic.php?t=224054
Top
codemaker
Guru
Guru
User avatar
Posts: 398
Joined: Thu Jun 03, 2004 6:48 pm
Location: Lisboa, Portugal
Contact:
Contact codemaker
Website

  • Quote

Post by codemaker » Mon Sep 27, 2004 4:37 pm

*bump*

I can't live without the forums :(
Top
pjp
Administrator
Administrator
User avatar
Posts: 20668
Joined: Tue Apr 16, 2002 10:35 pm

  • Quote

Post by pjp » Mon Sep 27, 2004 6:32 pm

Have you tried clearing your cache? Do you have an ISP that changes your IP address while you are actively using the internet?
Quis separabit? Quo animo?
Top
codemaker
Guru
Guru
User avatar
Posts: 398
Joined: Thu Jun 03, 2004 6:48 pm
Location: Lisboa, Portugal
Contact:
Contact codemaker
Website

  • Quote

Post by codemaker » Mon Sep 27, 2004 7:18 pm

pjp wrote:Have you tried clearing your cache? Do you have an ISP that changes your IP address while you are actively using the internet?
I cleared cache and cookies. Tried 3 different browsers. I even used telnet forums.gentoo.org 80 and always got the same response.

My ISP changes my IP address but I'm not sure when. But I don't think that could be related. First because this has been hapening for weeks now. Always!! It's not like I can connect sometimes. I can't ever connect unless I'm using windows or another computer in my home network. I can connect from my gateway using lynx on gentoo!!

I also tried emerge -e mozilla-firefox (suggestion from a friend) hoping that the problem was in some package needed by firefox. Maybe after a recompilation... but no go

I'll be updating my kernel version tomorow. Maybe it's something wrong with my ip stack.
Top
ian!
Bodhisattva
Bodhisattva
User avatar
Posts: 3829
Joined: Tue Feb 25, 2003 9:52 am
Location: Essen, Germany
Contact:
Contact ian!
Website

  • Quote

Post by ian! » Mon Sep 27, 2004 7:42 pm

Please send me your IP (via PM, email) and the date/time when you're experiencing these problems.

Edit: Moved from 'OTG'.
"To have a successful open source project, you need to be at least somewhat successful at getting along with people." -- Daniel Robbins
Top
codemaker
Guru
Guru
User avatar
Posts: 398
Joined: Thu Jun 03, 2004 6:48 pm
Location: Lisboa, Portugal
Contact:
Contact codemaker
Website

  • Quote

Post by codemaker » Fri Oct 01, 2004 7:50 pm

New kernel (2.6.8.1) but the problem is still there...
Top
Qanii
n00b
n00b
Posts: 10
Joined: Fri Aug 29, 2003 4:11 pm

  • Quote

Post by Qanii » Mon Oct 04, 2004 12:43 am

Same problem here, just for this site, only in my linuxbox's browser(whatever the browser is... firefox,lynx,w3m, etc...).

I've tried with M$ windows based browser(firefox, iexplorer) in vmware,
and my linux based browser(firefox,lynx,w3m), at the same time.

I got the same phpBB error ( Unable to connect th database ) in my linux based browser,
but in my vmware box i could access to this forum normally... 8O

I'm now using ck-2.6.8.1-r9(udev) kernel, and have tried with

gentoo-dev-2.6.8-r3 udev
mm-2.6.8.1-r3 devfs
mm-2.6.8.1-r3 udev
mm-2.6.8.1-r4 udev
mm-2.6.7-r4
mm-2.6.4-r2

kernels, and also tried the code bellow, but the problem is still there.

Code: Select all

sysctl -w net.ipv4.tcp_moderate_rcvbuf=0 
sysctl -w net.ipv4.tcp_default_win_scale=0 
any idea???
Top
darkless
n00b
n00b
Posts: 42
Joined: Thu Jan 01, 2004 2:21 pm
Location: Denmark

  • Quote

Post by darkless » Wed Oct 06, 2004 5:25 pm

I had the exact same problem. I got the "phpBB error: Unable to connect to database " reply all the time.

Finally, I found the cause. It turned out that I hard hard-coded forums.gentoo.org in my /etc/hosts file at some point where the forums resolved DNS very slowly.

After removing the entry in my /etc/hosts file, everything worked again. So, it just might be a DNS issue.
Ignorance should be painful.
Top
codemaker
Guru
Guru
User avatar
Posts: 398
Joined: Thu Jun 03, 2004 6:48 pm
Location: Lisboa, Portugal
Contact:
Contact codemaker
Website

  • Quote

Post by codemaker » Wed Oct 06, 2004 9:08 pm

/me bangs head against the wall violently

That was it... I added some of my favourite sites to my /etc/hosts and forgot all about it. The Gentoo forums was one of them...

Thanks darkless ;)


PS: I'm writing this using gentoo again :D
Top
Clansman
Tux's lil' helper
Tux's lil' helper
Posts: 140
Joined: Sat Jan 10, 2004 11:51 pm
Contact:
Contact Clansman
Website

  • Quote

Post by Clansman » Wed Oct 06, 2004 10:45 pm

excuse me... i didn't follow...

why would you put an "external" (external as in outside your internal network) website in your /etc/hosts?

what insurance do you have that the ip does not change?

really, i don't see de advantage... only some can&mouse fun :D

i'm glad you found out your problem. that, i know, was hard!

codemaker: i hope the wall is hard!

cheers!
Top
codemaker
Guru
Guru
User avatar
Posts: 398
Joined: Thu Jun 03, 2004 6:48 pm
Location: Lisboa, Portugal
Contact:
Contact codemaker
Website

  • Quote

Post by codemaker » Wed Oct 06, 2004 10:57 pm

Less latency when visiting my favourite sites. Subtracting the dns query latency :P
Top
amne
Bodhisattva
Bodhisattva
User avatar
Posts: 6378
Joined: Sun Nov 17, 2002 6:00 pm
Location: Graz / EU

  • Quote

Post by amne » Thu Oct 07, 2004 6:27 pm

You could install dnsmasq. It acts as a cache/proxy for dns queries and should improve your latency without getting outdated entries.
Dinosaur week! (Ok, this thread is so last week)
Top
codemaker
Guru
Guru
User avatar
Posts: 398
Joined: Thu Jun 03, 2004 6:48 pm
Location: Lisboa, Portugal
Contact:
Contact codemaker
Website

  • Quote

Post by codemaker » Thu Oct 07, 2004 11:10 pm

I know. This was just a fast workround I used when my ISP's nameservers were working very slowly. It was a pain in the arse to browse forums like that. They seem to be working better...
Top
Post Reply
  • Print view

17 posts • Page 1 of 1

Return to “Gentoo Forums Feedback”

Jump to
  • Assistance
  • ↳   News & Announcements
  • ↳   Frequently Asked Questions
  • ↳   Installing Gentoo
  • ↳   Multimedia
  • ↳   Desktop Environments
  • ↳   Networking & Security
  • ↳   Kernel & Hardware
  • ↳   Portage & Programming
  • ↳   Gamers & Players
  • ↳   Other Things Gentoo
  • ↳   Unsupported Software
  • Discussion & Documentation
  • ↳   Documentation, Tips & Tricks
  • ↳   Gentoo Chat
  • ↳   Gentoo Forums Feedback
  • ↳   Duplicate Threads
  • International Gentoo Users
  • ↳   中文 (Chinese)
  • ↳   Dutch
  • ↳   Finnish
  • ↳   French
  • ↳   Deutsches Forum (German)
  • ↳   Diskussionsforum
  • ↳   Deutsche Dokumentation
  • ↳   Greek
  • ↳   Forum italiano (Italian)
  • ↳   Forum di discussione italiano
  • ↳   Risorse italiane (documentazione e tools)
  • ↳   Polskie forum (Polish)
  • ↳   Instalacja i sprzęt
  • ↳   Polish OTW
  • ↳   Portuguese
  • ↳   Documentação, Ferramentas e Dicas
  • ↳   Russian
  • ↳   Scandinavian
  • ↳   Spanish
  • ↳   Other Languages
  • Architectures & Platforms
  • ↳   Gentoo on ARM
  • ↳   Gentoo on PPC
  • ↳   Gentoo on Sparc
  • ↳   Gentoo on Alternative Architectures
  • ↳   Gentoo on AMD64
  • ↳   Gentoo for Mac OS X (Portage for Mac OS X)
  • Board index
  • All times are UTC
  • Delete cookies

© 2001–2026 Gentoo Foundation, Inc.

Powered by phpBB® Forum Software © phpBB Limited

Privacy Policy

 

 

magic