Win a copy of Head First Android this week in the Android forum!

Ashok Raj

Greenhorn
+ Follow
since Jul 26, 2021
Cows and Likes
Cows
Total received
0
In last 30 days
0
Total given
0
Likes
Total received
0
Received in last 30 days
0
Total given
0
Given in last 30 days
0
Forums and Threads
Scavenger Hunt
expand Ranch Hand Scavenger Hunt
expand Greenhorn Scavenger Hunt

Recent posts by Ashok Raj

Hi,

We also don't know how to proceed further. We think to check the LD_LIBRARY_PATH.

Do you know any properties which assist to check dlopen().

Thanks,
Ashok Raj
Hi,

Thanks for your reply.

We installed the apr-util package and tried to start the httpd service. The httpd service got started, but still, our initial error exists.

/usr/xxx/xxx/apache/bin/httpd: symbol lookup error: /usr/xxx/xxx/apache/lib/libapr-1.so.0: undefined symbol: dlopen




And we didn't get any result for the below command.



Please let me know if you need any details.

Kindly help us to overcome this issue.

Thanks,
Ashok Raj
Hi,

Previously in RHEL 6.10 we used the command "service httpd start". On RHEL 8.4, we tried to use the same command, but there we got the error. Please find the below command and the result.



[root@testvms84 ~]# systemctl httpd start
Unknown operation httpd.

[root@testvms84 ~]# systemctl start httpd.service
Job for httpd.service failed because the control process exited with error code.
See "systemctl status httpd.service" and "journalctl -xe" for details.
[root@testvms84 ~]#




[root@testvms84 ~]# systemctl status  httpd.service
● httpd.service - The Apache HTTP Server
  Loaded: loaded (/usr/lib/systemd/system/httpd.service; disabled; vendor preset: disabled)
  Active: failed (Result: exit-code) since Mon 2021-09-27 11:27:22 IST; 23s ago
    Docs: man:httpd.service(8)
 Process: 326943 ExecStart=/usr/sbin/httpd $OPTIONS -DFOREGROUND (code=exited, status=127)
Main PID: 326943 (code=exited, status=127)

Sep 27 11:27:21 testvms84 systemd[1]: Starting The Apache HTTP Server...
Sep 27 11:27:22 testvms84 httpd[326943]: /usr/sbin/httpd: error while loading shared libraries: libaprutil-1.so.0: cannot open sh>
Sep 27 11:27:22 testvms84 systemd[1]: httpd.service: Main process exited, code=exited, status=127/n/a
Sep 27 11:27:22 testvms84 systemd[1]: httpd.service: Failed with result 'exit-code'.
Sep 27 11:27:22 testvms84 systemd[1]: Failed to start The Apache HTTP Server.


In the above message, it says libaprutil-1.so.0 cannot open. Shall we need to give any extra command to make the library workable.


Thanks,
Ashok Raj
Thank you for your reply.

Please find the below details for the execution of commands and the result. Please note that I have removed the apr & httpd packages and reinstalled also.



[root@testvms84 ~]# rpm -V httpd apr
[root@testvms84 ~]#



[root@testvms84 ~]# rpm -qi httpd apr
Name        : httpd
Version     : 2.4.37
Release     : 39.module+el8.4.0+9658+b87b2deb
Architecture: x86_64
Install Date: Sun 26 Sep 2021 08:52:06 AM IST
Group       : System Environment/Daemons
Size        : 4486208
License     : ASL 2.0
Signature   : RSA/SHA256, Tue 02 Feb 2021 12:54:18 AM IST, Key ID 199e2f91fd431d51
Source RPM  : httpd-2.4.37-39.module+el8.4.0+9658+b87b2deb.src.rpm
Build Date  : Wed 27 Jan 2021 05:53:38 PM IST
Build Host  : x86-vm-07.build.eng.bos.redhat.com
Relocations : (not relocatable)
Packager    : Red Hat, Inc. <http://bugzilla.redhat.com/bugzilla>;
Vendor      : Red Hat, Inc.
URL         : https://httpd.apache.org/
Summary     : Apache HTTP Server
Description :
The Apache HTTP Server is a powerful, efficient, and extensible
web server.
Name        : apr
Version     : 1.6.3
Release     : 11.el8
Architecture: x86_64
Install Date: Sun 26 Sep 2021 08:51:50 AM IST
Group       : System Environment/Libraries
Size        : 266382
License     : ASL 2.0 and BSD with advertising and ISC and BSD
Signature   : RSA/SHA256, Thu 11 Jun 2020 03:56:29 PM IST, Key ID 199e2f91fd431d51
Source RPM  : apr-1.6.3-11.el8.src.rpm
Build Date  : Thu 11 Jun 2020 02:24:51 PM IST
Build Host  : x86-vm-09.build.eng.bos.redhat.com
Relocations : (not relocatable)
Packager    : Red Hat, Inc. <http://bugzilla.redhat.com/bugzilla>;
Vendor      : Red Hat, Inc.
URL         : http://apr.apache.org/
Summary     : Apache Portable Runtime library
Description :
The mission of the Apache Portable Runtime (APR) is to provide a
free library of C data structures and routines, forming a system
portability layer to as many operating systems as possible,
including Unices, MS Win32, BeOS and OS/2.
[root@testvms84 ~]#




[root@testvms84 ~]# systemctl status httpd
● httpd.service - The Apache HTTP Server
  Loaded: loaded (/usr/lib/systemd/system/httpd.service; disabled; vendor preset: disabled)
  Active: inactive (dead)
    Docs: man:httpd.service(8)
[root@testvms84 ~]#




-- Logs begin at Sun 2021-09-26 09:41:56 IST, end at Sun 2021-09-26 09:51:00 IST. --
Sep 26 09:42:14 localhost.localdomain systemd[1]: Started Kernel process accounting.
-- Subject: Unit psacct.service has finished start-up
-- Defined-By: systemd
-- Support: https://access.redhat.com/support
--
-- Unit psacct.service has finished starting up.
--
-- The start-up result is done.
Sep 26 09:42:14 localhost.localdomain avahi-daemon[1413]: chroot.c: open() failed: No such file or directory
Sep 26 09:42:14 localhost.localdomain avahi-daemon[1283]: Failed to open /etc/resolv.conf: Invalid argument
Sep 26 09:42:14 localhost.localdomain avahi-daemon[1283]: No service file found in /etc/avahi/services.
Sep 26 09:42:14 localhost.localdomain avahi-daemon[1283]: System host name is set to 'localhost'. This is not a suitable mDNS hos>
Sep 26 09:42:14 localhost.localdomain avahi-daemon[1283]: Network interface enumeration completed.
Sep 26 09:42:14 localhost.localdomain avahi-daemon[1283]: Server startup complete. Host name is linux.local. Local service cookie>
Sep 26 09:42:14 localhost.localdomain systemd[1]: Started NTP client/server.
-- Subject: Unit chronyd.service has finished start-up
-- Defined-By: systemd
-- Support: https://access.redhat.com/support

**Other than this, I could not able to see other errors.


Please have a look on above details and let us know the way to solve the issue..




Thank you for your reply.

Even we tried that also. Along with apr, we installed apr-util, httpd. But it doesn't help us to overcome this error.

Hi,
We have upgraded the existing OS from RHEL 6.10 to RHEL 8.4. Later when we try to start httpd service, the service is not starting and we got the below error.


/usr/xxx/xxx/apache/bin/httpd: symbol lookup error: /usr/xxx/xxx/apache/lib/libapr-1.so.0: undefined symbol: dlopen

Also, we have tried installing the "libapr*" Package but we got the below error,

No match for argument: libapr1
Error: Unable to find a match: libapr1

Quick responses are highly appreciated.

Thanks,
Ashok
I'm using hibernate which is 3.2.4 and having Oracle 12C DB with Oracle10gDialect. Now am thinking to upgrade Oracle DB to Oracle 19C.

For Upgrading to 19c, whether "org.hibernate.dialect.Oracle10gDialect" will be supported along with hibernate-3.2.4?

And whether hibernate-3 will support 12c dialect?

Thanks in Advance.