View previous topic :: View next topic |
Author |
Message |
mrfree Veteran
![Veteran Veteran](/images/ranks/rank_rect_5_vet.gif)
![](images/avatars/gallery/Monkey Island/Monkey_Island_-_Guybrush.gif)
Joined: 15 Mar 2003 Posts: 1303 Location: Europe.Italy.Sulmona
|
Posted: Sat Aug 28, 2004 1:56 pm Post subject: /sbin/rc: line 83: to: command not found [RISOLTO] |
|
|
Code: | /sbin/rc: line 83: to: command not found |
Questo è il messaggio di errore che viene visualizzato quando avvio vsftpd Code: | /etc/init.d/vsftpd start | oppure quando viene avviato al boot
Il server FTP funziona benissimo ma questo messaggio di errore mi infastidisce e non poco
EDIT: Questo è lo script di avvio incluso nell'ebuild di vsftpd
Code: | #!/sbin/runscript
# Copyright 2003-2004 Gentoo Foundation
# Distributed under the terms of the GNU General Public License, v2
# $Header: /var/cvsroot/gentoo-x86/net-ftp/vsftpd/files/vsftpd.init.d,v 1.3 200$
depend() {
need net
use dns logger
}
checkconfig() {
if [ ! -e ${VSFTPD_CONF} ] ; then
eerror "Please setup ${VSFTPD_CONF} before starting vsftpd"
eerror "There are sample configurations in /usr/share/doc/vsftp$
return 1
else
source ${VSFTPD_CONF}
if [ "${background}" != "YES" ] || [ "${listen}" != "YES" ] ; t$
eerror "${VSFTPD_CONF} must contain background=YES and $
eerror "in order to start vsftpd from /etc/init.d/vsftp$
return 2
fi
fi
}
start() {
checkconfig || return 1
ebegin "Starting vsftpd"
start-stop-daemon --start --quiet \
--exec /usr/sbin/vsftpd ${VSFTPD_CONF}
eend $?
}
stop() {
ebegin "Stopping vsftpd"
start-stop-daemon --stop --quiet --exec /usr/sbin/vsftpd
eend $?
} |
_________________ Please EU, pimp my country!
ICE: /etc/init.d/iptables panic
Last edited by mrfree on Sat Aug 28, 2004 5:45 pm; edited 1 time in total |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
motaboy Retired Dev
![Retired Dev Retired Dev](/images/ranks/rank-retired.gif)
![](images/avatars/146642313240262a7185133.png)
Joined: 15 Dec 2003 Posts: 1483
|
Posted: Sat Aug 28, 2004 2:27 pm Post subject: |
|
|
Secondo ma hai /sbin/rc rovinato. Prova a guardare cosa c'é scritto alla linea 83. (per curiositá personale postalo).
Dopo potresti provare a riemergere baselayout. _________________ ... |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
mrfree Veteran
![Veteran Veteran](/images/ranks/rank_rect_5_vet.gif)
![](images/avatars/gallery/Monkey Island/Monkey_Island_-_Guybrush.gif)
Joined: 15 Mar 2003 Posts: 1303 Location: Europe.Italy.Sulmona
|
Posted: Sat Aug 28, 2004 5:40 pm Post subject: |
|
|
è li il bello, questa è la riga 83 di /sbin/rc Code: | # Not provided by sysfs but needed |
Mentre in /sbin/runscript.sh c'è: Code: | restart() {
svc_restart || return $?
} |
Infatti ho notato che nel boot segnala /sbin/rc mentre se avvio a mano il servizio mi segnala l'errore in /sbin/runscript.sh
La cosa che mi sembra strana è che questo problema si manifesta solo con lo script di vsftpd
Comunque riemergendo basalayout la cosa non cambia... _________________ Please EU, pimp my country!
ICE: /etc/init.d/iptables panic |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
mrfree Veteran
![Veteran Veteran](/images/ranks/rank_rect_5_vet.gif)
![](images/avatars/gallery/Monkey Island/Monkey_Island_-_Guybrush.gif)
Joined: 15 Mar 2003 Posts: 1303 Location: Europe.Italy.Sulmona
|
Posted: Sat Aug 28, 2004 5:45 pm Post subject: |
|
|
<imprecazioni_varie>&%&%?!?!</imprecazioni_varie>
E' un bug nell'init script come immaginavo
https://bugs.gentoo.org/show_bug.cgi?id=51908
Applicando la patch proposta tutto funziona a dovere... _________________ Please EU, pimp my country!
ICE: /etc/init.d/iptables panic |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
|