1. chmox +x free 2. Возможно noexec. Попробуй залить в другую директорию, или сделай cat /etc/fstab или mount найди там директорию, у которой не прописано noexec.
$ uname -a $ ls -la /boot 2>&1 $ ls -la --full-time /lib/lib* 2>&1 $ mount 2>&1 $ df -h 2>&1 $ cat /etc/issue 2>&1 $ cat /etc/crontab 2>&1 $ cat /proc/version 2>&1 $ cat /proc/version 2>&1 $ pwd 2>&1 $ ls -la /usr/bin/staprun 2>&1 ОГРОМНОЕ СПАСИБО!
uname -a Code: Linux IP 2.6.18-238.5.1.el5.028stab085.2 #1 SMP Thu Mar 10 15:41:04 MSK 2011 i686 GNU/Linux ls -la /boot 2>&1 Code: total 8 drwxr-xr-x 2 root root 4096 Oct 28 2006 . drwxr-xr-x 21 root root 4096 Mar 26 12:38 .. ls -la --full-time /lib/lib* 2>&1 Code: -rw-r--r-- 1 root root 5500 2011-01-24 03:09:53.000000000 +0300 /lib/libBrokenLocale-2.11.2.so lrwxrwxrwx 1 root root 25 2011-03-15 23:33:45.000000000 +0300 /lib/libBrokenLocale.so.1 -> libBrokenLocale-2.11.2.so -rw-r--r-- 1 root root 13748 2011-01-24 03:09:53.000000000 +0300 /lib/libSegFault.so lrwxrwxrwx 1 root root 15 2011-03-15 23:20:19.000000000 +0300 /lib/libacl.so.1 -> libacl.so.1.1.0 -rw-r--r-- 1 root root 24800 2008-04-24 01:22:04.000000000 +0400 /lib/libacl.so.1.1.0 -rw-r--r-- 1 root root 9864 2011-01-24 03:09:53.000000000 +0300 /lib/libanl-2.11.2.so lrwxrwxrwx 1 root root 16 2011-03-15 23:33:45.000000000 +0300 /lib/libanl.so.1 -> libanl-2.11.2.so lrwxrwxrwx 1 root root 16 2011-03-15 23:20:19.000000000 +0300 /lib/libattr.so.1 -> libattr.so.1.1.0 -rw-r--r-- 1 root root 14744 2009-02-10 13:52:07.000000000 +0300 /lib/libattr.so.1.1.0 lrwxrwxrwx 1 root root 15 2011-03-15 23:20:19.000000000 +0300 /lib/libblkid.so.1 -> libblkid.so.1.0 -rw-r--r-- 1 root root 38020 2008-10-13 07:33:35.000000000 +0400 /lib/libblkid.so.1.0 lrwxrwxrwx 1 root root 15 2011-03-15 23:20:19.000000000 +0300 /lib/libbz2.so.1 -> libbz2.so.1.0.4 lrwxrwxrwx 1 root root 15 2011-03-15 23:20:19.000000000 +0300 /lib/libbz2.so.1.0 -> libbz2.so.1.0.4 -rw-r--r-- 1 root root 66276 2008-08-05 15:19:23.000000000 +0400 /lib/libbz2.so.1.0.4 -rwxr-xr-x 1 root root 1319176 2011-01-24 03:09:53.000000000 +0300 /lib/libc-2.11.2.so lrwxrwxrwx 1 root root 14 2011-03-15 23:33:45.000000000 +0300 /lib/libc.so.6 -> libc-2.11.2.so lrwxrwxrwx 1 root root 14 2011-03-15 23:20:19.000000000 +0300 /lib/libcap.so.1 -> libcap.so.1.10 -rw-r--r-- 1 root root 11024 2004-04-14 02:10:45.000000000 +0400 /lib/libcap.so.1.10 lrwxrwxrwx 1 root root 14 2011-03-15 23:20:19.000000000 +0300 /lib/libcap.so.2 -> libcap.so.2.11 -rw-r--r-- 1 root root 13364 2008-07-26 19:26:50.000000000 +0400 /lib/libcap.so.2.11 -rw-r--r-- 1 root root 181780 2011-01-24 03:09:53.000000000 +0300 /lib/libcidn-2.11.2.so lrwxrwxrwx 1 root root 17 2011-03-15 23:33:45.000000000 +0300 /lib/libcidn.so.1 -> libcidn-2.11.2.so lrwxrwxrwx 1 root root 17 2011-03-15 23:20:19.000000000 +0300 /lib/libcom_err.so.2 -> libcom_err.so.2.1 -rw-r--r-- 1 root root 8676 2008-10-13 07:33:34.000000000 +0400 /lib/libcom_err.so.2.1 -rw-r--r-- 1 root root 38360 2011-01-24 03:09:53.000000000 +0300 /lib/libcrypt-2.11.2.so lrwxrwxrwx 1 root root 18 2011-03-15 23:33:45.000000000 +0300 /lib/libcrypt.so.1 -> libcrypt-2.11.2.so -rw-r--r-- 1 root root 65332 2006-08-09 02:39:02.000000000 +0400 /lib/libdevmapper.so.1.02 -rw-r--r-- 1 root root 9736 2011-01-24 03:09:53.000000000 +0300 /lib/libdl-2.11.2.so lrwxrwxrwx 1 root root 15 2011-03-15 23:33:45.000000000 +0300 /lib/libdl.so.2 -> libdl-2.11.2.so lrwxrwxrwx 1 root root 13 2011-03-15 23:20:19.000000000 +0300 /lib/libe2p.so.2 -> libe2p.so.2.3 -rw-r--r-- 1 root root 22912 2008-10-13 07:33:35.000000000 +0400 /lib/libe2p.so.2.3 lrwxrwxrwx 1 root root 16 2011-03-15 23:20:19.000000000 +0300 /lib/libext2fs.so.2 -> libext2fs.so.2.4 -rw-r--r-- 1 root root 167900 2008-10-13 07:33:35.000000000 +0400 /lib/libext2fs.so.2.4 -rw-r--r-- 1 root root 49676 2008-12-31 15:50:19.000000000 +0300 /lib/libgcc_s.so.1 lrwxrwxrwx 1 root root 17 2011-03-15 23:20:19.000000000 +0300 /lib/libhistory.so.5 -> libhistory.so.5.2 -rw-r--r-- 1 root root 28032 2009-01-20 18:07:11.000000000 +0300 /lib/libhistory.so.5.2 -rw-r--r-- 1 root root 5744 2008-09-01 15:01:21.000000000 +0400 /lib/libkeyutils-1.2.so lrwxrwxrwx 1 root root 18 2011-03-15 23:20:19.000000000 +0300 /lib/libkeyutils.so.1 -> libkeyutils-1.2.so -rw-r--r-- 1 root root 149392 2011-01-24 03:09:53.000000000 +0300 /lib/libm-2.11.2.so lrwxrwxrwx 1 root root 14 2011-03-15 23:33:45.000000000 +0300 /lib/libm.so.6 -> libm-2.11.2.so -rw-r--r-- 1 root root 13804 2011-01-24 03:09:53.000000000 +0300 /lib/libmemusage.so lrwxrwxrwx 1 root root 17 2011-03-15 23:20:19.000000000 +0300 /lib/libncurses.so.5 -> libncurses.so.5.7 -rw-r--r-- 1 root root 202188 2008-12-14 23:27:28.000000000 +0300 /lib/libncurses.so.5.7 lrwxrwxrwx 1 root root 18 2011-03-15 23:20:19.000000000 +0300 /lib/libncursesw.so.5 -> libncursesw.so.5.7 -rw-r--r-- 1 root root 249836 2008-12-14 23:27:29.000000000 +0300 /lib/libncursesw.so.5.7 -rw-r--r-- 1 root root 79676 2011-01-24 03:09:53.000000000 +0300 /lib/libnsl-2.11.2.so lrwxrwxrwx 1 root root 16 2011-03-15 23:33:45.000000000 +0300 /lib/libnsl.so.1 -> libnsl-2.11.2.so -rw-r--r-- 1 root root 30496 2011-01-24 03:09:53.000000000 +0300 /lib/libnss_compat-2.11.2.so lrwxrwxrwx 1 root root 23 2011-03-15 23:33:45.000000000 +0300 /lib/libnss_compat.so.2 -> libnss_compat-2.11.2.so -rw-r--r-- 1 root root 22036 2011-01-24 03:09:53.000000000 +0300 /lib/libnss_dns-2.11.2.so lrwxrwxrwx 1 root root 20 2011-03-15 23:33:45.000000000 +0300 /lib/libnss_dns.so.2 -> libnss_dns-2.11.2.so -rw-r--r-- 1 root root 42572 2011-01-24 03:09:53.000000000 +0300 /lib/libnss_files-2.11.2.so lrwxrwxrwx 1 root root 22 2011-03-15 23:33:45.000000000 +0300 /lib/libnss_files.so.2 -> libnss_files-2.11.2.so -rw-r--r-- 1 root root 17956 2011-01-24 03:09:53.000000000 +0300 /lib/libnss_hesiod-2.11.2.so lrwxrwxrwx 1 root root 23 2011-03-15 23:33:45.000000000 +0300 /lib/libnss_hesiod.so.2 -> libnss_hesiod-2.11.2.so -rw-r--r-- 1 root root 38504 2011-01-24 03:09:53.000000000 +0300 /lib/libnss_nis-2.11.2.so lrwxrwxrwx 1 root root 20 2011-03-15 23:33:45.000000000 +0300 /lib/libnss_nis.so.2 -> libnss_nis-2.11.2.so -rw-r--r-- 1 root root 46664 2011-01-24 03:09:53.000000000 +0300 /lib/libnss_nisplus-2.11.2.so lrwxrwxrwx 1 root root 24 2011-03-15 23:33:45.000000000 +0300 /lib/libnss_nisplus.so.2 -> libnss_nisplus-2.11.2.so lrwxrwxrwx 1 root root 17 2011-03-15 23:20:19.000000000 +0300 /lib/libpam.so.0 -> libpam.so.0.81.12 -rw-r--r-- 1 root root 40440 2009-03-18 03:03:06.000000000 +0300 /lib/libpam.so.0.81.12 lrwxrwxrwx 1 root root 21 2011-03-15 23:20:19.000000000 +0300 /lib/libpam_misc.so.0 -> libpam_misc.so.0.81.3 -rw-r--r-- 1 root root 8256 2009-03-18 03:03:06.000000000 +0300 /lib/libpam_misc.so.0.81.3 lrwxrwxrwx 1 root root 17 2011-03-15 23:20:19.000000000 +0300 /lib/libpamc.so.0 -> libpamc.so.0.81.0 -rw-r--r-- 1 root root 9144 2009-03-18 03:03:06.000000000 +0300 /lib/libpamc.so.0.81.0 -rw-r--r-- 1 root root 5496 2011-01-24 03:09:53.000000000 +0300 /lib/libpcprofile.so lrwxrwxrwx 1 root root 16 2011-03-15 23:20:19.000000000 +0300 /lib/libpopt.so.0 -> libpopt.so.0.0.0 -rw-r--r-- 1 root root 33284 2008-06-25 10:27:20.000000000 +0400 /lib/libpopt.so.0.0.0 -rw-r--r-- 1 root root 56180 2009-01-12 00:49:28.000000000 +0300 /lib/libproc-3.2.7.so -rwxr-xr-x 1 root root 117105 2011-01-24 03:09:56.000000000 +0300 /lib/libpthread-2.11.2.so lrwxrwxrwx 1 root root 20 2011-03-15 23:33:45.000000000 +0300 /lib/libpthread.so.0 -> libpthread-2.11.2.so lrwxrwxrwx 1 root root 18 2011-03-15 23:20:19.000000000 +0300 /lib/libreadline.so.5 -> libreadline.so.5.2 -rw-r--r-- 1 root root 200548 2009-01-20 18:07:11.000000000 +0300 /lib/libreadline.so.5.2 -rw-r--r-- 1 root root 71432 2011-01-24 03:09:53.000000000 +0300 /lib/libresolv-2.11.2.so lrwxrwxrwx 1 root root 19 2011-03-15 23:33:45.000000000 +0300 /lib/libresolv.so.2 -> libresolv-2.11.2.so -rw-r--r-- 1 root root 30684 2011-01-24 03:09:53.000000000 +0300 /lib/librt-2.11.2.so lrwxrwxrwx 1 root root 15 2011-03-15 23:33:45.000000000 +0300 /lib/librt.so.1 -> librt-2.11.2.so -rw-r--r-- 1 root root 95964 2008-09-16 11:38:17.000000000 +0400 /lib/libselinux.so.1 -rw-r--r-- 1 root root 215260 2008-07-12 18:51:50.000000000 +0400 /lib/libsepol.so.1 lrwxrwxrwx 1 root root 17 2011-03-15 23:20:19.000000000 +0300 /lib/libslang.so.2 -> libslang.so.2.1.3 -rw-r--r-- 1 root root 683040 2008-03-17 21:50:56.000000000 +0300 /lib/libslang.so.2.1.3 lrwxrwxrwx 1 root root 12 2011-03-15 23:20:19.000000000 +0300 /lib/libss.so.2 -> libss.so.2.0 -rw-r--r-- 1 root root 18636 2008-10-13 07:33:34.000000000 +0400 /lib/libss.so.2.0 -rw-r--r-- 1 root root 26348 2011-01-24 03:09:53.000000000 +0300 /lib/libthread_db-1.0.so lrwxrwxrwx 1 root root 19 2011-03-15 23:33:45.000000000 +0300 /lib/libthread_db.so.1 -> libthread_db-1.0.so lrwxrwxrwx 1 root root 13 2011-03-15 23:20:19.000000000 +0300 /lib/libtic.so.5 -> libtic.so.5.7 -rw-r--r-- 1 root root 71736 2008-12-14 23:27:28.000000000 +0300 /lib/libtic.so.5.7 lrwxrwxrwx 1 root root 14 2011-03-15 23:20:19.000000000 +0300 /lib/libticw.so.5 -> libticw.so.5.7 -rw-r--r-- 1 root root 71736 2008-12-14 23:27:29.000000000 +0300 /lib/libticw.so.5.7 lrwxrwxrwx 1 root root 19 2011-03-15 23:20:19.000000000 +0300 /lib/libusb-0.1.so.4 -> libusb-0.1.so.4.4.4 -rw-r--r-- 1 root root 29264 2008-09-05 15:21:18.000000000 +0400 /lib/libusb-0.1.so.4.4.4 -rw-r--r-- 1 root root 9748 2011-01-24 03:09:53.000000000 +0300 /lib/libutil-2.11.2.so lrwxrwxrwx 1 root root 17 2011-03-15 23:33:45.000000000 +0300 /lib/libutil.so.1 -> libutil-2.11.2.so lrwxrwxrwx 1 root root 14 2011-03-15 23:20:19.000000000 +0300 /lib/libuuid.so.1 -> libuuid.so.1.2 -rw-r--r-- 1 root root 12912 2008-10-13 07:33:34.000000000 +0400 /lib/libuuid.so.1.2 lrwxrwxrwx 1 root root 16 2011-03-15 23:20:19.000000000 +0300 /lib/libwrap.so.0 -> libwrap.so.0.7.6 -rw-r--r-- 1 root root 31168 2008-07-26 03:45:03.000000000 +0400 /lib/libwrap.so.0.7.6 lrwxrwxrwx 1 root root 19 2011-03-15 23:20:19.000000000 +0300 /lib/libxtables.so.0 -> libxtables.so.0.0.0 -rw-r--r-- 1 root root 18380 2009-02-09 22:52:34.000000000 +0300 /lib/libxtables.so.0.0.0 $ mount 2>&1 Code: /dev/simfs on / type simfs (rw,noatime,usrquota,grpquota) proc on /proc type proc (rw,relatime) sysfs on /sys type sysfs (rw,relatime) tmpfs on /lib/init/rw type tmpfs (rw,nosuid,relatime) tmpfs on /dev/shm type tmpfs (rw,nosuid,nodev,relatime) devpts on /dev/pts type devpts (rw,nosuid,noexec,relatime) $ df -h 2>&1 Code: Filesystem Size Used Avail Use% Mounted on /dev/simfs 15G 1.5G 14G 10% / tmpfs 512M 0 512M 0% /lib/init/rw tmpfs 512M 0 512M 0% /dev/shm $ cat /etc/issue 2>&1 Code: Debian GNU/Linux 5.0 \n \l $ cat /etc/crontab 2>&1 Code: # /etc/crontab: system-wide crontab # Unlike any other crontab you don't have to run the `crontab\' # command to install the new version when you edit this file. # This file also has a username field, that none of the other crontabs do. SHELL=/bin/sh PATH=/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin # m h dom mon dow user command 41 3 * * * root test -e /usr/sbin/anacron || run-parts --report /etc/cron.daily 0 5 * * 7 root test -e /usr/sbin/anacron || run-parts --report /etc/cron.weekly 45 0 11 * * root test -e /usr/sbin/anacron || run-parts --report /etc/cron.monthly $ cat /proc/version 2>&1 Code: Linux version 2.6.18-238.5.1.el5.028stab085.2 (root@rhel5-build-x64) (gcc version 4.1.2 20080704 (Red Hat 4.1.2-46)) #1 SMP Thu Mar 10 15:41:04 MSK 2011 pwd 2>&1 Code: /var/www/targ/data/www/target/images $ ls -la /usr/bin/staprun 2>&1 Code: ls: cannot access /usr/bin/staprun: No such file or directory
uname -a Linux 2.6.32.24-vs2.3.0.36.29.6-ts #1 SMP Mon Oct 11 10:41:20 CEST 2010 x86_64 GNU/Linux ls -la /boot total 8 drwxr-xr-x 2 root root 4096 Dec 15 2004 . drwxr-xr-x 21 root root 4096 Feb 9 10:09 .. ls -la --full-time /lib/lib* -rw-r--r-- 1 root root 5448 2010-01-21 19:05:48.000000000 +0100 /lib/libBrokenLocale-2.3.6.so lrwxrwxrwx 1 root root 24 2010-01-22 12:08:59.000000000 +0100 /lib/libBrokenLocale.so.1 -> libBrokenLocale-2.3.6.so -rw-r--r-- 1 root root 13652 2010-01-21 19:05:48.000000000 +0100 /lib/libSegFault.so lrwxrwxrwx 1 root root 15 2008-04-02 12:22:35.000000000 +0200 /lib/libacl.so.1 -> libacl.so.1.1.0 -rw-r--r-- 1 root root 22156 2006-07-21 01:40:44.000000000 +0200 /lib/libacl.so.1.1.0 -rw-r--r-- 1 root root 9868 2010-01-21 19:05:48.000000000 +0100 /lib/libanl-2.3.6.so lrwxrwxrwx 1 root root 15 2010-01-22 12:08:59.000000000 +0100 /lib/libanl.so.1 -> libanl-2.3.6.so lrwxrwxrwx 1 root root 15 2008-04-02 12:22:35.000000000 +0200 /lib/libatm.so.1 -> libatm.so.1.0.0 -rw-r--r-- 1 root root 34768 2005-03-19 03:26:50.000000000 +0100 /lib/libatm.so.1.0.0 lrwxrwxrwx 1 root root 16 2008-04-02 12:22:35.000000000 +0200 /lib/libattr.so.1 -> libattr.so.1.1.0 -rw-r--r-- 1 root root 12840 2006-03-28 07:25:06.000000000 +0200 /lib/libattr.so.1.1.0 lrwxrwxrwx 1 root root 15 2008-04-02 12:22:35.000000000 +0200 /lib/libblkid.so.1 -> libblkid.so.1.0 -rw-r--r-- 1 root root 32248 2007-12-06 20:57:51.000000000 +0100 /lib/libblkid.so.1.0 lrwxrwxrwx 1 root root 15 2008-04-02 12:22:35.000000000 +0200 /lib/libbz2.so.1 -> libbz2.so.1.0.3 lrwxrwxrwx 1 root root 15 2008-04-02 12:22:35.000000000 +0200 /lib/libbz2.so.1.0 -> libbz2.so.1.0.3 -rw-r--r-- 1 root root 66200 2006-08-25 19:20:30.000000000 +0200 /lib/libbz2.so.1.0.3 -rwxr-xr-x 1 root root 1147548 2010-01-21 19:05:47.000000000 +0100 /lib/libc-2.3.6.so lrwxrwxrwx 1 root root 13 2010-01-22 12:08:59.000000000 +0100 /lib/libc.so.6 -> libc-2.3.6.so lrwxrwxrwx 1 root root 14 2008-04-02 12:22:35.000000000 +0200 /lib/libcap.so.1 -> libcap.so.1.10 -rw-r--r-- 1 root root 11024 2004-04-14 00:10:45.000000000 +0200 /lib/libcap.so.1.10 lrwxrwxrwx 1 root root 17 2008-04-02 12:22:35.000000000 +0200 /lib/libcfont.so.0 -> libcfont.so.0.0.0 -rw-r--r-- 1 root root 10644 2006-09-05 18:26:20.000000000 +0200 /lib/libcfont.so.0.0.0 -rw-r--r-- 1 root root 181684 2010-01-21 19:05:48.000000000 +0100 /lib/libcidn-2.3.6.so lrwxrwxrwx 1 root root 16 2010-01-22 12:08:59.000000000 +0100 /lib/libcidn.so.1 -> libcidn-2.3.6.so lrwxrwxrwx 1 root root 17 2008-04-02 12:22:35.000000000 +0200 /lib/libcom_err.so.2 -> libcom_err.so.2.1 -rw-r--r-- 1 root root 5820 2007-12-06 20:57:50.000000000 +0100 /lib/libcom_err.so.2.1 lrwxrwxrwx 1 root root 19 2008-04-02 12:22:35.000000000 +0200 /lib/libconsole.so.0 -> libconsole.so.0.0.0 -rw-r--r-- 1 root root 73540 2006-09-05 18:26:20.000000000 +0200 /lib/libconsole.so.0.0.0 -rw-r--r-- 1 root root 21868 2010-01-21 19:05:48.000000000 +0100 /lib/libcrypt-2.3.6.so lrwxrwxrwx 1 root root 17 2010-01-22 12:08:59.000000000 +0100 /lib/libcrypt.so.1 -> libcrypt-2.3.6.so lrwxrwxrwx 1 root root 19 2008-04-02 12:22:35.000000000 +0200 /lib/libctutils.so.0 -> libctutils.so.0.0.0 -rw-r--r-- 1 root root 18380 2006-09-05 18:26:20.000000000 +0200 /lib/libctutils.so.0.0.0 lrwxrwxrwx 1 root root 15 2008-04-02 12:22:35.000000000 +0200 /lib/libdb.so.2 -> libdb1-2.2.5.so -rw-r--r-- 1 root root 55052 2006-02-14 23:06:32.000000000 +0100 /lib/libdb1-2.2.5.so lrwxrwxrwx 1 root root 15 2008-04-02 12:22:35.000000000 +0200 /lib/libdb1.so.2 -> libdb1-2.2.5.so -rw-r--r-- 1 root root 65332 2006-08-09 00:39:02.000000000 +0200 /lib/libdevmapper.so.1.02 -rw-r--r-- 1 root root 9592 2010-01-21 19:05:47.000000000 +0100 /lib/libdl-2.3.6.so lrwxrwxrwx 1 root root 14 2010-01-22 12:08:59.000000000 +0100 /lib/libdl.so.2 -> libdl-2.3.6.so lrwxrwxrwx 1 root root 13 2008-04-02 12:22:35.000000000 +0200 /lib/libe2p.so.2 -> libe2p.so.2.3 -rw-r--r-- 1 root root 19132 2007-12-06 20:57:51.000000000 +0100 /lib/libe2p.so.2.3 lrwxrwxrwx 1 root root 16 2008-04-02 12:22:35.000000000 +0200 /lib/libext2fs.so.2 -> libext2fs.so.2.4 -rw-r--r-- 1 root root 102892 2007-12-06 20:57:51.000000000 +0100 /lib/libext2fs.so.2.4 -rw-r--r-- 1 root root 41096 2006-12-10 15:45:12.000000000 +0100 /lib/libgcc_s.so.1 lrwxrwxrwx 1 root root 17 2008-04-02 12:22:35.000000000 +0200 /lib/libhistory.so.5 -> libhistory.so.5.2 -rw-r--r-- 1 root root 26444 2006-12-19 16:51:33.000000000 +0100 /lib/libhistory.so.5.2 -rw-r--r-- 1 root root 141040 2010-01-21 19:05:47.000000000 +0100 /lib/libm-2.3.6.so lrwxrwxrwx 1 root root 13 2010-01-22 12:08:59.000000000 +0100 /lib/libm.so.6 -> libm-2.3.6.so -rw-r--r-- 1 root root 13644 2010-01-21 19:05:48.000000000 +0100 /lib/libmemusage.so lrwxrwxrwx 1 root root 17 2008-04-02 12:22:35.000000000 +0200 /lib/libncurses.so.5 -> libncurses.so.5.5 -rw-r--r-- 1 root root 263040 2006-10-19 13:02:31.000000000 +0200 /lib/libncurses.so.5.5 lrwxrwxrwx 1 root root 18 2008-04-02 12:22:35.000000000 +0200 /lib/libncursesw.so.5 -> libncursesw.so.5.5 -rw-r--r-- 1 root root 308288 2006-10-19 13:02:32.000000000 +0200 /lib/libncursesw.so.5.5 -rw-r--r-- 1 root root 72452 2010-01-21 19:05:48.000000000 +0100 /lib/libnsl-2.3.6.so lrwxrwxrwx 1 root root 15 2010-01-22 12:08:59.000000000 +0100 /lib/libnsl.so.1 -> libnsl-2.3.6.so -rw-r--r-- 1 root root 26332 2010-01-21 19:05:47.000000000 +0100 /lib/libnss_compat-2.3.6.so lrwxrwxrwx 1 root root 22 2010-01-22 12:08:59.000000000 +0100 /lib/libnss_compat.so.2 -> libnss_compat-2.3.6.so -rw-r--r-- 1 root root 17840 2010-01-21 19:05:47.000000000 +0100 /lib/libnss_dns-2.3.6.so lrwxrwxrwx 1 root root 19 2010-01-22 12:08:59.000000000 +0100 /lib/libnss_dns.so.2 -> libnss_dns-2.3.6.so -rw-r--r-- 1 root root 34276 2010-01-21 19:05:48.000000000 +0100 /lib/libnss_files-2.3.6.so lrwxrwxrwx 1 root root 21 2010-01-22 12:08:59.000000000 +0100 /lib/libnss_files.so.2 -> libnss_files-2.3.6.so -rw-r--r-- 1 root root 17856 2010-01-21 19:05:48.000000000 +0100 /lib/libnss_hesiod-2.3.6.so lrwxrwxrwx 1 root root 22 2010-01-22 12:08:59.000000000 +0100 /lib/libnss_hesiod.so.2 -> libnss_hesiod-2.3.6.so -rw-r--r-- 1 root root 34320 2010-01-21 19:05:48.000000000 +0100 /lib/libnss_nis-2.3.6.so lrwxrwxrwx 1 root root 19 2010-01-22 12:08:59.000000000 +0100 /lib/libnss_nis.so.2 -> libnss_nis-2.3.6.so -rw-r--r-- 1 root root 38340 2010-01-21 19:05:48.000000000 +0100 /lib/libnss_nisplus-2.3.6.so lrwxrwxrwx 1 root root 23 2010-01-22 12:08:59.000000000 +0100 /lib/libnss_nisplus.so.2 -> libnss_nisplus-2.3.6.so lrwxrwxrwx 1 root root 14 2009-04-10 12:33:07.000000000 +0200 /lib/libpam.so.0 -> libpam.so.0.79 -rw-r--r-- 1 root root 29700 2009-03-18 00:58:08.000000000 +0100 /lib/libpam.so.0.79 lrwxrwxrwx 1 root root 19 2009-04-10 12:33:07.000000000 +0200 /lib/libpam_misc.so.0 -> libpam_misc.so.0.79 -rw-r--r-- 1 root root 8264 2009-03-18 00:58:08.000000000 +0100 /lib/libpam_misc.so.0.79 lrwxrwxrwx 1 root root 15 2009-04-10 12:33:07.000000000 +0200 /lib/libpamc.so.0 -> libpamc.so.0.79 -rw-r--r-- 1 root root 9660 2009-03-18 00:58:08.000000000 +0100 /lib/libpamc.so.0.79 -rw-r--r-- 1 root root 5400 2010-01-21 19:05:48.000000000 +0100 /lib/libpcprofile.so lrwxrwxrwx 1 root root 16 2008-04-02 12:22:35.000000000 +0200 /lib/libpopt.so.0 -> libpopt.so.0.0.0 -rw-r--r-- 1 root root 26444 2006-08-08 02:47:49.000000000 +0200 /lib/libpopt.so.0.0.0 -rw-r--r-- 1 root root 48256 2006-09-13 03:54:01.000000000 +0200 /lib/libproc-3.2.7.so -rw-r--r-- 1 root root 81701 2010-01-21 19:05:51.000000000 +0100 /lib/libpthread-0.10.so lrwxrwxrwx 1 root root 18 2010-01-22 12:08:59.000000000 +0100 /lib/libpthread.so.0 -> libpthread-0.10.so lrwxrwxrwx 1 root root 18 2008-04-02 12:22:35.000000000 +0200 /lib/libreadline.so.5 -> libreadline.so.5.2 -rw-r--r-- 1 root root 188760 2006-12-19 16:51:33.000000000 +0100 /lib/libreadline.so.5.2 -rw-r--r-- 1 root root 59172 2010-01-21 19:05:48.000000000 +0100 /lib/libresolv-2.3.6.so lrwxrwxrwx 1 root root 18 2010-01-22 12:08:59.000000000 +0100 /lib/libresolv.so.2 -> libresolv-2.3.6.so -rw-r--r-- 1 root root 30616 2010-01-21 19:05:48.000000000 +0100 /lib/librt-2.3.6.so lrwxrwxrwx 1 root root 14 2010-01-22 12:08:59.000000000 +0100 /lib/librt.so.1 -> librt-2.3.6.so -rw-r--r-- 1 root root 79368 2006-11-05 20:27:33.000000000 +0100 /lib/libselinux.so.1 -rw-r--r-- 1 root root 219824 2006-11-15 09:59:54.000000000 +0100 /lib/libsepol.so.1 lrwxrwxrwx 1 root root 17 2008-04-02 12:22:35.000000000 +0200 /lib/libslang.so.1 -> libslang.so.1.4.9 lrwxrwxrwx 1 root root 22 2008-04-02 12:22:35.000000000 +0200 /lib/libslang.so.1-UTF8 -> libslang.so.1-UTF8.4.9 -rw-r--r-- 1 root root 370756 2006-09-20 17:39:13.000000000 +0200 /lib/libslang.so.1-UTF8.4.9 -rw-r--r-- 1 root root 370020 2006-09-20 17:39:13.000000000 +0200 /lib/libslang.so.1.4.9 lrwxrwxrwx 1 root root 17 2008-04-02 12:22:35.000000000 +0200 /lib/libslang.so.2 -> libslang.so.2.0.6 -rw-r--r-- 1 root root 644012 2006-10-18 21:50:19.000000000 +0200 /lib/libslang.so.2.0.6 lrwxrwxrwx 1 root root 12 2008-04-02 12:22:35.000000000 +0200 /lib/libss.so.2 -> libss.so.2.0 -rw-r--r-- 1 root root 18520 2007-12-06 20:57:50.000000000 +0100 /lib/libss.so.2.0 lrwxrwxrwx 1 root root 17 2008-04-02 12:22:35.000000000 +0200 /lib/libsysfs.so.2 -> libsysfs.so.2.0.1 -rw-r--r-- 1 root root 37496 2006-10-29 18:23:07.000000000 +0100 /lib/libsysfs.so.2.0.1 -rw-r--r-- 1 root root 17860 2010-01-21 19:05:48.000000000 +0100 /lib/libthread_db-1.0.so lrwxrwxrwx 1 root root 19 2010-01-22 12:08:59.000000000 +0100 /lib/libthread_db.so.1 -> libthread_db-1.0.so lrwxrwxrwx 1 root root 19 2008-04-02 12:22:35.000000000 +0200 /lib/libusb-0.1.so.4 -> libusb-0.1.so.4.4.4 -rw-r--r-- 1 root root 28740 2007-02-13 02:05:37.000000000 +0100 /lib/libusb-0.1.so.4.4.4 -rw-r--r-- 1 root root 9656 2010-01-21 19:05:48.000000000 +0100 /lib/libutil-2.3.6.so lrwxrwxrwx 1 root root 16 2010-01-22 12:08:59.000000000 +0100 /lib/libutil.so.1 -> libutil-2.3.6.so lrwxrwxrwx 1 root root 14 2008-04-02 12:22:35.000000000 +0200 /lib/libuuid.so.1 -> libuuid.so.1.2 -rw-r--r-- 1 root root 9128 2007-12-06 20:57:50.000000000 +0100 /lib/libuuid.so.1.2 lrwxrwxrwx 1 root root 16 2008-04-02 12:22:35.000000000 +0200 /lib/libwrap.so.0 -> libwrap.so.0.7.6 -rw-r--r-- 1 root root 27596 2007-02-25 21:06:02.000000000 +0100 /lib/libwrap.so.0.7.6 mount /dev/hdv1 on / type ufs (rw,usrquota) none on /proc type proc (defaults) none on /tmp type tmpfs (size=2048m,mode=1777) none on /dev/pts type devpts (gid=5,mode=620) df -h Filesystem Size Used Avail Use% Mounted on /dev/hdv1 493G 181G 287G 39% / none 5.0G 23M 5.0G 1% /tmp cat /etc/issue Debian GNU/Linux 4.0 \n \l cat /etc/crontab # /etc/crontab: system-wide crontab # Unlike any other crontab you don't have to run the `crontab' # command to install the new version when you edit this file # and files in /etc/cron.d. These files also have username fields, # that none of the other crontabs do. SHELL=/bin/sh PATH=/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin # m h dom mon dow user command 17 * * * * root cd / && run-parts --report /etc/cron.hourly 25 1 * * * root test -x /usr/sbin/anacron || ( cd / && run-parts --report /etc/cron.daily ) 47 1 * * 7 root test -x /usr/sbin/anacron || ( cd / && run-parts --report /etc/cron.weekly ) 52 1 1 * * root test -x /usr/sbin/anacron || ( cd / && run-parts --report /etc/cron.monthly ) # cat /proc/version Linux version 2.6.32.24-vs2.3.0.36.29.6-ts (root@hostN) (gcc version 4.3.2 (Debian 4.3.2-1.1) ) #1 SMP Mon Oct 11 10:41:20 CEST 2010 cat /proc/sys/vm/mmap_min_addr 4096 ls -la /usr/bin/staprun ls: /usr/bin/staprun: No such file or directory Спасибо.
Добрый день, помогите. Пропобовал каким-то турецким паком пробить, но че-то он не смог. Вообще реально ли это? $ uname -a $ ls -la /boot $ ls -la --full-time /lib/lib* $ mount $ df -h $ cat /etc/issue $ cat /etc/crontab $ cat /proc/version $ cat /proc/sys/vm/mmap_min_addr $ pwd $ ls -la /usr/bin/staprun
ого, оперативно ты ну получается в кроновские файлы свой код дописать? а потом система сама их выполнит с правами рута ?
Да, выполняеться скрипт /path/snap.php, а результат его работы пишется в /tmp/snap.log. Если есть права на write данного файла, то дело в шляпе. Если нет, то смотри на права директории, в которой находиться выполняемый скрипт. Если на директорию есть права, то можно данный скрипт просто замувить(перенести, mv) на другое имя, а с таким именем залить свой скрипт, который сделает грязные дела.
почитал, этот вроде каждые две минуты работает открыл daa.php вставил туда: по пути ничего не нашел до этого пробовал поменять права на файлы, через ну и пробовал с chown -R, с chgrp а как проверить крон ваще работает ?