[MB-6958] collect_info doesn't work on Mac Created: 18/Oct/12 Updated: 29/Oct/12 Resolved: 26/Oct/12 |
|
| Status: | Closed |
| Project: | Couchbase Server |
| Component/s: | tools |
| Affects Version/s: | 2.0 |
| Fix Version/s: | 2.0 |
| Security Level: | Public |
| Type: | Bug | Priority: | Blocker |
| Reporter: | Perry Krug | Assignee: | Ronnie Sun |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Description |
|
crowdparks-imac:~ crowdpark$ /Applications/Couchbase\ Server.app/Contents/Resources/couchbase-core/bin/cbcollect_info couchlogs.zip
File "/Applications/Couchbase Server.app/Contents/Resources/couchbase-core/bin/cbcollect_info", line 241 "ls -lR `dirname "$0"`/.. /opt/membase /var/membase /etc/opt/membase"), ^ SyntaxError: invalid syntax |
| Comments |
| Comment by Steve Yen [ 18/Oct/12 ] |
|
Hi Perry, do you know the build/version number? Was this perhaps a system that upgraded from 1.x? Thanks, Steve |
| Comment by Steve Yen [ 18/Oct/12 ] |
| Nevermind - back to Jens on this. |
| Comment by Steve Yen [ 23/Oct/12 ] |
| assigning to me to move this forward |
| Comment by Steve Yen [ 23/Oct/12 ] |
|
Ronnie, Can you take a swipe at this one? Thanks, Steve |
| Comment by Ronnie Sun [ 24/Oct/12 ] |
| what 2.0 version is this? |
| Comment by Ronnie Sun [ 24/Oct/12 ] |
|
On build 1723, the problem comes from an old version of cbcollect_info
https://github.com/couchbase/ns_server/blob/master/cbcollect_info line 241, this one works. Looks like in beta, we are using an obsolete cbcollect_info. |
| Comment by Ronnie Sun [ 24/Oct/12 ] |
| please make sure package the latest cbollect_info for GA release. |
| Comment by Steve Yen [ 24/Oct/12 ] |
|
Hi Ronnie,
Can you retest using the latest 1888 osx package/*.zip. Steve |
| Comment by Ronnie Sun [ 24/Oct/12 ] |
| Not working, guess something wrong with our packing process, looking into it |
| Comment by Steve Yen [ 26/Oct/12 ] |
|
The chain of 3 commits on gerrit ends here...
http://review.couchbase.org/#/c/21988/ |
| Comment by Farshid Ghods [ 29/Oct/12 ] |
| verified with build 1908 |
| Comment by Farshid Ghods [ 29/Oct/12 ] |
|
/Users/couchbase/Downloads/couchbase-server-community_x86_64_2.0.0-1908-rel 2/Couchbase Server.app/Contents/Resources/couchbase-core/bin
option #2 : - Mac OSX: cbcollect_info -r ../ output_file.zip and it collected these files couchbase.log ns_server.couchdb.log ns_server.debug.log ns_server.error.log ns_server.info.log ns_server.mapreduce_errors.log ns_server.stats.log ns_server.views.log ns_server.xdcr_errors.log ns_server.xdcr.log stats.log |