Sponsored Content
Operating Systems Linux SuSE How to start Apache2 and vsftpd at boot Post 302237404 by real-chess on Wednesday 17th of September 2008 03:27:44 PM
Old 09-17-2008
s01:~ # ps -aux
Warning: bad ps syntax, perhaps a bogus '-'? See http://procps.sf.net/faq.html
USER PID %CPU %MEM VSZ RSS TTY STAT START TIME COMMAND
root 1 0.5 0.0 772 324 ? Ss 19:18 0:01 init [5]
root 2 0.0 0.0 0 0 ? S< 19:18 0:00 [kthreadd]
root 3 0.0 0.0 0 0 ? S< 19:18 0:00 [migration/0]
root 4 0.0 0.0 0 0 ? S< 19:18 0:00 [ksoftirqd/0]
root 5 0.0 0.0 0 0 ? S< 19:18 0:00 [events/0]
root 6 0.0 0.0 0 0 ? S< 19:18 0:00 [khelper]
root 7 0.0 0.0 0 0 ? S< 19:18 0:00 [kblockd/0]
root 8 0.0 0.0 0 0 ? S< 19:18 0:00 [kacpid]
root 9 0.0 0.0 0 0 ? S< 19:18 0:00 [kacpi_notify]
root 10 0.0 0.0 0 0 ? S< 19:18 0:00 [cqueue]
root 11 0.0 0.0 0 0 ? S< 19:18 0:00 [kseriod]
root 12 0.0 0.0 0 0 ? S< 19:18 0:00 [kondemand/0]
root 13 0.0 0.0 0 0 ? S 19:18 0:00 [pdflush]
root 14 0.0 0.0 0 0 ? S 19:18 0:00 [pdflush]
root 15 0.0 0.0 0 0 ? S< 19:18 0:00 [kswapd0]
root 16 0.0 0.0 0 0 ? S< 19:18 0:00 [aio/0]
root 17 0.0 0.0 0 0 ? S< 19:18 0:00 [kpsmoused]
root 59 0.0 0.0 0 0 ? S< 19:18 0:00 [scsi_eh_0]
root 63 0.0 0.0 0 0 ? S< 19:18 0:00 [ata/0]
root 64 0.0 0.0 0 0 ? S< 19:18 0:00 [ata_aux]
root 70 0.0 0.0 0 0 ? S< 19:18 0:00 [scsi_eh_1]
root 71 0.0 0.0 0 0 ? S< 19:18 0:00 [scsi_eh_2]
root 195 0.0 0.0 0 0 ? S< 19:18 0:00 [ksuspend_usbd]
root 198 0.0 0.0 0 0 ? S< 19:18 0:00 [khubd]
root 503 0.0 0.0 0 0 ? S< 19:18 0:00 [kjournald]
root 567 0.1 0.2 2520 1192 ? S<s 19:18 0:00 /sbin/udevd --d
root 1135 0.0 0.0 0 0 ? S< 19:18 0:00 [kauditd]
root 1148 0.0 0.0 0 0 ? S< 19:18 0:00 [kstriped]
root 1182 0.0 0.0 0 0 ? S< 19:18 0:00 [kjournald]
root 1526 0.0 0.1 1664 584 ? Ss 19:18 0:00 /sbin/acpid
root 1532 0.0 0.1 1916 668 ? Ss 19:18 0:00 /sbin/resmgrd
root 1538 0.0 0.1 1800 596 ? Ss 19:18 0:00 /sbin/klogd -c
102 1542 0.0 0.1 2280 740 ? Ss 19:18 0:00 /bin/dbus-daemo
root 1545 0.0 0.1 2200 732 ? Ss 19:18 0:00 /sbin/syslog-ng
root 1570 0.0 0.4 7752 2200 ? Ssl 19:18 0:00 /usr/sbin/conso
105 1679 0.1 0.7 6172 4024 ? Ss 19:18 0:00 /usr/sbin/hald
root 1680 0.0 0.2 3220 1080 ? S 19:18 0:00 hald-runner
root 1692 0.0 0.2 3332 1080 ? S 19:18 0:00 hald-addon-inpu
105 1695 0.0 0.1 2204 948 ? S 19:18 0:00 hald-addon-acpi
root 1701 0.0 0.2 3336 1084 ? S 19:18 0:00 hald-addon-stor
root 1708 0.0 0.2 3336 1080 ? S 19:18 0:00 hald-addon-stor
root 1811 0.0 0.4 13564 2276 ? Ss 19:18 0:00 /usr/sbin/gdm
root 1812 0.0 0.5 14192 2828 ? S 19:18 0:00 /usr/sbin/gdm
root 1827 0.2 1.6 14292 8492 tty7 Ss+ 19:18 0:00 /usr/bin/X :0 -
bin 2216 0.0 0.0 1696 444 ? Ss 19:18 0:00 /sbin/portmap
root 2283 0.0 0.1 10248 712 ? S<sl 19:18 0:00 /sbin/auditd -s
root 2290 0.0 0.1 10004 724 ? S<sl 19:18 0:00 /sbin/audispd
gdm 2451 1.2 3.2 26100 16928 ? Ss 19:18 0:02 /usr/lib/gdm/gd
avahi 2580 0.0 0.3 2872 1548 ? Ss 19:18 0:00 avahi-daemon: r
root 2592 0.0 0.1 1824 580 ? Ss 19:18 0:00 /usr/sbin/avahi
root 2627 0.0 0.4 7252 2416 ? Ss 19:18 0:00 /usr/sbin/cupsd
root 2629 0.0 0.2 141508 1064 ? Ssl 19:18 0:00 /usr/sbin/nscd
root 2682 0.0 0.3 4600 1744 ? S 19:18 0:00 /usr/sbin/power
root 2734 0.0 0.2 6328 1168 ? Ss 19:18 0:00 /usr/sbin/sshd
root 2756 0.0 0.3 6552 1768 ? Ss 19:18 0:00 /usr/lib/postfi
postfix 2777 0.0 0.3 6352 1696 ? S 19:18 0:00 pickup -l -t fi
postfix 2778 0.0 0.3 6396 1732 ? S 19:18 0:00 qmgr -l -t fifo
root 2825 0.0 0.1 2060 620 ? Ss 19:18 0:00 /usr/sbin/cron
root 2838 0.1 0.5 8932 3060 ? Ss 19:18 0:00 /usr/sbin/httpd
apache 2841 0.0 0.3 8704 1708 ? S 19:18 0:00 /usr/sbin/httpd
apache 2849 0.0 0.4 230280 2268 ? Sl 19:18 0:00 /usr/sbin/httpd
apache 2853 0.0 0.4 230280 2272 ? Sl 19:18 0:00 /usr/sbin/httpd
apache 2858 0.0 0.4 230280 2272 ? Sl 19:18 0:00 /usr/sbin/httpd
root 2933 0.0 0.1 3772 940 ? S 19:18 0:00 /usr/sbin/vsftp
root 2937 0.0 0.1 3144 608 ? S 19:18 0:00 /usr/sbin/smart
root 2956 0.0 0.1 2152 656 tty1 Ss+ 19:18 0:00 /sbin/mingetty
root 2958 0.0 0.1 2152 652 tty2 Ss+ 19:18 0:00 /sbin/mingetty
root 2960 0.0 0.1 2152 624 tty3 Ss+ 19:18 0:00 /sbin/mingetty
root 2964 0.0 0.1 2152 628 tty4 Ss+ 19:18 0:00 /sbin/mingetty
root 2966 0.0 0.1 2152 628 tty5 Ss+ 19:18 0:00 /sbin/mingetty
root 2968 0.0 0.1 2152 628 tty6 Ss+ 19:18 0:00 /sbin/mingetty
root 2998 0.0 0.5 9772 2840 ? Ss 19:19 0:00 sshd: root@pts/
root 3004 0.0 0.4 4720 2244 pts/0 Ss 19:19 0:00 -bash
root 3044 0.0 0.1 2580 872 pts/0 R+ 19:21 0:00 ps -aux
s01:~ # ls -al /etc/rc2.d
ls: cannot access /etc/rc2.d: No such file or directory
s01:~ # ls -al /etc/init.d
total 700
drwxr-xr-x 11 root root 4096 Sep 16 18:43 .
drwxr-xr-x 109 root root 12288 Sep 17 19:18 ..
-rw-r--r-- 1 root root 1605 Sep 17 19:16 .depend.boot
-rw-r--r-- 1 root root 3329 Sep 17 19:16 .depend.start
-rw-r--r-- 1 root root 2360 Sep 17 19:16 .depend.stop
-rw-r--r-- 1 root root 7827 Jun 6 23:00 README
-rwxr-xr-x 1 root root 1223 Jun 6 22:58 SuSEfirewall2_init
-rwxr-xr-x 1 root root 1563 Jun 6 22:58 SuSEfirewall2_setup
-rwxr-xr-x 1 root root 3409 Jun 7 05:29 aaeventd
-rwxr--r-- 1 root root 3734 Jun 6 23:11 acpid
-rwxr-xr-x 1 root root 5311 Jun 7 00:29 alsasound
-rwxr--r-- 1 root root 10132 Jun 7 02:54 apache2
-rwxr-xr-x 1 root root 3955 Jun 7 00:21 atd
-rwxr-xr-x 1 root root 6725 Jun 6 22:45 auditd
-rwxr-xr-x 1 root root 4816 Jun 7 02:06 autofs
-rwxr-xr-x 1 root root 2967 May 21 2007 autoyast
-rwxr-xr-x 1 root root 1410 Jun 7 04:19 avahi-daemon
-rwxr-xr-x 1 root root 1337 Jun 7 04:19 avahi-dnsconfd
-rwxr-xr-x 1 root root 4438 Jun 7 06:59 bluetooth
-rwxr-xr-x 1 root root 7373 Mar 18 2008 boot
-rwxr-xr-x 1 root root 2843 Jun 7 05:29 boot.apparmor
-rwxr-xr-x 1 root root 1222 Jun 7 01:22 boot.blktrace
-rwxr-xr-x 1 root root 2943 May 7 16:40 boot.cleanup
-rwxr-xr-x 1 root root 3349 May 20 10:32 boot.clock
-rwxr-xr-x 1 root root 2427 Jun 6 23:46 boot.crypto
-rwxr-xr-x 1 root root 2327 Jun 6 23:46 boot.crypto-early
-rwxr-xr-x 1 root root 1995 Jun 6 23:22 boot.cycle
drwxr-xr-x 2 root root 4096 Sep 10 19:09 boot.d
-rwxr-xr-- 1 root root 3492 Jun 8 15:19 boot.dazuko
-rwxr--r-- 1 root root 778 Jun 6 22:46 boot.device-mapper
-rwxr--r-- 1 root root 1228 Jun 6 23:06 boot.dmraid
-rwxr-xr-x 1 root root 1590 Jun 7 00:17 boot.fuse
-rwxr-xr-x 1 root root 1180 Apr 18 14:54 boot.getclock
-rwxr-xr-x 1 root root 3427 May 7 16:40 boot.ipconfig
-rwxr-xr-x 1 root root 1723 Jun 20 2007 boot.klog
-rwxr-xr-x 1 root root 1681 Aug 11 2007 boot.ldconfig
-rwxr-xr-x 1 root root 1003 Jun 20 2007 boot.loadmodules
-rwxr--r-- 1 root root 395 Jun 10 15:18 boot.local
-rwxr-xr-x 1 root root 8057 Jun 4 20:21 boot.localfs
-rwxr-xr-x 1 root root 1583 Oct 16 2007 boot.localnet
-rwxr-xr-x 1 root root 1370 Jun 6 23:30 boot.lvm
-rwxr-xr-x 1 root root 5476 Jun 7 00:22 boot.md
-rwxr-xr-x 1 root root 1631 Sep 14 2007 boot.proc
-rwxr-xr-x 1 root root 4935 Apr 7 12:19 boot.rootfsck
-rwxr-xr-x 1 root root 1955 Jun 20 2007 boot.sched
-rwxr-xr-x 1 root root 1517 Jun 7 02:32 boot.scpm
-rwxr-xr-x 1 root root 2901 May 9 15:25 boot.swap
-rwxr-xr-x 1 root root 1040 Jun 6 22:47 boot.sysctl
-rwxr-xr-x 1 root root 2073 Jun 6 22:46 boot.udev
-rwxr-xr-x 1 root root 763 Jun 6 22:46 boot.udev_retry
-rwxr--r-- 1 root root 5483 Jul 11 03:22 clamav-milter
-rwxr--r-- 1 root root 8951 Jul 11 03:22 clamd
-rwxr-xr-x 1 root root 1440 Jun 7 03:28 consolekit
-rwxr--r-- 1 root root 4294 Jun 7 00:21 cron
-rwxr-xr-x 1 root root 4858 Jun 7 01:51 cups
-rwxr-xr-x 1 root root 3153 Jun 7 00:27 dbus
-rwxr-xr-- 1 root root 1776 Jun 6 22:44 earlysyslog
-rwxr-xr-x 1 root root 2921 Jun 7 01:22 earlyxdm
-rwxr-xr-x 1 root root 5402 Jun 7 00:02 fbset
-rwxr-xr-x 1 root root 3291 Jun 6 23:20 festival
-rwxr--r-- 1 root root 8940 Jul 11 03:22 freshclam
-rwxr-xr-x 1 root root 4310 Jun 6 23:07 gpm
-rwxr-xr-x 1 root root 6416 Jun 7 03:39 haldaemon
-rwxr-xr-x 1 root root 6053 May 9 00:23 halt
-rwxr--r-- 1 root root 360 Jun 10 15:18 halt.local
-rwxr-xr-x 1 root root 9851 Jun 7 01:20 java.binfmt_misc
-rwxr-xr-x 1 root root 2911 Jun 7 00:29 joystick
-rwxr-xr-x 1 root root 13462 Jun 7 00:01 kbd
-rwxr-xr-x 1 root root 7274 Jun 7 02:18 lirc
-rwxr-xr-x 1 root root 3077 Jun 7 03:22 lm_sensors
-rwxr-xr-x 1 root root 3990 Jun 7 00:22 mdadmd
-rwxr-xr-x 1 root root 1155 Jun 6 23:11 microcode.ctl
-rwxr-xr-x 1 root root 23733 Jun 6 23:15 network
-rwxr--r-- 1 root root 6056 Jun 7 01:57 nfs
-rwxr-xr-- 1 root root 2653 Nov 13 2007 nmb
-rwxr-xr-x 1 root root 3252 Jun 6 21:56 nscd
-rwxr-xr-x 1 root root 5931 Jun 7 02:00 ntp
-rwxr-xr-x 1 root root 2047 Jun 7 04:06 openct
-rwxr-xr-x 1 root root 1588 Jun 7 03:50 pcscd
-rwxr--r-- 1 root root 3667 Jun 6 23:08 portmap
-rwxr-xr-x 1 root root 5295 Jun 7 02:32 postfix
-rwxr--r-- 1 root root 1335 Jun 6 22:57 powerd
-rwxr-xr-x 1 root root 2390 Sep 1 2003 powerfail
-rwxr-xr-x 1 root root 7496 Jun 7 03:33 powersaved
-rwxr-xr-x 1 root root 1773 May 7 16:40 random
-rwxr--r-- 1 root root 1241 Jun 7 00:22 raw
-rwxr-xr-x 1 root root 9361 Mar 18 2008 rc
drwxr-xr-x 2 root root 4096 Jun 10 15:25 rc0.d
drwxr-xr-x 2 root root 4096 Jun 10 15:27 rc1.d
drwxr-xr-x 2 root root 4096 Sep 12 17:45 rc2.d
drwxr-xr-x 2 root root 4096 Sep 17 19:15 rc3.d
drwxr-xr-x 2 root root 4096 Sep 11 17:31 rc4.d
drwxr-xr-x 2 root root 4096 Sep 17 19:15 rc5.d
drwxr-xr-x 2 root root 4096 Jun 10 15:25 rc6.d
drwxr-xr-x 2 root root 4096 Jun 10 15:27 rcS.d
lrwxrwxrwx 1 root root 4 Sep 10 18:58 reboot -> halt
-rwxr-xr-x 1 root root 3861 Jun 7 00:38 resmgr
-rwxr-xr-x 1 root root 3771 Jun 7 01:50 rpasswdd
-rwxr-xr-x 1 root root 2486 Jun 6 21:35 rpmconfigcheck
-rwxr-xr-x 1 root root 3867 Jun 7 05:08 rsyncd
-rwxr-xr-x 1 root root 4056 Jun 7 02:33 saslauthd
-rwxr-xr-x 1 root root 9584 Jun 6 22:48 setserial
-rwxr-xr-x 1 root root 1180 Sep 1 2003 single
-rwxr-xr-x 1 root root 10640 Jun 20 2007 skeleton
-rwxr-xr-x 1 root root 12733 Jan 11 2008 skeleton.compat
-rwxr-xr-x 1 root root 15087 Jun 7 00:18 smartd
-rwxr-xr-- 1 root root 2804 Nov 13 2007 smb
-rwxr-xr-- 1 root root 5163 Nov 13 2007 smbfs
-rwxr-xr-x 1 root root 3042 Jun 7 00:20 splash
-rwxr-xr-x 1 root root 490 Jun 7 00:20 splash_early
-rwxr-xr-x 1 root root 3878 Aug 21 2007 sshd
-rwxr-xr-x 1 root root 1006 Jun 7 01:22 stopblktrace
-rwxr-xr-- 1 root root 4336 Jun 6 22:44 syslog
-rwxr--r-- 1 root root 1818 Jun 6 23:09 uuidd
-rwxr-xr-x 1 root root 2975 Jun 16 15:28 vsftpd
-rwxr-xr-x 1 root root 1020 Jun 7 01:22 waitfornm
-rwxr-xr-x 1 root root 6835 Jun 7 02:22 xdm
-rwxr-xr-x 1 root root 2092 Sep 11 2006 xfs
-rwxr-xr-x 1 root root 4315 Jun 6 23:07 xinetd
-rwxr-xr-x 1 root root 5331 Jun 7 03:33 ypbind
 

10 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

To start login/programms on boot up

Dears, I m using SCO V and running 3 different aplications (has different logins) constantly on the server console in 3 different screens. I want to develop a script which can start the programms on booting the systems. OR If automatic login can be configured on different screens will help me... (1 Reply)
Discussion started by: skant
1 Replies

2. SuSE

vsftpd won't start on SLES 10

I recently installed SLES 10 on an x86 64bit blade server. I then installed vsftpd from the suse cds through network services; however after configuring the vsftpd.conf file, the server fails to start: # /etc/init.d/vsftpd start Starting vsftpd startproc: exit status of parent of... (5 Replies)
Discussion started by: dave521
5 Replies

3. SuSE

Start Asterisk at boot?

Hello, I am running a SuSe 9.3 server. That have Asterisk. Asterisk are working fine/perfect. But what I want to do is to make it start up at boot. When I have started the computer can I type: sudo /root/Asterisk-1.0.8/Asterisk And it goes of. No problem. But I want it to do that by itself... (4 Replies)
Discussion started by: hast5
4 Replies

4. HP-UX

HP UX start process at boot time

When I get start program at boot I read which run level /sbin/rcx.d runlevel=0.....x only read directory which directory name has UpperCase 'S' is not enough someone says that I need to reference another file which file I need to reference 1)/etc/rc.config.d/all file which parameter... (4 Replies)
Discussion started by: alert0919
4 Replies

5. Red Hat

vsftpd service failed to start

hi, i am using RHEL 5 and i am not able to on the vsftp i have tried to on the vsftp service using command service vsftpd start Starting vsftpd for vsftpd: i am posting the content of my /etc/xinetd.d/vsftpd file # description: The vsftpd FTP... (2 Replies)
Discussion started by: u.n.i.x
2 Replies

6. Red Hat

VSFTPD Service Failed to Start

Today I have installed VSFTPD but service is failing to start. We have been using standard FTP successful but need to introduce an FTPS option. I have run YUM install VSFTPD and everything appeared to load ok. (If I run rpm - qa | grep vsftpd I get vsftpd-2.0.5-16.el5_4.1 which I... (4 Replies)
Discussion started by: PaulComins
4 Replies

7. Red Hat

NFS does not start during boot process

Hello, I am facing some issues during boot process of rhel 6.2 It takes too long time (~10 min) for the node to come up... The boot process stuck while it trying to start NFS and does not continue until timeout. In the boot.log file i see Starting NFS quotas: Cannot register service:... (2 Replies)
Discussion started by: @dagio
2 Replies

8. UNIX for Dummies Questions & Answers

Webmin dont want to start at boot

Hello, after webmin install, it was running, but after reboot, i need webmin to start automatically. I need this to be done without editting anything in webmin mysql (setting it from webmin admin area). So i tried chkconfig webmin on and added startup script to rc.local but still dont works..... (1 Reply)
Discussion started by: postcd
1 Replies

9. Red Hat

iptables does not start on boot

Hello, I have an issue with iptables. The rules are already configured in /etc/sysconfig/iptables but when i reboot the node the service is not running or at least i can't see my rules. Below the configuration i did to start the service during boot. # chkconfig --list iptables iptables... (1 Reply)
Discussion started by: @dagio
1 Replies

10. UNIX for Advanced & Expert Users

Does vsftpd support user access with client certificate with priv/pub key + vsftpd certificate?

:rolleyes:I am trying to setup all certificate based client-server environment in Linux using vsftpd and curl with openssl. I would like to make a user access with vsftpd certificate and user own client certificate (self-signed) with private/public key. I don't see google posts about the my plan... (4 Replies)
Discussion started by: gogogo
4 Replies
All times are GMT -4. The time now is 03:10 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy