eos icon indicating copy to clipboard operation
eos copied to clipboard

Error in starting up `nodeos`

Open pranavkanade opened this issue 7 years ago • 8 comments

Getting error when trying to startup nodeos. I followed all the steps from getting started guide and at Step 1.2

Following is the command and its output that I got -

  % nodeos -e -p eosio \                                                                                                                                                              !6633
--plugin eosio::producer_plugin \
--plugin eosio::chain_api_plugin \
--plugin eosio::http_plugin \
-d /Users/pskanade/projects/eos/contracts/eosio/data \
--config-dir /Users/pskanade/projects/eos/contracts/eosio/config \
--access-control-allow-origin=* \
--contracts-console \
--http-validate-host=false \
—filter-on=‘*’ >> nodeos.log 2>&1 &
[2] 17551
zsh: no matches found: --access-control-allow-origin=*
[2]  + 17551 exit 1     nodeos -e -p eosio --plugin eosio::producer_plugin --plugin  --plugin  -d

I am using macbook air with mojave. Please help !

pranavkanade avatar Dec 06 '18 15:12 pranavkanade

Try changing the above to

nodeos -e -p eosio \
--plugin eosio::producer_plugin \
--plugin eosio::chain_api_plugin \
--plugin eosio::http_plugin \
-d /Users/pskanade/projects/eos/contracts/eosio/data \
--config-dir /Users/pskanade/projects/eos/contracts/eosio/config \
'--access-control-allow-origin=*' \
--contracts-console \
--http-validate-host=false \
'--filter-on=*' >> nodeos.log 2>&1 &

spoonincode avatar Dec 06 '18 15:12 spoonincode

Thanks, it worked !! :)

pranavkanade avatar Dec 06 '18 16:12 pranavkanade

This might sound silly, but why changing these options to quoted string is required?

pranavkanade avatar Dec 06 '18 16:12 pranavkanade

The shell is going to expand the * character to all files in the directory. Just like when you do a ls * for example. So you need to tell the shell not to expand it and treat it literally. I will try to get the docs updated.

spoonincode avatar Dec 06 '18 16:12 spoonincode

docs fixed

spoonincode avatar Dec 10 '18 16:12 spoonincode

using ubuntu in a VM (windows 10 pro) same spot but im getting

corey@corey-VirtualBox:~$ nodeos -e -p eosio \

--plugin eosio::producer_plugin
--plugin eosio::chain_api_plugin
--plugin eosio::http_plugin
--plugin eosio::history_plugin
--plugin eosio::history_api_plugin
--access-control-allow-origin='*'
--contracts-console
--http-validate-host=false
--verbose-http-errors >> nodeos.log 2>&1 & [1] 31557 corey@corey-VirtualBox:~$ tail -f nodeos.log

Command 'nodeos' not found, did you mean:

command 'nodejs' from deb nodejs command 'nodefs' from deb noweb

Try: sudo apt install

tried the above fix and no joy

coreycottrell avatar Apr 16 '19 16:04 coreycottrell

@coreycottrell The easiest way for you to install nodeos is to download the appropriate .deb file from the releases page for your version of Ubuntu and use dpkg -i <deb-file>. There is currently no apt repository available. If you receive errors about missing dependencies after installing the eosio package, also run sudo apt-get -f install which will fetch and install any missing packages needed.

If you still have the problem and wish to discuss it further, please post it in https://eosio.stackexchange.com. To keep things organized, Github issues are intended for bug reporting and feature tracking, and Stack Exchange is the right place for any technical support discussions. Thanks!

jgiszczak avatar Apr 16 '19 16:04 jgiszczak

Perfect thank you so much

On Tue, Apr 16, 2019, 12:56 PM jgiszczak [email protected] wrote:

@coreycottrell https://github.com/coreycottrell The easiest way for you to install nodeos is to download the appropriate .deb file from the releases page https://github.com/EOSIO/eos/releases for your version of Ubuntu and use dpkg -i . There is currently no apt repository available. If you receive errors about missing dependencies after installing the eosio package, also run sudo apt-get -f install which will fetch and install any missing packages needed.

If you still have the problem and wish to discuss it further, please post it in https://eosio.stackexchange.com. To keep things organized, Github issues are intended for bug reporting and feature tracking, and Stack Exchange is the right place for any technical support discussions. Thanks!

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/EOSIO/eos/issues/6443#issuecomment-483757251, or mute the thread https://github.com/notifications/unsubscribe-auth/AvPdpGyxEG1gs-4tekG82YTEPeW1nCqCks5vhgCmgaJpZM4ZGxxB .

coreycottrell avatar Apr 16 '19 17:04 coreycottrell