-
Notifications
You must be signed in to change notification settings - Fork 4
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
Error connecting #9
Comments
what does config.conf contain? (censor out the username/password) |
-------------- Added by myself
|
@os-hall can i check the system personally? can you try contacting me on facebook or discord? contact info at https://stackoverflow.com/users/1067003/hanshenrik?tab=profile |
Sure. I can give you the system logon info.
It’s just a sandbox for me to play around with. I was hoping to build an ansible role or bash for mounting this drive on other systems.
104.167.111.83
olive
ripe
…Sent from my iPhone
On May 26, 2019, at 11:26 AM, divinity76 ***@***.***> wrote:
@os-hall can i check the system personally? can you try contacting me on facebook or discord? contact info at https://stackoverflow.com/users/1067003/hanshenrik?tab=profile
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub, or mute the thread.
|
i guess what happened is that cacdrive was started prior to this, and crashed, and did not manage to clean up properly, and /dev/nbd1 was left in a... broken state. easy solution: reboot (this should make nbd1 work again) or switch to /dev/nbd2 (you have 12 btw, /dev/nbd1.../dev/nbd12) alternative solution: write a little program that opens /dev/nbd1 and runs auto fd=open("/dev/nbd1",O_RDWR);
ioctl(fd, NBD_CLEAR_SOCK);
ioctl(fd, NBD_DISCONNECT);
close(fd); , that should do the cleanup manually and make /dev/nbd1 usable again, in theory.. |
i was able to follow all instructions up to the point when executing a.out script.
i believe i was able to execute and got the following
sudo ./a.out config.conf api-tests
downloadcacapi tests..
logging in: 2.709s done! cookies: download.cloudatcost.com FALSE / FALSE 0 PHPSESSID pp7bvo2fs965prrfkfvb60rk86 -
uploading test.txt: 0.27s done! upload id: 54stljtuwezyr4jjdpbbri3p8
downloading what we just uploaded, using the single download api.. 0.174s done! contents: Hello world! (content is intact.)
downloading what we just uploaded, using the single download api.. 0.193s done! contents: Hello world! (content is intact.)
downloading what we just uploaded, 20 times simultaneously using the download_multi api .. 3.714s download complete! checking contents.. correct.. correct.. correct.. correct.. correct.. correct.. correct.. correct.. correct.. correct.. correct.. correct.. correct.. correct.. correct.. correct.. correct.. correct.. correct.. correct..
deleting upload using synchronous api: 0.18s done!
uploading test.txt (again): 0.248s done!
deleting upload using async api: 0.193s done! returned value: true (as expected)
deleting a bogus upload id using async api: 0.199s done! returned value: false (as expected)
uploading 20 times using multi_upload api..5.059s done! ids: 0pr7tbhqgen9uevmrkvwprvle - 5hdny7wmyg8ulvy0g9miowbae - n3k1bdlmft5u841jm7akjdxd1 - 9sazg9if4r6jltitnax0ip37e - 6feksvqqdzms2eybej4p0e09a - c75g4wc54oif5niaomiibvull - scsq5dwrf10zacxwm3cdsx6m8 - gbe9132tlq1zvbdph1q3tqbw2 - dfoas0rpfbg1lha6z5roxsxew - 7vvjdmu0okwvaip0pgkq9elwm - jrcawzcj1iwb7phei60dzu19h - dds0pglmns3j5vv8ybifcuasd - 50z28oh6wackrundtox6jslbo - lgsggel0ip3eboa7v37l9o2jv - yr6zqt7016wupe1wxazyl8twe - uyrke72lst3slid21byt5caso - g09leecf9xnm7ib1jqq2l4c8h - 1lq6o0xhl98a9a9g4a9uid4a7 - w74k0bfgd2vhbvmectz12z1c8 - 13joe7rlj06so6hxubonmuaom -
will now delete them all using the async api..deleted..deleted..deleted..deleted..deleted..deleted..deleted..deleted..deleted..deleted..deleted..deleted..deleted..deleted..deleted..deleted..deleted..deleted..deleted..deleted..
3.599s done!
logging out: 0.288s done!
shutting down, cleaning up.. thread doing the cleanup: 140274030356352
when i execute the following this is the output
sudo ./a.out config.conf
./a.out(+0x770a)[0x5626a3d1070a]
/lib/x86_64-linux-gnu/libpthread.so.0(+0x76db)[0x7fdec99ab6db]
/lib/x86_64-linux-gnu/libc.so.6(clone+0x3f)[0x7fdec913388f]
./a.out:src/main.cpp:1759: failed to ioctl(kernelIPC.nbd_fd, NBD_SET_SOCK, kernelIPC.global_remoterequestsocket) !
: Inappropriate ioctl for device
shutting down, cleaning up.. thread doing the cleanup: 140594848769792
im hoping i can get some guidance as to what am i doing wrong. whats next
The text was updated successfully, but these errors were encountered: