Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in
Celebration

Earn badges and make progress

You're on your way to the next level! Join the Kudos program to earn points and save your progress.

Deleted user Avatar
Deleted user

Level 1: Seed

25 / 150 points

Next: Root

Avatar

1 badge earned

Collect

Participate in fun challenges

Challenges come and go, but your rewards stay with you. Do more to earn more!

Challenges
Coins

Gift kudos to your peers

What goes around comes around! Share the love by gifting kudos to your peers.

Recognition
Ribbon

Rise up in the ranks

Keep earning points to reach the top of the leaderboard. It resets every quarter so you always have a chance!

Leaderboard

Come for the products,
stay for the community

The Atlassian Community can help you and your team get more value out of Atlassian products and practices.

Atlassian Community about banner
4,556,780
Community Members
 
Community Events
184
Community Groups

The story that old and reliable utilities sometimes need troubleshooting on new OS (CentOS 8)

Hello community,

Gonchik Tsymzhitov is in touch. Today, I want to share with you a short story about how trustworthy tools unexpectedly break on new operating systems, and how easy they are to be repaired.

So, we all know that centos.rip, after a very period of time, so I am migrating everywhere to Oracle Linux 8.

image.png

My favorite tool for setting up PostgreSQL servers is postgresqltuner.pl, which I have already covered in this article.

Setting up as usual is very simple:

# dnf install -y perl-DBD-Pg
# wget -O postgresqltuner.pl https://postgresqltuner.pl
# chmod +x postgresqltuner.pl

But this time, when I ran the script, I encountered such a problem after command,

# ./postgresqltuner.pl --ssd
Can't locate Memoize.pm in @INC (you may need to install the Memoize module) (@INC contains: /usr/local/lib64/perl5 /usr/local/share/perl5 /usr/lib64/perl5/vendor_perl /usr/share/perl5/vendor_perl /usr/lib64/perl5 /usr/share/perl5) at ./postgresqltuner.pl line 262.

BEGIN failed--compilation aborted at ./postgresqltuner.pl line 262.

I have been looking for a solution on the Internet for a long time, but since I did not find it, I share the coveted team that solves the problem right away.

# dnf install perl

Then, as usual, start and enjoy.

# ./postgresqltuner.pl  --ssd

This tip works great on RHEL-based OS such as CentOS 8, RHEL8 and tested on Oracle Linux 8.

 

Have a good day! 

 

Cheers,

Gonchik Tsymzhitov

0 comments

Comment

Log in or Sign up to comment
TAGS
AUG Leaders

Atlassian Community Events