Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question?
If it is not in the man pages or the how-to's this is the place!
Notices
Welcome to
LinuxQuestions.org , a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free.
Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please
contact us . If you need to reset your password,
click here .
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a
virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month.
Click here for more info.
01-06-2006, 08:53 AM
#1
LQ Newbie
Registered: Feb 2005
Location: Holland
Distribution: Suse 10.0
Posts: 28
Rep:
service: command not found
I need help here
Im trying to get my ftp server working (vsftpd) but when I type:
service vsftpd start
my terminal says:
-bash: service: command not found
I have tried this as 'su' and 'su -'. both didn't work.
Im using SUSE 10.0, can somebody help me?
Last edited by aap; 01-06-2006 at 08:55 AM .
01-06-2006, 09:09 AM
#2
LQ Veteran
Registered: Nov 2005
Location: Annapolis, MD
Distribution: Mint
Posts: 17,809
where is the "service" command? Is it in a directory listed in $PATH?
If not, you either need to change PATH, or you can access the command by typing:
/dir/dir/..../service as an absolute pathname---or as the relative pathname from where you are.
example: suppose service is in /usr/local/ftp
you would run it by typing /usr/local/ftp/service
OR
cd /usr/local/ftp
./service
"./" means run command here (ie dont check PATH)
01-06-2006, 09:16 AM
#3
LQ Guru
Registered: Nov 2003
Location: N. E. England
Distribution: Fedora, CentOS, Debian
Posts: 16,298
Rep:
Suse does not use the "service" command. The only rpm based distros that use that command are Redhat/Fedora derivatives and Mandriva. Try doing,
Code:
#/etc/init.d/vsftpd start
01-06-2006, 09:45 AM
#4
Senior Member
Registered: Dec 2005
Location: Campinas/SP - Brazil
Distribution: SuSE, RHEL, Fedora, Ubuntu
Posts: 1,499
Rep:
In the SuSEs, there is a shortcut (a symbolic link to) every program at /etc/init.d. For example, for /etc/init.d/vsftpd there is a command rcvsftpd.
So, you type "rcvsftpd start".
regards,
01-06-2006, 10:08 AM
#5
LQ Newbie
Registered: Feb 2005
Location: Holland
Distribution: Suse 10.0
Posts: 28
Original Poster
Rep:
Heh, thanks for solving my mysql problem
But I still have problems with VSFTPD...
there is no file that is called VSFTPD or looks like it...
I installed it by a .rpm from de SUSE CD.
What now?
01-06-2006, 01:47 PM
#6
Senior Member
Registered: Sep 2002
Location: Nashville, TN
Posts: 1,552
Rep:
Look in your /etc/init.d directory for any FTP startup scripts.
01-06-2006, 04:29 PM
#7
LQ Newbie
Registered: Feb 2005
Location: Holland
Distribution: Suse 10.0
Posts: 28
Original Poster
Rep:
This is what is in that folder... I don't see any FTP script...
Code:
-rwxr--r-- 1 root root 5611 2005-09-09 17:59 acpid
-rwxr-xr-x 1 root root 4882 2005-09-12 23:09 alsasound
-rwxr--r-- 1 root root 8454 2005-09-09 20:39 apache2
-rwxr-xr-x 1 root root 3689 2005-09-09 20:46 atd
-rwxr--r-- 1 root root 8992 2005-09-09 20:52 autofs
-rwxr-xr-x 1 root root 2961 2005-04-18 11:47 autoyast
-rwxr-xr-x 1 root root 6639 2005-05-19 17:16 boot
-rwxr-xr-x 1 root root 2823 2005-08-15 17:38 boot.cleanup
-rwxr-xr-x 1 root root 2634 2005-01-20 14:01 boot.clock
-rwxr-xr-x 1 root root 3690 2005-09-06 17:51 boot.coldplug
-rwxr-xr-x 1 root root 6560 2005-08-16 12:41 boot.crypto
drwxr-xr-x 2 root root 1808 2005-12-19 12:23 boot.d
-rwxr--r-- 1 root root 861 2005-09-09 18:06 boot.device-mapper
-rwxr-xr-x 1 root root 2638 2005-08-18 13:17 boot.idedma
-rwxr-xr-x 1 root root 3346 2004-09-08 16:57 boot.ipconfig
-rwxr--r-- 1 root root 758 2005-09-09 18:16 boot.isapnp
-rwxr-xr-x 1 root root 1558 2005-08-18 13:17 boot.klog
-rwxr-xr-x 1 root root 1556 2005-01-20 14:44 boot.ldconfig
-rwxr-xr-x 1 root root 942 2005-02-28 16:31 boot.loadmodules
-rwxr--r-- 1 root root 395 2005-12-19 11:42 boot.local
-rwxr-xr-x 1 root root 6575 2005-09-06 18:16 boot.localfs
-rwxr-xr-x 1 root root 1401 2005-01-14 15:40 boot.localnet
-rwxr--r-- 1 root root 1973 2005-09-09 18:29 boot.md
-rwxr-xr-x 1 root root 790 2005-09-09 18:14 boot.preload
-rwxr-xr-x 1 root root 785 2005-09-09 18:14 boot.preload_early
-rwxr-xr-x 1 root root 1497 2005-08-18 12:02 boot.proc
-rwxr-xr-x 1 root root 954 2005-09-09 18:37 boot.restore_permissions
-rwxr-xr-x 1 root root 5458 2005-06-17 14:04 boot.rootfsck
-rwxr-xr-x 1 root root 1973 2004-09-20 10:52 boot.sched
-rwxr-xr-x 1 root root 1458 2005-09-13 03:12 boot.scpm
-rwxr-xr-x 1 root root 1267 2005-09-13 01:59 boot.scsidev
-rwxr-xr-x 1 root root 1233 2005-05-18 16:29 boot.shm
-rwxr-xr-x 1 root root 2586 2005-09-09 11:59 boot.subdomain
-rwxr-xr-x 1 root root 2039 2004-09-23 16:01 boot.swap
-rwxr-xr-x 1 root root 1047 2005-09-09 18:06 boot.sysctl
-rwxr-xr-x 1 root root 3251 2005-09-06 17:51 boot.udev
-rwxr--r-- 1 root root 4255 2005-09-09 18:30 cron
-rwxr-xr-x 1 root root 4734 2005-09-12 23:08 cups
-rwxr-xr-x 1 root root 3079 2005-09-12 23:08 cupsrenice
-rwxr-xr-x 1 root root 2855 2005-09-13 03:28 dbus
-rwxr-xr-x 1 root root 4952 2005-09-09 18:42 dvb
-rwxr-xr-x 1 root root 738 2005-09-09 18:06 earlykbd
-rwxr--r-- 1 root root 2625 2005-09-14 13:20 earlykdm
-rwxr-xr-- 1 root root 1476 2005-09-09 18:02 earlysyslog
-rwxr-xr-x 1 root root 6630 2005-09-12 23:21 esound
-rwxr--r-- 1 root root 1807 2005-09-09 17:59 fam
-rwxr-xr-x 1 root root 5402 2005-09-09 17:58 fbset
-rwxr-xr-x 1 root root 4215 2005-09-09 17:59 gpm
-rwxr-xr-x 1 root root 3444 2005-09-09 20:41 gssd
-rwxr-xr-x 1 root root 3923 2005-09-13 03:47 haldaemon
-rwxr-xr-x 1 root root 3623 2005-01-26 16:22 halt
-rwxr--r-- 1 root root 360 2005-12-19 11:42 halt.local
-rwxr-xr-x 1 root root 3341 2005-09-13 06:23 hplip
-rwxr-xr-x 1 root root 3787 2005-09-09 20:41 idmapd
drwxr-xr-x 2 root root 72 2006-01-04 17:49 init.d
-rwxr-xr-x 1 root root 5708 2005-08-01 14:25 isdn
-rwxr-xr-x 1 root root 2865 2005-09-12 23:09 joystick
-rwxr-xr-x 1 root root 12761 2005-09-09 18:06 kbd
-rwxr--r-- 1 root root 1987 2005-09-14 13:20 ksysguardd
-rwxr-xr-x 1 root root 7005 2005-09-13 01:44 lirc
-rwxr-xr-x 1 root root 2902 2005-09-13 03:33 lm_sensors
-rw-r--r-- 1 root root 482 2004-08-25 16:20 Makefile
-rwxr-xr-x 1 root root 3865 2005-09-09 18:04 mdadmd
-rwxr-xr-x 1 root root 1465 2005-09-09 17:59 mdnsd
-rwxr-xr-x 1 root root 835 2005-09-09 18:08 microcode
-rwxr-xr-x 1 root root 7422 2005-09-09 19:24 mysql
-rwxr-xr-- 1 root root 9283 2005-09-09 20:46 named
-rwxr-xr-x 1 root root 3861 2005-09-13 04:42 ncpd
-rwxr-xr-x 1 root root 19922 2005-09-09 18:15 network
-rwxr-xr-x 1 root root 2852 2005-01-20 14:44 nfs
-rwx------ 1 root root 1101 2005-09-13 15:03 nfsboot
-rwxr--r-- 1 root root 4446 2005-09-09 20:41 nfsserver
-rwxr-xr-- 1 root root 2338 2005-07-20 12:43 nmb
-rwxr-xr-x 1 root root 3199 2005-09-09 16:39 nscd
-rwxr-xr-x 1 root root 5884 2005-09-09 19:17 ntp
-r-xr-xr-x 1 root root 1904 2005-09-13 03:56 openct
-r-xr-xr-x 1 root root 1356 2005-09-13 02:31 pcscd
-rwxr-xr-x 1 root root 3963 2005-09-13 04:42 plpnfsd
-rwxr-xr-x 1 root root 3854 2005-09-13 04:42 plpprintd
-rwxr--r-- 1 root root 3607 2005-09-09 18:08 portmap
-rwxr-xr-x 1 root root 5282 2005-09-09 20:33 postfix
-rwxr-xr-x 1 root root 2390 2003-09-01 13:11 powerfail
-rwxr--r-- 1 root root 9343 2005-09-14 12:01 powersaved
-rwxr-xr-x 1 root root 1730 2003-09-01 13:11 random
-rwxr--r-- 1 root root 1293 2005-09-13 15:03 raw
-rwxr-xr-x 1 root root 9408 2005-05-18 12:40 rc
drwxr-xr-x 2 root root 72 2006-01-06 15:34 rc0.d
drwxr-xr-x 2 root root 312 2005-12-19 11:44 rc1.d
drwxr-xr-x 2 root root 984 2006-01-06 15:34 rc2.d
drwxr-xr-x 2 root root 1768 2006-01-06 18:47 rc3.d
drwxr-xr-x 2 root root 128 2005-12-19 12:23 rc4.d
drwxr-xr-x 2 root root 2072 2006-01-06 18:47 rc5.d
drwxr-xr-x 2 root root 80 2005-12-19 11:42 rc6.d
drwxr-xr-x 2 root root 200 2005-12-19 11:44 rcS.d
-rw-r--r-- 1 root root 7827 2005-09-09 18:10 README
lrwxrwxrwx 1 root root 4 2005-12-19 11:42 reboot -> halt
-rwxr-xr-x 1 root root 3808 2005-09-09 18:27 resmgr
-rwxr-xr-x 1 root root 3697 2005-09-09 20:29 rpasswdd
-rwxr-xr-x 1 root root 2486 2005-09-09 17:10 rpmconfigcheck
-rwxr-xr-x 1 root root 3756 2005-09-13 02:40 rsyncd
-rwxr-xr-x 1 root root 2606 2005-11-29 21:39 running-kernel
-rwxr-xr-x 1 root root 5362 2005-09-13 04:23 sane-dev
-rwxr-xr-x 1 root root 4003 2005-09-09 20:33 saslauthd
-rwxr-xr-x 1 root root 4984 2005-08-02 15:33 sesam
-rwxr-xr-x 1 root root 9575 2005-09-09 18:04 setserial
-rwxr-xr-x 1 root root 1180 2003-09-01 13:11 single
-rwxr-xr-x 1 root root 10522 2005-08-23 06:56 skeleton
-rwxr-xr-x 1 root root 1411 2005-09-09 19:11 slpd
-rwxr-xr-- 1 root root 2317 2005-07-20 12:43 smb
-rwxr-xr-- 1 root root 5163 2005-07-20 12:43 smbfs
-rwxr-xr-x 1 root root 3702 2005-09-09 21:43 smpppd
-rwxr-xr-x 1 root root 3605 2005-09-09 19:18 snmpd
-rwxr-xr-x 1 root root 3042 2005-09-09 18:46 splash
-rwxr-xr-x 1 root root 490 2005-09-09 18:46 splash_early
-rwxr-xr-x 1 root root 3679 2003-03-18 14:15 sshd
-rwxr-xr-x 1 root root 1287 2005-09-09 18:19 SuSEfirewall2_init
-rwxr-xr-x 1 root root 1696 2005-09-09 18:19 SuSEfirewall2_setup
-rwxr-xr-x 1 root root 3462 2005-09-09 20:41 svcgssd
-rwxr-xr-- 1 root root 5474 2005-05-01 21:11 svnserve
-rwxr-xr-- 1 root root 3627 2005-09-09 18:02 syslog
-rwxr-xr-x 1 root root 4810 2005-09-09 19:03 vdr
-rwxr-xr-x 1 root root 4450 2005-09-05 12:15 xdm
-rwxr-xr-x 1 root root 2098 2005-10-07 18:11 xfs
-rwxr-xr-x 1 root root 4002 2005-09-09 18:25 xinetd
-rwxr-xr-x 1 root root 4947 2005-09-09 19:34 ypbind
01-06-2006, 08:13 PM
#8
Senior Member
Registered: Sep 2002
Location: Nashville, TN
Posts: 1,552
Rep:
It might be launched via xinetd. Check /etc/xinetd.conf and the included directory. Also check the output of "chkconfig --list".
01-06-2006, 08:15 PM
#9
LQ Guru
Registered: Nov 2003
Location: N. E. England
Distribution: Fedora, CentOS, Debian
Posts: 16,298
Rep:
Also search on the Novell Cool solutions site. I am sure I read an article on that site about setting up vsftpd.
All times are GMT -5. The time now is 01:50 PM .
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know .
Latest Threads
LQ News