ftocc

Can't Login Keeps giving invalid username or password

grantsc
Posts: 2
Member Since:
2007-10-08

Hi

I am trying to install the HUD Lite package on my TrixBox server, but every time I try and login it give me a username and password invalid, I am using my forum username and password which is correct else I wouldn't be able to post this comment.

My server does have internet connection.

If someone could please give me some advice on what is wrong, it would be apreciated.
Thanks



kerryg
Posts: 6416
Member Since:
2006-05-31
Do you mean when you try to

Do you mean when you try to login to the trixbox dashboard and not into HUDLite? "Usually" this error is a bad DNS server setup or bad gateway setting. Instead of trying to login, have you tried to register your system when the pop-up comes up or use the registration module?

--

Kerry Garrison
trixbox Community Director
VoipSpeak.net - Asterisk Tutorials



grantsc
Posts: 2
Member Since:
2007-10-08
I have tried to register

I have tried to register with the pop up and the registration and nothing happens, not even an error, I am sure my DNS and Gatway is correct, because I get an invalid username and password which means it is getting through, I have tested it with different settings and it shows no internet connection if the setting are wrong. All I want to do is be able to access the package section on my trixbox to install HUDLite. Is there a way to manually install it without using the package section?

Thanks for the help in advance.



hezla
Posts: 2
Member Since:
2007-01-10
Keeps giving invalid username or password

I have the same problem.

On my trixbox' webinterface http://x.x.x.x/maint/index.php?packages
I need to login to see the packages but get an error all the time.

My user/password works fine here on www.trixbox.org

/HenrikZachrau



pcott
Posts: 129
Member Since:
2006-05-31
I was able to login until

I was able to login until two days ago, when I started to get that message. So I patched trix with tom kings patch http://www.script-trix.us/disablepackagelogon.htm and now it's fixed. This seems to be cropping up a lot lately.

Not a perfect solution, but what the hey.



rflora
Posts: 3
Member Since:
2007-10-25
Unable to create a new post - help!

Hi,

I'm trying to post a question I have, but I'm unable to find the place to create a new post. Can you tell me where I do that from? Thanks a lot.



pcott
Posts: 129
Member Since:
2006-05-31
Do it from the forums main

Do it from the forums main page.



Hammad
Posts: 6
Member Since:
2006-06-26
Same problem here

I can not access package list with my valid account also.....help

I need to install Hudlite server

thanks



webnetvic
Posts: 1
Member Since:
2007-11-28
Same Package Install problem

I am a newbie and are experiencing the same problem. After login to system and invoking the package manager, I get an error that says "Error: the XML response that was returned from the server is invalid. You have whitespace in your response" What the heck is this. All I want to do is install the Hudlite server component. I can login to the forums etc manually fine. Surely would appreciate a response

--

WEBNETVIC



shazbot996
Posts: 36
Member Since:
2007-12-05
FYI, check your resolv.conf

This may be a bug, it might not. I just found this post while looking for this same problem I am having with the newest trixbox 2.4 release...

After I installed, I first changed the IP to a static IP using the "netconfig" tool. However after that tool ran, my /etc/resolv.conf file was blank, re-ran it again and got the same thing. Not sure, but it looks like a minor (but annoying) bug. Despite the fact that I entered a valid DNS server, it still leaves the resolv.conf file blank.

So the fix here is to log in to console, and create/edit your /etc/resolv.conf file, adding, at a minimum, a line like:

nameserver xxx.xxx.xxx.xxx

where "xxx.xxx.xxx.xxx" is the IP of a valid name server you use for your network...

all worked great once I did this...



dibble5504
Posts: 12
Member Since:
2008-01-02
Same problem

I've got the same problem. DNS is working fine - I can dig forum.trixbox.org on the server. resolv.conf has 2 internal and one external nameservers. I have created a second ID to see if the problem was with my username/password combo but that doesn't work either.



Jonashellgren
Posts: 9
Member Since:
2007-06-10
Same problem, I have dubbel

Same problem,

I have dubbel checked the resolv.conf file but can't login.



kerryg
Posts: 6416
Member Since:
2006-05-31
Is this happening in a

Is this happening in a VMWare session?

--

Kerry Garrison
trixbox Community Director
VoipSpeak.net - Asterisk Tutorials



dibble5504
Posts: 12
Member Since:
2008-01-02
Not VMWare

No, mine is a full, clean install on physical hardware.

Username is obviously dibble5504 (10 chars) and password is random lower and UPPER alpha and numbers (8 chars) with no symbols or special characters so I can't imagine that the problem is with the username / password length or complexity.

Paul



astoria
Posts: 2
Member Since:
2008-01-17
Same issue

Help, i am getting very frustrated - i too have a valid forum account (otherwise i wouldn't post here!) but logging in on trixbox gives the all too familiar username or password not valid. My DNS is working just fine, as is the gateway - i can ping/dig anything from my trixbox box.

Looks like others have experienced the same problem and appears to be a systemic issue. I am sure that it is based on some configuration - but there is nothing pointing to where to even look. Any debug from the account login? How? No idea.

I did change my default passwords, so am wondering if the account login has to access the db first for some reason; this fails and then it gives the username or password error without even going out to the network. Currently this is my only theory.

Can anyone help????

Thx



astoria
Posts: 2
Member Since:
2008-01-17
Solution found

Found on another thread:

Filename:/var/www/html/maint/includes/functions/login_functions.php
Line:369 (Home Version: 1.0.0.26)

Find:
if($loginStatusArray[0] == 1)

replace:
if($loginStatusArray[0] == 0)

Please dont forget to make a backup of the file !!
Everyone can thank cak007 for this fix!!! He rocks

On the latest install the line number is different, but located the 'if' and updated the 1 to a zero. Worked a treat and was able to download HUDlite etc.



Jonashellgren
Posts: 9
Member Since:
2007-06-10
Thanks, works perfect for me

Thanks, works perfect for me to.



elmanu
Posts: 1
Member Since:
2007-05-13
Thanks, it works fine ! The

Thanks, it works fine !
The instruction is at line 423 on a 2.4.0 installation.



atlet
Posts: 1
Member Since:
2008-01-21
if($loginStatusArray[0] ==

if($loginStatusArray[0] == 1) makes, but still don't work :(
resolv.conf include string nameservers with correct DNS

any Idea?

(PBX makes last Updates - so network work fine, PBX run on VMWare)



dibble5504
Posts: 12
Member Since:
2008-01-02
Worked for me too.

Atlet - Have you set the line to "== 0" or "== 1"?

"== 0" works for me as suggested.

Paul



vio
Posts: 2
Member Since:
2008-01-16
Also for me

Thanks for the info. It worked



cmonfradi
Posts: 1
Member Since:
2008-02-14
That change worked for me too

2-20-08 (using the VM image).

Thanks!



po3
Posts: 12
Member Since:
2007-05-08
great job

very thankful for the tip



abdfultonst
Posts: 1
Member Since:
2008-06-18
This is happening for me all of a sudden after weeks of no probs

"Invalid username and/or password." I finally got it to work by increasing the timeout in php.ini...



jgallardo
Posts: 13
Member Since:
2007-02-02
Invalid username and/or password

In which part of the php.ini?, I saw too many fields with the word "timeout"

Thanks in advance

Jimmy



propspin-mike
Posts: 3
Member Since:
2008-07-28
changing the 1 to a 0 worked

changing the 1 to a 0 worked for me (in 2.6.1 it's about 10 lines further down in the code than stated above..)

Since this has been a bug/flaw for a while, you'd think it would have been fixed by now (or at least, if it's not a bug and only affects certain installs, there would be some documentation about it)



propspin-mike
Posts: 3
Member Since:
2008-07-28
As for the php timeout

As for the php timeout comments above - that sounds like a bandaid and not a fix - The only timeouts I've ever had are after the 30 second mark - if it's taking your script longer than 30 seconds to authenticate with the trixbox web database, you've got other problems...

(as always, YMMV)



thevoipwiz
Posts: 7
Member Since:
2008-08-11
I need PAckages to work I need to Install MyPHPAdmin

I know my login information is correct, if it wasn't I could not be posting this Post now. No matter what the packages aren't accessible, I need to install MyPHPAdmin and that is the only way I know how. Please Help!!!!!!

--Scott



SkykingOH
Posts: 3668
Member Since:
2007-12-17
Have you actually registered

Have you actually registered this particular copy of CE?

Anyway from the console prompt enter 'yum install tbm-phpmyadmin' that will install it for you. Then enter 'amportal restart' this will register phpmyadmin in the trix GUI.

Now that you know how to use yum (it actually gives you feedback as the package is installer) a word of advice. Don't ever yum anything with an all or a -y in it. Always do one thing at a time and know what you are trying to load.

--

Scott

aka "Skyking"



mjl
Posts: 2
Member Since:
2008-09-17
At Last!

Thanks. The 0 did the trix.



Comment viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.