ZNOWU - problem przy instalacji

Tu proszę zgłaszać wszelkie problemy z instalacja i po
carpov
Posty: 74
Rejestracja: pt lut 05, 2016 10:17 am
Lokalizacja: Głogów

ZNOWU - problem przy instalacji

Post autor: carpov » sob lut 27, 2016 6:52 pm

Witajcie

Kilka dni temu w GUI nettempa pod statusem wyświetliło mi się "Reboot request"
Zresetowało mi malinę, uziemiając system.......
W trakcie uruchamiania maliny cały czas waliło błędami w stylu MCC0: timeout waiting for hardware interrupt

Dopiero dzisiaj miałem czas podejść do RPi. I jest problem z instalacją. W trakcie instalacji nettemp na świeżym raspianie mam taki efekt:

Obrazek

Sprawa ma się identycznie niezależnie od sytemu: próbowałem na jessie i wheezy.
Od wersji nettempa: beta i normal
Na 2 różnych kartach Sd class 10

Zawsze to samo. Coś ? ktoś?

Awatar użytkownika
pimowo
Betatester
Posty: 4653
Rejestracja: czw lut 19, 2015 9:17 am
Lokalizacja: Wołów

Re: ZNOWU - problem przy instalacji

Post autor: pimowo » sob lut 27, 2016 7:05 pm

Najpierw lub

Kod: Zaznacz cały

sudo su
i dopiero reszta poleceń...
[email protected] HP MicroServer N54L, Raspberry Pi 3B, Raspberry Pi B+

carpov
Posty: 74
Rejestracja: pt lut 05, 2016 10:17 am
Lokalizacja: Głogów

Re: ZNOWU - problem przy instalacji

Post autor: carpov » sob lut 27, 2016 7:32 pm

Podaje cały przebieg instalacji

Kod: Zaznacz cały

login as: pi
[email protected]'s password:
Linux raspberrypi 3.18.11-v7+ #781 SMP PREEMPT Tue Apr 21 18:07:59 BST 2015 armv7l

The programs included with the Debian GNU/Linux system are free software;
the exact distribution terms for each program are described in the
individual files in /usr/share/doc/*/copyright.

Debian GNU/Linux comes with ABSOLUTELY NO WARRANTY, to the extent
permitted by applicable law.
Last login: Sat Feb 27 18:13:53 2016 from jacek-komputer
[email protected] ~ $ sudo su
[email protected]:/home/pi# mkdir -p /var/www/nettemp && cd /var/www
[email protected]:/var/www# sudo apt-get install git
Reading package lists... Done
Building dependency tree
Reading state information... Done
git is already the newest version.
0 upgraded, 0 newly installed, 0 to remove and 75 not upgraded.
[email protected]:/var/www# git clone https://github.com/sosprz/nettemp
fatal: destination path 'nettemp' already exists and is not an empty directory.
[email protected]:/var/www# cd nettemp
[email protected]:/var/www/nettemp# ./install_nettemp
Please wait installing packages
[ ok ] packages
[ ok ] Raspberry Pi detected
[ ok ] 1wire
[ ok ] DHT
[ ok ] GPIO
[ ok ] I2C
[ ok ] FW
[ ok ] SDM120
sed: can't read /etc/apcupsd/apcupsd.conf: No such file or directory
sed: can't read /etc/apcupsd/apcupsd.conf: No such file or directory
sed: can't read /etc/apcupsd/apcupsd.conf: No such file or directory
sed: can't read /etc/default/apcupsd: No such file or directory
sed: can't read /etc/apcupsd/onbattery: No such file or directory
sed: can't read /etc/apcupsd/offbattery: No such file or directory
Please wait certificate generating.......
[ ok ] VPN
[ ok ] WWW
/var/www/nettemp/modules/tools/db_reset: line 17: sqlite3: command not found
chmod: cannot access `/var/www/nettemp/dbf/snmp.db': No such file or directory
chown: cannot access `/var/www/nettemp/dbf/snmp.db': No such file or directory
/var/www/nettemp/modules/tools/db_reset: line 17: sqlite3: command not found
chmod: cannot access `/var/www/nettemp/dbf/hosts.db': No such file or directory
chown: cannot access `/var/www/nettemp/dbf/hosts.db': No such file or directory
/var/www/nettemp/modules/tools/db_reset: line 17: sqlite3: command not found
chmod: cannot access `/var/www/nettemp/dbf/nettemp.db': No such file or directory
chown: cannot access `/var/www/nettemp/dbf/nettemp.db': No such file or directory
/var/www/nettemp/modules/tools/db_reset: line 22: sqlite3: command not found
/var/www/nettemp/modules/tools/db_reset: line 23: sqlite3: command not found
/var/www/nettemp/modules/tools/db_reset: line 24: sqlite3: command not found
/var/www/nettemp/modules/tools/db_reset: line 25: sqlite3: command not found
/var/www/nettemp/modules/tools/db_reset: line 26: sqlite3: command not found
/var/www/nettemp/modules/tools/db_reset: line 27: sqlite3: command not found
/var/www/nettemp/modules/tools/db_reset: line 28: sqlite3: command not found
/var/www/nettemp/modules/tools/db_reset: line 29: sqlite3: command not found
/var/www/nettemp/modules/tools/db_reset: line 30: sqlite3: command not found
/var/www/nettemp/modules/tools/db_reset: line 31: sqlite3: command not found
/var/www/nettemp/modules/tools/db_reset: line 32: sqlite3: command not found
/var/www/nettemp/modules/tools/db_reset: line 33: sqlite3: command not found
/var/www/nettemp/modules/tools/db_reset: line 34: sqlite3: command not found
/var/www/nettemp/modules/tools/db_reset: line 35: sqlite3: command not found
/var/www/nettemp/modules/tools/db_reset: line 36: sqlite3: command not found
/var/www/nettemp/modules/tools/db_reset: line 37: sqlite3: command not found
/var/www/nettemp/modules/tools/db_reset: line 38: sqlite3: command not found
/var/www/nettemp/modules/tools/db_reset: line 39: sqlite3: command not found
/var/www/nettemp/modules/tools/db_reset: line 40: sqlite3: command not found
/var/www/nettemp/modules/tools/db_reset: line 41: sqlite3: command not found
/var/www/nettemp/modules/tools/db_reset: line 42: sqlite3: command not found
/var/www/nettemp/modules/tools/db_reset: line 43: sqlite3: command not found
/var/www/nettemp/modules/tools/db_reset: line 45: sqlite3: command not found
/var/www/nettemp/modules/tools/db_reset: line 46: sqlite3: command not found
[ ok ] Cron
[ error ] Services
[email protected]:/var/www/nettemp# 

Awatar użytkownika
pimowo
Betatester
Posty: 4653
Rejestracja: czw lut 19, 2015 9:17 am
Lokalizacja: Wołów

Re: ZNOWU - problem przy instalacji

Post autor: pimowo » sob lut 27, 2016 7:37 pm

info

Kod: Zaznacz cały

fatal: destination path 'nettemp' already exists and is not an empty directory.
Usuń katalog

Kod: Zaznacz cały

rm -R /var/www/nettep
i jeszcze raz spróbuj zainstalować
[email protected] HP MicroServer N54L, Raspberry Pi 3B, Raspberry Pi B+

carpov
Posty: 74
Rejestracja: pt lut 05, 2016 10:17 am
Lokalizacja: Głogów

Re: ZNOWU - problem przy instalacji

Post autor: carpov » sob lut 27, 2016 8:04 pm

Komunikat z katalogiem nettemp oznaczał tylko tyle że próbowałem nadpisać już istniejacą zawartość....ale ok. Usunąłem katalog nettemp i wykonałem procedurę instalacyjną ponownie.

W opcjach wyboru na początku daję:
VPN - tak
UPS - nie


Kod: Zaznacz cały

The programs included with the Debian GNU/Linux system are free software;
the exact distribution terms for each program are described in the
individual files in /usr/share/doc/*/copyright.

Debian GNU/Linux comes with ABSOLUTELY NO WARRANTY, to the extent
permitted by applicable law.
Last login: Sat Feb 27 18:29:24 2016
[email protected] ~ $ sudo su
[email protected]:/home/pi# mkdir -p /var/www/nettemp && cd /var/www
[email protected]:/var/www# sudo apt-get install git
Reading package lists... Done
Building dependency tree
Reading state information... Done
git is already the newest version.
0 upgraded, 0 newly installed, 0 to remove and 75 not upgraded.
[email protected]:/var/www# git clone https://github.com/sosprz/nettemp
Cloning into 'nettemp'...
remote: Counting objects: 14548, done.
remote: Compressing objects: 100% (1184/1184), done.
remote: Total 14548 (delta 728), reused 0 (delta 0), pack-reused 13280
Receiving objects: 100% (14548/14548), 5.48 MiB | 151 KiB/s, done.
Resolving deltas: 100% (9541/9541), done.
[email protected]:/var/www# cd nettemp
[email protected]:/var/www/nettemp# ./install_nettemp
Please wait installing packages
[ ok ] packages
[ ok ] Raspberry Pi detected
[ ok ] 1wire
[ ok ] DHT
[ ok ] GPIO
[ ok ] I2C
[ ok ] FW
[ ok ] SDM120
sed: can't read /etc/apcupsd/apcupsd.conf: No such file or directory
sed: can't read /etc/apcupsd/apcupsd.conf: No such file or directory
sed: can't read /etc/apcupsd/apcupsd.conf: No such file or directory
sed: can't read /etc/default/apcupsd: No such file or directory
sed: can't read /etc/apcupsd/onbattery: No such file or directory
sed: can't read /etc/apcupsd/offbattery: No such file or directory
Please wait certificate generating.......
[ ok ] VPN
[ ok ] WWW
/var/www/nettemp/modules/tools/db_reset: line 17: sqlite3: command not found
chmod: cannot access `/var/www/nettemp/dbf/snmp.db': No such file or directory
chown: cannot access `/var/www/nettemp/dbf/snmp.db': No such file or directory
/var/www/nettemp/modules/tools/db_reset: line 17: sqlite3: command not found
chmod: cannot access `/var/www/nettemp/dbf/hosts.db': No such file or directory
chown: cannot access `/var/www/nettemp/dbf/hosts.db': No such file or directory
/var/www/nettemp/modules/tools/db_reset: line 17: sqlite3: command not found
chmod: cannot access `/var/www/nettemp/dbf/nettemp.db': No such file or directory
chown: cannot access `/var/www/nettemp/dbf/nettemp.db': No such file or directory
/var/www/nettemp/modules/tools/db_reset: line 22: sqlite3: command not found
/var/www/nettemp/modules/tools/db_reset: line 23: sqlite3: command not found
/var/www/nettemp/modules/tools/db_reset: line 24: sqlite3: command not found
/var/www/nettemp/modules/tools/db_reset: line 25: sqlite3: command not found
/var/www/nettemp/modules/tools/db_reset: line 26: sqlite3: command not found
/var/www/nettemp/modules/tools/db_reset: line 27: sqlite3: command not found
/var/www/nettemp/modules/tools/db_reset: line 28: sqlite3: command not found
/var/www/nettemp/modules/tools/db_reset: line 29: sqlite3: command not found
/var/www/nettemp/modules/tools/db_reset: line 30: sqlite3: command not found
/var/www/nettemp/modules/tools/db_reset: line 31: sqlite3: command not found
/var/www/nettemp/modules/tools/db_reset: line 32: sqlite3: command not found
/var/www/nettemp/modules/tools/db_reset: line 33: sqlite3: command not found
/var/www/nettemp/modules/tools/db_reset: line 34: sqlite3: command not found
/var/www/nettemp/modules/tools/db_reset: line 35: sqlite3: command not found
/var/www/nettemp/modules/tools/db_reset: line 36: sqlite3: command not found
/var/www/nettemp/modules/tools/db_reset: line 37: sqlite3: command not found
/var/www/nettemp/modules/tools/db_reset: line 38: sqlite3: command not found
/var/www/nettemp/modules/tools/db_reset: line 39: sqlite3: command not found
/var/www/nettemp/modules/tools/db_reset: line 40: sqlite3: command not found
/var/www/nettemp/modules/tools/db_reset: line 41: sqlite3: command not found
/var/www/nettemp/modules/tools/db_reset: line 42: sqlite3: command not found
/var/www/nettemp/modules/tools/db_reset: line 43: sqlite3: command not found
/var/www/nettemp/modules/tools/db_reset: line 45: sqlite3: command not found
/var/www/nettemp/modules/tools/db_reset: line 46: sqlite3: command not found
[ ok ] Cron
[ error ] Services
[email protected]:/var/www/nettemp#

techfreak
Site Admin
Posty: 4679
Rejestracja: sob mar 15, 2014 2:23 pm
Lokalizacja: Gdansk
Kontakt:

Re: ZNOWU - problem przy instalacji

Post autor: techfreak » sob lut 27, 2016 10:26 pm

W katalogu nettemp masz plik install_log.txt pokaaż go.

nie ma pakietu sqlite3 z jakiegos powodu.

carpov
Posty: 74
Rejestracja: pt lut 05, 2016 10:17 am
Lokalizacja: Głogów

Re: ZNOWU - problem przy instalacji

Post autor: carpov » ndz lut 28, 2016 11:47 am

Poniżej log z instalki na świeżym raspian wheezy

Kod: Zaznacz cały

Get:1 http://archive.raspberrypi.org wheezy Release.gpg [473 B]
Hit http://raspberrypi.collabora.com wheezy Release.gpg
Hit http://raspberrypi.collabora.com wheezy Release
Get:2 http://archive.raspberrypi.org wheezy Release [17.6 kB]
Hit http://raspberrypi.collabora.com wheezy/rpi armhf Packages
Get:3 http://archive.raspberrypi.org wheezy/main armhf Packages [136 kB]
Ign http://raspberrypi.collabora.com wheezy/rpi Translation-en_GB
Ign http://raspberrypi.collabora.com wheezy/rpi Translation-en
Ign http://archive.raspberrypi.org wheezy/main Translation-en_GB
Ign http://archive.raspberrypi.org wheezy/main Translation-en
Get:4 http://mirrordirector.raspbian.org wheezy Release.gpg [490 B]
Get:5 http://mirrordirector.raspbian.org wheezy Release [14.4 kB]
Get:6 http://mirrordirector.raspbian.org wheezy/main armhf Packages [6,909 kB]
Get:7 http://mirrordirector.raspbian.org wheezy/contrib armhf Packages [23.6 kB]
Get:8 http://mirrordirector.raspbian.org wheezy/non-free armhf Packages [49.3 kB]
Get:9 http://mirrordirector.raspbian.org wheezy/rpi armhf Packages [592 B]
Ign http://mirrordirector.raspbian.org wheezy/contrib Translation-en_GB
Ign http://mirrordirector.raspbian.org wheezy/contrib Translation-en
Ign http://mirrordirector.raspbian.org wheezy/main Translation-en_GB
Ign http://mirrordirector.raspbian.org wheezy/main Translation-en
Ign http://mirrordirector.raspbian.org wheezy/non-free Translation-en_GB
Ign http://mirrordirector.raspbian.org wheezy/non-free Translation-en
Ign http://mirrordirector.raspbian.org wheezy/rpi Translation-en_GB
Ign http://mirrordirector.raspbian.org wheezy/rpi Translation-en
Fetched 7,152 kB in 37s (189 kB/s)
Reading package lists...
Reading package lists...
Building dependency tree...
Reading state information...
E: Unable to locate package netfilter-persistent
Cloning into 'Adafruit_Python_BMP'...
Downloading https://pypi.python.org/packages/source/s/setuptools/setuptools-3.5.1.zip
Extracting in /tmp/tmpdmQp1L
Now working in /tmp/tmpdmQp1L/setuptools-3.5.1
Building a Setuptools egg in /tmp/Adafruit_Python_BMP
/tmp/Adafruit_Python_BMP/setuptools-3.5.1-py2.7.egg
running install
running bdist_egg
running egg_info
creating Adafruit_BMP.egg-info
writing requirements to Adafruit_BMP.egg-info/requires.txt
writing Adafruit_BMP.egg-info/PKG-INFO
writing top-level names to Adafruit_BMP.egg-info/top_level.txt
writing dependency_links to Adafruit_BMP.egg-info/dependency_links.txt
writing manifest file 'Adafruit_BMP.egg-info/SOURCES.txt'
reading manifest file 'Adafruit_BMP.egg-info/SOURCES.txt'
writing manifest file 'Adafruit_BMP.egg-info/SOURCES.txt'
installing library code to build/bdist.linux-armv7l/egg
running install_lib
running build_py
creating build
creating build/lib.linux-armv7l-2.7
creating build/lib.linux-armv7l-2.7/Adafruit_BMP
copying Adafruit_BMP/BMP085.py -> build/lib.linux-armv7l-2.7/Adafruit_BMP
copying Adafruit_BMP/__init__.py -> build/lib.linux-armv7l-2.7/Adafruit_BMP
creating build/bdist.linux-armv7l
creating build/bdist.linux-armv7l/egg
creating build/bdist.linux-armv7l/egg/Adafruit_BMP
copying build/lib.linux-armv7l-2.7/Adafruit_BMP/BMP085.py -> build/bdist.linux-armv7l/egg/Adafruit_BMP
copying build/lib.linux-armv7l-2.7/Adafruit_BMP/__init__.py -> build/bdist.linux-armv7l/egg/Adafruit_BMP
byte-compiling build/bdist.linux-armv7l/egg/Adafruit_BMP/BMP085.py to BMP085.pyc
byte-compiling build/bdist.linux-armv7l/egg/Adafruit_BMP/__init__.py to __init__.pyc
creating build/bdist.linux-armv7l/egg/EGG-INFO
copying Adafruit_BMP.egg-info/PKG-INFO -> build/bdist.linux-armv7l/egg/EGG-INFO
copying Adafruit_BMP.egg-info/SOURCES.txt -> build/bdist.linux-armv7l/egg/EGG-INFO
copying Adafruit_BMP.egg-info/dependency_links.txt -> build/bdist.linux-armv7l/egg/EGG-INFO
copying Adafruit_BMP.egg-info/requires.txt -> build/bdist.linux-armv7l/egg/EGG-INFO
copying Adafruit_BMP.egg-info/top_level.txt -> build/bdist.linux-armv7l/egg/EGG-INFO
zip_safe flag not set; analyzing archive contents...
creating dist
creating 'dist/Adafruit_BMP-1.5.0-py2.7.egg' and adding 'build/bdist.linux-armv7l/egg' to it
removing 'build/bdist.linux-armv7l/egg' (and everything under it)
Processing setuptools-3.5.1-py2.7.egg
Copying setuptools-3.5.1-py2.7.egg to /usr/local/lib/python2.7/dist-packages
Adding setuptools 3.5.1 to easy-install.pth file
Installing easy_install script to /usr/local/bin
Installing easy_install-2.7 script to /usr/local/bin

Installed /usr/local/lib/python2.7/dist-packages/setuptools-3.5.1-py2.7.egg
Processing dependencies for setuptools==3.5.1
Finished processing dependencies for setuptools==3.5.1
Processing Adafruit_BMP-1.5.0-py2.7.egg
Copying Adafruit_BMP-1.5.0-py2.7.egg to /usr/local/lib/python2.7/dist-packages
Adding Adafruit-BMP 1.5.0 to easy-install.pth file

Installed /usr/local/lib/python2.7/dist-packages/Adafruit_BMP-1.5.0-py2.7.egg
Processing dependencies for Adafruit-BMP==1.5.0
Searching for Adafruit-GPIO>=0.6.5
Best match: Adafruit-GPIO 0.6.5
Downloading https://github.com/adafruit/Adafruit_Python_GPIO/tarball/master#egg=Adafruit-GPIO-0.6.5
Processing master
Writing /tmp/easy_install-WSLjgu/adafruit-Adafruit_Python_GPIO-cdf7a7b/setup.cfg
Running adafruit-Adafruit_Python_GPIO-cdf7a7b/setup.py -q bdist_egg --dist-dir /tmp/easy_install-WSLjgu/adafruit-Adafruit_Python_GPIO-cdf7a7b/egg-dist-tmp-bHBouV
zip_safe flag not set; analyzing archive contents...
Adding Adafruit-GPIO 0.9.3 to easy-install.pth file

Installed /usr/local/lib/python2.7/dist-packages/Adafruit_GPIO-0.9.3-py2.7.egg
Searching for spidev
Reading https://pypi.python.org/simple/spidev/
Best match: spidev 3.1
Downloading https://pypi.python.org/packages/source/s/spidev/spidev-3.1.tar.gz#md5=fe9146030263c62858051f3485afa313
Processing spidev-3.1.tar.gz
Writing /tmp/easy_install-kOKxYv/spidev-3.1/setup.cfg
Running spidev-3.1/setup.py -q bdist_egg --dist-dir /tmp/easy_install-kOKxYv/spidev-3.1/egg-dist-tmp-ndBpiE
spidev_module.c:20:20: fatal error: Python.h: No such file or directory
compilation terminated.
error: Setup script exited with error: command 'gcc' failed with exit status 1
Cloning into 'Adafruit_Python_DHT'...
Downloading https://pypi.python.org/packages/source/s/setuptools/setuptools-4.0.1.zip
Extracting in /tmp/tmpdlHHqH
Now working in /tmp/tmpdlHHqH/setuptools-4.0.1
Building a Setuptools egg in /tmp/Adafruit_Python_BMP/Adafruit_Python_DHT
/tmp/Adafruit_Python_BMP/Adafruit_Python_DHT/setuptools-4.0.1-py2.7.egg
running install
running bdist_egg
running egg_info
creating Adafruit_DHT.egg-info
writing Adafruit_DHT.egg-info/PKG-INFO
writing top-level names to Adafruit_DHT.egg-info/top_level.txt
writing dependency_links to Adafruit_DHT.egg-info/dependency_links.txt
writing manifest file 'Adafruit_DHT.egg-info/SOURCES.txt'
reading manifest file 'Adafruit_DHT.egg-info/SOURCES.txt'
writing manifest file 'Adafruit_DHT.egg-info/SOURCES.txt'
installing library code to build/bdist.linux-armv7l/egg
running install_lib
running build_py
creating build
creating build/lib.linux-armv7l-2.7
creating build/lib.linux-armv7l-2.7/Adafruit_DHT
copying Adafruit_DHT/platform_detect.py -> build/lib.linux-armv7l-2.7/Adafruit_DHT
copying Adafruit_DHT/__init__.py -> build/lib.linux-armv7l-2.7/Adafruit_DHT
copying Adafruit_DHT/Beaglebone_Black.py -> build/lib.linux-armv7l-2.7/Adafruit_DHT
copying Adafruit_DHT/common.py -> build/lib.linux-armv7l-2.7/Adafruit_DHT
copying Adafruit_DHT/Raspberry_Pi.py -> build/lib.linux-armv7l-2.7/Adafruit_DHT
copying Adafruit_DHT/Raspberry_Pi_2.py -> build/lib.linux-armv7l-2.7/Adafruit_DHT
copying Adafruit_DHT/Test.py -> build/lib.linux-armv7l-2.7/Adafruit_DHT
running build_ext
building 'Adafruit_DHT.Raspberry_Pi_2_Driver' extension
creating build/temp.linux-armv7l-2.7
creating build/temp.linux-armv7l-2.7/source
creating build/temp.linux-armv7l-2.7/source/Raspberry_Pi_2
gcc -pthread -fno-strict-aliasing -DNDEBUG -g -fwrapv -O2 -Wall -Wstrict-prototypes -fPIC -I/usr/include/python2.7 -c source/_Raspberry_Pi_2_Driver.c -o build/temp.linux-armv7l-2.7/source/_Raspberry_Pi_2_Driver.o -std=gnu99
source/_Raspberry_Pi_2_Driver.c:21:20: fatal error: Python.h: No such file or directory
compilation terminated.
error: command 'gcc' failed with exit status 1
Cloning into 'wiringPi'...
wiringPi Build script
=====================


WiringPi Library
[UnInstall]
[Compile] wiringPi.c
[Compile] wiringSerial.c
[Compile] wiringShift.c
[Compile] piHiPri.c
[Compile] piThread.c
[Compile] wiringPiSPI.c
[Compile] wiringPiI2C.c
[Compile] softPwm.c
[Compile] softTone.c
[Compile] mcp23008.c
[Compile] mcp23016.c
[Compile] mcp23017.c
[Compile] mcp23s08.c
[Compile] mcp23s17.c
[Compile] sr595.c
[Compile] pcf8574.c
[Compile] pcf8591.c
[Compile] mcp3002.c
[Compile] mcp3004.c
[Compile] mcp4802.c
[Compile] mcp3422.c
[Compile] max31855.c
[Compile] max5322.c
[Compile] sn3218.c
[Compile] drcSerial.c
[Compile] wpiExtensions.c
[Link (Dynamic)]
[Install Headers]
[Install Dynamic Lib]

WiringPi Devices Library
[UnInstall]
[Compile] maxdetect.c
[Compile] ds1302.c
[Compile] piNes.c
[Compile] gertboard.c
[Compile] piFace.c
[Compile] lcd128x64.c
[Compile] lcd.c
[Compile] piGlow.c
[Link (Dynamic)]
[Install Headers]
[Install Dynamic Lib]

GPIO Utility
[Compile] gpio.c
[Compile] readall.c
[Compile] pins.c
[Link]
[Install]

All Done.

NOTE: To compile programs with wiringPi, you need to add:
    -lwiringPi
  to your compile line(s) To use the Gertboard, MaxDetect, etc.
  code (the devLib), you need to also add:
    -lwiringPiDev
  to your compile line(s).

add IP forward
kernel.printk = 3 4 1 3
vm.swappiness = 1
vm.min_free_kbytes = 8192
net.ipv4.ip_forward = 1
install -m 4711 sdm120c /usr/local/bin
/var/www/nettemp/install/vpn/ca: line 6: cd: /usr/share/easy-rsa//keys/: No such file or directory
/var/www/nettemp/install/vpn/ca: line 8: cd: /etc/openvpn: No such file or directory
rm: cannot remove `ca.crt': No such file or directory
rm: cannot remove `server.crt': No such file or directory
rm: cannot remove `server.key': No such file or directory
rm: cannot remove `dh1024.pem': No such file or directory
/var/www/nettemp/install/vpn/ca: line 11: cd: /usr/share/easy-rsa/: No such file or directory
chmod: cannot access `/usr/share/easy-rsa//vars': No such file or directory
/var/www/nettemp/install/vpn/ca: line 13: ./vars: No such file or directory
/var/www/nettemp/install/vpn/ca: line 15: ./clean-all: No such file or directory
/var/www/nettemp/install/vpn/ca: line 27: ./pkitool: No such file or directory
/var/www/nettemp/install/vpn/ca: line 29: ./pkitool: No such file or directory
/var/www/nettemp/install/vpn/ca: line 30: ./build-dh: No such file or directory
/var/www/nettemp/install/vpn/ca: line 33: cd: /usr/share/easy-rsa//keys/: No such file or directory
cp: target `/etc/openvpn/' is not a directory
install/vpn/vpn.sh: line 20: /etc/openvpn/openvpn.conf: No such file or directory
Forward exist
Add NAT
install/www/www.sh: line 12: lighty-enable-mod: command not found
sed: can't read /etc/lighttpd/lighttpd.conf: No such file or directory
sed: can't read /etc/lighttpd/lighttpd.conf: No such file or directory
sed: can't read /etc/lighttpd/lighttpd.conf: No such file or directory
sed: can't read /etc/lighttpd/lighttpd.conf: No such file or directory
sed: can't read /etc/lighttpd/lighttpd.conf: No such file or directory
sed: can't read /etc/lighttpd/lighttpd.conf: No such file or directory
cat: /etc/lighttpd/lighttpd.conf: No such file or directory
install/www/www.sh: line 24: /etc/lighttpd/lighttpd.conf: No such file or directory
cat: /etc/lighttpd/lighttpd.conf: No such file or directory
sed: can't read /etc/lighttpd/lighttpd.conf: No such file or directory
sed: can't read /etc/lighttpd/lighttpd.conf: No such file or directory
sed: can't read /etc/lighttpd/lighttpd.conf: No such file or directory
sed: can't read /etc/lighttpd/lighttpd.conf: No such file or directory
sed: can't read /etc/lighttpd/lighttpd.conf: No such file or directory
sed: can't read /etc/lighttpd/lighttpd.conf: No such file or directory
sed: can't read /etc/lighttpd/lighttpd.conf: No such file or directory
sed: can't read /etc/lighttpd/lighttpd.conf: No such file or directory
sed: can't read /etc/lighttpd/lighttpd.conf: No such file or directory
sed: can't read /etc/lighttpd/lighttpd.conf: No such file or directory
touch: cannot touch `/etc/lighttpd/.lighttpdpassword': No such file or directory
chown: cannot access `/etc/lighttpd/.lighttpdpassword': No such file or directory
install/www/www.sh: line 41: /etc/lighttpd/.lighttpdpassword: No such file or directory
install/www/www.sh: line 42: lighttpd-enable-mod: command not found
sed: can't read /etc/php5/cgi/php.ini: No such file or directory
sed: can't read /etc/php5/cgi/php.ini: No such file or directory
mv: cannot stat `/etc/lighttpd/conf-available/15-fastcgi-php.conf': No such file or directory
cp: cannot create regular file `/etc/lighttpd/conf-available/': No such file or directory
sed: can't read /etc/php5/fpm/php.ini: No such file or directory
sed: can't read /etc/php5/fpm/php.ini: No such file or directory
no crontab for root
Stopping NTP server: ntpd.
Starting NTP server: ntpd.
install/services/services.sh: line 5: /etc/init.d/php5-fpm: No such file or directory
install/services/services.sh: line 6: /etc/init.d/lighttpd: No such file or directory
update-rc.d: error: cannot find a LSB script for smstools
update-rc.d: using dependency based boot sequencing
install/services/services.sh: line 14: /etc/init.d/apcupsd: No such file or directory
update-rc.d: error: cannot find a LSB script for apcupsd
update-rc.d: using dependency based boot sequencing

Co ciekawe przeprowadziłem instalację na jessie, instalka poszła bez problemu tyle że potem jest problem z db.error.php

techfreak
Site Admin
Posty: 4679
Rejestracja: sob mar 15, 2014 2:23 pm
Lokalizacja: Gdansk
Kontakt:

Re: ZNOWU - problem przy instalacji

Post autor: techfreak » ndz lut 28, 2016 3:19 pm

Czy przeprowadzasz instalke tak na jessie ?

Kod: Zaznacz cały

mkdir -p /var/www/nettemp && cd /var/www
sudo apt-get install git
git clone https://github.com/sosprz/nettemp
cd nettemp && ./install_nettemp

carpov
Posty: 74
Rejestracja: pt lut 05, 2016 10:17 am
Lokalizacja: Głogów

Re: ZNOWU - problem przy instalacji

Post autor: carpov » ndz lut 28, 2016 3:34 pm

Tak Przemku.
Świeży system.
Instalacja netetemp - instrukcja z https://github.com/sosprz/nettemp
czyli:

Kod: Zaznacz cały

mkdir -p /var/www/nettemp && cd /var/www
sudo apt-get install git
git clone https://github.com/sosprz/nettemp
cd nettemp && ./install_nettemp

Go to  http://your_ip
Jest jedno ale :) i to chyab tu pies pogrzebany

Kod: Zaznacz cały

download and run like root, script will install all requirements like php, www.
Jakie hasło ma użytkownik root??? bo ja cały czas jadę na super user

techfreak
Site Admin
Posty: 4679
Rejestracja: sob mar 15, 2014 2:23 pm
Lokalizacja: Gdansk
Kontakt:

Re: ZNOWU - problem przy instalacji

Post autor: techfreak » ndz lut 28, 2016 4:19 pm

sudo su - i jesteś root

ODPOWIEDZ