Note book to help you and me remember some tricks

Category Linux

Do not trust chatGPT answers

Just be careful, chatGPT is a black box, you don’t know how it resolves your question. Furthermore on a question when you lack some knowledge, your no able to evaluate the quality of the answer. For instance, I’ve just knock… Continue Reading →

Tomcat start with ansible doesn’t work, tomcat starts but process doesn’t stay active

It happens because when ansible close it’s ssh connection, and when the ssh connection is closed the kernel sends SIGHUP to the controlling process of the ssh connection. But when executing startup.sh, the java process will receive the SIGHUP and… Continue Reading →

Rocky Linux: remove remi’s php package

Start your oracle database server on linux boot: declare your database server as a systemd service

A systemd service define an application than can be managed by systemd, thus it enables you to start your database on linux boot and also to shut it down on linux shutdown.Furthermore it allows other systemd services to wait for… Continue Reading →

Can’t start my application as a service: Main process exited, code=exited, status=217/USER

Maybe you specify the wront user or group in your systemd service. Or another case, rare, that I’ve met in my work place: your application is executed by the forbidden uid / gid: 65535 So what you can do with… Continue Reading →

Python ImportError: No module named Tkinter for python source compiled

You can find a lot about this error on internet, but most often they are the simplest answers using package manager to install the missing module. But it’s not always the solution. Firstly, why do you need tkinter? Do you… Continue Reading →

OCI (Oracle Cloud Infrastructure) 2022, extends the size of your block storage and apply it to your partition on Linux

The following examples treat the case of a traditionnal partitionning. If you use Logical Volume Manager (LVM) it will be as easy than this but I’ll describe it in an another post. First, extend your block storage In OCI dashboard,… Continue Reading →

Linux standard partitioning is good, but Logical Volume Manager also known as LVM is better

In this post I’ll just summurize all the advantages of LVM over traditionnal partionning. LVM add a logical layer that allows all these advantages: You can combine different physical disks in the same volume group, and create a partition over… Continue Reading →

setroubleshoot[xxxx]: failed to retrieve rpm info for /etc/certs/yourdomain.com.crt or for /etc/certs/yourdomain.key

When installing your new SSL certificate, after reloading or restarting apache you’re facing “failed to retrieve rpm info”? Don’t panik, it’s just SELinux that is playing with you. First, install policycoreutils-gui in order to have a more explicit error message… Continue Reading →

Samba vs SMB vs CIFS vs NFS

CIFS, SMB and NFS are protocols. And Samba is an implementation of SMB protocol on Linux OS. SMB (Server Message Block) SMB is a network protocol created by IBM for the share of resources (files and printers) in local networks…. Continue Reading →

« Older posts Newer posts »

© 2024 Software engineer >> Sysadmin >> Devops >> SRE

Up ↑