PHP/Apache Load Error Libcurl

Problems with the Linux version of XAMPP, questions, comments, and anything related.

PHP/Apache Load Error Libcurl

Postby jfoc » 23. December 2006 04:54

Dear,
My kernel box is currently using grsecurity with PAX, and when i try to load xampp i got error:

Kernel 2.6.19-1
Grsecurity 2.1.9
Xampp 1.5.4a

./lampp startapache
/opt/lampp/bin/php: error while loading shared libraries: /opt/lampp/lib/libcurl.so.3: cannot make segment writable for relocation: Permission denied
XAMPP: Starting Apache with SSL ...
XAMPP: Error 1! Couldn't start Apache!
XAMPP: Starting diagnose...
XAMPP: Sorry, I've no idea what's going wrong.
XAMPP: Please contact our forum http://community.apachefriends.org/f/


Anyone has this experience too ?


Best Regards,
Joko Frank Octo
Last edited by jfoc on 24. December 2006 12:25, edited 1 time in total.
JFOC Network Solution
===================
Your Total Web Hosting Solution

http://www.jfoc.net
jfoc
 
Posts: 10
Joined: 23. December 2006 04:22

Postby PF4 » 23. December 2006 09:33

Hi,

try this

Code: Select all
chpax -sp /opt/lampp/bin/php
"2 Dinge sind unendlich die Dummheit der Menschheit und das Universum , aber beim Universum bin ich mir noch nicht sicher“
Albert Einstein
PF4
 
Posts: 528
Joined: 10. March 2003 09:15

Postby jfoc » 24. December 2006 12:23

I'm trying with paxctl and still not working :(

Best Regards,
Joko Frank Octo
JFOC Network Solution
===================
Your Total Web Hosting Solution

http://www.jfoc.net
jfoc
 
Posts: 10
Joined: 23. December 2006 04:22

Postby PF4 » 24. December 2006 13:15

tried?
chpax -sp /opt/lampp/lib/libcurl.so.3

chpax != paxctl
"2 Dinge sind unendlich die Dummheit der Menschheit und das Universum , aber beim Universum bin ich mir noch nicht sicher“
Albert Einstein
PF4
 
Posts: 528
Joined: 10. March 2003 09:15

Postby jfoc » 27. December 2006 04:16

Still not working with chpax either, here's some command i run:


[root@serverhp1 lampp]# chpax -ps /opt/lampp/lib/libcurl.so.3
[root@serverhp1 lampp]# chpax -v /opt/lampp/lib/libcurl.so.3

----[ chpax 0.7 : Current flags for /opt/lampp/lib/libcurl.so.3 (peMRxs) ]----

* Paging based PAGE_EXEC : disabled
* Trampolines : not emulated
* mprotect() : restricted
* mmap() base : randomized
* ET_EXEC base : not randomized
* Segmentation based PAGE_EXEC : disabled

[root@serverhp1 lampp]# ./lampp start
Starting XAMPP for Linux 1.5.4a...
/opt/lampp/bin/php: error while loading shared libraries: /opt/lampp/lib/libcurl.so.3: cannot make segment writable for relocation: Permission denied
XAMPP: Starting Apache with SSL ...
XAMPP: Error 1! Couldn't start Apache!
XAMPP: Starting diagnose...
XAMPP: Sorry, I've no idea what's going wrong.
XAMPP: Please contact our forum http://community.apachefriends.org/f/
XAMPP: XAMPP-MySQL is already running.
XAMPP: Another FTP daemon is already running.
XAMPP for Linux started.
[root@serverhp1 lampp]#


Best Regards,
Joko Frank Octo
JFOC Network Solution
===================
Your Total Web Hosting Solution

http://www.jfoc.net
jfoc
 
Posts: 10
Joined: 23. December 2006 04:22

Postby jfoc » 22. January 2007 10:03

Any solution for this issue?

Best Regards,
Joko Frank Octo
JFOC Network Solution
===================
Your Total Web Hosting Solution

http://www.jfoc.net
jfoc
 
Posts: 10
Joined: 23. December 2006 04:22

Postby PF4 » 22. January 2007 11:17

Code: Select all
find /opt/lampp  -type f | xargs chpax -pemrxs


Try this please and backup XAMPP!
"2 Dinge sind unendlich die Dummheit der Menschheit und das Universum , aber beim Universum bin ich mir noch nicht sicher“
Albert Einstein
PF4
 
Posts: 528
Joined: 10. March 2003 09:15

Postby jfoc » 23. January 2007 04:57

PF4 wrote:
Code: Select all
find /opt/lampp  -type f | xargs chpax -pemrxs


Try this please and backup XAMPP!


The apache is running successfully, but the php module isn't load.

[root@serverhp1 lampp]# ./lampp start
Starting XAMPP for Linux 1.5.4a...
/opt/lampp/bin/php: error while loading shared libraries: /opt/lampp/lib/libcurl.so.3: cannot make segment writable for relocation: Permission denied
XAMPP: Starting Apache with SSL ...
XAMPP: Starting MySQL...
XAMPP: Another FTP daemon is already running.
XAMPP for Linux started.
JFOC Network Solution
===================
Your Total Web Hosting Solution

http://www.jfoc.net
jfoc
 
Posts: 10
Joined: 23. December 2006 04:22

Postby jfoc » 29. January 2007 05:16

any solution for this issue ?

Best Regards,
Joko Frank Octo
JFOC Network Solution
===================
Your Total Web Hosting Solution

http://www.jfoc.net
jfoc
 
Posts: 10
Joined: 23. December 2006 04:22

Postby jfoc » 29. January 2007 06:04

I'm just try to using this command:
echo "1" > /proc/sys/kernel/pax/softmode

[root@serverhp1 linux-2.6.19.1]# /opt/lampp/lampp restart
Stopping XAMPP for Linux 1.5.4a...
XAMPP: Stopping Apache with SSL...
XAMPP: Stopping MySQL...
XAMPP: XAMPP-ProFTPD is not running.
XAMPP stopped.
Starting XAMPP for Linux 1.5.4a...
XAMPP: Starting Apache with SSL (and PHP4)...
XAMPP: Starting MySQL...
XAMPP: Another FTP daemon is already running.
XAMPP for Linux started.



This is working with softmode

Best Regards,
Joko Frank Octo
JFOC Network Solution
===================
Your Total Web Hosting Solution

http://www.jfoc.net
jfoc
 
Posts: 10
Joined: 23. December 2006 04:22


Return to XAMPP for Linux

Who is online

Users browsing this forum: No registered users and 7 guests