Software engineer >> Sysadmin >> Devops >> SRE

Note book to help you and me remember some tricks

Page 4 of 6

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 →

SELinux tricks

SELinux context not changed after semanage fcontext and restorecon Verify the order in which your SELinux rules will be applied You have the order in which the SELinux rules have been added. It is this order that will be followed… 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 →

Developers should always encode url

Recently my software experience helped me to point where was the problem with a php source code given by developers. Developers thought the problem was a sysadmin misconfiguration with the miss php libraries or something like this because with their… 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 →

Linux utmp, wtmp, btmp

/var/run/utmp => shows who is currently connected to the system. Not all the programs use utmp, thus you can have more users connected than displayed in utmp. /var/log/wtmp => is an historical record of utmp data /var/log/btmp => record of… Continue Reading →

« Older posts Newer posts »

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

Up ↑