Nicodevlog

Software &> Sysadmin &> Devops &> SRE

Page 2 of 5

Detect Active Directory users password expiration and send a reminder email

The following code must be executed as administrator on your active directory server: https://github.com/nfourniol/scripts/tree/main/windows/activeDirectory

Start/Stop windows services from shell script on linux server

Context: you have a shell script running on a linux server and you want this shell script be able to stop or start services on a windows server Windows: Create a local administrator Create a local administrator that we call… Continue Reading →

expdp / impdp causes Oracle segmentation fault (core dumped)

This error is caused because of a malformed command line impdp / expdp. Also it depends on your oracle server version, in recent oracle servers you will probably have less problem with the pattern combination. For instance you have several… Continue Reading →

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 execution startup.sh, the java process will receive the SIGHUP and… Continue Reading →

.bash_profile environment variables are not set with ansible connection when I become an unprivileged user

This happens when you use the become directive, for instance: The documentation says two things: The become_user set to user with desired privileges — the user you become, NOT the user you login as. Does NOT imply become: yes, to… Continue Reading →

How to run a docker image of Oracle Database Express Edition for test and development purposes

The Oracle XE database is for test and development purposes. Oracle Database XE Release 21c is the developer edition of the industry-leading relational database server. The Oracle XE Database server Docker image contains Oracle Database Express Edition Release 21c (21.3.0.0)… Continue Reading →

When using our company VPN, why some URL that are exposed publicly and also internaly, are sometimes not correctly resolved on employees laptop?

Description of the problem In your company you have an internal URL for a server, for instance: myserver1.yourcompany.com. It means you have an entry for myserver1.yourcompany.com in your DNS server dns1.yourcompany.com. You also want to expose publicly this URL to… Continue Reading →

VMWare tools are marked as not managed by VMWare and you can’t install it via vSphere

if you encounter the message “VMWare tools installed but not managed” on your VSphere it’s probably because you’ve installed the open-vm-tools on your Linux OS, or simply they were already installed on your OS. And that’s OK. There is no… Continue Reading →

Rocky Linux: remove remi’s php package

« Older posts Newer posts »

© 2024 Nicodevlog — Powered by WordPress

Theme by Anders NorenUp ↑