How to share the global variables between two modules by using Perl CLI Framework?

I am using Perl CLI Framework to write some script. Now I want to pass the variable from the control module to the sub-command module. I have tried to set the variable as the global variable in...

kick-start via virt-install does not reboot

I have a setup where I perform a kickstart of a new VM through a virt-install. Everything runs fine but in stead of performing a reboot, as instructed in the kickstart file, the virtual machine...

Check if sybase table updated previously

I am curious if there is a way to know if a sybase table has been updated /added previously? The table is generic, I am not allowed to use trigger or creating something like an updateDate field....

How to get second-level output from sar when used with -f option?

sar man page says that one can specify the resolution in seconds for its output. However, I am not able to get a second level resolution by the following command. sar -i 1 -f...

(Delphi Linux) ld-linux.exe: error: cannot find -lgcc_s

I have set up the PAserver that was located at: C:\Program Files (x86)\Embarcadero\Studio\19.0\PAServer\LinuxPAServer19.0.tar.gz on my Ubuntu Gnome 16.10 vm. Please note that I have never used the...

get memory usage per process with sar, sysstat

Can I get memory usage per process with Linux? we monitor our servers with sysstat/sar. But besides seeing that memory went off the roof at some point, we can't pinpoint which process was getting...

"Cannot open /var/log/sysstat/sa16 Please check if data collecting is enabled in /etc/default/sysstat"

I want to look at disk I/O info on my machine/in general. Found some help from https://unix.stackexchange.com/questions/55212/how-can-i-monitor-disk-io After recently installing sysstat package...

how to query sar(sysstat) for more than one day data points

I don't see 'sar' command accepts date-and-time as starttime(-s) or endtime(-e) than just time. So, how to query 'sar' for more than one day's data points by passing older datetime values(-f...

Depends: postgresql-client-10 but it is not going to be installed on Ubuntu 17.04

I am trying to install Postgres 10 on ubuntu 17.04 but i am getting this error Some packages could not be installed. This may mean that you have requested an impossible situation or if you are...

Working around chef's systemd_unit resource

The chef systemd resource allows you to specify the service file via a content attribute (which takes a string or a hash). Both of these feel like an offensively bad idea; their example...

Failed Install Latest Postgres (11.1) in Linux Mint 17.3 (rosa)

I have problem while installation postresql-11 in Linux Mint 17.3, with environment: [email protected]:/home/clutax > sudo lsb_release -a [sudo] password for clutax: No LSB modules are...

Cannot install Posgresql on Ubuntu 19.04

Typing sudo apt-get install postgresql-11 gives me error: Some packages could not be installed. This may mean that you have requested an impossible situation or if you are using the...

append multiple structured custom facts

I'm trying to get multiple structured custom facts to append to my root key (called rag here), but instead they always replace the current value. Q1: Is this the expected behavior of Facter.add...

How to export a file in Db2 without character delimiter nor column delimiter?

I would like to export a table in a similar way that a normal select is executed. I mean: db2 -x "select varchar(SCHEMANAME, 16) SCHEMANAME, varchar(OWNER, 10) OWNER, varchar(OWNERTYPE, 10)...

How to debug very slow (200 sec) fwrite()/ftello()/fclose()?

I have a program which reads 200byte packets from a queue and writes them to a series of two minute files. Data arrives at 6MB/s which equates to 30,000 calls to fwrite() per second. Once in a...

Can't reach Tomcat default page in localhost:8080 for Ubuntu 16.04 Docker container

I'm trying to run a simple Tomcat8 server on my Ubuntu 16.04 Docker image. But I can't see the Tomcat default page. I ran this command to run the container docker run -it --entrypoint bash...

install postgresql on ubuntu 19.10

I'm trying to install postgresql on ubuntu 19.10 (Eoan). I've tried many ways but it seems that even the newest version of postgresql (12) is not supported. Does anyone know if it can be installed...

What is used for limiting docker container

Input: Windows Host, Docker (limit 2 Gb and 2 Gb Swap) with Ubuntu and java/spring application inside. Application is not trivial and I cannot create simple prototype. The issue with memory leak....

kubelet error´╝Üfailed to update node lease

I setup my kubernetes cluster by kubeadm. at the last step. I need join my nodes to the master. So i copy the join command to the node to exec it and whitout err. Then i back to master to exec...

Plesk Laravel scheduler runs console app twice

I have added the Laravel scheduler as a scheduled task to Plesk see picture below I have added the following lines to...

Raspberry Pi freezes when streaming video with Flask

I have this Flask-Socketio app which shows the Raspberry Pi system info like temperature, RAM and Disk space. This app also has a video streaming component VideroStream.py. I have added...

Kubernetes: After mounting volume, pod mounted directory is empty

I have written my own dockerfile for mysql enterprise monitoring application which has mysql backend database. so, I want data directory inside pod to persist. I have mounted data directory to a...

Openshift deployment is unable to access jarfile "tes.jar"

I am trying to deploy a springboot application in openshift environment. The deployment is finished but the pod is going into "CrashLoopBackOff" error. Found the access error from the pod...

I want to apt-get install sysstat command in kubernetes yaml file

Cluster information: Kubernetes version: 1.8 Cloud being used: (put bare-metal if not on a public cloud) AWS EKS Host OS: debian linux When I deploy pods,I want to my pod to install and start...

postgresql-12.service doesn't start on CentOS 8 after reboot

I have a PostgreSQL 12 database running on CentOS 8 and until today everything was good. After restarting my database server, my postgresql-12.service doesn't start anymore, I've tried with...

Dokku: failed to push some refs

I have a asp.net core 3.1 application that I am trying to deploy using dokku to my Ubuntu 20 VM on digital ocean. I have installed Dokku on my Droplet and and I am failing at the git push...

No protocol specified on CentOS 8.2.2004 with Oracle Database EE 19c when trying to run netmgr

I'm trying to install oracle 19c database on a new installation of CentOS 8.2.2004 (from CentOS-8.2.2004-x86_64-dvd1.iso) in vmware workstation. I've basically done the following as root.. yum...

Postgresql not getting installed on ubuntu 20

I have recently upgraded my ubuntu to 20.04. Now, I am trying to install the postgresql but I am getting error. I have tried to 100 different ways and crawled every web but nothing worked. These...

Linux trouble with insserv

So after my latest update I get this error message insserv: Script ntp has overlapping Default-Start and Default-Stop runlevels (2 3 4 5) and (2 3 4 5). This should be fixed. insserv: Script ssh...

Mongod is not a service | Ubuntu | WSL. Error: mongod: unrecognized service

I'm using WSL2 with Ubuntu 20.04.2 LTS. I tried setting up mongodb. There are two issues: Running the command sudo apt-get install -y mongodb-org results in the error below. Errors were...