Fragen zum iStat-Server

Status
Für weitere Antworten geschlossen.

an124

Benutzer
Mitglied seit
05. Jul 2013
Beiträge
115
Punkte für Reaktionen
0
Punkte
0
Ok dann gibts hier mal die Anleitung für die Installation auf einer PPC DS ;)

Eventuell in die Wiki aufnehmen?
Rich (BBCode):
Dienst einrichten

> tar -zxvf istatd-*.tar.gz

> cd istatd-0.5.8 
>mv /opt/powerpc-linux-gnuspe/lib/libm.so /opt/powerpc-linux-gnuspe/lib/libm.so.org
>n -s /lib/libm.so.6 /opt/powerpc-linux-gnuspe/lib/libm.so
>mv /opt/powerpc-linux-gnuspe/lib/libdl.so.2 /opt/powerpc-linux-gnuspe/lib/libdl.so.2.org 
>ln -s /lib/libdl.so.2 /opt/powerpc-linux-gnuspe/lib/
> ./configure --prefix=/opt --sysconfdir=/opt/etc
> make
> make install
> adduser -S -D -H istat
> mkdir -p /opt/var/run/istat
> chown istat.istat /opt/var/run/istat
> cd /lib
> ln -s /opt/lib/libz.so.1 libz.so.1

Achtung: der nächste Schritt hat schon zu Problemen geführt, daher zunächst mal überspringen und bei Problemen nachholen! (Siehe Forum unten)

> mv libxml2.so.2 libxml2.so.2.old
> ln -s /opt/lib/libxml2.so.2 libxml2.so.2 

konfiguriert wird mittels der Datei /opt/etc/istat.conf

Hier meine als Beispiel:

#
# /etc/istat.conf: Configuration for iStat server
#

# network_addr           127.0.0.1
# network_port           5109
server_code              12345
# server_user            istat
# server_group           istat
# server_socket          /tmp/istatd.sock
# server_pid             /var/run/istat/istatd.pid
# cache_dir              /var/cache/istat

# Note: Only support for one network interface, limited by client.
monitor_net              ( eth0 )
# monitor_net            ( re0 )

# Array of disks to monitor. Specify mount path or device name.
monitor_disk             ( / /volume1 /volumeUSB1/usbshare /volumeUSB2/usbshare )

# Set to 1 if you want to use mount path as label instead of the device name.
disk_mount_path_label    1

# Try to probe the filesystem for disk label, will override the mount path label.
disk_filesystem_label    1

# Set custom disk label. Will override all other labels.
 disk_rename_label        /volumeUSB1/usbshare  "Video"
 disk_rename_label        /volumeUSB2/usbshare  "Backup"
 disk_rename_label        /volume1 "RAID"
 disk_rename_label        /      "root"

# End of file 

Achtung: "mount path" ist genau zu nehmen, also die Pfade mit

> mount[enter]
...
/dev/vg1/lv on /volume1 type ext3 (usrquota,grpquota)
...
/dev/sdk1 on /volumeUSB2/usbshare type ext3 (0)
/dev/sdl1 on /volumeUSB1/usbshare type ext3 (0)

die Pfadangaben prüfen und so in das istat.conf-File übernehmen! Sonst wird nichts angezeigt.

Der "server_code" ist der 5-stellige Zahlencode, der auf dem iPod/iPhone beim Verbinden zum Server abgfragt wird.

Starten des Dienstes:

> /opt/bin/istatd -d

Als Autostart habe ich folgenden Weg gewählt:

Datei /usr/local/etc/rc.d/S98istat.sh mit folgendem Inhalt erstellt:

#!/bin/sh
/opt/bin/istatd -d

Nicht vergessen sie mit

> chmod 777 /usr/local/etc/rc.d/S98istat.sh

ausführbar zu machen!

Danke an alle die geholfen haben (Martin, Götz,...)
 

mcore

Benutzer
Mitglied seit
24. Nov 2013
Beiträge
2
Punkte für Reaktionen
0
Punkte
1
Moin!

Hab seit neuestem eine DS213J und bin soweit sehr zufrieden damit, komme allerdings mit der Installation vom iStat Server irgendwie nicht weiter. Habe IPKG und alle Abhängigkeiten installiert, bekomme allerdings diese Fehlermeldung, wenn ich dem HowTo im Wiki folge:

Rich (BBCode):
checking for a BSD-compatible install... /opt/bin/install -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... /opt/bin/mkdir -p
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking whether to enable maintainer-specific portions of Makefiles... no
checking build system type... armv7l-unknown-linux-gnueabi
checking host system type... armv7l-unknown-linux-gnueabi
checking for ranlib... ranlib
checking for g++... g++
checking whether the C++ compiler works... no
configure: error: in `/root/istatd-0.5.8':
configure: error: C++ compiler cannot create executables
See `config.log' for more details

in der config.log steht dann folgendes:

Rich (BBCode):
This file contains any messages produced by compilers while
running configure, to aid debugging if configure makes a mistake.

It was created by istatd configure 0.5.8, which was
generated by GNU Autoconf 2.67.  Invocation command line was

  $ ./configure --prefix=/opt --sysconfdir=/opt/etc

## --------- ##
## Platform. ##
## --------- ##

hostname = syno
uname -m = armv7l
uname -r = 3.2.40
uname -s = Linux
uname -v = #3810 Wed Nov 6 09:59:04 CST 2013

/usr/bin/uname -p = unknown
/bin/uname -X     = unknown

/bin/arch              = unknown
/usr/bin/arch -k       = unknown
/usr/convex/getsysinfo = unknown
/usr/bin/hostinfo      = unknown
/bin/machine           = unknown
/usr/bin/oslevel       = unknown
/bin/universe          = unknown

PATH: /opt/bin
PATH: /opt/sbin
PATH: /sbin
PATH: /bin
PATH: /usr/sbin
PATH: /usr/bin
PATH: /usr/syno/sbin
PATH: /usr/syno/bin
PATH: /usr/local/sbin
PATH: /usr/local/bin


## ----------- ##
## Core tests. ##
## ----------- ##

configure:2338: checking for a BSD-compatible install
configure:2406: result: /opt/bin/install -c
configure:2417: checking whether build environment is sane
configure:2467: result: yes
configure:2608: checking for a thread-safe mkdir -p
configure:2647: result: /opt/bin/mkdir -p
configure:2660: checking for gawk
configure:2676: found /opt/bin/gawk
configure:2687: result: gawk
configure:2698: checking whether make sets $(MAKE)
configure:2720: result: yes
configure:2801: checking whether to enable maintainer-specific portions of Makefiles
configure:2810: result: no
configure:2827: checking build system type
configure:2841: result: armv7l-unknown-linux-gnueabi
configure:2861: checking host system type
configure:2874: result: armv7l-unknown-linux-gnueabi
configure:2937: checking for ranlib
configure:2953: found /opt/bin/ranlib
configure:2964: result: ranlib
configure:3049: checking for g++
configure:3065: found /opt/bin/g++
configure:3076: result: g++
configure:3103: checking for C++ compiler version
configure:3112: g++ --version >&5
g++ (GCC) 4.2.3
Copyright (C) 2007 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.

configure:3123: $? = 0
configure:3112: g++ -v >&5
Using built-in specs.
Target: arm-none-linux-gnueabi
Configured with: ../gcc-4.2/configure --build=i386-pc-linux-gnu --host=arm-none-linux-gnueabi --target=arm-none-linux-gnueabi --prefix=/opt --disable-nls --disable-static --with-as=/home/slug/optware/cs08q1armel/toolchain/arm-2008q1/bin/arm-none-linux-gnueabi-as --with-ld=/home/slug/optware/cs08q1armel/toolchain/arm-2008q1/bin/arm-none-linux-gnueabi-ld --enable-languages=c,c++ --disable-multilib --enable-threads --disable-libmudflap --disable-libssp --disable-libgomp --disable-libstdcxx-pch --enable-shared --enable-symvers=gnu --enable-__cxa_atexit
Thread model: posix
gcc version 4.2.3
configure:3123: $? = 0
configure:3112: g++ -V >&5
g++: '-V' option must have argument
configure:3123: $? = 1
configure:3112: g++ -qversion >&5
g++: unrecognized option '-qversion'
g++: no input files
configure:3123: $? = 1
configure:3143: checking whether the C++ compiler works
configure:3165: g++    conftest.cpp  >&5
/opt/lib/gcc/arm-none-linux-gnueabi/4.2.3/../../../../arm-none-linux-gnueabi/bin/ld: ERROR: /lib/libc.so.6 uses VFP register arguments, a.out does not
/opt/lib/gcc/arm-none-linux-gnueabi/4.2.3/../../../../arm-none-linux-gnueabi/bin/ld: failed to merge target specific data of file /lib/libc.so.6
collect2: ld returned 1 exit status
configure:3169: $? = 1
configure:3207: result: no
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME "istatd"
| #define PACKAGE_TARNAME "istatd"
| #define PACKAGE_VERSION "0.5.8"
| #define PACKAGE_STRING "istatd 0.5.8"
| #define PACKAGE_BUGREPORT "http://github.com/tiwilliam/istatd/issues"
| #define PACKAGE_URL ""
| #define PACKAGE "istatd"
| #define VERSION "0.5.8"
| /* end confdefs.h.  */
| 
| int
| main ()
| {
| 
|   ;
|   return 0;
| }
configure:3212: error: in `/root/istatd-0.5.8':
configure:3214: error: C++ compiler cannot create executables
See `config.log' for more details

## ---------------- ##
## Cache variables. ##
## ---------------- ##

ac_cv_build=armv7l-unknown-linux-gnueabi
ac_cv_env_CCC_set=
ac_cv_env_CCC_value=
ac_cv_env_CC_set=
ac_cv_env_CC_value=
ac_cv_env_CFLAGS_set=
ac_cv_env_CFLAGS_value=
ac_cv_env_CPPFLAGS_set=
ac_cv_env_CPPFLAGS_value=
ac_cv_env_CPP_set=
ac_cv_env_CPP_value=
ac_cv_env_CXXFLAGS_set=
ac_cv_env_CXXFLAGS_value=
ac_cv_env_CXX_set=
ac_cv_env_CXX_value=
ac_cv_env_LDFLAGS_set=
ac_cv_env_LDFLAGS_value=
ac_cv_env_LIBS_set=
ac_cv_env_LIBS_value=
ac_cv_env_build_alias_set=
ac_cv_env_build_alias_value=
ac_cv_env_host_alias_set=
ac_cv_env_host_alias_value=
ac_cv_env_target_alias_set=
ac_cv_env_target_alias_value=
ac_cv_host=armv7l-unknown-linux-gnueabi
ac_cv_path_install='/opt/bin/install -c'
ac_cv_path_mkdir=/opt/bin/mkdir
ac_cv_prog_AWK=gawk
ac_cv_prog_ac_ct_CXX=g++
ac_cv_prog_ac_ct_RANLIB=ranlib
ac_cv_prog_make_make_set=yes

## ----------------- ##
## Output variables. ##
## ----------------- ##

ACLOCAL='${SHELL} /root/istatd-0.5.8/missing --run aclocal-1.11'
AMDEPBACKSLASH=''
AMDEP_FALSE=''
AMDEP_TRUE=''
AMTAR='${SHELL} /root/istatd-0.5.8/missing --run tar'
AR=''
AUTOCONF='${SHELL} /root/istatd-0.5.8/missing --run autoconf'
AUTOHEADER='${SHELL} /root/istatd-0.5.8/missing --run autoheader'
AUTOMAKE='${SHELL} /root/istatd-0.5.8/missing --run automake-1.11'
AWK='gawk'
CC=''
CCDEPMODE=''
CFLAGS=''
CPP=''
CPPFLAGS=''
CXX='g++'
CXXDEPMODE=''
CXXFLAGS=''
CYGPATH_W='echo'
DEFS=''
DEPDIR=''
ECHO_C=''
ECHO_N='-n'
ECHO_T=''
EGREP=''
EXEEXT=''
GREP=''
INSTALL_DATA='${INSTALL} -m 644'
INSTALL_PROGRAM='${INSTALL}'
INSTALL_SCRIPT='${INSTALL}'
INSTALL_STRIP_PROGRAM='$(install_sh) -c -s'
LDFLAGS=''
LIBOBJS=''
LIBS=''
LTLIBOBJS=''
MAINT='#'
MAINTAINER_MODE_FALSE=''
MAINTAINER_MODE_TRUE='#'
MAKEINFO='${SHELL} /root/istatd-0.5.8/missing --run makeinfo'
MKDIR_P='/opt/bin/mkdir -p'
OBJEXT=''
PACKAGE='istatd'
PACKAGE_BUGREPORT='http://github.com/tiwilliam/istatd/issues'
PACKAGE_NAME='istatd'
PACKAGE_STRING='istatd 0.5.8'
PACKAGE_TARNAME='istatd'
PACKAGE_URL=''
PACKAGE_VERSION='0.5.8'
PATH_SEPARATOR=':'
RANLIB='ranlib'
SET_MAKE=''
SHELL='/opt/bin/bash'
STRIP=''
VERSION='0.5.8'
XML2_CONFIG=''
ac_ct_CC=''
ac_ct_CXX='g++'
am__EXEEXT_FALSE=''
am__EXEEXT_TRUE=''
am__fastdepCC_FALSE=''
am__fastdepCC_TRUE=''
am__fastdepCXX_FALSE=''
am__fastdepCXX_TRUE=''
am__include=''
am__isrc=''
am__leading_dot='.'
am__quote=''
am__tar='${AMTAR} chof - "$$tardir"'
am__untar='${AMTAR} xf -'
bindir='${exec_prefix}/bin'
build='armv7l-unknown-linux-gnueabi'
build_alias=''
build_cpu='armv7l'
build_os='linux-gnueabi'
build_vendor='unknown'
datadir='${datarootdir}'
datarootdir='${prefix}/share'
docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
dvidir='${docdir}'
exec_prefix='NONE'
host='armv7l-unknown-linux-gnueabi'
host_alias=''
host_cpu='armv7l'
host_os='linux-gnueabi'
host_vendor='unknown'
htmldir='${docdir}'
includedir='${prefix}/include'
infodir='${datarootdir}/info'
install_sh='${SHELL} /root/istatd-0.5.8/install-sh'
libdir='${exec_prefix}/lib'
libexecdir='${exec_prefix}/libexec'
localedir='${datarootdir}/locale'
localstatedir='${prefix}/var'
mandir='${datarootdir}/man'
mkdir_p='/opt/bin/mkdir -p'
oldincludedir='/usr/include'
pdfdir='${docdir}'
prefix='/opt'
program_transform_name='s,x,x,'
psdir='${docdir}'
sbindir='${exec_prefix}/sbin'
sharedstatedir='${prefix}/com'
sysconfdir='/opt/etc'
target_alias=''

## ----------- ##
## confdefs.h. ##
## ----------- ##

/* confdefs.h */
#define PACKAGE_NAME "istatd"
#define PACKAGE_TARNAME "istatd"
#define PACKAGE_VERSION "0.5.8"
#define PACKAGE_STRING "istatd 0.5.8"
#define PACKAGE_BUGREPORT "http://github.com/tiwilliam/istatd/issues"
#define PACKAGE_URL ""
#define PACKAGE "istatd"
#define VERSION "0.5.8"

configure: exit 77

woran kann das liegen? ich bekomm so einfache Sachen hin, aber das bringt mich an meine Grenzen, per google finde ich da auch nicht wirklich was brauchbares, was auf die DS anzuwenden wäre ...

Evtl. weiß ja hier jemand Rat?

LG
 

mcore

Benutzer
Mitglied seit
24. Nov 2013
Beiträge
2
Punkte für Reaktionen
0
Punkte
1
niemand mit ein wenig mehr Ahnung in der Materie da, der da mal drüber gucken könnte?

wäre sehr dankbar für hilfe ;-)
 

an124

Benutzer
Mitglied seit
05. Jul 2013
Beiträge
115
Punkte für Reaktionen
0
Punkte
0
Mal die alte Suppe hochhole.
Gibt es etwas vergleichbares inzwischen?
Seit neuinstall geht nix mehr
 

patter

Benutzer
Mitglied seit
08. Mai 2013
Beiträge
15
Punkte für Reaktionen
0
Punkte
7
Mal die alte Suppe hochhole.
Gibt es etwas vergleichbares inzwischen?
Seit neuinstall geht nix mehr

Ich bin ja kurz davor es auszuprobieren, da es nun ja wieder ein iStat im App Store gibt, aber dein Kommentar hält mich ab. Mit Neuinstall meinst du (a) es noch einmal installiert nach der Anleitung im Wiki oder (b) DSM neu installiert und nun geht nix mehr.

Denn… falls du (b) gemeint hast, würde ich (a) probieren.
 
Status
Für weitere Antworten geschlossen.
 

Kaffeautomat

Wenn du das Forum hilfreich findest oder uns unterstützen möchtest, dann gib uns doch einfach einen Kaffee aus.

Als Dankeschön schalten wir deinen Account werbefrei.

:coffee:

Hier gehts zum Kaffeeautomat 

 
 
  AdBlocker gefunden!

Du bist nicht hier, um Support für Adblocker zu erhalten. Dein Adblocker funktioniert bereits ;-)

Klar machen Adblocker einen guten Job, aber sie blockieren auch nützliche Funktionen.

Das Forum wird mit hohem technischen, zeitlichen und finanziellen Aufwand kostenfrei zur Verfügung gestellt. Wir zeigen keine offensive Werbung und bemühen uns um eine dezente Integration.

Bitte unterstütze dieses Forum, in dem du deinen Adblocker für diese Seite deaktivierst.

Du kannst uns auch über unseren Kaffeautomat einen Kaffe ausgeben oder ein PUR Abo abschließen und das Forum so werbefrei nutzen.

Vielen Dank für Deine Unterstützung!