Welcome to Linux Forums!

With a comprehensive Linux Forum, information on various types of Linux software and many Linux Reviews articles, we have all the knowledge you need a click away, or accessible via our knowledgeable members.

Linux Forum ArticlesLinux ForumsLinux Forum DownloadsLinux HostsFree MagazinesJobs
Home|Register|FAQ|Member List|Calendar|Unanswered Posts|Forum Rules|Today's Posts|Advanced Search|
SEARCH FOR IN
Go Back   Linux Forums > Your Distro > Other Distributions > Arch Linux Help
Reload this Page How to see running daemons?
Linux Forums
Linux Forums
Welcome To The Linux Forums!
Welcome to Linux Forums. We pride ourselves in being one of the largest Linux communities on the web, we encourage you to REGISTER on our forums and participate in the community. There are over 150,000 members ready to answer your questions. JOINING US today will allow you to make new posts, get support, send messages to other members and submit downloads to our downloads directory and many other great features!

Arch Linux Help Help an discussion related to Arch

Site Navigation
Articles
Linux Forums
Linux Downloads
Linux Hosting
Free Magazines
Job Board
Linux Forum Topics
Linux Forums
Your Distro
Linux Resources
GNU Linux Zone
The Community
Reply
 
Thread Tools Display Modes
Old 10-24-2006   #1 (permalink)
Linux User
 
ImNeat's Avatar
 
Join Date: Feb 2006
Location: N. America
Posts: 389
How to see running daemons?

What's the command to see what daemons are currently running?

A few of my daemons keep failing to load:
Code:
[root@vaio ~]# /etc/rc.d/tor start
/etc/rc.conf: line 67: unexpected EOF while looking for matching `"'
/etc/rc.conf: line 95: syntax error: unexpected end of file
:: Starting Tor Daemon                                                   [FAIL] 
[root@vaio ~]# /etc/rc.d/privoxy start
/etc/rc.conf: line 67: unexpected EOF while looking for matching `"'
/etc/rc.conf: line 95: syntax error: unexpected end of file
:: Starting Privoxy                                                      [FAIL]
Any ideas why this is happening?
__________________
10" Sony Vaio SRX99P 850MHz P3-M 256MB RAM 20GB HD : ArchLinux
14.1" Dell Inspiron 1420 2GHz Core2Duo 2GB RAM 160GB HD : ArchLinux
ImNeat is offline   Reply With Quote
Old 10-24-2006   #2 (permalink)
Linux Guru
 
anomie's Avatar
 
Join Date: Mar 2005
Location: Texas
Posts: 1,697
I'm sure not an Arch Linux guy, but this
Code:
/etc/rc.conf: line 67: unexpected EOF while looking for matching `"'
is probably a good clue.

Any name/value pair in /etc/rc.conf where you forgot a quote (")?
anomie is offline   Reply With Quote
Old 10-24-2006   #3 (permalink)
Linux Enthusiast
 
Join Date: Dec 2004
Posts: 632
To list running daemons type the following in a terminal:

ps aux
gtmtnbiker98 is offline   Reply With Quote
Old 10-24-2006   #4 (permalink)
Linux User
 
ImNeat's Avatar
 
Join Date: Feb 2006
Location: N. America
Posts: 389
I think found the first error - I had
Code:
eth2="dhcp'
It's strange though - I only counted (and recounted and recounted) 60 lines. How do text files calculate lines? I've been getting those two errors for a long time (I see them at every boot-up), but was always confused because the real line 67 is fine.

As for the other line - how should the file end properly? Then end used to look like this:
Code:
#End of file
And I would get the EOF error for 'line 91'

So I did this:
Code:
#End of file
#
#
#
#
And now I get the EOF error for 'line 95'

What am I doing incorrectly?

**EDIT**
I am making progress. It seems that the two errors are now gone. Now I only get this output:
Code:
[root@vaio ~]# /etc/rc.d/tor start
:: Starting Tor Daemon                                                                            [FAIL] 
[root@vaio ~]# /etc/rc.d/privoxy start
:: Starting Privoxy                                                                               [FAIL] 
[root@vaio ~]#
__________________
10" Sony Vaio SRX99P 850MHz P3-M 256MB RAM 20GB HD : ArchLinux
14.1" Dell Inspiron 1420 2GHz Core2Duo 2GB RAM 160GB HD : ArchLinux
ImNeat is offline   Reply With Quote
Old 10-24-2006   #5 (permalink)
Linux User
 
ImNeat's Avatar
 
Join Date: Feb 2006
Location: N. America
Posts: 389
As for viewing running daemons - I can't quite understand the ps aux output:
Code:
[root@vaio ~]# ps aux
USER       PID %CPU %MEM    VSZ   RSS TTY      STAT START   TIME COMMAND
root         1  0.1  0.2   1528   536 ?        Ss   18:33   0:00 init [3]                               
root         2  0.0  0.0      0     0 ?        S    18:33   0:00 [migration/0]
root         3  0.0  0.0      0     0 ?        SN   18:33   0:00 [ksoftirqd/0]
root         4  0.0  0.0      0     0 ?        S    18:33   0:00 [watchdog/0]
root         5  0.0  0.0      0     0 ?        S<   18:33   0:00 [events/0]
root         6  0.0  0.0      0     0 ?        S<   18:33   0:00 [khelper]
root         7  0.0  0.0      0     0 ?        S<   18:33   0:00 [kthread]
root        10  0.0  0.0      0     0 ?        S<   18:33   0:00 [kblockd/0]
root        11  0.0  0.0      0     0 ?        S<   18:33   0:00 [kacpid]
root        95  0.0  0.0      0     0 ?        S<   18:33   0:00 [kseriod]
root       137  0.0  0.0      0     0 ?        S    18:33   0:00 [pdflush]
root       138  0.0  0.0      0     0 ?        S    18:33   0:00 [pdflush]
root       139  0.0  0.0      0     0 ?        S<   18:33   0:00 [kswapd0]
root       140  0.0  0.0      0     0 ?        S<   18:33   0:00 [aio/0]
root       775  0.0  0.0      0     0 ?        S<   18:33   0:00 [kjournald]
root       812  0.0  0.0      0     0 ?        S<   18:33   0:00 [khubd]
root       828  0.1  0.2   1596   572 ?        S<s  18:33   0:00 /sbin/udevd --daemon
root      1720  0.0  0.0      0     0 ?        S<   18:34   0:00 [kpsmoused]
root      2013  0.0  0.0      0     0 ?        S<   18:34   0:00 [pccardd]
root      2019  0.0  0.0      0     0 ?        S<   18:34   0:00 [pccardd]
root      2090  0.0  0.0      0     0 ?        S<   18:34   0:00 [khpsbpkt]
root      2093  0.0  0.0      0     0 ?        S    18:34   0:00 [knodemgrd_0]
root      2124  0.0  0.0      0     0 ?        S<   18:34   0:00 [scsi_eh_0]
root      2125  0.0  0.0      0     0 ?        S<   18:34   0:00 [usb-storage]
root      2579  0.0  0.4   2192  1056 tty1     Ss   18:34   0:00 /bin/login --        
root      2580  0.0  0.1   1528   500 tty2     Ss+  18:34   0:00 /sbin/agetty 38400 vc/2 linux
root      2581  0.0  0.1   1524   500 tty3     Ss+  18:34   0:00 /sbin/agetty 38400 vc/3 linux
root      2582  0.0  0.1   1528   504 tty4     Ss+  18:34   0:00 /sbin/agetty 38400 vc/4 linux
root      2583  0.0  0.1   1528   504 tty5     Ss+  18:34   0:00 /sbin/agetty 38400 vc/5 linux
root      2584  0.0  0.1   1524   500 tty6     Ss+  18:34   0:00 /sbin/agetty 38400 vc/6 linux
brandon   2595  0.0  0.7   4340  1784 tty1     S    18:34   0:00 -bash
brandon   2599  0.0  0.5   4144  1368 tty1     S+   18:34   0:00 /bin/sh /usr/bin/startx
brandon   2615  0.0  0.2   2508   708 tty1     S+   18:34   0:00 xinit /home/brandon/.xinitrc -- -auth /home/brandon/.serverauth.2599
root      2616  1.7  5.7  18100 14764 tty7     S<s+ 18:34   0:06 X :0 -auth /home/brandon/.serverauth.2599
brandon   2647  0.1  2.1   9916  5480 tty1     S    18:34   0:00 fluxbox
brandon   2654  0.0  0.4   6056  1248 ?        S    18:34   0:00 conky
brandon   2672  0.0  0.7   4664  1844 ?        Ss   18:34   0:00 aterm +sb -tr -sh 75
brandon   2673  0.0  0.6   4324  1684 pts/0    Ss   18:34   0:00 bash
root      2674  0.0  0.3   3344   860 pts/0    S    18:34   0:00 su -
root      2675  0.0  0.7   4080  1788 pts/0    S    18:34   0:00 -bash
root      2683  0.0  0.0   1548   232 ?        Ss   18:35   0:00 dhcpcd -d eth1
brandon   2684  0.0  0.5   4280  1404 ?        Ss   18:35   0:00 /bin/sh /opt/mozilla/bin/firefox
brandon   2688  0.0  0.5   4280  1408 ?        S    18:35   0:00 /bin/sh /opt/mozilla/lib/firefox-1.5.0.7/run-mozilla.sh /opt/mozilla/lib/firefox
brandon   2693  3.0 12.1  91752 31000 ?        Sl   18:35   0:10 /opt/mozilla/lib/firefox-1.5.0.7/firefox-bin
brandon   2700  0.0  0.0      0     0 ?        Z    18:35   0:00 [netstat] <defunct>
root      2704  0.0  0.3   3352   976 pts/0    R+   18:40   0:00 ps aux
Here's my list of daemons that should start at bootup:
Code:
DAEMONS=(syslog-ng iptables netfs crond alsa privoxy tor)
Where are those?
__________________
10" Sony Vaio SRX99P 850MHz P3-M 256MB RAM 20GB HD : ArchLinux
14.1" Dell Inspiron 1420 2GHz Core2Duo 2GB RAM 160GB HD : ArchLinux
ImNeat is offline   Reply With Quote
Reply



Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
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
Trackbacks are Off
Pingbacks are Off
Refbacks are Off
Job Search
keyword location
Post a Job »
job title, keywords or company
city, state or zip jobs by job search

Free Magazines
Free eBook:"Vulnerability Management for Dummies"
Get all the Facts and See How to Implement a Successful Vulnerability Management Program.
subscribe
Google vs The World: The Battle of the Message Security Vendors
With such a powerful name behind it, Google Message Security stands out in a sea of products that do exactly the same thing - or so they say. So when it comes right down to it, how does the Google selection stack up against the rest of messaging security's big guns?
subscribe
The Enterprise Newsweekly
eWeek is the essential technology information source for builders of e-business.
subscribe
Oracle Magazine
Oracle Magazine contains technology strategy articles, sample code, tips, Oracle and partner news, how to articles for developers and DBAs, and more. Oracle (NASDAQ: ORCL) is the world's largest enterprise software company.
subscribe
Total Telecom
Total Telecom is "The Economist of the communications industry".
subscribe
More free magazines »



All times are GMT. The time now is 07:58 PM.




© 2000 - 2008 - All Rights Reserved - Property of  MAS Media

Content Relevant URLs by vBSEO 3.2.0