esniper richtig einrichten

Alle weiteren Dienste, die nicht in die drei oberen Foren gehören.
Antworten
Benutzeravatar
thoys
Beiträge: 349
Registriert: 11.08.2008 22:21:24
Lizenz eigener Beiträge: GNU General Public License
Kontaktdaten:

esniper richtig einrichten

Beitrag von thoys » 05.07.2014 14:19:43

Hallo zusammen,

ich habe eben esniper entdeckt und installiert. Nun habe ich nach dem Lesen der ganzen Dokumentationen noch ein paar Fragen offen:

- die config und die auctionsfile ist doch im Prinzip das gleiche und kann auch eine Datei sein? Also ich richte eine Datei ein, in welche die config steht plus die Auktionsnummer und der Preis.

Mit dem Befehl "esniper -c pfadzurauctionsdatei" sollte das tun.

Sollte er ja - soweit ich das verstehe - die Auktion ausführen, aber er bringt folgendes.

Code: Alles auswählen


esniper -c /home/esniper/buch 
Error: no auctions specified.
usage: esniper [-bdhHnmPrUv] [-c conf_file] [-l logdir] [-p proxy] [-q quantity]
       [-s secs|now] [-u user] (auction_file | [auction price ...])

Try "esniper -h" for more help.

Please visit http://esniper.sf.net/ for updates and bug reports.  To learn
about updates to and major bugs in esniper, subscribe to the esniper mailing
list at http://lists.sf.net/lists/listinfo/esniper-announce


Die Datei hat die Rechte 744 und sieht folgendermaßen aus:
GNU nano 2.2.4 Datei: buch

# A configuration file contains option settings,
# blank lines, and comments (begin with #). The
# default configuration file is $HOME/.esniper, and
# if you specify an auction file, .esniper in the
# auction file's directory as well. If you specify a
# configuration file using the -c command-line option,
# then that configuration file will be the only one
# read.
#
# If you set your password in a configuration file
# and you are on a unix system, you should be the
# owner of the file, and you should set the
# permissions so that it is readable only by the
# owner.
#
# Here are all the options. Note that if the
# default (as defined in esniper -H) is fine, you
# don't need to specify it in a configuration file.

# boolean parameters can be set to:
# true, y, yes, on, 1, enabled
# false, n, no, off, 0, disabled
batch = false
bid = yes
debug = enabled
reduce = y

# Note: it would be nice if logdir could use ~myuser,
# or $HOME. Perhaps in a future version.
logdir = ./logfiles/
password = (hab ich angegeben aber poste ich hier natürlich nicht)
# Note: proxy authentication not yet supported
# proxy = http://192.168.1.1:8080/
username = (hab ich angegeben aber poste ich hier natürlich nicht)

# Note: quantity is usually set in an auction file
quantity = 1
# Note: seconds can also be "now", if you want to
# bid immediately
seconds = now

#buch
301229714487 2


Wenn ich

Code: Alles auswählen

esniper -bdhHimnPrUv -c .buch
eingebe (was macht bdh... eigentlich?) dann kommt das hier:

Code: Alles auswählen

Speicherzugriffsfehler


Oder verstehe ich da was fundamental falsch? Ich habe keine .config irgendwo anders erstellt, sondern versuche es nur so, wie ich es eben gesagt habe.

Grüße und Danke

Thoys

rendegast
Beiträge: 15041
Registriert: 27.02.2006 16:50:33
Lizenz eigener Beiträge: MIT Lizenz

Re: esniper richtig einrichten

Beitrag von rendegast » 08.07.2014 14:58:57

die config und die auctionsfile ist doch im Prinzip das gleiche und kann auch eine Datei sein?
Scheint mir nicht so, und das Programm verlangt ja selbst nach einer auction(-Datei).
# Note: quantity is usually set in an auction file
quantity = 1

#buch
301229714487 2
Das käme in die Auktionsdatei, zBsp. buch.auction, der Rest nach zBsp. buch.conf.
Dann

Code: Alles auswählen

esniper  -c ~/buch.conf  ~/buch.auction
Siehe auch /usr/share/doc/esniper/.

esniper -bdhHimnPrUv -c .buch
EDIT
(Ich denke, das sollte eher "./buch" werden, die Datei "buch" im in der Form explizit angegebene aktuellen Verzeichnis(?))
Hier kommt bei obiger Kombination nur die Versionsangabe.
Egal ob mit/ohne einer existierenden Datei .buch.
(was macht bdh... eigentlich?)
siehe 'man esniper',
evtl. kommt im google-Translator sinnvolles heraus.


Der Speicherzugriffsfehler?
Vielleicht Speicherfehler? -> memtest
GNU nano 2.2.4 Datei: buch
<-> squeeze
Es gäbe https://packages.debian.org/esniper auch aus squeeze-backports.
Zuletzt geändert von rendegast am 09.07.2014 06:08:45, insgesamt 2-mal geändert.
mfg rendegast
-----------------------
Viel Eifer, viel Irrtum; weniger Eifer, weniger Irrtum; kein Eifer, kein Irrtum.
(Lin Yutang "Moment in Peking")

dirk11
Beiträge: 2853
Registriert: 02.07.2013 11:47:01

Re: esniper richtig einrichten

Beitrag von dirk11 » 08.07.2014 23:08:30

thoys hat geschrieben:- die config und die auctionsfile ist doch im Prinzip das gleiche und kann auch eine Datei sein?
Gegenfrage: warum will man unbedingt die default-Dateien gegen eine einzige austauschen, bevor man weiss, dass es mit den default-Dateien funktioniert?

Antworten