Bingo!
Many thanks! I was on the right way, but didnt see this mount option.
Jochen
Bingo!
Many thanks! I was on the right way, but didnt see this mount option.
Jochen
Hi,
I had seen the Threads where docker is used on Wheezy:
http://phpbb.openmediavault.or…906&hilit=docker&start=30
Now I installed the docker binarys like this:
http://www.arborisoft.com/inst…rsion-on-debian-7-wheezy/
It works if the directory "/var/lib/docker" ist on it´s standard Place.
But on my System Drive I have only 10 GB and i want to move this to a data drive.
So i add the "-g" switch to "/etc/default/docker":
DOCKER_OPTS="-H 127.0.0.1:4243 -H unix:///var/run/docker.sock -g /media/1f193829-fe86-4444-b1e7-2588848b1d83/docker"
Deleted /var/lib/docker and "service docker restart".
docker created the directory at the new place.
Now i can pull a image
root@NASDuck:/var/lib/docker# docker pull ubuntu:12.04
Pulling repository ubuntu
b9e56c8f2cf5: Download complete
511136ea3c5a: Download complete
2758ea31b20b: Download complete
25c55ec6c1ab: Download complete
dae3606452c3: Download complete
fa5288457082: Download complete
But if i want to start this Image
root@NASDuck:/media/1f193829-fe86-4444-b1e7-2588848b1d83# docker run -i -t ubuntu:12.04 /bin/bash
2014/08/04 10:28:07 Error response from daemon: Cannot start container 281818d1e14ed9b304185753017ee9c6d0a43d327686262425cd0731a1b1998b: fork/exec /media/1f193829-fe86-4444-b1e7-2588848b1d83/docker/init/dockerinit-1.1.2: permission denied
root@NASDuck:/media/1f193829-fe86-4444-b1e7-2588848b1d83# cat /etc/default/docker
DOCKER_OPTS="-H 127.0.0.1:4243 -H unix:///var/run/docker.sock -g /media/1f193829-fe86-4444-b1e7-2588848b1d83/docker"
#DOCKER_OPTS="-H 127.0.0.1:4243 -H unix:///var/run/docker.sock"
root@NASDuck:/media/1f193829-fe86-4444-b1e7-2588848b1d83#
I don´t know how!? Must have to do with the way this drive is mounted from OMV?!
Can anybody help please?
Jochen
Hi,
yes, this works. In the logs i found nothing. Maybe ich should setz the Loglevel to debug?
Jochen
davidh2k
When I use worng username/password then i have the answer
.
Thats not the reason for my error.
SerErris
your are right, what the heck...
But back to the facts.
it is allways the same username. I tested it with your hint because "IP-CAM" with "IPCAM". But the same error.
Again when i login for CLI it works, it is the damned China CAM. But it has had worked with the RasPI ProFTPd.
I try it with the saved /etc/proftpd config.
Jochen
Hi,
i has had tryed all this Variants. Nothing Works. Must have to do with the Config of ProFTPd. With ProFTPd on the Raspi was there no Problem. The Path worked with this "./". But this works not in OMV. Hints?
Jochen
Has nobody any hint?
Jochen
Hi,
in the past i had a Raspberyy with ProFTPd, my Webcam has pushed the images to this server without Problems.
But now with OMV it doesent works. I had always this error from the IP Cam:
ZitatTest......Failed.
An unknown error
When i go from a other Server per FTP on this share it works:
ftp> open nasduck
Connected to nasduck.fritz.box.
220 ProFTPD 1.3.4a Server (NASDuck) [::ffff:192.168.178.10]
Name (nasduck:root): dashui
331 Password required for dashui
Password:
230-Welcome user dashui@192.168.178.24 to 127.0.1.1 FTP server.
230-The local time is: Wed Jul 30 11:17:09 2014
230 User dashui logged in
Remote system type is UNIX.
Using binary mode to transfer files.
ftp> pwd
257 "/" is the current directory
ftp> ls
200 PORT command successful
150 Opening ASCII mode data connection for file list
drwxrwsrwx 2 0 users 4096 Jul 18 19:04 IP-CAM
226 Transfer complete
ftp>
Alles anzeigen
What can i do wrong? I think it has to do with the Path, but i has hours of trail and error spended without any Succes.
Thanks for help.
Jochen
Hi,
perhaps it´s the same like here: http://forums.openmediavault.org/viewtopic.php?f=13&t=5108
My machines are running, but no phpvirtualbox.
Jochen
Hi,
but this couldn´t be the failure. My User and Group for vbox/vboxusers seems correct. vbox runs and also the vms are running I can start/stop with the OMV Plugin. Only phpvirtualbox does not work.
Jochen
My Output, seems the same:
root@NASDuck:/var# cat /usr/share/openmediavault/mkconf/php5fpm.d/90-virtualbox
#!/bin/sh
#
# Copyright (C) 2013-2014 OpenMediaVault Plugin Developers
#
# This file is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation, either version 3 of the License, or
# any later version.
#
# This file is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with this file. If not, see <http://www.gnu.org/licenses/>.
set -e
. /etc/default/openmediavault
. /usr/share/openmediavault/scripts/helper-functions
PHP_FPM_POOL_DIR=/etc/php5/fpm/pool.d
VIRTUALBOX_POOL_CONF="${PHP_FPM_POOL_DIR}/openmediavault-virtualbox.conf"
if [ -e "${VIRTUALBOX_POOL_CONF}" ]; then
rm ${VIRTUALBOX_POOL_CONF}
fi
if [ "$(omv_config_get "//services/mysql/enable-management-site")" != "1" ]; then
exit 0
fi
cat <<EOF > "${VIRTUALBOX_POOL_CONF}"
[openmediavault-virtualbox]
listen = /var/run/php5-fpm-openmediavault-virtualbox.sock
listen.owner = www-data
listen.group = www-data
listen.mode = 0600
user = openmediavault
group = openmediavault
pm = dynamic
pm.max_children = 5
pm.start_servers = 2
pm.min_spare_servers = 1
pm.max_spare_servers = 3
; php.ini settings
php_value[include_path] = ".:/usr/share/php:/usr/share/phpvirtualbox"
php_value[post_max_size] = 25M
php_value[upload_max_filesize] = 25M
php_value[expose_php] = Off
php_value[session.name] = VIRTUALBOXSESSID
EOF
exit 0
root@NASDuck:/var#
Alles anzeigen
Hi,
did this, but it doesent works. Then reinstalled the php Module, same: File ist not at the place:
root@NASDuck:~# apt-get --yes --force-yes --fix-missing --allow-unauthenticated --reinstall install php5-fpm
Paketlisten werden gelesen... Fertig
Abhängigkeitsbaum wird aufgebaut.
Statusinformationen werden eingelesen.... Fertig
0 aktualisiert, 0 neu installiert, 1 erneut installiert, 0 zu entfernen und 0 nicht aktualisiert.
Es müssen 2.593 kB an Archiven heruntergeladen werden.
Nach dieser Operation werden 0 B Plattenplatz zusätzlich benutzt.
WARNUNG: Die folgenden Pakete können nicht authentifiziert werden!
php5-fpm
Authentifizierungswarnung überstimmt.
Holen: 1 http://security.debian.org/ wheezy/updates/main php5-fpm amd64 5.4.4-14+deb7u12 [2.593 kB]
Es wurden 2.593 kB in 1 s geholt (2.227 kB/s).
(Lese Datenbank ... 67689 Dateien und Verzeichnisse sind derzeit installiert.)
Vorbereitung zum Ersetzen von php5-fpm 5.4.4-14+deb7u12 (durch .../php5-fpm_5.4.4-14+deb7u12_amd64.deb) ...
Ersatz für php5-fpm wird entpackt ...
Trigger für man-db werden verarbeitet ...
php5-fpm (5.4.4-14+deb7u12) wird eingerichtet ...
Creating index of upgradeable packages ...
Creating index of OpenMediaVault plugins ...
root@NASDuck:~# cat /etc/php5/fpm/pool.d/openmediavault-virtualbox.conf
cat: /etc/php5/fpm/pool.d/openmediavault-virtualbox.conf: Datei oder Verzeichnis nicht gefunden
root@NASDuck:~# omv-mkconf nginx
root@NASDuck:~# omv-mkconf php5fpm
root@NASDuck:~# service nginx reload
Reloading nginx configuration: nginx.
root@NASDuck:~# service php5-fpm reload
Reloading PHP5 FastCGI Process Manager: php5-fpm.
root@NASDuck:~# cat /etc/php5/fpm/pool.d/openmediavault-virtualbox.conf
cat: /etc/php5/fpm/pool.d/openmediavault-virtualbox.conf: Datei oder Verzeichnis nicht gefunden
root@NASDuck:~#
Alles anzeigen
Jochen
Hi,
same here like alexion´s screenshot. With Firefox and Chrome.
Greetings, Jochen
o.k. Must do this tomorrow. But then my running machines will be killed?
Tanks for the help!
Jochen
Hi,
sadly this does not help. Also a reboot. Any hint?
Jochen
sorry again. Machines are running and they are can started and stoped in OMV.
But phpVirtualbox doesent loads.
I found the installation in /usr/share/phpvirtualbox. But there are no Logs?
Can you help again? sorry!
Jochen
Hi,
thanks. My fault: Must unsinstall omv-extras. Then the hints from David an you. Then again install omv-extras.
Looks good now.
Jochen
Hi David,
many thanks for the fast answer.
That was exactly what i did. On the CLI i have the descibed errors.
Jochen
ohoh... there are more errors:
{"response":null,"error":{"code":4000,"message":"Failed to execute command 'export LANG=C; apt-get --simulate --reinstall install openmediavault-anacron 2>&1': Reading package lists...\n\nBuilding dependency tree...\n\nReading state information...\n\nSome packages could not be installed. This may mean that you have\nrequested an impossible situation or if you are using the unstable\ndistribution that some required packages have not yet been created\nor been moved out of Incoming.\nThe following information may help to resolve the situation:\n\nThe following packages have unmet dependencies:\n openmediavault-anacron : Depends: openmediavault (>= 1.0.7) but 1.0.6 is to be installed\nE: Unable to correct problems, you have held broken packages.","trace":"exception 'OMVException' with message 'Failed to execute command 'export LANG=C; apt-get --simulate --reinstall install openmediavault-anacron 2>&1': Reading package lists...\n\nBuilding dependency tree...\n\nReading state information...\n\nSome packages could not be installed. This may mean that you have\nrequested an impossible situation or if you are using the unstable\ndistribution that some required packages have not yet been created\nor been moved out of Incoming.\nThe following information may help to resolve the situation:\n\nThe following packages have unmet dependencies:\n openmediavault-anacron : Depends: openmediavault (>= 1.0.7) but 1.0.6 is to be installed\nE: Unable to correct problems, you have held broken packages.' in \/usr\/share\/openmediavault\/engined\/rpc\/pluginmgmt.inc:382\nStack trace:\n#0 [internal function]: OMVRpcServicePluginMgmt->createIndex(Array, Array)\n#1 \/usr\/share\/php\/openmediavault\/rpcservice.inc(125): call_user_func_array(Array, Array)\n#2 \/usr\/share\/php\/openmediavault\/rpc.inc(79): OMVRpcServiceAbstract->callMethod('createIndex', Array, Array)\n#3 \/usr\/sbin\/omv-engined(495): OMVRpc::exec('Plugin', 'createIndex', Array, Array, 1)\n#4 {main}"}}
Can anybody tell me what i do wrong?
Is it possible to downgrade to omv 1.0.6?
Many thanks, Jochen