OTRS 2.4.2 first login

Hey folks, I wiped my DB and started over, and am to the point in the install where I am testing the first login. The instructions for 2.4.2 are the same as 2.3.4 and say to use "root@localhost" and "root", but that is not working. Maybe it is not connecting to the DB properly? Something else? How can I test the DB connection? I just now went into Kernel/Config.pm and changed the password to something I know is wrong, and index.pl does not complain that it cannot connect. thanks, -Alan -- “Don't eat anything you've ever seen advertised on TV” - Michael Pollan, author of "In Defense of Food"

i'ts seem a bug on default installation because i tried thins twice with the
same problem.
Aquiles Cohen.-
Homepage : http://aqcohen.blogspot.com
On Thu, Jul 30, 2009 at 9:44 AM, Alan McKay
Hey folks,
I wiped my DB and started over, and am to the point in the install where I am testing the first login.
The instructions for 2.4.2 are the same as 2.3.4 and say to use "root@localhost" and "root", but that is not working.
Maybe it is not connecting to the DB properly? Something else?
How can I test the DB connection? I just now went into Kernel/Config.pm and changed the password to something I know is wrong, and index.pl does not complain that it cannot connect.
thanks, -Alan
-- “Don't eat anything you've ever seen advertised on TV” - Michael Pollan, author of "In Defense of Food" --------------------------------------------------------------------- OTRS mailing list: otrs - Webpage: http://otrs.org/ Archive: http://lists.otrs.org/pipermail/otrs To unsubscribe: http://lists.otrs.org/cgi-bin/listinfo/otrs
NEW! ENTERPRISE SUBSCRIPTION - Get more information NOW! http://www.otrs.com/en/support/enterprise-subscription/

So how do I get in?
Hack my DB?
On Thu, Jul 30, 2009 at 10:50 AM, Aquiles Cohen
i'ts seem a bug on default installation because i tried thins twice with the same problem. Aquiles Cohen.-
-- “Don't eat anything you've ever seen advertised on TV” - Michael Pollan, author of "In Defense of Food"

Here is what is in the PW field
roK20XGbWEsSM
I'll remove it and see what happens
On Thu, Jul 30, 2009 at 11:02 AM, Alan McKay
So how do I get in?
Hack my DB?
On Thu, Jul 30, 2009 at 10:50 AM, Aquiles Cohen
wrote: i'ts seem a bug on default installation because i tried thins twice with the same problem. Aquiles Cohen.-
-- “Don't eat anything you've ever seen advertised on TV” - Michael Pollan, author of "In Defense of Food"
-- “Don't eat anything you've ever seen advertised on TV” - Michael Pollan, author of "In Defense of Food"

On Thu, Jul 30, 2009 at 11:03 AM, Alan McKay
Here is what is in the PW field
roK20XGbWEsSM
I'll remove it and see what happens
I have phpPGadmin running and could use it to set the PW. But googling is not helping me. Anyone? Deleting it did not work -- “Don't eat anything you've ever seen advertised on TV” - Michael Pollan, author of "In Defense of Food"

Hi Alan, On Jul 30, 2009, at 17:23 , Alan McKay wrote:
roK20XGbWEsSM
I'll remove it and see what happens
I have phpPGadmin running and could use it to set the PW. But googling is not helping me.
Just removing will not help. You need to set it. Just use shell> bin/otrs.setPassword root@localhost root -> User NewPassword to reset it. Anyway, it's really strange, I never heard about login problems. -Martin

This would seem to be my base issue. BTW, I'm using Postgres. And I did manage to get this working just fine on 2.3.4 -bash-3.2$ bin/otrs.setPassword root@localhost root DBD::Pg::st execute failed: ERROR: permission denied for relation users at /opt/otrs-2.4.2/Kernel/System/DB.pm line 559. ERROR: otrs.setPassword-10 Perl: 5.8.8 OS: linux Time: Fri Jul 31 12:22:40 2009 Message: ERROR: permission denied for relation users, SQL: 'SELECT id, login, salutation, first_name, last_name, pw, valid_id FROM users WHERE LOWER(login) = ?' Traceback (13149): Module: Kernel::System::User::GetUserData (v1.93) Line: 172 Module: Kernel::System::User::SetPassword (v1.93) Line: 555 Module: bin/otrs.setPassword (unknown version) Line: 80 ERROR: otrs.setPassword-10 Perl: 5.8.8 OS: linux Time: Fri Jul 31 12:22:40 2009 Message: No such User! Traceback (13149): Module: Kernel::System::User::SetPassword (v1.93) Line: 557 Module: bin/otrs.setPassword (unknown version) Line: 80 -- “Don't eat anything you've ever seen advertised on TV” - Michael Pollan, author of "In Defense of Food"

On Fri, Jul 31, 2009 at 12:23 PM, Alan McKay
This would seem to be my base issue. BTW, I'm using Postgres. And I did manage to get this working just fine on 2.3.4
OK, I did this : otrs=# GRANT ALL PRIVILEGES ON DATABASE otrs to otrs; And I still have the issue. Anyone? -- “Don't eat anything you've ever seen advertised on TV” - Michael Pollan, author of "In Defense of Food"

OK, I just went into psql otrs And did "\d" to show all tables. They were all still owned by user postgres, so I did this to change them all to owner otrs first I just did psql otrs -c "\d" > somefile Then edited somefile to remove headers and footers cat somefile | awk '{print $3}' > otherfile Yes, that was a gratuitous cat :-) Then just for table in `cat otherfile` do psql otrs -c "ALTER TABLE $table OWNER TO otrs;" done And it worked! -- “Don't eat anything you've ever seen advertised on TV” - Michael Pollan, author of "In Defense of Food"

Hi Alan, On Jul 31, 2009, at 21:06 , Alan McKay wrote:
OK, I just went into
psql otrs
And did "\d" to show all tables.
They were all still owned by user postgres, so I did this to change them all to owner otrs
first I just did [...] psql otrs -c "ALTER TABLE $table OWNER TO otrs;" done
And it worked!
Fine! :) Also all the other stuff like dashboard? -Martin

Fine! :) Also all the other stuff like dashboard?
I'm not that far yet - doing many different things at once Will keep you posted. I got logged in OK. [...] OK, dashboard does not crash at least - so that seems to be a good start :-) -- “Don't eat anything you've ever seen advertised on TV” - Michael Pollan, author of "In Defense of Food"

Hi Alan, On Jul 31, 2009, at 18:23 , Alan McKay wrote:
This would seem to be my base issue. BTW, I'm using Postgres. And I did manage to get this working just fine on 2.3.4
-bash-3.2$ bin/otrs.setPassword root@localhost root DBD::Pg::st execute failed: ERROR: permission denied for relation users at /opt/otrs-2.4.2/Kernel/System/DB.pm line 559. ERROR: otrs.setPassword-10 Perl: 5.8.8 OS: linux Time: Fri Jul 31 12:22:40 2009
Message: ERROR: permission denied for relation users, SQL: 'SELECT id, login, salutation, first_name, last_name, pw, valid_id FROM users WHERE LOWER(login) = ?'
I think also this is the base problem of all your other problems. :( Really strange, all this code is nearly the same as in OTRS 2.3. It looks really like an database permission problem. I'm not a postgres guru, so I do not know how to grand this permissions in postgresql. :-/ -Martin

It looks really like an database permission problem. I'm not a postgres guru, so I do not know how to grand this permissions in postgresql. :-/
See my follow up - I granted them and still no go. And I'm no DB guru either - and my DB Admin is away on vacation. I think he is back next week so this may have to wait til then. I recall that he helped me set up the permissions for 2.3.4 THough I have my SQL dump for the whole 2.3.4 installation so I may be able to look through there to see what it does. Because when I restored that DB and moved back to 2.3.4 everything seemed to be OK. Will report back ... -- “Don't eat anything you've ever seen advertised on TV” - Michael Pollan, author of "In Defense of Food"

On Thu, Jul 30, 2009 at 10:44 AM, Alan McKay
Hey folks,
I wiped my DB and started over, and am to the point in the install where I am testing the first login.
The instructions for 2.4.2 are the same as 2.3.4 and say to use "root@localhost" and "root", but that is not working.
Anyone have any idea about this one? Others are reporting the same thing so it seems not to be me. I'd really love to get going with 2.4.2 either with upgrade or new install. I don't really care which. It seems to me the new install would be the best route given the bizarre problems I'm having with the upgrade. But I can't even get logged in :-( -- “Don't eat anything you've ever seen advertised on TV” - Michael Pollan, author of "In Defense of Food"
participants (3)
-
Alan McKay
-
Aquiles Cohen
-
Martin Edenhofer