Go Back   HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials > Linux Forums > HOWTO-Related Questions

Do you like HowtoForge? Please consider supporting us by becoming a subscriber.
Reply
 
Thread Tools Display Modes
  #1  
Old 2nd September 2009, 14:17
mischlig mischlig is offline
Junior Member
 
Join Date: Sep 2009
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Default http://www.howtoforge.com/perfect-server-debian-lenny-ispconfig3

Hello, i got some trouble with with Tutorial!

Section 12: Install PureFTPd And Quota


Following Errormessage occurs:

Code:
/etc/init.d/openbsd-inetd restart

-bash: /etc/init.d/openbsd-inetd: No such file or directory
Code:
quotacheck -avugm

quotacheck: Your kernel probably supports journaled quota but you are not using it. Consider switching to journaled quota to avoid running quotacheck after an unclean shutdown.
quotacheck: Quota for users is enabled on mountpoint / so quotacheck might damage the file.
Please turn quotas off or use -f to force checking.
Code:
/etc/courier# quotaon -avug

quotaon: using //aquota.group on /dev/sda2 [/]: Device or resource busy
quotaon: using //aquota.user on /dev/sda2 [/]: Device or resource busy

All other things working fine! But i got no clue with inetd


---
Debian 5.0.2

Last edited by mischlig; 2nd September 2009 at 14:28.
Reply With Quote
Sponsored Links
  #2  
Old 2nd September 2009, 16:41
matey matey is offline
Member
 
Join Date: Feb 2009
Posts: 93
Thanks: 13
Thanked 3 Times in 3 Posts
Default

That is strange!
Have you ls the /etc/init.d/ to see if it is there?

May be something was not installed? or missed a step in the instructions?
Here's the script , it is a short one but I dont think this al;one will help probably needs to be Installed!:

#!/bin/sh -e
### BEGIN INIT INFO
# Provides: openbsd-inetd
# Required-Start: $local_fs $remote_fs
# Required-Stop: $local_fs $remote_fs
# Should-Start: $syslog
# Should-Stop: $syslog
# Default-Start: 2 3 4 5
# Default-Stop: 0 1 6
# Short-Description: Start or stop the inetd daemon.
### END INIT INFO

DAEMON=/usr/sbin/inetd

[ -x $DAEMON -a -e /etc/inetd.conf ] || exit 0

[ -e /etc/default/openbsd-inetd ] && . /etc/default/openbsd-inetd

. /lib/lsb/init-functions

checkportmap () {
if ! grep -v -s "^ *#" /etc/inetd.conf | grep -q -s 'rpc/'; then
return 0
fi

if [ ! -x /usr/bin/rpcinfo ]; then
log_action_msg "WARNING: rpcinfo not available - RPC services may be unavailable!"
log_action_msg " (Commenting out the rpc services in inetd.conf will"
log_action_msg " disable this message)"
elif ! /usr/bin/rpcinfo -u localhost portmapper >/dev/null 2>&1; then
log_action_msg "WARNING: portmapper inactive - RPC services unavailable!"
log_action_msg " (Commenting out the rpc services in inetd.conf will"
log_action_msg " disable this message)"
fi
}

checknoservices () {
if ! grep -q "^[[:alnum:]/]" /etc/inetd.conf; then
log_action_msg "Not starting internet superserver: no services enabled"
exit 0
fi
}

case "$1" in
start)
checknoservices
checkportmap
log_daemon_msg "Starting internet superserver" "inetd"
start-stop-daemon --start --quiet --pidfile /var/run/inetd.pid \
--exec $DAEMON -- $OPTIONS
log_end_msg 0
;;
stop)
log_daemon_msg "Stopping internet superserver" "inetd"
start-stop-daemon --stop --quiet --pidfile /var/run/inetd.pid \
--oknodo
log_end_msg 0
;;
reload|force-reload)
log_daemon_msg "Reloading internet superserver" "inetd"
start-stop-daemon --stop --quiet --pidfile /var/run/inetd.pid \
--oknodo --signal 1
log_end_msg 0
;;
restart)
checkportmap
log_daemon_msg "Restarting internet superserver" "inetd"
start-stop-daemon --stop --quiet --pidfile /var/run/inetd.pid \
--oknodo
checknoservices
sleep 1
start-stop-daemon --start --quiet --pidfile /var/run/inetd.pid \
--exec $DAEMON -- $OPTIONS
log_end_msg 0
;;
*)
echo "Usage: /etc/init.d/openbsd-inetd {start|stop|reload|force-reload|restart}"
exit 2
;;
esac

exit 0
Reply With Quote
  #3  
Old 3rd September 2009, 16:16
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lneburg, Germany
Posts: 41,711
Thanks: 1,899
Thanked 2,702 Times in 2,545 Posts
 
Default

Please run
Code:
aptitude install openbsd-inetd
__________________
Falko
--
Download the ISPConfig 3 Manual! | Check out the ISPConfig 3 Billing Module!

FB: http://www.facebook.com/howtoforge

nginx-Webhosting: Timme Hosting | Follow me on:
Reply With Quote
Reply

Bookmarks

Thread Tools
Display Modes

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 On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
PXE server on Debian Lenny psykosen HOWTO-Related Questions 3 17th July 2009 19:55
Debian Lenny + VMware Server 2 Wizard of Wiring Suggest HOWTO 11 23rd February 2009 03:33
The Perfect Server - Debian Lenny (Debian 5.0) [ISPConfig 2] - Page 3 edge HOWTO-Related Questions 4 19th February 2009 20:24
Can't start apache Musty Server Operation 12 9th March 2008 13:58
mail delivered in mbox patfee Installation/Configuration 8 11th December 2007 13:58


All times are GMT +2. The time now is 09:39.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.