Skip to content
CodeMarvels
All's the Code !
  • Home
  • Privacy Policy
  • About

Category: Notes

Notes/Technology

Fix for – W: Failed to fetch http://archive.ubuntu.com/ubuntu/dists/xenial/InRelease Temporary failure resolving ‘archive.ubuntu.com’

Posted on May 15, 2019 by Kj / 0 Comment

Problem: apt-get update gives an error : [bash] W: Failed to fetch http://archive.ubuntu.com/ubuntu/dists/xenial/InRelease Temporary failure resolving ‘ar...

Notes/Technology

View logs and debug a docker service

Posted on May 14, 2019 by Kj / 0 Comment

  To debug why a container within a docker stack didn’t start, these commands will help [bash] #list all processes docker service ls #note the id of ...

Notes/Technology

How to install Docker Compose on Ubuntu 18.04 LTS

Posted on May 13, 2019 by Kj / 0 Comment

Here’s how to install docker-compose on Ubuntu LTS : Open terminal and run these commands [bash] sudo curl -L "https://github.com/docker/compose/rele...

Notes/Technology

GCloud gives warning : `docker-credential-gcloud` not in system PATH

Posted on May 4, 2019 by Kj / 0 Comment

Problem : On an Ubuntu VM, the Docker pulls from Gcloud private repository give the error [bash] Error response from daemon: unauthorized: You don’t have ...

Notes/Technology

Python print not displayed in docker console

Posted on May 4, 2019 by Kj / 0 Comment

Problem: Python print function not printing to display when running inside docker Reason:  The python output is buffered. Solution: Run python (in the docker fi...

Notes/Technology

Spring boot and Hibernate Second Level cache giving NoCacheRegionFactoryAvailableException

Posted on November 16, 2018 by Kj / 0 Comment

Problem: Setting below in application.properties, [bash] hibernate.cache.use_second_level_cache=true hibernate.cache.hazelcast.use_native_client=true hibernate....

Notes/Technology

Linux: Copy files owned by a user to another folder

Posted on September 30, 2018 by Kj / 0 Comment

Example To copy all files owned by root in folder rpms to say folder docker-rpms, do this – [bash] find rpms -user root -exec cp -f {} docker-rpms/ \; [/b...

Notes/Technology

Openfire with Smack disconnects with error : You acknowledged stanzas that we didn’t send

Posted on August 7, 2018 by Kj / 0 Comment

  Problem: After connecting, openfire servers disconnects from Smack client giving an exception as below – Connection XMPPTCPConnection[dhee@dheeyant...

Notes/Technology

Get CQLSH working on Linux

Posted on October 13, 2017 by Kj / 0 Comment

  Problem : CQLSH never works after a usual install. Fix: Install as below (on terminal)- Make sure to use pip, not pip3; python 2.7 not python 3.x. pip in...

Notes/Technology

Fix : /boot disk has no space ( on Ubuntu)

Posted on October 13, 2017 by Kj / 0 Comment

Problem : /boot disk has no space, thus blocking installation or removal of any package using apt-get Fix : In terminal – cd /boot ls sudo rm -r abi-4.4.0...

Posts navigation

« Previous 1 2 3 … 9 Next »

Recent Posts

  • Fix : Docker node down after restart
  • IP Telephony – bit rates of audio formats, and other notes
  • Fix: Cannot start container Subnet sandbox join failed error from docker
  • React Ajax call on load gives : “Error: Should not already be working.”
  • Fix : The repository ‘http://archive.ubuntu.com/ubuntu disco-backports Release’ no longer has a Release file.

Categories

  • Algorithms
  • Android Development
  • BoshServlet
  • C++ projects
  • Code Philosophies
  • Conversational AI
  • Machine Learning
  • Miscellaneous
  • Notes
  • Society
  • Technology

Meta

  • Log in
  • Entries feed
  • Comments feed
  • WordPress.org
© 2021 CodeMarvels
Powered by WordPress | Theme: Graphy by Themegraphy