Giter Club home page Giter Club logo

Comments (15)

SChernykh avatar SChernykh commented on July 22, 2024

Try the latest release (6.21.3), it fixed one overflow in RandomX initialization.

from xmrig.

Oldertarl avatar Oldertarl commented on July 22, 2024

ok strange there is a higher version...
have installed on a fresh machine etc etc and got the older version?
used git clone https://github.com/xmrig/xmrig.git
Will now need to seek the how-to to update

very new to this all..
any hints?

from xmrig.

SChernykh avatar SChernykh commented on July 22, 2024

git clone ... should give you the latest code which is v6.21.3 at the moment. Maybe you did it more than a week ago, before v6.21.3 released.

from xmrig.

Oldertarl avatar Oldertarl commented on July 22, 2024

Sadly not
did the whole thing Sunday 28th.
so really confused overall as you may understand..
thanks for the hints, will start working on them in the coming hours!

from xmrig.

Oldertarl avatar Oldertarl commented on July 22, 2024

Guess I have to perform some serious actions...

~/xmrig/build$ cmake ..
CMake Error at /usr/share/cmake-3.28/Modules/FindPackageHandleStandardArgs.cmake:230 (message):
  Could NOT find HWLOC (missing: HWLOC_LIBRARY HWLOC_INCLUDE_DIR)
Call Stack (most recent call first):
  /usr/share/cmake-3.28/Modules/FindPackageHandleStandardArgs.cmake:600 (_FPHSA_FAILURE_MESSAGE)
  cmake/FindHWLOC.cmake:25 (find_package_handle_standard_args)
  src/backend/cpu/cpu.cmake:30 (find_package)
  src/backend/backend.cmake:1 (include)
  CMakeLists.txt:49 (include)

from xmrig.

SChernykh avatar SChernykh commented on July 22, 2024

Did you follow the instructions from https://xmrig.com/docs/miner/build/ubuntu ?

from xmrig.

Oldertarl avatar Oldertarl commented on July 22, 2024

The above error comes from the advanced guide found on your linked page
Getting a tiny bit frustrated about this

from xmrig.

SChernykh avatar SChernykh commented on July 22, 2024

Buffer overflow is fixed in the latest version. You should try to delete all xmrig folders, and follow the guide from the beginning. Double check that XMRig shows XMRig/6.21.3 when it starts.

from xmrig.

Oldertarl avatar Oldertarl commented on July 22, 2024

Will do just that
fresh start seems to be the best option for the moment
pollution is never good
Will update right after

from xmrig.

Oldertarl avatar Oldertarl commented on July 22, 2024

Fresh new Unbutu server installation
Fresh new followup on the link install process you provided me
no errors after following the tips provided on here
Started the program et voila
ABOUT XMRig/6.21.1 gcc/13.2.0 (built for Linux x86-64, 64 bit)
I guess version 6.21.3 has not been released for the build I am using..

from xmrig.

SChernykh avatar SChernykh commented on July 22, 2024

I don't know how you're getting 6.21.1 if you're compiling from source using git clone. That version number was changed more than 2 months ago: f9c4c57

Please copy-paste the exact sequence of commands that you used. You're doing something really wrong at some step.

P.S. Or maybe you're just starting XMRig 6.21.1 binary that you downloaded before? You should start the binary that you built from the source.

from xmrig.

Oldertarl avatar Oldertarl commented on July 22, 2024

Deleted every folder in the home dir /home/username
Step by step running every line below

sudo apt install git build-essential cmake automake libtool autoconf
git clone https://github.com/xmrig/xmrig.git
mkdir xmrig/build && cd xmrig/scripts
./build_deps.sh && cd ../build
cmake .. -DXMRIG_DEPS=scripts/deps
make -j$(nproc)

created config.json in the homefolder with below content (user truncated here)

{
    "autosave": true,
    "cpu": true,
    "opencl": false,
    "cuda": false,
    "pools": [
        {
            "url": "de.monero.herominers.com:1111",
            "user": "4B7dbsv<truncated>d69XoGmss",
            "keepalive": true,
            "tls": true
        }
    ]
}

from the home folder started
xmrig -c "config.json"
and tried
sudo xmrig -c "config.json"

and
sudo /usr/bin/xmrig -c "/home/username/config.json"

both giving me the same (old) version

from xmrig.

Oldertarl avatar Oldertarl commented on July 22, 2024

ok shoot me in the foot
just started /xmrig/build$ sudo ./xmrig -c "/home/username/config.json"
and
ABOUT XMRig/6.21.3 gcc/13.2.0 (built for Linux x86-64, 64 bit)

Guess the cleanup has not done ALL the cleaning
Got this working now
very grateful for your help!

from xmrig.

SChernykh avatar SChernykh commented on July 22, 2024

sudo /usr/bin/xmrig -c "/home/username/config.json"

Well, this is exactly

maybe you're just starting XMRig 6.21.1 binary that you downloaded before?

from xmrig.

Oldertarl avatar Oldertarl commented on July 22, 2024

you are fully right!
Was just assuming that during the build phase, the /usr/bin version would be updated as well ( kind of would make sense in the build phase I would say)
Now running from the build folder and smooth sailing!

from xmrig.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.