Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

error during installation #1

Open
ajinkya933 opened this issue Apr 30, 2021 · 3 comments
Open

error during installation #1

ajinkya933 opened this issue Apr 30, 2021 · 3 comments
Labels
question Further information is requested

Comments

@ajinkya933
Copy link

When I try to run you minikube.sh script I get error:

# sh minikube.sh 
Hit:1 http://in.archive.ubuntu.com/ubuntu focal InRelease
Hit:2 http://in.archive.ubuntu.com/ubuntu focal-updates InRelease                                       
Hit:3 http://in.archive.ubuntu.com/ubuntu focal-backports InRelease                                                   
Hit:4 https://download.docker.com/linux/ubuntu focal InRelease                                                        
Hit:5 http://security.ubuntu.com/ubuntu focal-security InRelease    
Hit:6 https://packages.cloud.google.com/apt kubernetes-xenial InRelease
Reading package lists... Done
Reading package lists... Done
Building dependency tree       
Reading state information... Done
conntrack is already the newest version (1:1.4.5-2).
ebtables is already the newest version (2.0.11-3build1).
ethtool is already the newest version (1:5.4-1).
socat is already the newest version (1.7.3.3-2).
selinux-utils is already the newest version (3.0-1build2).
The following packages were automatically installed and are no longer required:
  adium-theme-ubuntu command-not-found-data cri-tools diffstat enchant example-content fwupdate geoip-database gettext gir1.2-gtksource-3.0
  gir1.2-mutter-2 gnome-software-common gnome-user-guide guile-2.0-libs ifupdown intltool-debian iputils-arping kubernetes-cni libaccinj64-9.1
  libappstream-glib8 libapt-pkg-perl libarchive-zip-perl libargon2-0 libart-2.0-2 libasync-mergepoint-perl libb-hooks-op-check-perl libbind9-160
  libboost-date-time1.65.1 libboost-filesystem1.65.1 libboost-iostreams1.65.1 libboost-locale1.65.1 libboost-system1.65.1 libboost-thread1.65.1
  libbrlapi0.6 libbsd0:i386 libcamel-1.2-61 libcapture-tiny-perl libcdio17 libcgi-fast-perl libcgi-pm-perl libclass-accessor-perl libclass-xsaccessor-perl
  libclone-perl libcommon-sense-perl libcroco3 libcublas9.1 libcudart9.1 libcufft9.1 libcufftw9.1 libcuinj64-9.1 libcurand9.1 libcusolver9.1
  libcusparse9.1 libdevel-callchecker-perl libdigest-bubblebabble-perl libdns-export1100 libdns1100 libdrm-dev libdynaloader-functions-perl libecal-1.2-19
  libedataserver-1.2-23 libedit2:i386 libelf1:i386 libemail-valid-perl libenchant1c2a libevent-2.1-6 libexempi3 libexiv2-14 libexpat1:i386 libfcgi-perl
  libffi6 libffi6:i386 libffi7:i386 libfile-copy-recursive-perl libfile-find-rule-perl libfont-ttf-perl libfuture-perl libgail-3-0 libgdbm5 libgeoip1
  libglvnd-core-dev libglvnd0:i386 libgnome-desktop-3-17 libgtksourceview-3.0-1 libgtksourceview-3.0-common libgutenprint-common libgutenprint2
  libgutenprint9 libgweather-3-15 libhogweed4 libhunspell-1.6-0 libicu60 libilmbase12 libindicator3-7 libio-async-loop-epoll-perl libio-async-perl
  libio-pty-perl libio-string-perl libip4tc0 libip6tc0 libipc-run-perl libiptc0 libirs160 libisc-export169 libisc169 libisccc160 libisccfg160 libisl19
  libjson-c3 libjson-xs-perl liblinux-epoll-perl liblist-compare-perl libllvm10 liblouis14 liblwres160 libminiupnpc10 libmozjs-52-0 libmutter-2-0
  libncursesw5 libnet-dns-perl libnet-dns-sec-perl libnet-domain-tld-perl libnet-ip-perl libnettle6 libnss-myhostname libntfs-3g88 libnumber-compare-perl
  libnvblas9.1 libnvgraph9.1 libnvrtc9.1 liboauth0 libopenexr22 liborcus-0.13-0 libpackage-stash-xs-perl libparams-classify-perl libpath-tiny-perl
  libpciaccess0:i386 libperl4-corelibs-perl libperl5.26 libplymouth4 libpoppler73 libprotobuf10 libpython2.7 libpython3.6 libpython3.6-minimal
  libpython3.6-stdlib libqpdf21 libraw16 libreadline7 libreoffice-avmedia-backend-gstreamer libreoffice-style-galaxy libsane1 libsensors5:i386
  libsereal-decoder-perl libsereal-encoder-perl libsereal-perl libstruct-dumb-perl libsub-identify-perl libsub-quote-perl libtest-fatal-perl
  libtest-refcount-perl libtext-glob-perl libtext-levenshtein-perl libtiff5-dev libtinfo5:i386 libtype-tiny-xs-perl libtypes-serialiser-perl
  libunicode-utf8-perl libusbmuxd4 libvariable-magic-perl libvpx5 libwayland-client0:i386 libx11-xcb-dev libx11-xcb1:i386 libxapian30 libxau6:i386
  libxcb-dri2-0-dev libxcb-dri3-dev libxcb-glx0-dev libxcb-present-dev libxcb-randr0-dev libxcb-render0-dev libxcb-shape0-dev libxcb-sync-dev
  libxcb-xfixes0-dev libxdamage-dev libxext-dev libxfixes-dev libxml-simple-perl libxml-writer-perl libxshmfence-dev libxxf86vm-dev libzeitgeist-2.0-0
  mesa-common-dev multiarch-support nplan patchutils pppconfig printer-driver-gutenprint python-talloc python3-asn1crypto python3-oauth
  python3-zope.interface python3.6 python3.6-minimal qpdf t1utils ubuntu-system-service x11proto-damage-dev x11proto-fixes-dev x11proto-input-dev
  x11proto-xext-dev x11proto-xf86vidmode-dev xserver-xorg-hwe-18.04 xserver-xorg-input-all-hwe-18.04 xserver-xorg-input-libinput-hwe-18.04
  xserver-xorg-input-wacom-hwe-18.04 xserver-xorg-video-all-hwe-18.04 xserver-xorg-video-amdgpu-hwe-18.04 xserver-xorg-video-ati-hwe-18.04
  xserver-xorg-video-fbdev-hwe-18.04 xserver-xorg-video-intel-hwe-18.04 xserver-xorg-video-nouveau-hwe-18.04 xserver-xorg-video-qxl-hwe-18.04
  xserver-xorg-video-radeon-hwe-18.04 xserver-xorg-video-vesa-hwe-18.04 xserver-xorg-video-vmware-hwe-18.04 zeitgeist-core
Use 'sudo apt autoremove' to remove them.
0 upgraded, 0 newly installed, 0 to remove and 32 not upgraded.
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
100 38.3M  100 38.3M    0     0  3658k      0  0:00:10  0:00:10 --:--:-- 4121k
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
100 55.2M  100 55.2M    0     0  3929k      0  0:00:14  0:00:14 --:--:-- 4180k
😄  minikube v1.16.0 on Ubuntu 20.04
✨  Using the none driver based on existing profile
👍  Starting control plane node minikube in cluster minikube
🔥  Deleting "minikube" in none ...
🤦  StartHost failed, but will try again: boot lock: unable to open /tmp/juju-mkc8ab01ad3ea83211c505c81a7ee49a8e3ecb89: permission denied
😿  Failed to start none bare metal machine. Running "minikube delete" may fix it: boot lock: unable to open /tmp/juju-mkc8ab01ad3ea83211c505c81a7ee49a8e3ecb89: permission denied

❌  Exiting due to HOST_JUJU_LOCK_PERMISSION: Failed to start host: boot lock: unable to open /tmp/juju-mkc8ab01ad3ea83211c505c81a7ee49a8e3ecb89: permission denied
💡  Suggestion: Run 'sudo sysctl fs.protected_regular=0', or try a driver which does not require root, such as '--driver=docker'
🍿  Related issue: https://github.com/kubernetes/minikube/issues/6391

minikube.sh: 2: --max-pods=511: not found
Failed to restart kubelet.service: Unit kubelet.service is masked.
root@ajinkya-AB350-Gaming-3:/home/ajinkya/Downloads/kubeflow-workshop-main/install# rm /tmp -rf
root@ajinkya-AB350-Gaming-3:/home/ajinkya/Downloads/kubeflow-workshop-main/install# minikube delete
I0430 17:05:06.855225   19419 out.go:221] Setting OutFile to fd 1 ...
log: exiting because of error: log: cannot create log: open /tmp/minikube.ajinkya-AB350-Gaming-3.root.log.INFO.20210430-170506.19419: no such file or directory
root@ajinkya-AB350-Gaming-3:/home/ajinkya/Downloads/kubeflow-workshop-main/install# minikube stop
I0430 17:05:19.447931   19435 out.go:221] Setting OutFile to fd 1 ...
log: exiting because of error: log: cannot create log: open /tmp/minikube.ajinkya-AB350-Gaming-3.root.log.INFO.20210430-170519.19435: no such file or directory

@hsinhoyeh
Copy link
Contributor

Exiting due to HOST_JUJU_LOCK_PERMISSION: Failed to start host: boot lock: unable to open /tmp/juju-mkc8ab01ad3ea83211c505c81a7ee49a8e3ecb89: permission denied

seems that you have legacy files existed (which may be generated from your previous installation)
can you clean up /tmp folder and try to install it again?

@hsinhoyeh hsinhoyeh added the question Further information is requested label May 4, 2021
@ajinkya933
Copy link
Author

I tried I get the same error

@hsinhoyeh
Copy link
Contributor

Can you try on a fresh machine?
It seems to me that your previous installation was failing and the cleanup on minicab is not working.

the flow would be:

minikube start ....

// do something

minikube stop ...
minikube delete ...



Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question Further information is requested
Projects
None yet
Development

No branches or pull requests

2 participants