0

After successfully compiling the Apache-age V1.3.0 using command:

sudo make PG_CONFIG=/home/kamleshk/age_installation/ageV1.3_installation/pg/postgresql-13.5/bin/pg_config install

The comand make PG_CONFIG=path installcheck i.e:

sudo make PG_CONFIG=/home/kamleshk/age_installation/ageV1.3_installation/pg/postgresql-13.5/bin/pg_config installcheck

gives these errors:

pg_regress: could not set core size: disallowed by hard limit

============== removing existing temp instance        ==============
============== creating temporary instance            ==============
============== initializing database system           ==============

pg_regress: initdb failed

enter image description here

What can be the issue issue and solution?

James Z
  • 12,209
  • 10
  • 24
  • 44
Kamlesh Kumar
  • 351
  • 1
  • 7
  • The core size limit is zero. As mentioned in the answer you shouldn't need to run check as root but anyway if you do you will need to look at the limits config. See man pages on ulimit and limits.conf. – w08r Apr 08 '23 at 09:52

3 Answers3

1

I encountered similar error while running the following command:

 sudo make PG_CONFIG=/home/linux/age_installation/pg/postgresql-11.18/bin/pg_config installcheck

and if I run the command without sudo:

make PG_CONFIG=/home/linux/age_installation/pg/postgresql-11.18/bin/pg_config installcheck

there have been the following error:

pg_regress: could not open file "/home/linux/age_installation/age/./regress/regression.out" for writing: Permission denied`

then I removed the age installation directory and reinstalled age

using the following command:

git clone https://github.com/apache/age.git

and then ran the following command in age installation directory:

install

sudo make PG_CONFIG=/home/linux/age_installation/pg/postgresql-11.18/bin/pg_config install

install check

make PG_CONFIG=/home/linux/age_installation/pg/postgresql-11.18/bin/pg_config installcheck

and it now run correctly

Image showing output of installcheck

-1

Run the make installcheck command without sudo

sudo make clean
make PG_CONFIG=/home/kamleshk/age_installation/ageV1.3_installation/pg/postgresql-13.5/bin/pg_config installcheck

You can examine the log file as it mentioned initdb failed because you have run it with sudo while it is not supposed to or if there is another problem it will guide you.

References & related questions

-1

Going by what is in AGE Github documentation, I don't think running make installcheck is necessary after running make install. I encountered similar challenges but, after following the exact steps in the documentation, there was no challenge.

Adrian Mole
  • 49,934
  • 160
  • 51
  • 83
Tito
  • 289
  • 8