# Grin v1.0 Step by Step Miner Guide on Ubuntu \[English version\]

**URL:** https://forum.grin.mw/t/grin-v1-0-step-by-step-miner-guide-on-ubuntu-english-version/1635
**Category:** Mining
**Created:** [December 31, 2018, 12:30pm UTC](https://forum.grin.mw/t/grin-v1-0-step-by-step-miner-guide-on-ubuntu-english-version/1635 "2018-12-31T12:30:25Z")
**Posts on this page:** 20
**Page:** 3

<div class="post-metadata">

### Author: ![dwayne](https://yyz2.discourse-cdn.com/flex036/user_avatar/forum.grin.mw/dwayne/32/878_2.png) [@dwayne](https://forum.grin.mw/u/dwayne)
#### Post date: [February 2, 2019, 10:48pm UTC](https://forum.grin.mw/t/grin-v1-0-step-by-step-miner-guide-on-ubuntu-english-version/1635/47 "2019-02-02T22:48:18Z")

</div>

You didn’t follow the instructions in the first append of this thread. Specifically Steps B3 B4 and B5.

---

<div class="post-metadata">

### Author: ![hodl](https://avatars.discourse-cdn.com/v4/letter/h/74df32/32.png) [@hodl](https://forum.grin.mw/u/hodl)
#### Post date: [February 2, 2019, 11:00pm UTC](https://forum.grin.mw/t/grin-v1-0-step-by-step-miner-guide-on-ubuntu-english-version/1635/48 "2019-02-02T23:00:50Z")

</div>

yes i did. like i said, i can get the node and miner running just fine after initial install but when i close them with the ‘Q’ command, the grin node throws those ‘false’ errors.

---

<div class="post-metadata">

### Author: ![dwayne](https://yyz2.discourse-cdn.com/flex036/user_avatar/forum.grin.mw/dwayne/32/878_2.png) [@dwayne](https://forum.grin.mw/u/dwayne)
#### Post date: [February 2, 2019, 11:27pm UTC](https://forum.grin.mw/t/grin-v1-0-step-by-step-miner-guide-on-ubuntu-english-version/1635/49 "2019-02-02T23:27:07Z")

</div>

By “throws those ‘false’ errors” do you mean:

> [@hodl](#):
>
> the Mining server enabled and Mining server running both state “false”.

Those are not errors. It means that the copy of grin-server.toml being used has not been edited so that:  
`enable_stratum_server = true`

Are you in the directory ~/grin when you run the grin command?  
`cd ~/grin; grin`

---

<div class="post-metadata">

### Author: ![hodl](https://avatars.discourse-cdn.com/v4/letter/h/74df32/32.png) [@hodl](https://forum.grin.mw/u/hodl)
#### Post date: [February 2, 2019, 11:37pm UTC](https://forum.grin.mw/t/grin-v1-0-step-by-step-miner-guide-on-ubuntu-english-version/1635/50 "2019-02-02T23:37:55Z")

</div>

all working now; again 🙂

thanx

---

<div class="post-metadata">

### Author: ![Rabinovitch](https://yyz2.discourse-cdn.com/flex036/user_avatar/forum.grin.mw/rabinovitch/32/1019_2.png) [@Rabinovitch](https://forum.grin.mw/u/Rabinovitch)
#### Post date: [February 3, 2019, 11:44am UTC](https://forum.grin.mw/t/grin-v1-0-step-by-step-miner-guide-on-ubuntu-english-version/1635/51 "2019-02-03T11:44:37Z")

</div>

Today was an interesting case. grin-miner (1.0.2, binary) was working almost OK until today, then after the next restart (my 4x280Ti rig is still in debugging state) it refused to start with message:

> error while loading shared libraries: libncursesw.so.5: cannot open shared object file

ldd showed that this file is absent. OK, but how does grin-miner worked without it? 😕

I installed [libncursesw5](https://packages.ubuntu.com/trusty/libncursesw5) package and everything became well again. 🕶

---

<div class="post-metadata">

### Author: ![Rabinovitch](https://yyz2.discourse-cdn.com/flex036/user_avatar/forum.grin.mw/rabinovitch/32/1019_2.png) [@Rabinovitch](https://forum.grin.mw/u/Rabinovitch)
#### Post date: [February 3, 2019, 3:28pm UTC](https://forum.grin.mw/t/grin-v1-0-step-by-step-miner-guide-on-ubuntu-english-version/1635/52 "2019-02-03T15:28:35Z")

</div>

I see that grin-miner is CPU-intensive. But does it use all available CPU threads? It seems that no:

 ![image](https://canada1.discourse-cdn.com/flex036/uploads/grin/original/2X/e/e61332deca38a4836ee2eb561c0619bfa2cf1197.png)

---

<div class="post-metadata">

### Author: ![oldneewbee](https://avatars.discourse-cdn.com/v4/letter/o/bcef8e/32.png) [@oldneewbee](https://forum.grin.mw/u/oldneewbee)
#### Post date: [February 21, 2019, 1:46am UTC](https://forum.grin.mw/t/grin-v1-0-step-by-step-miner-guide-on-ubuntu-english-version/1635/53 "2019-02-21T01:46:43Z")

</div>

Hello people i’m having trouble with this guide . I’m a newbe at Linux but very computer literate with most things about computer , building , trouble shooting , However i’m a total neeb at Linux .  
I have been able to follow the guide up to step

- Add command grin to environment variables for current user permanently

```auto
 cd
 vi .profile

```

Add the following line to the last line of .profile and save

```auto
 export PATH="$HOME/grin/target/release:$PATH"

```

Then i’ lost the vi or vim editor is totally a piece of crap to use i can not add the line to it so i need detailed insturction on what keybord keys to push to be able to edit the profile file .(whomever wrote vi is a moron and hasn’t herd of keep it simple ,simple)  
i have tried to read up on vi or vim as it’s also called but i’m not shore why the help page i’m reading does not seem to work the way it says and (whats with rewriting keyboard commands in a freaking text editor, why not use the 12 function keys or the 18 number keys as i said a moron wrote it)

could someone please guide me through the B 3 . step  
when i type vi .profile a file opens what do i do to add the ```  
export PATH="$HOME/grin/target/release:$PATH"

```auto

```

---

<div class="post-metadata">

### Author: ![oldneewbee](https://avatars.discourse-cdn.com/v4/letter/o/bcef8e/32.png) [@oldneewbee](https://forum.grin.mw/u/oldneewbee)
#### Post date: [February 21, 2019, 3:39am UTC](https://forum.grin.mw/t/grin-v1-0-step-by-step-miner-guide-on-ubuntu-english-version/1635/54 "2019-02-21T03:39:24Z")

</div>

Hello again people don’t worry helping me this noob figured it out and i still think Vi or vim is the crappiest text editor i have ever used but i figured it out…Yeeeeeee the node is working all i have to do is now finish part C

---

<div class="post-metadata">

### Author: ![oldneewbee](https://avatars.discourse-cdn.com/v4/letter/o/bcef8e/32.png) [@oldneewbee](https://forum.grin.mw/u/oldneewbee)
#### Post date: [February 21, 2019, 11:15am UTC](https://forum.grin.mw/t/grin-v1-0-step-by-step-miner-guide-on-ubuntu-english-version/1635/55 "2019-02-21T11:15:23Z")

</div>

hello i’m getting errors while trying to set up the miner .  
I have built the node however while tring to build the miner i get these errors

Compiling cuckoo\_miner v1.0.2 (/home/glenn/grin-miner/cuckoo-miner)  
warning: unused import: `sanity::Finder`  
–\> cuckoo-miner/src/build.rs:26:5  
|  
26 | use sanity::Finder;  
| ^^^^^^^^^^^^^^  
|  
= note: #[warn(unused\_imports)] on by default

warning: struct is never constructed: `Finder`  
–\> cuckoo-miner/src/sanity.rs:28:1  
|  
28 | pub struct Finder {  
| ^^^^^^^^^^^^^^^^^  
|  
= note: #[warn(dead\_code)] on by default

warning: method is never used: `new`  
–\> cuckoo-miner/src/sanity.rs:34:2  
|  
34 | pub fn new() -\> Self {  
| ^^^^^^^^^^^^^^^^^^^^

warning: method is never used: `maybe_have`  
–\> cuckoo-miner/src/sanity.rs:41:2  
|  
41 | pub fn maybe\_have\<S: AsRef\>(&mut self, cmd: S) -\> Option {  
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

and then it says this

Compiling crossbeam-channel v0.2.6  
error[E0433]: failed to resolve. Use of undeclared type or module `util`  
–\> cuckoo-miner/src/miner/consensus.rs:208:3  
|  
208 | util::to\_hex(self.0.to\_vec())  
| ^^^^ Use of undeclared type or module `util`

error: aborting due to previous error

For more information about this error, try `rustc --explain E0433`.  
error: Could not compile `cuckoo_miner`.

To learn more, run the command again with --verbose.

can anybody tell this noob what i am doing wrong please

---

<div class="post-metadata">

### Author: ![goldenrule](https://avatars.discourse-cdn.com/v4/letter/g/b2d939/32.png) [@goldenrule](https://forum.grin.mw/u/goldenrule)
#### Post date: [February 27, 2019, 11:44am UTC](https://forum.grin.mw/t/grin-v1-0-step-by-step-miner-guide-on-ubuntu-english-version/1635/56 "2019-02-27T11:44:41Z")

</div>

I get the following error:

20190227 13:29:42.738 INFO grin - This is Grin version 1.0.2 (git v1.0.2-3-gfe9fa51), built for x86\_64-unknown-linux-gn$20190227 13:29:42.762 WARN grin::cmd::server - Starting GRIN in UI mode…  
20190227 13:29:42.846 INFO grin\_servers:😁:server - Starting server, genesis block: 40adad0aec27  
20190227 13:29:45.068 ERROR grin\_util::logger -  
thread ‘main’ panicked at 'called `Result::unwrap()` on an `Err` value: Chain(Error { inner: LmdbErr(Error::Code(-30782$

Store Error: LmdbErr(Error::Code(-30782, ‘MDB\_BAD\_TXN: Transaction must abort, has a child, or is invalid’)), reason: L$  
0: grin\_util::logger::send\_panic\_to\_log::{{closure}}::h4b7ede3e7432d241 (0x7f7a8f48b8c0)  
1: std::panicking::rust\_panic\_with\_hook::h8cbdfe43764887be (0x7f7a8f5c6159)  
at src/libstd/panicking.rs:495  
2: std::panicking::continue\_panic\_fmt::h3d3c5a833c00a5e1 (0x7f7a8f5c5c01)  
at src/libstd/panicking.rs:398  
3: rust\_begin\_unwind (0x7f7a8f5c5ae5)  
at src/libstd/panicking.rs:325  
4: core::panicking::panic\_fmt::h4d67173bc68f6d5a (0x7f7a8f5e241c)  
at src/libcore/panicking.rs:95

---

<div class="post-metadata">

### Author: ![goldenrule](https://avatars.discourse-cdn.com/v4/letter/g/b2d939/32.png) [@goldenrule](https://forum.grin.mw/u/goldenrule)
#### Post date: [February 27, 2019, 1:20pm UTC](https://forum.grin.mw/t/grin-v1-0-step-by-step-miner-guide-on-ubuntu-english-version/1635/57 "2019-02-27T13:20:06Z")

</div>

When I start my listener it say: Starting HTTP Foreign listener API server at 127.0.0.1:3415

When I start the grin miner it say: Can’t establish server connection to 127.0.0.1:3416

Should I change the config file so the api listener work on port 3416 ?

It seems that the config is initially wrong.

---

<div class="post-metadata">

### Author: ![Bart](https://avatars.discourse-cdn.com/v4/letter/b/f19dbf/32.png) [@Bart](https://forum.grin.mw/u/Bart)
#### Post date: [March 6, 2019, 5:08am UTC](https://forum.grin.mw/t/grin-v1-0-step-by-step-miner-guide-on-ubuntu-english-version/1635/60 "2019-03-06T05:08:46Z")

</div>

Thanks for this awesome guide!

I got all the way to “enable\_stratum\_server = true” and I’m getting the error: enable\_stratum\_server: command not found

Please let me know if you have any idea what I might be doing wrong!

---

<div class="post-metadata">

### Author: ![jsonice](https://avatars.discourse-cdn.com/v4/letter/j/59ef9b/32.png) [@jsonice](https://forum.grin.mw/u/jsonice)
#### Post date: [March 6, 2019, 9:21am UTC](https://forum.grin.mw/t/grin-v1-0-step-by-step-miner-guide-on-ubuntu-english-version/1635/61 "2019-03-06T09:21:06Z")

</div>

Hi! After several hours, I think I’m working on this end. I would like to test whether my wallet will receive, can someone help me with that?

![Finally%20working](https://canada1.discourse-cdn.com/flex036/uploads/grin/original/2X/8/8bca856f204b2fb5b2af64d6c51b033737589d6e.png)

---

<div class="post-metadata">

### Author: ![FirsArgentum](https://yyz2.discourse-cdn.com/flex036/user_avatar/forum.grin.mw/firsargentum/32/736_2.png) [@FirsArgentum](https://forum.grin.mw/u/FirsArgentum)
#### Post date: [March 6, 2019, 9:24am UTC](https://forum.grin.mw/t/grin-v1-0-step-by-step-miner-guide-on-ubuntu-english-version/1635/62 "2019-03-06T09:24:31Z")

</div>

That’s not a command. It is a line you need to change in the grin-server.toml file:  
In the file `~/.grin/main/grin-server.toml` , change:  
enable\_stratum\_server = false  
To:  
enable\_stratum\_server = true

---

<div class="post-metadata">

### Author: ![jsonice](https://avatars.discourse-cdn.com/v4/letter/j/59ef9b/32.png) [@jsonice](https://forum.grin.mw/u/jsonice)
#### Post date: [March 6, 2019, 9:30am UTC](https://forum.grin.mw/t/grin-v1-0-step-by-step-miner-guide-on-ubuntu-english-version/1635/63 "2019-03-06T09:30:59Z")

</div>

![image](https://canada1.discourse-cdn.com/flex036/uploads/grin/original/2X/4/40ab3e503f55386ce4f09ebec38a7f421ddd0210.png)

---

<div class="post-metadata">

### Author: ![jsonice](https://avatars.discourse-cdn.com/v4/letter/j/59ef9b/32.png) [@jsonice](https://forum.grin.mw/u/jsonice)
#### Post date: [March 6, 2019, 2:42pm UTC](https://forum.grin.mw/t/grin-v1-0-step-by-step-miner-guide-on-ubuntu-english-version/1635/64 "2019-03-06T14:42:29Z")

</div>

IS it normal to mine this much and have a balance of 0?

 ![image](https://canada1.discourse-cdn.com/flex036/uploads/grin/original/2X/6/6e258199257e46b046b7775aec2a0977befb0635.png)

---

<div class="post-metadata">

### Author: ![Elyxir13](https://avatars.discourse-cdn.com/v4/letter/e/4da419/32.png) [@Elyxir13](https://forum.grin.mw/u/Elyxir13)
#### Post date: [May 24, 2019, 3:56pm UTC](https://forum.grin.mw/t/grin-v1-0-step-by-step-miner-guide-on-ubuntu-english-version/1635/65 "2019-05-24T15:56:50Z")

</div>

Hello,

I am new in mining and I rented a RIG of 8 gpu nvidia in 1070, after having followed the tutorial, I find myself with this error:

luginNotFoundError("/home/nv08/grin-miner/target/debug/plugins/cuckaroo\_cuda\_29.cuckooplugin - Custom { kind: Other, error: StringError("/home/nv08/grin-miner/target/debug/plugins/cuckaroo\_cuda\_29.cuckooplugin: cannot open shared object file: No such file or directory") }")

my file grin-miner.toml is :

#[[mining.miner\_plugin\_config]]  
#plugin\_name = “cuckaroo\_cpu\_compat\_29”  
#[mining.miner\_plugin\_config.parameters]  
#nthreads = 4

and :

# currently requires 5.5GB+ GPU memory

[[mining.miner\_plugin\_config]]  
plugin\_name = “cuckaroo\_cuda\_29”  
[mining.miner\_plugin\_config.parameters]  
device = 0  
cpuload = 1  
ntrims = 176  
genablocks = 4096  
genatpb = 128  
genbtpb = 128  
trimtpb = 512  
tailtpb = 1024  
recoverblocks = 1024  
recovertpb = 1024

thanks 🙂

---

<div class="post-metadata">

### Author: ![Shobji](https://avatars.discourse-cdn.com/v4/letter/s/ac91a4/32.png) [@Shobji](https://forum.grin.mw/u/Shobji)
#### Post date: [May 25, 2019, 6:11am UTC](https://forum.grin.mw/t/grin-v1-0-step-by-step-miner-guide-on-ubuntu-english-version/1635/66 "2019-05-25T06:11:44Z")

</div>

I would suggest you go for Hive OS its so simple and free

---

<div class="post-metadata">

### Author: ![jjoek](https://avatars.discourse-cdn.com/v4/letter/j/6bbea6/32.png) [@jjoek](https://forum.grin.mw/u/jjoek)
#### Post date: [June 16, 2019, 1:50pm UTC](https://forum.grin.mw/t/grin-v1-0-step-by-step-miner-guide-on-ubuntu-english-version/1635/67 "2019-06-16T13:50:17Z")

</div>

Getting the error below after trying to run `grin wallet init`

```
error: Found argument 'init' which wasn't expected, or isn't valid in this context

```

USAGE:  
As of v1.1.0, the wallet has been split into a separate executable. See [https://github.com/mimblewimble/grin-wallet/releases](https://github.com/mimblewimble/grin-wallet/releases) to download

For more information try --help

What could I have done wrong or what do I need to update?

---

<div class="post-metadata">

### Author: ![kargakis](https://yyz2.discourse-cdn.com/flex036/user_avatar/forum.grin.mw/kargakis/32/48_2.png) [@kargakis](https://forum.grin.mw/u/kargakis)
#### Post date: [June 16, 2019, 2:01pm UTC](https://forum.grin.mw/t/grin-v1-0-step-by-step-miner-guide-on-ubuntu-english-version/1635/68 "2019-06-16T14:01:32Z")

</div>

As of v1.1.0, the wallet has been split into a separate executable. See [https://github.com/mimblewimble/grin-wallet/releases](https://github.com/mimblewimble/grin-wallet/releases) to download

[Previous page](https://forum.grin.mw/t/grin-v1-0-step-by-step-miner-guide-on-ubuntu-english-version/1635.md?page=2)

[Next page](https://forum.grin.mw/t/grin-v1-0-step-by-step-miner-guide-on-ubuntu-english-version/1635.md?page=4)
