Virgo Logbook
UTC--:--:--
GPS-
Reports
IT infrastructure›Data Storage #49627

ST11 rebooting

Due a low level SO update, the machine will be rebooted in 20 minutes.

Areas affected by this reboot are related to volumes:

tcs
squeezing
seismon
wdf
geo
archives.rds
archives.trend

1 comment

narnaud · 12 Oct 2020 · 21:53 #49640

Somehow this reboot confused the Java client listening to the USGS early warning info as that process couldn't be restarted properly after ST11 was back -- in the future, it would definitely be better / safer to stop all Seismon-related processes (currenty located in the Detector's Environment Monitoring / Earthquakes subsection of VPM) before proceeding with such reboot. This morning Livio sent me an e-mail in advance but I wasn't able to react to it in time.

For the record, the error was:

virgorun@stol04[.../seismon/seisapps/ProductClient]: java -Dhttps.protocols=TLSv1,TLSv1.1,TLSv1.2 -jar ProductClient.jar --configFile=config.ini --receive
Product Distribution Client
Version 1.9.7 2015-04-30

INFO    thread=1        Starting
SEVERE  thread=1        Exceptions while starting, shutting down
java.sql.SQLException: database is locked
        at org.sqlite.DB.throwex(DB.java:288)
        at org.sqlite.NativeDB.prepare(Native Method)
        at org.sqlite.DB.prepare(DB.java:114)
        at org.sqlite.PrepStmt.(PrepStmt.java:37)
        at org.sqlite.Conn.prepareStatement(Conn.java:231)
        at org.sqlite.Conn.prepareStatement(Conn.java:224)
        at org.sqlite.Conn.prepareStatement(Conn.java:213)
        at gov.usgs.earthquake.distribution.JDBCNotificationIndex.startup(JDBCNotificationIndex.java:359)
        at gov.usgs.earthquake.distribution.DefaultNotificationReceiver.startup(DefaultNotificationReceiver.java:560)
        at gov.usgs.earthquake.distribution.EIDSNotificationReceiver.startup(EIDSNotificationReceiver.java:142)
        at gov.usgs.earthquake.distribution.ProductClient.startup(ProductClient.java:237)
        at gov.usgs.earthquake.distribution.ProductClient.run(ProductClient.java:368)
        at gov.usgs.earthquake.distribution.Bootstrap.main(Bootstrap.java:292)

The way to fix this issue is documented in https://usgs.github.io/pdl/userguide/troubleshooting.html, section "Database is locked". Applying the procedure the first time did not work and so the second time I also deleted the -journal file, although instruction 2 says not to do that. That file looked suspect enough though:

----------.  1 virgorun virgo         0 Jun 29  2037 receiver_index.db-journal

After this fix, I could finally restart the VPM processes one after the other.