[SERVER-12948] Ubuntu packaging has issues Created: 27/Feb/14 Updated: 05/May/14 Resolved: 11/Mar/14 |
|
| Status: | Closed |
| Project: | Core Server |
| Component/s: | Packaging |
| Affects Version/s: | 2.6.0-rc1 |
| Fix Version/s: | None |
| Type: | Bug | Priority: | Major - P3 |
| Reporter: | Jonathan Abrahams | Assignee: | Ernie Hershey |
| Resolution: | Cannot Reproduce | Votes: | 0 |
| Labels: | 26qa | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Attachments: |
|
|||||||||||||||||||||||||||||||||||||||||||
| Issue Links: |
|
|||||||||||||||||||||||||||||||||||||||||||
| Operating System: | Linux | |||||||||||||||||||||||||||||||||||||||||||
| Steps To Reproduce: |
|
|||||||||||||||||||||||||||||||||||||||||||
| Participants: | ||||||||||||||||||||||||||||||||||||||||||||
| Description |
|
The following failures were observed on Ubuntu 12 (64 bit): [INFO] Installing package mongodb-org-server |
| Comments |
| Comment by Jonathan Abrahams [ 11/Mar/14 ] | |
|
No longer an issue | |
| Comment by Jonathan Abrahams [ 11/Mar/14 ] | |
|
Based on changes to the test script (driven by packaging changes), this is no longer an issue. | |
| Comment by Ernie Hershey [ 07/Mar/14 ] | |
|
jonathan.abrahams is that error message accurate? It's from your test script, right? I don't think any data was corrupted. It looks like you're just trying to connect to the server before it's started. Can you check if the server is still coming up when you can't connect? | |
| Comment by Jonathan Abrahams [ 28/Feb/14 ] | |
|
Retried this test on a new VM in Amazon, and could not reproduce the errors. However there was one error: [PASS] /var/log/mongodb/mongodb.log is ok | |
| Comment by Ernie Hershey [ 28/Feb/14 ] | |
|
Have you manually deleted /etc/mongod.conf after installing the package? The packaging system views deleting a config file as a deliberate "change" to the configuration of the package that it thinks you want to preserve. If you've ever manually removed the config file and let the packaging system see it, this behavior is expected. The script probably needs to do an apt-get purge instead of rm of the config file. You can fix this manually as well by running apt-get purge mongodb-org-server, which will let apt mark the config file as deleted, so it will attempt to reinstall it, or with this crazy command, which doesn't require uninstalling the package:
| |
| Comment by Jonathan Abrahams [ 28/Feb/14 ] | |
|
See steps to reproduce. |