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

Can not start geth #97

Closed
olchaeng opened this issue Mar 2, 2021 · 3 comments
Closed

Can not start geth #97

olchaeng opened this issue Mar 2, 2021 · 3 comments

Comments

@olchaeng
Copy link

olchaeng commented Mar 2, 2021

Hi. I have a problem starting geth of bsc on testnet.(same problem at mainnet config) Installation looks find but execution is stuck. please help me.

System information

Geth version:
Version: 1.0.6
Git Commit: b7cff76
Git Commit Date: 20210225
Architecture: amd64
Protocol Versions: [65 64 63]
Go Version: go1.16
Operating System: linux

OS & Version: windows wsl2 ubuntu 20.4

Expected behaviour

showing log of syncing of blocks.

Actual behaviour

syncing block and working well.

Steps to reproduce the behaviour

I read installation of fullnode guide(https://docs.binance.org/smart-chain/developer/fullnode.html). I followed the indication. All process was fine till facing the error.

Backtrace

ubuntu1@DESKTOP-EBK4HLR:~/bsc$ ./build/bin/geth --config ./config.toml --datadir ./node --pprofaddr 0.0.0.0 --metrics --pprof --verbosity 5
INFO [03-02|18:19:41.831] Starting pprof server                    addr=http://0.0.0.0:6060/debug/pprof
INFO [03-02|18:19:41.832] Starting Geth on Ethereum mainnet...
INFO [03-02|18:19:41.832] Bumping default cache on mainnet         provided=1024 updated=4096
DEBUG[03-02|18:19:41.832] Sanitizing Go's GC trigger               percent=25
INFO [03-02|18:19:41.832] Enabling metrics collection
INFO [03-02|18:19:41.833] Maximum peer count                       ETH=50 LES=0 total=50
INFO [03-02|18:19:41.833] Smartcard socket not found, disabling    err="stat /run/pcscd/pcscd.comm: no such file or directory"
DEBUG[03-02|18:19:41.834] FS scan times                            list=11.4µs set=200ns diff=700ns
DEBUG[03-02|18:19:41.834] FS scan times                            list=5.7µs  set=200ns diff=200ns
TRACE[03-02|18:19:41.834] Started watching keystore folder         path=/home/ubuntu1/bsc/node/keystore

but process is not going.

@longhoangwkm
Copy link

longhoangwkm commented Mar 2, 2021

Hi @olchaeng, Log in another place if you notice log config in config.toml

[Node.LogConfig]
FileRoot = ""
FilePath = "bsc.log"
MaxBytesSize = 10485760
Level = "info" 

You can monitor the log from /node/bsc.log by default(tail -f -n 100 /node/bsc.log). If you wanna see log from geth cmd, Let's remove [Node.LogConfig] section.

(Duplicated Issue #83)

@olchaeng olchaeng closed this as completed Mar 2, 2021
@cooperateDev
Copy link

OK, I have done.

@bitbd83
Copy link

bitbd83 commented Aug 31, 2021

better remove
[Node.LogConfig]
FileRoot = ""
FilePath = "bsc.log"
MaxBytesSize = 10485760
Level = "info"

from config.toml

galaio pushed a commit to galaio/bsc that referenced this issue Jul 31, 2024
core/txpool: Support journaling remote transactions with --txpool.journalremotes
galaio pushed a commit to galaio/bsc that referenced this issue Jul 31, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants