Skip to content
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

Unable to attach #22201

Closed
itzmashy opened this issue Jan 20, 2021 · 1 comment
Closed

Unable to attach #22201

itzmashy opened this issue Jan 20, 2021 · 1 comment
Labels

Comments

@itzmashy
Copy link

System information

Geth version: geth version
Geth
Version: 1.9.25-stable
Git Commit: e787272
Git Commit Date: 20201211
Architecture: 386
Protocol Versions: [65 64 63]
Go Version: go1.15.6
Operating System: windows
GOPATH=
GOROOT=go

OS & Version: Windows 10

Expected behaviour

i haven't been able to successfully attach :( i run:

geth attach C:/Eth/db/geth.ipc

i get
Fatal: Unable to attach to remote geth: no known transport for URL scheme "c"

if i do geth attach .\pipe\C:/Eth/db/geth.ipc

Fatal: Unable to attach to remote geth: parse "\.\pipe\C:/Eth/db/geth.ipc": first path segment in URL cannot contain colon

my sync is still running in the same window

i tried this in another window: geth --datadir=C:/Eth/db --port 30305 --rpc --rpcaddr 127.0.0.1 --rpcport 8505 --ipcpath=C:/Eth/db/geth.ipc console

got:
INFO [01-20|09:01:29.641] Starting Geth on Ethereum mainnet...
INFO [01-20|09:01:29.645] Bumping default cache on mainnet provided=1024 updated=4096
WARN [01-20|09:01:29.648] Lowering memory allowance on 32bit arch available=32682 addressable=2048
WARN [01-20|09:01:29.651] Sanitizing cache to Go's GC limits provided=4096 updated=682
INFO [01-20|09:01:29.655] Maximum peer count ETH=50 LES=0 total=50
WARN [01-20|09:01:29.658] The flag --rpc is deprecated and will be removed in the future, please use --http
WARN [01-20|09:01:29.662] The flag --rpcaddr is deprecated and will be removed in the future, please use --http.addr
WARN [01-20|09:01:29.666] The flag --rpcport is deprecated and will be removed in the future, please use --http.port
Fatal: Failed to create the protocol stack: datadir already used by another process

@itzmashy
Copy link
Author

i was able to start the console like:
geth --datadir=C:/Eth/db --port 30305 --rpc --rpcaddr 127.0.0.1 --rpcport 8505 --ipcpath=C:/Eth/db/geth.ipc console

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant