EPrints Technical Mailing List Archive

See the EPrints wiki for instructions on how to join this mailing list and related information.

Message: #09982


< Previous (by date) | Next (by date) > | < Previous (in thread) | Next (in thread) > | Messages - Most Recent First | Threads - Most Recent First

Re: [EP-tech] Issue with bin/generate_apacheconf during EPrints 3.4.6 Installation on RHEL 9.5

  • To: David R Newman <drn@ecs.soton.ac.uk>
  • Subject: Re: [EP-tech] Issue with bin/generate_apacheconf during EPrints 3.4.6 Installation on RHEL 9.5
  • From: Francis Jayakanth <fjayakanth@gmail.com>
  • Date: Sun, 16 Feb 2025 15:26:18 +0530

CAUTION: This e-mail originated outside the University of Southampton.

Hi David, Thank you for the reply and suggestions. The issue was
resolved after I reinstalled all the dependencies.

Best regards, Francis

On Fri, Feb 14, 2025 at 7:12 PM David R Newman <drn@ecs.soton.ac.uk> wrote:
>
> Hi Francis,
>
> malloc related issues are very low-level.  This is unlikely to be an
> issue with the EPrints software itself.  I would check that you have a
> enough free memory and disk space.  This may be an intermittent issue so
> a simple reboot may stop you getting this issue if you run
> generate_apacheconf again after a reboot.
>
> The only significant change to generate_apacheconf in recent versions
> (specifically 3.4.6, I think) is creating an archive level
> cfg/static/javascript/auto/99_uploadmethod_file_max_size.js file and
> setting LimitRequestBody in the Apache config.  By default these will
> both be set to 1 GiB and restrict the maximum size of file that can be
> uploaded to your EPrints repository. These are set by the setting
> $c->{max_upload_filesize} in lib/cfg.d/upload.pl.  There is more
> information about a potential bug with this in 3.4.6 [1].  However, this
> potential bug could not cause a malloc error when running
> generate_apacheconf.
>
> If neither a reboot nor increasing memory (and potentially disk space)
> fixes you issue let me know.  I cannot really think of anything else I
> could advise.  It is worth checking to see if any newly created Apache
> config files/directories have been created in EPRINTS_PATH/cfg/, as that
> may give a clue to when the error is occurring.
>
> Regards
>
> David Newman
>
> [1]
> https://eur03.safelinks.protection.outlook.com/?url=https%3A%2F%2Fwiki.eprints.org%2Fw%2FEPrints_3.4.6%23Running_generate_apacheconf_with_an_archive_without_a_cfg.2Fstatic.2Fjavascript.2Fauto.2F_directory&data=05%7C02%7Ceprints-tech%40ecs.soton.ac.uk%7C04e4db930b6f4caba67508dd4e7030dc%7C4a5378f929f44d3ebe89669d03ada9d8%7C0%7C0%7C638752965950334375%7CUnknown%7CTWFpbGZsb3d8eyJFbXB0eU1hcGkiOnRydWUsIlYiOiIwLjAuMDAwMCIsIlAiOiJXaW4zMiIsIkFOIjoiTWFpbCIsIldUIjoyfQ%3D%3D%7C0%7C%7C%7C&sdata=2eK%2BVyNbknp0J5zusFuHvqES3lEuHRxjLPv1CP%2FUiFI%3D&reserved=0
>
> On 14/02/2025 12:08, Francis Jayakanth wrote:
> > CAUTION: This e-mail originated outside the University of Southampton.
> >
> > CAUTION: This e-mail originated outside the University of Southampton.
> >
> > Dear List Members, I am installing EPrints version 3.4.6 on a RHEL 9.5
> > system, and I’ve encountered an issue when executing the script
> > bin/generate_apacheconf. Specifically, I am seeing the following error
> > message:
> > malloc(): unaligned fastbin chunk detected 2
> > Aborted (core dumped)
> >
> > This error causes the script to abort and prevents me from proceeding
> > with the installation. I have tried several steps to resolve this,
> > including ensuring all dependencies are installed and attempting to
> > reinstall related packages (such as Apache and mod_perl), but the
> > issue persists.
> >
> > Here are the details of my environment:
> >
> > Operating System: RHEL 9.5
> > EPrints version: 3.4.6
> > Apache version: 2.4.62
> > Perl version: 5.32
> >
> > Please provide guidance or troubleshooting steps to resolve this error.
> >
> > Thank you in advance for your support.
> >
> > Best regards, Francis
> >
> > *** Options: https://eur03.safelinks.protection.outlook.com/?url=https%3A%2F%2Fwiki.eprints.org%2Fw%2FEprints-tech_Mailing_List&data=05%7C02%7Ceprints-tech%40ecs.soton.ac.uk%7C04e4db930b6f4caba67508dd4e7030dc%7C4a5378f929f44d3ebe89669d03ada9d8%7C0%7C0%7C638752965950363010%7CUnknown%7CTWFpbGZsb3d8eyJFbXB0eU1hcGkiOnRydWUsIlYiOiIwLjAuMDAwMCIsIlAiOiJXaW4zMiIsIkFOIjoiTWFpbCIsIldUIjoyfQ%3D%3D%7C0%7C%7C%7C&sdata=aCkX7Za6YJQhqGx2VjFIPBhREH5WeS2jviYYVmEQX%2F8%3D&reserved=0
> > *** Archive: https://eur03.safelinks.protection.outlook.com/?url=https%3A%2F%2Fwww.eprints.org%2Ftech.php%2F&data=05%7C02%7Ceprints-tech%40ecs.soton.ac.uk%7C04e4db930b6f4caba67508dd4e7030dc%7C4a5378f929f44d3ebe89669d03ada9d8%7C0%7C0%7C638752965950382915%7CUnknown%7CTWFpbGZsb3d8eyJFbXB0eU1hcGkiOnRydWUsIlYiOiIwLjAuMDAwMCIsIlAiOiJXaW4zMiIsIkFOIjoiTWFpbCIsIldUIjoyfQ%3D%3D%7C0%7C%7C%7C&sdata=tOpjJCPhVZVc1DoNct47EktmofwtEN02R7c0fKcuiTw%3D&reserved=0
> > *** EPrints community wiki: https://eur03.safelinks.protection.outlook.com/?url=https%3A%2F%2Fwiki.eprints.org%2F&data=05%7C02%7Ceprints-tech%40ecs.soton.ac.uk%7C04e4db930b6f4caba67508dd4e7030dc%7C4a5378f929f44d3ebe89669d03ada9d8%7C0%7C0%7C638752965950402420%7CUnknown%7CTWFpbGZsb3d8eyJFbXB0eU1hcGkiOnRydWUsIlYiOiIwLjAuMDAwMCIsIlAiOiJXaW4zMiIsIkFOIjoiTWFpbCIsIldUIjoyfQ%3D%3D%7C0%7C%7C%7C&sdata=sK8yEVdpqtv38Ea1%2BPDFtjHT%2B8yGg8KIR7VcnTM0ags%3D&reserved=0
> >