Mantis Bugtracker
  

Viewing Issue Simple Details Jump to Notes ] View Advanced ] Issue History ] Print ]
ID Category Severity Reproducibility Date Submitted Last Update
0005635 [Resin] minor always 01-20-14 07:29 11-03-14 18:07
Reporter cowan View Status public  
Assigned To ferg
Priority normal Resolution fixed  
Status closed   Product Version 4.0.38
Summary 0005635: RPM upgrade leaves watchdog running under old version
Description If rpm -Uvh is used to upgrade Resin from 4.0.37 to 4.0.38, without first stopping Resin, the 4.0.37 watchdog is left running pointing to the now deleted 4.0.37 resin root. As a result, resinctl always fails with the error "Unexpected resin.home mismatch". There is no way fix other than killing the watchdog.

[root@new-host-2 ~]# rpm -Uvh resin-pro-4.0.38-1.x86_64.rpm
warning: resin-pro-4.0.38-1.x86_64.rpm: Header V3 RSA/SHA1 Signature, key ID 6ef6d565: NOKEY
Preparing... ########################################### [100%]
resin:x:498:
resin:x:498:498::/home/resin:/bin/false
   1:resin-pro ########################################### [100%]
Resin/4.0.38 can't start -server 'app-0' for watchdog at 127.0.0.1:6600.
  Unexpected resin.home mismatch:
  CLI resin.home: /usr/local/share/resin-4.0.38/
  watchdog resin.home: /usr/local/share/resin-4.0.37/
warning: %post(resin-pro-4.0.38-1.x86_64) scriptlet failed, exit status 1

[root@new-host-2 ~]# resinctl restart
Resin/4.0.38 can't restart -server 'app-0'.
com.caucho.config.ConfigException: Unexpected resin.home mismatch:
  CLI resin.home: /usr/local/share/resin-4.0.38/
  watchdog resin.home: /usr/local/share/resin-4.0.37/
Additional Information Rep by S. Gillespie
Attached Files

- Relationships

- Notes
(0006534)
ttakaura
10-13-14 10:59

please type command.

# resinctl stop --resin-home /usr/local/share/resin-4.0.37/
 

- Issue History
Date Modified Username Field Change
01-20-14 07:29 cowan New Issue
10-13-14 10:59 ttakaura Note Added: 0006534
11-03-14 18:07 ferg Assigned To  => ferg
11-03-14 18:07 ferg Status new => closed
11-03-14 18:07 ferg Resolution open => fixed
11-03-14 18:07 ferg Fixed in Version  => 4.0.42


Mantis 1.0.0rc3[^]
Copyright © 2000 - 2005 Mantis Group
30 total queries executed.
27 unique queries executed.
Powered by Mantis Bugtracker