|
|
2009-12-10
, 21:09
|
|
Posts: 82 |
Thanked: 24 times |
Joined on Nov 2009
|
#52
|
| The Following User Says Thank You to 11/(14-17)/09 For This Useful Post: | ||
|
|
2009-12-10
, 22:11
|
|
Posts: 374 |
Thanked: 75 times |
Joined on Nov 2009
@ Hungary
|
#53
|
| The Following User Says Thank You to taril For This Useful Post: | ||
|
|
2009-12-21
, 05:14
|
|
Posts: 4,556 |
Thanked: 1,624 times |
Joined on Dec 2007
|
#54
|
$ /opt/sbin/proftpd vendetta-n900 - PRIVS_ROOT: unable to seteuid(): Operation not permitted vendetta-n900 - PRIVS_ROOT: unable to setegid(): Operation not permitted vendetta-n900 - PRIVS_RELINQUISH: unable to seteuid(PR_ROOT_UID): Operation not permitted vendetta-n900 - PRIVS_RELINQUISH: unable to setegid(session.gid): Operation not permitted vendetta-n900 - PRIVS_RELINQUISH: unable to seteuid(session.uid): Operation not permitted vendetta-n900 - mod_delay/0.6: error opening DelayTable '/opt/var/proftpd/proftpd.delay': No such file or directory vendetta-n900 - unable to set daemon groups: Operation not permitted vendetta-n900 - unable to set uid to 65534, current uid: 29999
|
|
2010-01-02
, 04:00
|
|
Posts: 729 |
Thanked: 155 times |
Joined on Dec 2009
|
#55
|
#!/bin/sh
# ProFTPD files
FTPD_BIN=/opt/sbin/proftpd
FTPD_CONF=/opt/etc/proftpd.conf
PIDFILE=/home/opt/var/proftpd/proftpd.pid
# If PIDFILE exists, does it point to a proftpd process?
if [ -f $PIDFILE ]; then
pid=`cat $PIDFILE`
fi
if [ ! -x $FTPD_BIN ]; then
echo "$0: $FTPD_BIN: cannot execute"
exit 1
fi
case $1 in
start)
if [ -n "$pid" ]; then
echo "$0: proftpd [PID $pid] already running"
exit
fi
if [ -r $FTPD_CONF ]; then
echo "Starting proftpd..."
$FTPD_BIN -c $FTPD_CONF
ps -ef | pgrep -x proftpd | awk 'NR>1{exit};1' > $PIDFILE
else
echo "$0: cannot start proftpd -- $FTPD_CONF missing"
fi
;;
stop)
if [ -n "$pid" ]; then
echo "Stopping proftpd..."
rm $PIDFILE
kill -TERM $pid
else
echo "$0: proftpd not running"
exit 1
fi
;;
restart)
if [ -n "$pid" ]; then
echo "Rehashing proftpd configuration"
kill -HUP $pid
else
echo "$0: proftpd not running"
exit 1
fi
;;
*)
echo "usage: $0 {start|stop|restart}"
exit 1
;;
esac
exit 0
#!/bin/sh # proftpd-toggle if pgrep -x proftpd > /dev/null; then sudo /etc/init.d/proftpd stop > /dev/null else echo Started sudo /etc/init.d/proftpd start fi exit 0
| The Following User Says Thank You to DaSilva For This Useful Post: | ||
|
|
2010-01-20
, 12:18
|
|
Posts: 515 |
Thanked: 193 times |
Joined on Oct 2009
|
#56
|
|
|
2010-01-23
, 21:26
|
|
Posts: 200 |
Thanked: 300 times |
Joined on Nov 2009
@ The Netherlands
|
#57
|
|
|
2010-01-24
, 00:18
|
|
Posts: 729 |
Thanked: 155 times |
Joined on Dec 2009
|
#58
|

| The Following User Says Thank You to DaSilva For This Useful Post: | ||
|
|
2010-03-27
, 20:48
|
|
Posts: 8 |
Thanked: 0 times |
Joined on Mar 2010
|
#59
|
|
|
2010-04-05
, 14:41
|
|
Posts: 8 |
Thanked: 0 times |
Joined on Mar 2010
|
#60
|
Step by step, uhhh baby....