LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 08-22-2011, 06:26 PM   #16
linux_rhca
LQ Newbie
 
Registered: Jun 2011
Posts: 22

Original Poster
Rep: Reputation: Disabled

Quote:
Originally Posted by bathory View Post
Doh, it could be SELinux that does no allow access to that directory, even it should as it's under the docroot.
Anyway take a look here to see what you need to do.

Regards
I turned SELinux off but still its showing 'Forbidden' in the browser, any other possibilities?
(permissive - This just simulates the enforcing policy by only printing warning messages and not really enforcing the SELinux..)

Code:
[root@server ~]# echo 0 > /selinux/enforce
[root@server ~]# sestatus
SELinux status:                 enabled
SELinuxfs mount:                /selinux
Current mode:                   permissive
Mode from config file:          enforcing
Policy version:                 24
Policy from config file:        targeted

Last edited by linux_rhca; 08-22-2011 at 06:27 PM.
 
Old 08-23-2011, 12:09 AM   #17
bathory
LQ Guru
 
Registered: Jun 2004
Location: Piraeus
Distribution: Slackware
Posts: 13,163
Blog Entries: 1

Rep: Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032
I don't know selinux well, but you could either disable it temporarily to test, or run:
Code:
chcon -Rv --type=httpd_sys_content_t /var/www/html/phpldapadmin-1.2.1.1
and see if the error goes away.
 
Old 08-24-2011, 01:41 AM   #18
linux_rhca
LQ Newbie
 
Registered: Jun 2011
Posts: 22

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by bathory View Post
I don't know selinux well, but you could either disable it temporarily to test, or run:
Code:
chcon -Rv --type=httpd_sys_content_t /var/www/html/phpldapadmin-1.2.1.1
and see if the error goes away.
I have disabled selinux completely.I get this output in the browser when I put full permissions on the htdocs folder (chmod 777):- At least the forbidden message is gone. But still I am not getting the proper interface. Any ideas?

Code:
Logo	Notice: Use of undefined constant DEBUG_ENABLED - assumed 'DEBUG_ENABLED' in /var/www/html/phpldapadmin-1.2.1.1/lib/config_default.php on line 685 Notice: Use of undefined constant DEBUG_ENABLED - assumed 'DEBUG_ENABLED' in /var/www/html/phpldapadmin-1.2.1.1/lib/config_default.php on line 685 Notice: Use of undefined constant DEBUG_ENABLED - assumed 'DEBUG_ENABLED' in /var/www/html/phpldapadmin-1.2.1.1/lib/config_default.php on line 685 Notice: Use of undefined constant DEBUG_ENABLED - assumed 'DEBUG_ENABLED' in /var/www/html/phpldapadmin-1.2.1.1/lib/config_default.php on line 685 Notice: Use of undefined constant DEBUG_ENABLED - assumed 'DEBUG_ENABLED' in /var/www/html/phpldapadmin-1.2.1.1/lib/config_default.php on line 685 Forum Request feature Report a bug Donate Help
Notice: Use of undefined constant DEBUG_ENABLED - assumed 'DEBUG_ENABLED' in /var/www/html/phpldapadmin-1.2.1.1/lib/config_default.php on line 685 Notice: Use of undefined constant DEBUG_ENABLED - assumed 'DEBUG_ENABLED' in /var/www/html/phpldapadmin-1.2.1.1/lib/config_default.php on line 685 Home | Purge caches | Show Cache
Notice: Use of undefined constant DEBUG_ENABLED - assumed 'DEBUG_ENABLED' in /var/www/html/phpldapadmin-1.2.1.1/lib/config_default.php on line 797 Notice: Use of undefined constant DEBUG_ENABLED - assumed 'DEBUG_ENABLED' in /var/www/html/phpldapadmin-1.2.1.1/lib/config_default.php on line 797 Notice: Use of undefined constant DEBUG_ENABLED - assumed 'DEBUG_ENABLED' in /var/www/html/phpldapadmin-1.2.1.1/lib/config_default.php on line 797
Notice: Use of undefined constant DEBUG_ENABLED - assumed 'DEBUG_ENABLED' in /var/www/html/phpldapadmin-1.2.1.1/lib/Tree.php on line 42 Notice: Use of undefined constant DEBUG_ENABLED - assumed 'DEBUG_ENABLED' in /var/www/html/phpldapadmin-1.2.1.1/lib/functions.php on line 875 Notice: Use of undefined constant DEBUG_ENABLED - assumed 'DEBUG_ENABLED' in /var/www/html/phpldapadmin-1.2.1.1/lib/functions.php on line 885 Notice: Use of undefined constant DEBUG_ENABLED - assumed 'DEBUG_ENABLED' in /var/www/html/phpldapadmin-1.2.1.1/lib/Tree.php on line 29 Notice: Use of undefined constant DEBUG_ENABLED - assumed 'DEBUG_ENABLED' in /var/www/html/phpldapadmin-1.2.1.1/lib/ds.php on line 156 Notice: Use of undefined constant DEBUG_ENABLED - assumed 'DEBUG_ENABLED' in /var/www/html/phpldapadmin-1.2.1.1/lib/ds.php on line 456 Notice: Use of undefined constant DEBUG_ENABLED - assumed 'DEBUG_ENABLED' in /var/www/html/phpldapadmin-1.2.1.1/lib/ds.php on line 286 Notice: Use of undefined constant DEBUG_ENABLED - assumed 'DEBUG_ENABLED' in /var/www/html/phpldapadmin-1.2.1.1/lib/ds.php on line 456 Notice: Use of undefined constant DEBUG_ENABLED - assumed 'DEBUG_ENABLED' in /var/www/html/phpldapadmin-1.2.1.1/lib/ds.php on line 132 Notice: Use of undefined constant DEBUG_ENABLED - assumed 'DEBUG_ENABLED' in /var/www/html/phpldapadmin-1.2.1.1/lib/ds.php on line 156 Notice: Use of undefined constant DEBUG_ENABLED - assumed 'DEBUG_ENABLED' in /var/www/html/phpldapadmin-1.2.1.1/lib/ds.php on line 456 Notice: Use of undefined constant DEBUG_ENABLED - assumed 'DEBUG_ENABLED' in /var/www/html/phpldapadmin-1.2.1.1/lib/ds.php on line 132 Notice: Use of undefined constant DEBUG_ENABLED - assumed 'DEBUG_ENABLED' in /var/www/html/phpldapadmin-1.2.1.1/lib/HTMLTree.php on line 28 Notice: Use of undefined constant DEBUG_ENABLED - assumed 'DEBUG_ENABLED' in /var/www/html/phpldapadmin-1.2.1.1/lib/Tree.php on line 88 Notice: Use of undefined constant DEBUG_ENABLED - assumed 'DEBUG_ENABLED' in /var/www/html/phpldapadmin-1.2.1.1/lib/HTMLTree.php on line 159 Notice: Use of undefined constant DEBUG_ENABLED - assumed 'DEBUG_ENABLED' in /var/www/html/phpldapadmin-1.2.1.1/lib/Tree.php on line 88 Notice: Use of undefined constant DEBUG_ENABLED - assumed 'DEBUG_ENABLED' in /var/www/html/phpldapadmin-1.2.1.1/lib/HTMLTree.php on line 557 Notice: Use of undefined constant DEBUG_ENABLED - assumed 'DEBUG_ENABLED' in /var/www/html/phpldapadmin-1.2.1.1/lib/Tree.php on line 88 Notice: Use of undefined constant DEBUG_ENABLED - assumed 'DEBUG_ENABLED' in /var/www/html/phpldapadmin-1.2.1.1/lib/ds.php on line 286 Notice: Use of undefined constant DEBUG_ENABLED - assumed 'DEBUG_ENABLED' in /var/www/html/phpldapadmin-1.2.1.1/lib/ds.php on line 456 Notice: Use of undefined constant DEBUG_ENABLED - assumed 'DEBUG_ENABLED' in /var/www/html/phpldapadmin-1.2.1.1/lib/ds.php on line 132 Notice: Use of undefined constant DEBUG_ENABLED - assumed 'DEBUG_ENABLED' in /var/www/html/phpldapadmin-1.2.1.1/lib/ds.php on line 156 Notice: Use of undefined constant DEBUG_ENABLED - assumed 'DEBUG_ENABLED' in /var/www/html/phpldapadmin-1.2.1.1/lib/ds.php on line 456 Notice: Use of undefined constant DEBUG_ENABLED - assumed 'DEBUG_ENABLED' in /var/www/html/phpldapadmin-1.2.1.1/lib/ds.php on line 286 Notice: Use of undefined constant DEBUG_ENABLED - assumed 'DEBUG_ENABLED' in /var/www/html/phpldapadmin-1.2.1.1/lib/ds.php on line 456 Notice: Use of undefined constant DEBUG_ENABLED - assumed 'DEBUG_ENABLED' in /var/www/html/phpldapadmin-1.2.1.1/lib/ds.php on line 132 Notice: Use of undefined constant DEBUG_ENABLED - assumed 'DEBUG_ENABLED' in /var/www/html/phpldapadmin-1.2.1.1/lib/HTMLTree.php on line 513 Notice: Use of undefined constant DEBUG_ENABLED - assumed 'DEBUG_ENABLED' in /var/www/html/phpldapadmin-1.2.1.1/lib/Tree.php on line 88 Notice: Use of undefined constant DEBUG_ENABLED - assumed 'DEBUG_ENABLED' in /var/www/html/phpldapadmin-1.2.1.1/lib/functions.php on line 977 Notice: Use of undefined constant DEBUG_ENABLED - assumed 'DEBUG_ENABLED' in /var/www/html/phpldapadmin-1.2.1.1/lib/functions.php on line 988 Notice: Use of undefined constant DEBUG_ENABLED - assumed 'DEBUG_ENABLED' in /var/www/html/phpldapadmin-1.2.1.1/lib/functions.php on line 3100 Notice: Use of undefined constant DEBUG_ENABLED - assumed 'DEBUG_ENABLED' in /var/www/html/phpldapadmin-1.2.1.1/lib/ds.php on line 119 Notice: Use of undefined constant DEBUG_ENABLED - assumed 'DEBUG_ENABLED' in /var/www/html/phpldapadmin-1.2.1.1/lib/HTMLTree.php on line 557 Notice: Use of undefined constant DEBUG_ENABLED - assumed 'DEBUG_ENABLED' in /var/www/html/phpldapadmin-1.2.1.1/lib/Tree.php on line 88 Notice: Use of undefined constant DEBUG_ENABLED - assumed 'DEBUG_ENABLED' in /var/www/html/phpldapadmin-1.2.1.1/lib/ds.php on line 286 Notice: Use of undefined constant DEBUG_ENABLED - assumed 'DEBUG_ENABLED' in /var/www/html/phpldapadmin-1.2.1.1/lib/ds.php on line 456 Notice: Use of undefined constant DEBUG_ENABLED - assumed 'DEBUG_ENABLED' in /var/www/html/phpldapadmin-1.2.1.1/lib/ds.php on line 119 Notice: Use of undefined constant DEBUG_ENABLED - assumed
 
Old 08-24-2011, 02:08 AM   #19
bathory
LQ Guru
 
Registered: Jun 2004
Location: Piraeus
Distribution: Slackware
Posts: 13,163
Blog Entries: 1

Rep: Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032
Hi,

You should let the permissions as they were.
Anyway regarding the error, did you configured config.php?
IF yes, then it's from some sort of php incompatibility with phpldapadmin. Doing a little search I found this (quite old, from 2009). You may check if the patch supplied in the last line solves the problem.
Don't forget to make a backup before changing any files

Regards
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
libfreetype.so.6 dependency error when install OpenOffice on Slackware13 konzo Linux - Software 4 08-25-2010 01:55 PM
Installation stuck at checking dependency when upgrading to FC 6 saravkrish Fedora 1 03-25-2007 03:43 PM
Can't install via adept/apt-get, weird dependency error... Letherian Linux - Software 0 02-26-2006 04:12 PM
Gentoo, problem when "emergeing" libgpg-error Snerkel Linux - Distributions 1 10-26-2004 08:46 AM
Gentoo libgpg-error-1.0 emerge problem ahh Linux - Software 2 09-21-2004 05:19 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 10:05 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration