Main Menu

Delegate questions

Started by Method-X, October 29, 2014, 07:26:27 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

Sonia Bzrgn

Dear MeTHoDx
I have this problem now, for several time I try to install devtoolset but I face this error:

warning: rpmts_HdrFromFdno: Header V3 DSA/SHA1 Signature, key ID 1d1e034b: NOKEY
Retrieving key from file:///etc/pki/rpm-gpg/RPM-GPG-KEY-cern
GPG key retrieval failed: [Errno 14] Could not open/read file:///etc/pki/rpm-gpg/RPM-GPG-KEY-cern

did you solve this problem? how did you do that?
it's so important to me to solve this problem, please do me a  favour and share your experiment with me
Thanks in advance

roadscape

It's tripped me up several times :)
http://cryptofresh.com  |  witness: roadscape

Method-X

Quote from: roadkill on October 30, 2014, 10:45:02 PM
Quote from: MeTHoDx on October 30, 2014, 10:42:29 PM
Quote from: roadkill on October 30, 2014, 10:26:02 PM
Quote from: MeTHoDx on October 30, 2014, 10:04:02 PM
Thanks! So close to finishing.

Error: your chain database is in an inconsistent state.  Please shut down and relaunch using --rebuild-index or --resync-blockchain to repair the database

Any ideas what's going on with the wallet? Why isn't is scanning the blockchain correctly?

This might help... emski had a similar problem in KeyID.

Did the yum update help? Did you have to do anything different for the RedHat install?

Do you know what I type to rebuild the index? I input ./bitshares_client --data-dir dd --rebuild-index while in the /bitsharesx/ dir and I just get an error.

cd programs/client and try again. Should work!

Yeah I realized the mistake I made when posting. Wasn't deep enough into the dir tree. My bad.
[url="https://edabit.com"]https://edabit.com[/url]

roadscape

Quote from: MeTHoDx on October 30, 2014, 10:42:29 PM
Quote from: roadkill on October 30, 2014, 10:26:02 PM
Quote from: MeTHoDx on October 30, 2014, 10:04:02 PM
Thanks! So close to finishing.

Error: your chain database is in an inconsistent state.  Please shut down and relaunch using --rebuild-index or --resync-blockchain to repair the database

Any ideas what's going on with the wallet? Why isn't is scanning the blockchain correctly?

This might help... emski had a similar problem in KeyID.

Did the yum update help? Did you have to do anything different for the RedHat install?

Do you know what I type to rebuild the index? I input ./bitshares_client --data-dir dd --rebuild-index while in the /bitsharesx/ dir and I just get an error.

cd programs/client and try again. Should work!
http://cryptofresh.com  |  witness: roadscape

Method-X

Quote from: roadkill on October 30, 2014, 10:26:02 PM
Quote from: MeTHoDx on October 30, 2014, 10:04:02 PM
Thanks! So close to finishing.

Error: your chain database is in an inconsistent state.  Please shut down and relaunch using --rebuild-index or --resync-blockchain to repair the database

Any ideas what's going on with the wallet? Why isn't is scanning the blockchain correctly?

This might help... emski had a similar problem in KeyID.

Did the yum update help? Did you have to do anything different for the RedHat install?

I bought access to a VPS in Singapore (safer than America) through Digital Ocean. It's running Ubuntu and I have successfully compiled the cli. Now I just need to deal with a few more barriers and hopefully I'll be finished by tonight. :-\
[url="https://edabit.com"]https://edabit.com[/url]

roadscape

Quote from: MeTHoDx on October 30, 2014, 10:04:02 PM
Thanks! So close to finishing.

Error: your chain database is in an inconsistent state.  Please shut down and relaunch using --rebuild-index or --resync-blockchain to repair the database

Any ideas what's going on with the wallet? Why isn't is scanning the blockchain correctly?

This might help... emski had a similar problem in KeyID.

Did the yum update help? Did you have to do anything different for the RedHat install?
http://cryptofresh.com  |  witness: roadscape

Method-X

Quote from: xeroc on October 30, 2014, 08:58:07 PM
Quote from: MeTHoDx on October 30, 2014, 08:56:13 PM
How do I import the private key for an account I created months ago? I know it's wallet_import_private_key but where do I find the private key?
You have a wallet backup that contains that account name?

if you open a wallet that contains the account you want to the private key for you can use

wallet_dump_private_key accountname

Thanks! So close to finishing.

Error: your chain database is in an inconsistent state.  Please shut down and relaunch using --rebuild-index or --resync-blockchain to repair the database

Any ideas what's going on with the wallet? Why isn't is scanning the blockchain correctly?
[url="https://edabit.com"]https://edabit.com[/url]

xeroc

Quote from: MeTHoDx on October 30, 2014, 08:56:13 PM
How do I import the private key for an account I created months ago? I know it's wallet_import_private_key but where do I find the private key?
You have a wallet backup that contains that account name?

if you open a wallet that contains the account you want to the private key for you can use

wallet_dump_private_key accountname

Method-X

How do I import the private key for an account I created months ago? I know it's wallet_import_private_key but where do I find the private key?
[url="https://edabit.com"]https://edabit.com[/url]

xeroc

Quote from: cube on October 30, 2014, 05:37:52 PM
Hmm.. 1% of 50BTS gives 0.5BTS. Right?
Oh shit .. that hurts ..

cube

Quote from: xeroc on October 30, 2014, 05:23:23 PM
Quote from: cube on October 30, 2014, 05:21:48 PM
Quote from: xeroc on October 29, 2014, 07:48:53 PM
Quote from: emski on October 29, 2014, 07:43:12 PM
Quote from: xeroc on October 29, 2014, 07:34:23 PM
Quote from: emski on October 29, 2014, 07:32:32 PM
Quote from: xeroc on October 29, 2014, 07:30:40 PM
You can only reduce it .. however with the new update to the inflationary model .. all delegates will be force-set to 1% inflation
where was this explained?
https://github.com/BitShares/bitshares_toolkit/issues/879

10x I'd wait for the final version though.
Does this mean that a delegate can have max 100x TRX fees per block?

from what I know ... TX fees are BURNED .. you can get up to 100% of 50 BTS per block ..

Thanks for the insight.  Is this new '1%' pay-rate similar to that of KeyID?
I think so ... current plans are .. 50 BTS can be generated each block .. with a 1% pay rate leads to 5BTS per solved block .. which is 5x of the current payrate ..

Hmm.. 1% of 50BTS gives 0.5BTS. Right?
ID: bitcube
bitcube is a dedicated witness and committe member. Please vote for bitcube.

cube

Quote from: MeTHoDx on October 30, 2014, 03:21:48 PM
Quote from: xeroc on October 30, 2014, 03:19:55 PM
Are you required to used RedHat? Because you are certainly the first person to ever try to compile it on RedHat ..
Can't you choose Ubuntu, or Archlinux?

The server already has a few websites on it... so I would have to basically hire someone to switch everything over to Ubuntu with minimal downtime (some of the sites are for-profit).

It depends if the websites use third-party software.   In most cases, it should be ok.
ID: bitcube
bitcube is a dedicated witness and committe member. Please vote for bitcube.

xeroc

Quote from: cube on October 30, 2014, 05:21:48 PM
Quote from: xeroc on October 29, 2014, 07:48:53 PM
Quote from: emski on October 29, 2014, 07:43:12 PM
Quote from: xeroc on October 29, 2014, 07:34:23 PM
Quote from: emski on October 29, 2014, 07:32:32 PM
Quote from: xeroc on October 29, 2014, 07:30:40 PM
You can only reduce it .. however with the new update to the inflationary model .. all delegates will be force-set to 1% inflation
where was this explained?
https://github.com/BitShares/bitshares_toolkit/issues/879

10x I'd wait for the final version though.
Does this mean that a delegate can have max 100x TRX fees per block?

from what I know ... TX fees are BURNED .. you can get up to 100% of 50 BTS per block ..

Thanks for the insight.  Is this new '1%' pay-rate similar to that of KeyID?
I think so ... current plans are .. 50 BTS can be generated each block .. with a 1% pay rate leads to 5BTS per solved block .. which is 5x of the current payrate ..

cube

Quote from: xeroc on October 29, 2014, 07:48:53 PM
Quote from: emski on October 29, 2014, 07:43:12 PM
Quote from: xeroc on October 29, 2014, 07:34:23 PM
Quote from: emski on October 29, 2014, 07:32:32 PM
Quote from: xeroc on October 29, 2014, 07:30:40 PM
You can only reduce it .. however with the new update to the inflationary model .. all delegates will be force-set to 1% inflation
where was this explained?
https://github.com/BitShares/bitshares_toolkit/issues/879

10x I'd wait for the final version though.
Does this mean that a delegate can have max 100x TRX fees per block?

from what I know ... TX fees are BURNED .. you can get up to 100% of 50 BTS per block ..

Thanks for the insight.  Is this new '1%' pay-rate similar to that of KeyID?
ID: bitcube
bitcube is a dedicated witness and committe member. Please vote for bitcube.

roadscape

First, a warning: servers are fragile. If you have important apps/sites on this server, don't risk it unless you have the means to fix it.

It's faster, safer, and more secure to launch a new VPS with Ubuntu and install only the delegate there.
I'm in this process myself atm and can confirm that the wiki guide (while a little messy) is error-free.

But if you want to live on the wild side :D, I'd run yum update. That should fix the GCC error.
http://cryptofresh.com  |  witness: roadscape

xeroc

ok .. then .. good luck compiling .. can't help you unfortunately .. never used RedHat :-\

Method-X

Quote from: xeroc on October 30, 2014, 03:19:55 PM
Are you required to used RedHat? Because you are certainly the first person to ever try to compile it on RedHat ..
Can't you choose Ubuntu, or Archlinux?

The server already has a few websites on it... so I would have to basically hire someone to switch everything over to Ubuntu with minimal downtime (some of the sites are for-profit).
[url="https://edabit.com"]https://edabit.com[/url]

xeroc

Are you required to used RedHat? Because you are certainly the first person to ever try to compile it on RedHat ..
Can't you choose Ubuntu, or Archlinux?

Method-X

Ok so I'm trying to install devtools-2 but NOW I'm getting this error:

Downloading Packages:
warning: rpmts_HdrFromFdno: Header V3 DSA/SHA1 Signature, key ID 1d1e034b: NOKEY
Retrieving key from file:///etc/pki/rpm-gpg/RPM-GPG-KEY-cern


GPG key retrieval failed: [Errno 14] Could not open/read file:///etc/pki/rpm-gpg/RPM-GPG-KEY-cern


Oh commandline... how I hate thee.
[url="https://edabit.com"]https://edabit.com[/url]

Method-X

Quote from: Riverhead on October 30, 2014, 02:48:56 PM
Doesn't yum just offer the latest?

Sent from my SM-G900T using Tapatalk

What if I gave you SSH access so you can mess around with it a bit? If it's not too much trouble I mean.
[url="https://edabit.com"]https://edabit.com[/url]

Riverhead

Doesn't yum just offer the latest?

Sent from my SM-G900T using Tapatalk


Method-X

#32
Looks like I probably need to install developer toolset BUT I don't know what version to install.

Here is the linux version of RedHat I'm running:

root@server13 [~]# uname -mrs
Linux 2.6.32-358.18.1.el6.x86_64 x86_64
[url="https://edabit.com"]https://edabit.com[/url]

Method-X

Thank you tonyk and riverhead again for all the help.

Quotegcc (GCC) 4.4.7 20120313 (Red Hat 4.4.7-11)
Copyright (C) 2010 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.  There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

[url="https://edabit.com"]https://edabit.com[/url]

Riverhead

tonyk2 has it correct.

The following command (except for the Ubuntu stuff of course :) )

gcc --version

Should return:


gcc (Ubuntu 4.8.2-19ubuntu1) 4.8.2
Copyright (C) 2013 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.  There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE


zerosum

Quote from: MeTHoDx on October 30, 2014, 06:49:40 AM
BTW these are the specs on the dedicated server:

Xeon E3-1240 v3
4 Cores x 3.4 GHz
120 GB SSD

That any good?

I will (once again) post in a topic that is non of my business/expertise.!!!!
Those are more than you need as of today. So damn good, in other words.
You are missing the software (which someone here will help you install).


Method-X

BTW these are the specs on the dedicated server:

Xeon E3-1240 v3
4 Cores x 3.4 GHz
120 GB SSD

That any good?
[url="https://edabit.com"]https://edabit.com[/url]

Method-X

Quote from: Riverhead on October 30, 2014, 06:30:25 AM
Did you do the cmake step?

Sent from my SM-G900T using Tapatalk

root@server13 [~/bitsharesx]# cmake .
CMake Error at CMakeLists.txt:8 (message):
  GCC version must be at least 4.8!
[url="https://edabit.com"]https://edabit.com[/url]

Riverhead

Did you do the cmake step?

Sent from my SM-G900T using Tapatalk


Method-X

Quote from: Troglodactyl on October 30, 2014, 04:58:36 AM
You could try using "yum" instead of "apt-get".

Yes that works! Next roadblock:

root@server13 [~/bitsharesx]# make
make: *** No targets specified and no makefile found.  Stop.
[url="https://edabit.com"]https://edabit.com[/url]

Troglodactyl

You could try using "yum" instead of "apt-get".

Method-X

Quote from: roadkill on October 30, 2014, 04:25:35 AM
Quote from: MeTHoDx on October 30, 2014, 04:07:21 AM
So... now that I have shell access via terminal.app how do I install the bitsharesx cli?

http://wiki.bitshares.org/index.php/BitShares_X_Delegate_How-To

Didn't know this existed... should def be stickied in this sub!

When I input sudo apt-get update I get: sudo: apt-get: command not found

What do?
[url="https://edabit.com"]https://edabit.com[/url]

roadscape

http://cryptofresh.com  |  witness: roadscape

Method-X

OMG I'm in!

So... now that I have shell access via terminal.app how do I install the bitsharesx cli?
[url="https://edabit.com"]https://edabit.com[/url]

Troglodactyl

#20
Quote from: MeTHoDx on October 30, 2014, 03:48:09 AM
K... how do I connect from terminal now. It should look something like ssh [email protected] but I'm not sure what it will be for my specific server...

It's [username]@[URL or ip address] if that helps...

EDIT: root@[URL or ip address], given that the keys you generated were for root.

Method-X

K... how do I connect from terminal now. It should look something like ssh [email protected] but I'm not sure what it will be for my specific server...
[url="https://edabit.com"]https://edabit.com[/url]

Troglodactyl

You want a plain terminal, not a file manager, just to clarify.

Riverhead

#17
Is there Putty for osx?  Also, OSX has a shell built in (OSX started out as FreeBSD). You can just use that without issue.

http://superuser.com/questions/178735/how-do-you-get-a-shell-on-a-mac

Method-X

Quote from: Riverhead on October 30, 2014, 03:24:32 AM
Also, once you're in to a proper ssh shell it should be too bad to walk you through the install. You don't need a full GUI compile so that makes life easier.

Thanks for the help btw!

I've successfully generated a new SSH public and private key with NO PASSWORD, RSA and the key size is 1024.

I'm now looking for SSH file managers that work with OS X. I've found http://www.rbrowser.com/... any recommendations?
[url="https://edabit.com"]https://edabit.com[/url]

Riverhead

#15
Also, once you're in to a proper ssh shell it shouldn't be too bad to walk you through the install. You don't need a full GUI compile so that makes life easier.

Riverhead

rsa

Though if you can ssh in normally it's not really needed.

Method-X

Quote from: Riverhead on October 30, 2014, 03:17:04 AM
It works well for accessing the server without a password.

This may help with that: http://www.linuxproblem.org/art_9.html

DSA or RSA, what should I choose?

Also, it's Linux, forgot to mention that.
[url="https://edabit.com"]https://edabit.com[/url]

Riverhead

It works well for accessing the server without a password.

This may help with that: http://www.linuxproblem.org/art_9.html


Method-X

Quote from: Riverhead on October 30, 2014, 03:09:33 AM
What are your permissions on the server? What is the OS?

It's a dedicated server, looks like I have "normal shell" access (as opposed to "jailed shell"). I'm in a section of WHM called "Manage root's SSH Keys"... it lets me generate a key for shell access. Do I need to do this?
[url="https://edabit.com"]https://edabit.com[/url]

Riverhead

What are your permissions on the server? What is the OS?

Method-X

Quote from: tonyk2 on October 30, 2014, 03:02:00 AM
Quote from: MeTHoDx on October 30, 2014, 02:58:01 AM
Ok so I'm trying to install a delegate on a dedicated server I own. The server is located in California; I control it remotely through "WebHost Manager" (WHM). How do I install the cli (?) on the server?

I am no techy, by any stretch of the imagination, but you will not manage to install it using 'WebHost Manager'....

Yeah I def need to do this via the command line. I'll contact support and have them enable SSH if it isn't already.
[url="https://edabit.com"]https://edabit.com[/url]

Method-X

Ok so I'm trying to install a delegate on a dedicated server I own. The server is located in California; I control it remotely through "WebHost Manager" (WHM). How do I install the cli (?) on the server?
[url="https://edabit.com"]https://edabit.com[/url]

xeroc

Quote from: emski on October 29, 2014, 07:43:12 PM
Quote from: xeroc on October 29, 2014, 07:34:23 PM
Quote from: emski on October 29, 2014, 07:32:32 PM
Quote from: xeroc on October 29, 2014, 07:30:40 PM
You can only reduce it .. however with the new update to the inflationary model .. all delegates will be force-set to 1% inflation
where was this explained?
https://github.com/BitShares/bitshares_toolkit/issues/879

10x I'd wait for the final version though.
Does this mean that a delegate can have max 100x TRX fees per block?

from what I know ... TX fees are BURNED .. you can get up to 100% of 50 BTS per block ..

emski

Quote from: xeroc on October 29, 2014, 07:34:23 PM
Quote from: emski on October 29, 2014, 07:32:32 PM
Quote from: xeroc on October 29, 2014, 07:30:40 PM
You can only reduce it .. however with the new update to the inflationary model .. all delegates will be force-set to 1% inflation
where was this explained?
https://github.com/BitShares/bitshares_toolkit/issues/879

10x I'd wait for the final version though.
Does this mean that a delegate can have max 100x TRX fees per block?
[url="https://bitsharestalk.org/index.php/topic,9857.0.html"]https://bitsharestalk.org/index.php/topic,9857.0.html[/url]

xeroc

Quote from: emski on October 29, 2014, 07:32:32 PM
Quote from: xeroc on October 29, 2014, 07:30:40 PM
You can only reduce it .. however with the new update to the inflationary model .. all delegates will be force-set to 1% inflation
where was this explained?
https://github.com/BitShares/bitshares_toolkit/issues/879

emski

Quote from: xeroc on October 29, 2014, 07:30:40 PM
You can only reduce it .. however with the new update to the inflationary model .. all delegates will be force-set to 1% inflation
where was this explained?
[url="https://bitsharestalk.org/index.php/topic,9857.0.html"]https://bitsharestalk.org/index.php/topic,9857.0.html[/url]

Method-X

Quote from: xeroc on October 29, 2014, 07:30:40 PM
You can only reduce it .. however with the new update to the inflationary model .. all delegates will be force-set to 1% inflation

Sounds good xeroc! So I just get delegate.methodx elected and once the new rules take effect it will be automatically be set to 1% inflation even though it's currently 10% pay?
[url="https://edabit.com"]https://edabit.com[/url]

xeroc

You can only reduce it .. however with the new update to the inflationary model .. all delegates will be force-set to 1% inflation

Method-X

I registered delegate.methodx and set the pay rate to 10% a few months back. Can I change the % or do I have to register an entirely new delegate to do that?
[url="https://edabit.com"]https://edabit.com[/url]