Skip to Content.
Sympa Menu

en - [sympa-users] firstlogin Problems

Subject: The mailing list for listmasters using Sympa

List archive

Chronological Thread  
  • From: Brian Eliassen <address@concealed>
  • To: address@concealed
  • Subject: [sympa-users] firstlogin Problems
  • Date: Fri, 26 Feb 2016 15:05:53 -0800

Hello everyone,

OS: CentOS 7
DB: MariaDB/MySQL
Sympa: 6.2.12
Perl: 5.16.3
Apache: 2.4.6

So I'm finally able to see sympa responding after getting /usr/local/ sympa/bin/wwsympa_sudo_wrapper.pl working properly with all of the environment variables being sent properly from sudo. My current problem occurs when I select "First login?" which is the normal process to create the listmaster account. Everything looks great as it loads the sympa/firstlogin page and asks for my e-mail address. I enter it and click [Request First Password].

I receive an e-mail with a link like this: http:///sympa/ticket/ 57391801830077

Obviously the http_host from robot.conf isn't being added but I simply appended the ticket information to the proper URL. No problem. It seems to work and it asks me for my new password. I enter it twice and submit. I'm then presented a login page with the following error: ERROR (Setpasswd) - You need to login

Okay, so I try to login normally thinking my password has been set and I just need to login. Nope. The login fails and I see two errors:
ERROR () - Provided password is incorrect
ERROR (setpasswd) - You need to login

So how do I login to change my password if I can't login to change my password? I'm caught in an infinite loop.

I connected to MySQL and have confirmed that user_table is empty so nothing is being saved:

MariaDB [sympa]> SELECT email_user,gecos_user FROM user_table;
Empty set (0.01 sec)

Any help would be greatly appreciated as I'm stuck on this one.

Here is my robot.conf file for this connection:

http_host www.scrapcombatships.com
host scrapcombatships.com
wwsympa_url http://www.scrapcombatships.com/sympa
cookie_domain localhost
email sympa
title SCRAP Mailing Lists Service
default_home lists
create_list listmaster
lang en-US
supported_lang en-US
listmaster address@concealed
max_size 5242880
static_content_path /usr/local/sympa/static_content
static_content_url /static-sympa

Here is the sympa.log file for the entire process above including the normal login attempt at the end.

Feb 26 13:57:38 frodo wwsympa[14302]: info main:: WWSympa started, process 14302
Feb 26 13:57:39 frodo wwsympa[14302]: info main::do_lists(, ) [robot scrapcombatships.com] [session 52320086858183] [client netblock-208-127-57-109.value.net]
Feb 26 13:57:45 frodo wwsympa[14308]: info main:: WWSympa started, process 14308
Feb 26 13:57:45 frodo wwsympa[14308]: info main::do_firstpasswd() [robot scrapcombatships.com] [session 17335961897995] [client netblock-208-127-57-109.value.net]
Feb 26 13:57:45 frodo wwsympa[14308]: info main::do_renewpasswd() [robot scrapcombatships.com] [session 17335961897995] [client netblock-208-127-57-109.value.net]
Feb 26 13:58:04 frodo wwsympa[14318]: info main:: WWSympa started, process 14318
Feb 26 13:58:04 frodo wwsympa[14318]: info main::do_requestpasswd(address@concealed ) [robot scrapcombatships.com] [session 39498767716257] [client netblock-208-127-57-109.value.net]
Feb 26 13:58:04 frodo wwsympa[14318]: notice Sympa::Spindle::ProcessTemplate::_twist() Processing Sympa::Message::Template <address@concealed,3642>; address@concealed ; address@concealed; address@concealed ; address@concealed; template=sendpasswd; action=requestpasswd
Feb 26 13:58:04 frodo wwsympa[14318]: notice Sympa::Bulk::store() Message Sympa::Message::Template <address@concealed ,3642> is stored into bulk spool as <address@concealed ,14318,4837>
Feb 26 13:58:04 frodo bulk[3983]: notice Sympa::Spindle::ProcessOutgoing::_twist() Start sending message Sympa::Message <address@concealed ,14318,4837/s> to scrapcombatships.com (priority 1) (starting 0 seconds after scheduled expedition date)
Feb 26 13:58:05 frodo bulk[3983]: notice Sympa::Mailer::store() Done sending message Sympa::Message <address@concealed ,14318,4837/s> for scrapcombatships.com (priority 1) in 1 seconds since scheduled expedition date
Feb 26 13:59:03 frodo wwsympa[14328]: info main:: WWSympa started, process 14328
Feb 26 13:59:04 frodo wwsympa[14328]: info main::do_ticket(57391801830077) [robot scrapcombatships.com] [session 53300756058894] [client netblock-208-127-57-109.value.net]
Feb 26 13:59:04 frodo wwsympa[14328]: info Sympa::Ticket::load() Ticket: 57391801830077; Result: success
Feb 26 13:59:04 frodo wwsympa[14328]: info main::do_choosepasswd() [robot scrapcombatships.com] [session 53300756058894] [client netblock-208-127-57-109.value.net] [user address@concealed]
Feb 26 13:59:19 frodo wwsympa[14338]: info main:: WWSympa started, process 14338
Feb 26 13:59:19 frodo wwsympa[14338]: err main::#1633 > main::check_action_parameters#2713 [robot scrapcombatships.com] [session 07262814098965] [client netblock-208-127-57-109.value.net] User not logged in
Feb 26 13:59:19 frodo wwsympa[14338]: info main::do_loginrequest() [robot scrapcombatships.com] [session 07262814098965] [client netblock-208-127-57-109.value.net]
Feb 26 13:59:38 frodo wwsympa[14342]: info main:: WWSympa started, process 14342
Feb 26 13:59:38 frodo wwsympa[14342]: info main::do_login(address@concealed ) [robot scrapcombatships.com] [session 07927468626084] [client netblock-208-127-57-109.value.net]
Feb 26 13:59:38 frodo wwsympa[14342]: err main::#1651 > main::do_login#3721 > Sympa::Auth::check_auth#66 > Sympa::Auth::authentication#197 Incorrect password for user address@concealed
Feb 26 13:59:38 frodo wwsympa[14342]: notice main::do_login() Authentication failed
Feb 26 13:59:38 frodo wwsympa[14342]: err main::#1633 > main::check_action_parameters#2713 [robot scrapcombatships.com] [session 07927468626084] [client netblock-208-127-57-109.value.net] User not logged in
Feb 26 13:59:38 frodo wwsympa[14342]: info main::do_loginrequest() [robot scrapcombatships.com] [session 07927468626084] [client netblock-208-127-57-109.value.net]

There is one other error that is popping up in my apache logs:

[Fri Feb 26 13:58:04.860027 2016] [cgi:error] [pid 13711] [client 208.127.57.109:49339] AH01215: Use of uninitialized value in substitution iterator at /usr/local/sympa/bin/Sympa/Language.pm line 702., referer: http://www.scrapcombatships.com/sympa/firstpasswd/





  • [sympa-users] firstlogin Problems, Brian Eliassen, 02/26/2016

Archive powered by MHonArc 2.6.19+.

Top of Page