Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ARTDAQ_DATABASE_URI error #57

Closed
AndrewEdmonds11 opened this issue Dec 11, 2023 · 4 comments
Closed

ARTDAQ_DATABASE_URI error #57

AndrewEdmonds11 opened this issue Dec 11, 2023 · 4 comments

Comments

@AndrewEdmonds11
Copy link

Hi Everyone,

I updated our otsdaq setup to v2_07_00 and am now getting the following error when I run ots and ots -w:

[mu2estm:vst]$ ots
10Dec23.15:51:16-10Dec23.15:51:16 mu2e-calo-05.fnal.gov ots:102 |       =========================== Mu2e ots =============================
10Dec23.15:51:16-10Dec23.15:51:16 mu2e-calo-05.fnal.gov ots:236 |       Setting up TRACE defaults...
10Dec23.15:51:16-10Dec23.15:51:16 mu2e-calo-05.fnal.gov ots:614 |       $USER_DATA               = /home/mu2estm/vst/srcs/otsdaq_mu2e_config/Data_mu2e

10Dec23.15:51:16-10Dec23.15:51:16 mu2e-calo-05.fnal.gov ots:615 |       $ARTDAQ_DATABASE_URI     = mongodb://unameremoved:pwremoved@localhost:portremoved/teststand_db?authSource=admin
10Dec23.15:51:16-10Dec23.15:51:16 mu2e-calo-05.fnal.gov ots:616 |       $OTSDAQ_DATA             = /home/mu2estm/vst/srcs/otsdaq_mu2e_config/Data_mu2e/OutputData
10Dec23.15:51:16-10Dec23.15:51:16 mu2e-calo-05.fnal.gov ots:657 |       Fatal Error.
10Dec23.15:51:16-10Dec23.15:51:16 mu2e-calo-05.fnal.gov ots:658 |       ARTDAQ_DATABASE_URI=mongodb://unameremoved:pwremoved@localhost:portremoved/teststand_db?authSource=admin
10Dec23.15:51:16-10Dec23.15:51:16 mu2e-calo-05.fnal.gov ots:659 |       Environment variable ARTDAQ_DATABASE_URI does not have a value!
10Dec23.15:51:16-10Dec23.15:51:16 mu2e-calo-05.fnal.gov ots:660 |       To setup, use 'export ARTDAQ_DATABASE_URI=<value>'
10Dec23.15:51:16-10Dec23.15:51:16 mu2e-calo-05.fnal.gov ots:663 |       (If you do not have a database folder, copy '<path to otsdaq_demo_data repo>/databases/filesystemdb/test_db' as your starting point.)
10Dec23.15:51:16-10Dec23.15:51:16 mu2e-calo-05.fnal.gov ots:664 |       Aborting launch

(Note: I removed the username, password and port from this output)

I have the ssh tunnel open for the MongoDB and I'm not sure what else it could be. Any ideas?

@brownd1978
Copy link

brownd1978 commented Dec 11, 2023 via email

@AndrewEdmonds11
Copy link
Author

Thanks, Dave. I don't think so. The weird thing is the message itself prints a value for ARTDAQ_DATABASE_URI (which matches what I get with echo $ARTDAQ_DATABASE_URI)

@pavel1murat
Copy link
Contributor

if your ssh forwarding goes through mu2edaq-gateway.fnal.gov, it seems to be down

@AndrewEdmonds11
Copy link
Author

Bug was fixed at the head of develop in otsdaq

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants