what is the use of SPL (secondary program loader)


Question I am confused in clearing my concepts regarding these three questions why do we need a secondary program loader ? in which memory it gets loaded and relocated ? what is the difference between system internal memory and RAM ? as far as I understand via reading links is .. SPL is required when the system internal memory can not hold the uboot completely so we need to initialize memory using a minimal piece of code called SPL.…
Read more ⟶

What is in Apache 2 a "caught SIGWINCH" error?


Question My server (ubuntu 8.04) LAMP running drupal 6, when there is high traffic, it stops serving pages. A restart of apache2 will not work, so I have to restart the service. I found this message in the apache2 error.log [notice] caught SIGWINCH, shutting down gracefully Also I notice that the process id of the apache2, was around 12000 when apache stops responding. Update The caught SIGWINCH, as you point out, is a notice of the apache service restarting.…
Read more ⟶

Unable to locate package python-pip Ubuntu 20.04


Question I am trying to install mininet-wifi. After downloading it, I have been using the following command to install it: sudo util/install.sh -Wlnfv However, I keep getting the error: E: Unable to locate package python-pip I have tried multiple times to download python-pip. I know mininet-wifi utilizes python 2 instead of python 3. I have tried to download python-pip using the command: sudo apt-get install python-pip But that leads to the same error:…
Read more ⟶

SciPy/Python install on Ubuntu


Question I'm currently following the tutorial Installing the SciPy Stack to install SciPy on Ubuntu 12.04 (Precise Pangolin) (I can't use apt-get install because I need a recent version). However, I get errors when I do the following commands: python setup.py build sudo python setup.py install --prefix=/usr/local # Installs to /usr/local python setup.py build michael@michael-laptop-ubuntu:~/Downloads/scipy-0.11.0rc1$ python setup.py buildRunning from scipy source directory. blas_opt_info: blas_mkl_info: libraries mkl,vml,guide not found in /usr/local/lib libraries mkl,vml,guide not found in /usr/lib libraries mkl,vml,guide not found in /usr/lib/i386-linux-gnu NOT AVAILABLE…
Read more ⟶

VirtualHost always returns default host with Apache on Ubuntu 14.04


Question I try to setup a virtual host besides the default localhost. Whenever I try to call my virtual host http://test I get the default Apache2 Index file that sits in the directory of http://localhost. Furthermore apache returns this page still after disabling (a2dissite) both VirtualHost files an reloading apache (service apache2 reload). What could go wrong that the virtual host is not working? Configuration: My directory structure is the following:…
Read more ⟶

What is the right way to do add-apt-repository via Chef?


Question I'm learning Chef and I'm going to do right now for Ubuntu: execute "add-apt-repository ppa:#{node[:some_repo]}" do user "root" end execute “apt-get update” do user “root” end but may be there is a better ("chef-style"?) way to do it. Also, I concerned that sometimes add-apt-repository waits for "Enter" key on it's execution, so this approach might not work as is. What is the Right way of doing it? Edit: I only have ppa link in format: ppa:something/user…
Read more ⟶

Error installing node-gyp on ubuntu


Question npm http 200 https://registry.npmjs.org/weak/-/weak-0.2.2.tgz npm http GET https://registry.npmjs.org/bindings npm http 304 https://registry.npmjs.org/bindings > weak@0.2.2 install node_modules/weak > node-gyp rebuild Traceback (most recent call last): File “/usr/lib/node_modules/npm/node_modules/node-gyp/gyp/gyp_main.py”, line 18, in <module> sys.exit(gyp.script_main()) AttributeError: ‘module’ object has no attribute ‘script_main’ gyp ERR! configure error gyp ERR! stack Error: gyp failed with exit code: 1 gyp ERR! stack at ChildProcess.onCpExit (/usr/lib/node_modules/npm/node_modules/node-gyp/lib/configure.js:337:16) gyp ERR! stack at ChildProcess.EventEmitter.emit (events.js:98:17) gyp ERR! stack at Process.ChildProcess._handle.onexit (child_process.…
Read more ⟶