logins are temporarily disabled

8 views
Skip to first unread message

zhaoxin...@gmail.com

unread,
May 22, 2024, 8:17:45 PM5/22/24
to emulab-admins
Hi, I'm trying to install a new emulab and now in step of "Creating the First Project". 
When I'm trying login with elabman, it shows:
Sorry, logins are temporarily disabled, please try again later.
What should I do now? Can anyone help?

Leigh Stoller

unread,
May 23, 2024, 8:51:04 AM5/23/24
to emulab...@googlegroups.com
Hi. First thing is to run this command and send us the output.

boss> testbed-version

Thanks
Leigh

zhaoxin...@gmail.com

unread,
May 23, 2024, 6:36:58 PM5/23/24
to emulab-admins
Thank you for your help, Leigh.
The output of cmd  testbed-version is as follows:

boss:/usr/testbed/www/portal # testbed-version
aggregates_pushed:   0
buildinfo:           04/24/2024
commithash:          fad6d65fa738cc9d1d3e85f5455d8552a2cc719b
dbrev:               4.789
install:             5.67
needreboot:          0
protogeni_reregister: 0
OS Version:          FreeBSD 12.3-RELEASE-p11
Perl Version:        5.032001


I've just tested the portal/login.php. The two conditions of line 64 are both true.
if (NOLOGINS() && !$adminmode) {

Leigh Stoller

unread,
May 24, 2024, 9:10:23 AM5/24/24
to emulab...@googlegroups.com

> Thank you for your help, Leigh.
> The output of cmd testbed-version is as follows:

Hi, Try this please:

boss> sudo testbed-control shutdown
boss> sudo testbed-control boot

and then see if you can login. Watch for errors in output from the
above commands.

Leigh


zhaoxin...@gmail.com

unread,
May 24, 2024, 10:19:25 AM5/24/24
to emulab-admins
boss:~ #   testbed-control shutdown
** Putting the testbed to sleep ...
-> Turning off the web interface and disallowing swaps.
-> Waiting a few seconds for testbed to quiet down ...
-> Looking for experiments still in transition.
** Testbed is quiet; stopping testbed daemons ...
** Testbed is stopped. Safe to power off or reboot

boss:~ # testbed-control boot
Starting up testbed daemons.
 mfrisbeed dbboot bootinfo tmcd capd lastlogd sdcollectd statedMay 24 22:09:39 [22253]: ANNOUNCEMENT: Stated exiting, cleaning up


 sslxmlrpc_server reloadd checkupd mysqld_watchdog lease_daemon expire_daemon sa_daemon ch_daemon ims_daemon igevent_daemon checknodes_daemon poolmonitor tcppd event_watchdog apt_daemon aptexpire_daemon aptevent_daemon aptresgroup_daemon aptimage_daemon apt_scheduler cnetwatchWARNING: cnetwatch disabled by sitevar
 portal_resources batchd wrapper
You must define a configuration file (apache24_geni_configfile)
*** testbed-control:
    Could not restart apache geni server; swapping is disabled

It seems that apache geni is not working. I remember that I commented out protogeni part in the step of "Installing Emulab Software on boss", because it can't be installed.

Leigh Stoller

unread,
May 24, 2024, 11:18:50 AM5/24/24
to emulab...@googlegroups.com

> It seems that apache geni is not working. I remember that I commented out protogeni part in the step of "Installing Emulab Software on boss", because it can't be installed.

Oh, that is not good, that has to be turned on now, using something
like this:

PORTAL_ENABLE=1
PROTOGENI_SUPPORT=1
PROTOGENI_GENIRACK=0
PROTOGENI_DOMAIN="XXX" # XXX This needs to be localized
PROTOGENI_LOCALUSER=1
PROTOGENI_ISCLEARINGHOUSE=1
PROTOGENI_WEBSITE=$BOSSNODE
PROTOGENI_EMAIL="$TBOPSEMAIL"

The DOMAIN above should be a short token, something similar
to your domain name, but about 8 chars.

Leigh

Message has been deleted

zhaoxin...@gmail.com

unread,
May 24, 2024, 7:36:46 PM5/24/24
to emulab-admins
I've tried to comment out geni part in testbed-control script. And now "testbed-control boot" cmd runs normally. I can also login with elabman.
So next question is: Can emulab work well without geni?

Leigh Stoller

unread,
May 28, 2024, 8:23:23 AM5/28/24
to emulab...@googlegroups.com

> I've tried to comment out geni part in testbed-control script. And now "testbed-control boot" cmd runs normally. I can also login with elabman.
> So next question is: Can emulab work well without geni?

Hi. The Geni code is required now. You will not actually be a part of
the Geni Federation, it is just that we use code from that subsystem
even on standalone testbeds

Leigh


zhaoxin...@gmail.com

unread,
May 29, 2024, 6:55:31 AM5/29/24
to emulab-admins
OK, thanks Leigh. I'll try to resolve the geni installation problem.
Reply all
Reply to author
Forward
0 new messages