I'm following http://www.howtoforge.com/perfect-server-centos-5.4-x86_64-ispconfig-3-p5 After downloading http://suphp.org/download/suphp-0.7.1.tar.gz I can compile it: Code: [root@ve suphp-0.7.1]# ./configure --prefix=/usr --sysconfdir=/etc --with-apr=/usr/bin/apr-1-config --with-apxs=/usr/sbin/apxs --with-apache-user=apache --with-setid-mode=owner --with-php=/usr/bin/php-cgi --with-logfile=/var/log/httpd/suphp_log --enable-SUPHP_USE_USERGROUP=yes -bash: ./configure: /bin/sh: bad interpreter: Permission denied
Code: [root@ve ~]# ls -la /bin total 6244 drwxr-xr-x 2 root root 4096 May 29 12:25 . drwxr-xr-x 22 root root 4096 Jan 26 13:41 .. -rwxr-xr-x 1 root root 4488 Jan 20 02:36 arch lrwxrwxrwx 1 root root 4 Apr 22 00:43 awk -> gawk -rwxr-xr-x 1 root root 17656 Feb 28 14:26 basename -rwxr-xr-x 1 root root 768664 Jan 21 2009 bash -rwxr-xr-x 1 root root 21808 Feb 28 14:26 cat -rwxr-xr-x 1 root root 40464 Feb 28 14:26 chgrp -rwxr-xr-x 1 root root 36496 Feb 28 14:26 chmod -rwxr-xr-x 1 root root 41776 Feb 28 14:26 chown -rwxr-xr-x 1 root root 66424 Feb 28 14:26 cp -rwxr-xr-x 1 root root 104944 Mar 15 17:14 cpio lrwxrwxrwx 1 root root 4 May 29 12:19 csh -> tcsh -rwxr-xr-x 1 root root 33040 Feb 28 14:26 cut -rwxr-xr-x 1 root root 49160 Feb 28 14:26 date -rwxr-xr-x 1 root root 9280 Mar 31 06:21 dbus-cleanup-sockets -rwxr-xr-x 1 root root 306992 Mar 31 06:21 dbus-daemon -rwxr-xr-x 1 root root 12664 Mar 31 06:21 dbus-monitor -rwxr-xr-x 1 root root 16040 Mar 31 06:21 dbus-send -rwxr-xr-x 1 root root 6816 Mar 31 06:21 dbus-uuidgen -rwxr-xr-x 1 root root 41048 Feb 28 14:26 dd -rwxr-xr-x 1 root root 40712 Feb 28 14:26 df -rwxr-xr-x 1 root root 6656 Jan 20 02:36 dmesg lrwxrwxrwx 1 root root 8 May 29 12:19 dnsdomainname -> hostname -rwxr-xr-x 1 root root 4136 Sep 28 2009 doexec lrwxrwxrwx 1 root root 8 May 29 12:19 domainname -> hostname -rwxr-xr-x 1 root root 76568 Jan 20 2009 dumpkeys -rwxr-xr-x 1 root root 19504 Feb 28 14:26 echo -rwxr-xr-x 1 root root 44392 Oct 23 2008 ed lrwxrwxrwx 1 root root 4 Apr 22 00:43 egrep -> grep -rwxr-xr-x 1 root root 17536 Feb 28 14:26 env lrwxrwxrwx 1 root root 2 Apr 22 00:43 ex -> vi -rwxr-xr-x 1 root root 16032 Feb 28 14:26 false lrwxrwxrwx 1 root root 4 Apr 22 00:43 fgrep -> grep -rwxr-xr-x 1 root root 331920 Mar 14 2007 gawk -rwxr-xr-x 1 root root 11696 Mar 14 2007 gettext -rwxr-xr-x 1 root root 85216 Sep 26 2009 grep lrwxrwxrwx 1 root root 3 May 29 12:18 gtar -> tar -rwxr-xr-x 3 root root 60320 Jan 20 09:42 gunzip -rwxr-xr-x 3 root root 60320 Jan 20 09:42 gzip -rwxr-xr-x 1 root root 12456 Jan 26 15:41 hostname -rwxr-xr-x 1 root root 3089 Mar 14 2007 igawk -rwxr-xr-x 1 root root 33640 Sep 28 2009 ipcalc -rwxr-xr-x 1 root root 7184 Jan 20 2009 kbd_mode -rwxr-xr-x 1 root root 11496 Jan 20 02:36 kill -rwxr-xr-x 1 root root 17360 Feb 28 14:26 link -rwxr-xr-x 1 root root 28376 Feb 28 14:26 ln -rwxr-xr-x 1 root root 101512 Jan 20 2009 loadkeys -rwxr-xr-x 1 root root 661496 Jan 20 2009 loadkeys.static -rwxr-xr-x 1 root root 11560 Jan 20 02:36 logger -rwxr-xr-x 1 root root 23952 Jan 20 02:36 login -rwxr-xr-x 1 root root 86040 Feb 28 14:26 ls -rwxr-xr-x 1 root root 28016 Feb 28 14:26 mkdir -rwxr-xr-x 1 root root 23712 Feb 28 14:26 mknod -r-xr-xr-x 1 root root 9696 Jan 6 2007 mktemp -rwxr-xr-x 1 root root 32584 Jan 20 02:36 more -rwsr-xr-x 1 root root 57880 Jan 20 02:36 mount -rwxr-xr-x 1 root root 6672 Jan 21 2009 mountpoint -rwxr-xr-x 1 root root 73880 Feb 28 14:26 mv -rwxr-xr-x 1 root root 122256 Jan 26 15:41 netstat -rwxr-xr-x 1 root root 20032 Feb 28 14:26 nice lrwxrwxrwx 1 root root 8 May 29 12:19 nisdomainname -> hostname -rwxr-xr-x 1 root root 331920 Mar 14 2007 pgawk -rwsr-xr-x 1 root root 37312 Sep 26 2009 ping -rwsr-xr-x 1 root root 32736 Sep 26 2009 ping6 -r-xr-xr-x 1 root root 81120 Mar 30 21:59 ps -rwxr-xr-x 1 root root 21712 Feb 28 14:26 pwd -rwxr-xr-x 1 root root 7200 Jan 20 02:36 raw lrwxrwxrwx 1 root root 2 Apr 22 00:43 red -> ed -rwxr-xr-x 1 root root 41056 Feb 28 14:26 rm -rwxr-xr-x 1 root root 17888 Feb 28 14:26 rmdir -rwxr-xr-x 1 root root 84984 Sep 3 2009 rpm lrwxrwxrwx 1 root root 2 Apr 22 00:43 rvi -> vi lrwxrwxrwx 1 root root 2 Apr 22 00:43 rview -> vi -rwxr-xr-x 1 root root 52952 Jan 9 2007 sed -rwxr-xr-x 1 root root 35984 Jan 20 2009 setfont lrwxrwxrwx 1 root root 4 Apr 22 00:43 sh -> bash -rwxr-xr-x 1 root root 19504 Feb 28 14:26 sleep -rwxr-xr-x 1 root root 53424 Feb 28 14:26 sort -rwxr-xr-x 1 root root 44352 Feb 28 14:26 stty -rwsr-xr-x 1 root root 28336 Feb 28 14:25 su -rwxr-xr-x 1 root root 16880 Feb 28 14:26 sync -rwxr-xr-x 1 root root 225960 Mar 31 04:00 tar -rwxr-xr-x 1 root root 9960 Jan 20 02:36 taskset lrwxrwxrwx 1 root root 10 Apr 22 00:43 tcptraceroute -> traceroute -rwxr-xr-x 1 root root 348648 Mar 30 21:58 tcsh -rwxr-xr-x 1 root root 39032 Feb 28 14:26 touch -rwxr-xr-x 1 root root 11176 Sep 26 2009 tracepath -rwxr-xr-x 1 root root 11664 Sep 26 2009 tracepath6 -rwxr-xr-x 1 root root 38080 Mar 11 2009 traceroute lrwxrwxrwx 1 root root 10 Apr 22 00:43 traceroute6 -> traceroute lrwxrwxrwx 1 root root 10 Apr 22 00:43 tracert -> traceroute -rwxr-xr-x 1 root root 16032 Feb 28 14:26 true -rwsr-xr-x 1 root root 36608 Jan 20 02:36 umount -rwxr-xr-x 1 root root 19856 Feb 28 14:26 uname -rwxr-xr-x 1 root root 1273 Jan 20 2009 unicode_start -rwxr-xr-x 1 root root 79 Jan 20 2009 unicode_stop -rwxr-xr-x 1 root root 17240 Feb 28 14:26 unlink -rwxr-xr-x 1 root root 27816 Sep 28 2009 usleep -rwxr-xr-x 1 root root 629032 Sep 19 2009 vi lrwxrwxrwx 1 root root 2 Apr 22 00:43 view -> vi lrwxrwxrwx 1 root root 8 May 29 12:19 ypdomainname -> hostname -rwxr-xr-x 3 root root 60320 Jan 20 09:42 zcat
Also... next step... installing ftpd... (I think it is independent) Code: [root@ve ~]# yum install pure-ftpd Loaded plugins: fastestmirror Loading mirror speeds from cached hostfile * addons: mirror.trouble-free.net * base: mirror.ubiquityservers.com * extras: centos.mirror.nac.net * rpmforge: fr2.rpmfind.net * updates: mirror.its.uidaho.edu addons | 951 B 00:00 base | 1.1 kB 00:00 extras | 2.1 kB 00:00 kbs-CentOS-Extras | 1.9 kB 00:00 kbs-CentOS-Testing | 1.9 kB 00:00 rpmforge | 1.1 kB 00:00 rpmforge/primary | 3.7 MB 00:13 rpmforge 10223/10223 updates | 1.9 kB 00:00 Setting up Install Process Resolving Dependencies --> Running transaction check ---> Package pure-ftpd.x86_64 0:1.0.21-15.el5.kb set to be updated --> Finished Dependency Resolution Dependencies Resolved ====================================================================================================== Package Arch Version Repository Size ====================================================================================================== Installing: pure-ftpd x86_64 1.0.21-15.el5.kb kbs-CentOS-Testing 239 k Transaction Summary ====================================================================================================== Install 1 Package(s) Upgrade 0 Package(s) Total download size: 239 k Is this ok [y/N]: y Downloading Packages: pure-ftpd-1.0.21-15.el5.kb.x86_64.rpm | 239 kB 00:00 Running rpm_check_debug Running Transaction Test Finished Transaction Test Transaction Test Succeeded Running Transaction Installing : pure-ftpd 1/1 Installed: pure-ftpd.x86_64 0:1.0.21-15.el5.kb Complete! [root@ve ~]# chkconfig --levels 235 pure-ftpd on [root@ve ~]# /etc/init.d/pure-ftpd start Starting pure-ftpd: [FAILED]
Solved!!! The problem is something with mount /tmp with noexec.... I move files in /root/install folder and everything is OK now.