Title: [FIXED!] I need some help with pushpoold! [fails to start up] Post by: Flowz on July 22, 2011, 07:36:52 PM Fixed, these were all mistakes by the cause of typos. I used my DNS (the VPS) instead of the IP. I also used my domain as remote host of the MySQL server instead of the IP! So don't use domain or DNS's like:
(www.urdomain.com or www.urdns.no-ip.org) to point to the servers, only use IP's. A tip to all: make sure you check everything is correct, servers match, username of bitcoin and mysql match, passwords match with the correct usernames! Whenever I start up pushpool( # ./pushpoold -E -F ) I get the following output: Code: # ./pushpoold -E -F My remote server: http://screensnapr.com/e/oOVjtc.png My MySQL tables: http://screensnapr.com/e/MAqkEY.png My MySQL columns: http://screensnapr.com/e/9WOvr3.png http://screensnapr.com/e/VBtFYL.png My server.json Code:
Edit one: Ok it seemt that my server.json host was wrong, I fixed it. Edit two: The passwords of server.json and bitcoin.conf didn't matched, I fixed it. Edit three: Okay, these were all mistakes by the cause of typos. I used my DNS (the VPS) instead of the IP. I also used my domain as remote host of the MySQL server instead of the IP! Title: Re: I need some help with pushpoold! [fails to start up] Post by: Flowz on July 22, 2011, 08:35:44 PM Updated the thread with more info!
Title: Re: I need some help with pushpoold! [fails to start up] Post by: Viceroy on July 22, 2011, 10:50:46 PM i'm not getting a pid in my /tmp.
presume the same? Title: Re: I need some help with pushpoold! [fails to start up] Post by: Flowz on July 22, 2011, 11:29:25 PM I'm not getting any pid file in:
Code: /usr/tmp Title: Re: I need some help with pushpoold! [fails to start up] Post by: Viceroy on July 22, 2011, 11:36:02 PM yep, same. no pid file.
but I see two other files there... shares.log request.log both empty Title: Re: I need some help with pushpoold! [fails to start up] Post by: Flowz on July 23, 2011, 12:01:05 AM I don't even see those files in there! :O
Title: Re: I need some help with pushpoold! [fails to start up] Post by: Viceroy on July 23, 2011, 12:59:56 AM can you write to /tmp?
touch /tmp/viceroywashere.txt ls /tmp am I there? Title: Re: I need some help with pushpoold! [fails to start up] Post by: Flowz on July 23, 2011, 08:41:15 AM can you write to /tmp? Yes I can write to tmp, btw I did found out that there was a problem with the remote server! I fixed it afterwards and I'm still getting the same error.touch /tmp/viceroywashere.txt ls /tmp am I there? Title: Re: I need some help with pushpoold! [fails to start up] Post by: JoelKatz on July 23, 2011, 09:13:59 AM It is failing to open the database for some reason. It could be an incorrect setting, it could be a firewall. You may wish to add some debug output to the my_open function in the db-mysql.c file, recompile, and test again.
Title: Re: I need some help with pushpoold! [fails to start up] Post by: Flowz on July 23, 2011, 09:37:57 AM It is failing to open the database for some reason. It could be an incorrect setting, it could be a firewall. You may wish to add some debug output to the my_open function in the db-mysql.c file, recompile, and test again. I'll try running the database on localhost since I'm not sure if . I don't know how I'm going to create a database/user/pass/tables & columns but I'll try. Title: Re: I need some help with pushpoold! [fails to start up] Post by: Flowz on July 23, 2011, 09:44:19 AM IT'S FIXED! Oh, I feel like a retard right now!
So the fucking moron that I am, I used my DNS's as remote host. so I switched them to IP's and it worked! |