- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Apache + PHP - unable to load extension (Oracle)
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Discussions
Discussions
Forums
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-04-2004 08:00 PM
тАО11-04-2004 08:00 PM
After installation of latest HPWS I get this error, when trying to start Apache + PHP with Oracle support:
/usr/lib/dld.sl: Call to mmap() failed - TEXT /opt/hpws/apache/php/lib/php/extensions/oci8.sl
/usr/lib/dld.sl: Not enough space
PHP Warning: Unknown(): Unable to load dynamic library '/opt/hpws/apache/php/lib/php/extensions/oci8.sl' - (null) in Unknown on line 0
I tried various steps, but nothing helped.
ORACLE variables are set correctly, SHLIB_PATH also, Oracle is 64-bit, increasing shmmax made no difference, swap utilization is low:
#swapinfo -tam
Mb Mb Mb PCT START/ Mb
TYPE AVAIL USED FREE USED LIMIT RESERVE PRI NAME
dev 1024 376 648 37% 0 - 1 /dev/vg00/lvol2
dev 8000 375 7625 5% 0 - 1 /dev/vg00/lvswap
dev 12276 0 12276 0% 0 - 2 /dev/vg00/lvswap2
reserve - 5999 -5999
memory 1515 366 1149 24%
total 22815 7116 15699 31% - 0 -
Do you have some ideas?
Thanks
Ladislav Kostal
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-04-2004 09:37 PM
тАО11-04-2004 09:37 PM
Re: Apache + PHP - unable to load extension (Oracle)
try by increasing maxdsiz,maxdsiz_64bit,maxssiz,maxssiz_64bit
parameters in kernel.
regds,
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-04-2004 09:41 PM
тАО11-04-2004 09:41 PM
Re: Apache + PHP - unable to load extension (Oracle)
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-04-2004 10:34 PM
тАО11-04-2004 10:34 PM
Re: Apache + PHP - unable to load extension (Oracle)
shmmax 0x400000000
maxdsiz 0x40000000
maxdsiz_64bit 0x100000000
maxssiz 0x800000
maxssiz_64bit 0x800000
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-04-2004 10:53 PM
тАО11-04-2004 10:53 PM
Re: Apache + PHP - unable to load extension (Oracle)
on my test server it is (through sam)
maxdsiz 67108864
maxdsiz_64bit 1073741824
maxssiz 8388608
maxssiz_64bit 8388608
this is the calculated value.just compare with your systems values.
regds,
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-07-2004 04:39 PM
тАО11-07-2004 04:39 PM
Re: Apache + PHP - unable to load extension (Oracle)
Apache is 32-bit and your Oracle installation is 64-bit. oci8.sl is linked with libclntsh.sl and dld may be trying to load 64-bit version of libclntsh.sl which won't work.
Please make sure your SHLIB_PATH contains $ORACLE_HOME/lib32 instead of $ORACLE_HOME/lib.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-07-2004 07:33 PM
тАО11-07-2004 07:33 PM
Re: Apache + PHP - unable to load extension (Oracle)
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-07-2004 11:10 PM
тАО11-07-2004 11:10 PM
Re: Apache + PHP - unable to load extension (Oracle)
just a question : dld.sl says "Not enough space". Is there any filesystem without space left (verify with bdf) ?
Olivier.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-07-2004 11:13 PM
тАО11-07-2004 11:13 PM
Re: Apache + PHP - unable to load extension (Oracle)
[ENOMEM]
MAP_FIXED was specified, and the range [addr, addr+len] exceeds that allowed for the address space of a process; or if MAP_FIXED was not specified and there is insufficient room in the address space to effect the mapping.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-07-2004 11:28 PM
тАО11-07-2004 11:28 PM
Re: Apache + PHP - unable to load extension (Oracle)
http://forums.itrc.hp.com/cm/QuestionAnswer/1,,0x6ee4a848deccd61190050090279cd0f9,00.html
Olivier.