View Single Post
  #11  
Old 23rd January 2008, 20:20
peacengell peacengell is offline
Member
 
Join Date: Jan 2008
Posts: 37
Thanks: 10
Thanked 2 Times in 2 Posts
Default hi here is my dig

server:/# dig server.peacengell.org

; <<>> DiG 9.3.4 <<>> server.peacengell.org
;; global options: printcmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NXDOMAIN, id: 41024
;; flags: qr aa rd ra; QUERY: 1, ANSWER: 0, AUTHORITY: 0, ADDITIONAL: 0

;; QUESTION SECTION:
;server.peacengell.org. IN A

;; Query time: 285 msec
;; SERVER: 192.168.2.1#53(192.168.2.1)
;; WHEN: Wed Jan 23 08:09:56 2008
;; MSG SIZE rcvd: 39

server:/#



this is my /etc/hosts
127.0.0.1 localhost.localdomain localhost
192.168.2.110 server.peacengell.org server

# The following lines are desirable for IPv6 capable hosts
::1 ip6-localhost ip6-loopback
fe00::0 ip6-localnet
ff00::0 ip6-mcastprefix
ff02::1 ip6-allnodes
ff02::2 ip6-allrouters
ff02::3 ip6-allhosts
server:/#


this is netstat

server:/# netstat -tap
Active Internet connections (servers and established)
Proto Recv-Q Send-Q Local Address Foreign Address State PID/Program name
tcp 0 0 *:40421 *:* LISTEN 2 483/rpc.statd
tcp 0 0 *:mysql *:* LISTEN 5 858/mysqld
tcp 0 0 *:sunrpc *:* LISTEN 1 872/portmap
tcp 0 0 *:auth *:* LISTEN 2 369/inetd
tcp 0 0 server.peacengel:domain *:* LISTEN 2 127/named
tcp 0 0 localhost.locald:domain *:* LISTEN 2 127/named
tcp 0 0 *:smtp *:* LISTEN 3 255/master
tcp 0 0 localhost.localdoma:953 *:* LISTEN 2 127/named
tcp 207 0 localhost.localdom:smtp localhost.localdo:45622 CLOSE_WAIT -
tcp 22 0 localhost.localdom:smtp localhost.localdo:51069 CLOSE_WAIT -
tcp6 0 0 *:domain *:* LISTEN 2 127/named
tcp6 0 0 *:ssh *:* LISTEN 2 458/sshd
tcp6 0 0 *:smtp *:* LISTEN 3 255/master
tcp6 0 0 ip6-localhost:953 *:* LISTEN 2 127/named
tcp6 0 1500 server.peacengell.o:ssh ::ffff:192.168.2.:61186 ESTABLISHED8 963/0
server:/#



This is ps axu


server:/# ps axu
USER PID %CPU %MEM VSZ RSS TTY STAT START TIME COMMAND
root 1 0.0 0.0 1948 644 ? Ss Jan21 0:01 init [2]
root 2 0.0 0.0 0 0 ? S Jan21 0:00 [migration/0]
root 3 0.0 0.0 0 0 ? SN Jan21 0:00 [ksoftirqd/0]
root 4 0.0 0.0 0 0 ? S< Jan21 0:07 [events/0]
root 5 0.0 0.0 0 0 ? S< Jan21 0:00 [khelper]
root 6 0.0 0.0 0 0 ? S< Jan21 0:00 [kthread]
root 9 0.0 0.0 0 0 ? S< Jan21 0:01 [kblockd/0]
root 10 0.0 0.0 0 0 ? S< Jan21 0:00 [kacpid]
root 71 0.0 0.0 0 0 ? S< Jan21 0:00 [kseriod]
root 111 0.0 0.0 0 0 ? S Jan21 0:00 [pdflush]
root 112 0.0 0.0 0 0 ? S Jan21 0:11 [pdflush]
root 113 0.0 0.0 0 0 ? S< Jan21 0:00 [kswapd0]
root 114 0.0 0.0 0 0 ? S< Jan21 0:00 [aio/0]
root 559 0.0 0.0 0 0 ? S< Jan21 0:00 [khubd]
root 644 0.0 0.0 0 0 ? S< Jan21 0:00 [scsi_eh_0]
root 960 0.0 0.0 0 0 ? S< Jan21 0:02 [kjournald]
root 1138 0.0 0.0 2176 616 ? S<s Jan21 0:00 udevd --daemon
root 1412 0.0 0.0 0 0 ? S< Jan21 0:00 [kpsmoused]
root 1478 0.0 0.0 0 0 ? S< Jan21 0:00 [kgameportd]
root 1677 0.0 0.0 0 0 ? S< Jan21 0:00 [kmirrord]
root 1765 0.0 0.0 0 0 ? S< Jan21 0:00 [kjournald]
root 1767 0.0 0.0 0 0 ? S< Jan21 0:00 [kjournald]
root 1769 0.0 0.0 0 0 ? S< Jan21 0:02 [kjournald]
root 1771 0.0 0.0 0 0 ? S< Jan21 0:15 [kjournald]
daemon 1872 0.0 0.0 1684 364 ? Ss Jan21 0:00 /sbin/portmap
root 2109 0.0 0.0 1628 572 ? Ss Jan21 0:04 /sbin/syslogd -a /var/lib/named/dev/log
root 2115 0.0 0.0 1580 384 ? Ss Jan21 0:00 /sbin/klogd -x
bind 2127 0.0 0.3 30404 2908 ? Ssl Jan21 0:00 /usr/sbin/named -u bind -t /var/lib/named
root 2359 0.0 0.0 1572 560 ? Ss Jan21 0:00 /usr/sbin/acpid -c /etc/acpi/events -s /var/run/acpi
root 2369 0.0 0.0 1748 568 ? Ss Jan21 0:00 /usr/sbin/inetd
root 2448 0.0 0.1 7220 988 ? Ss Jan21 0:00 /usr/sbin/saslauthd -a pam -c -m /var/spool/postfix/
root 2450 0.0 0.0 7220 548 ? S Jan21 0:00 /usr/sbin/saslauthd -a pam -c -m /var/spool/postfix/
root 2451 0.0 0.0 7220 368 ? S Jan21 0:00 /usr/sbin/saslauthd -a pam -c -m /var/spool/postfix/
root 2452 0.0 0.0 7220 368 ? S Jan21 0:00 /usr/sbin/saslauthd -a pam -c -m /var/spool/postfix/
root 2453 0.0 0.0 7220 368 ? S Jan21 0:00 /usr/sbin/saslauthd -a pam -c -m /var/spool/postfix/
root 2458 0.0 0.1 4928 1092 ? Ss Jan21 0:00 /usr/sbin/sshd
statd 2483 0.0 0.0 1756 740 ? Ss Jan21 0:00 /sbin/rpc.statd
daemon 2497 0.0 0.0 1832 424 ? Ss Jan21 0:00 /usr/sbin/atd
root 2504 0.0 0.0 2192 752 ? Ss Jan21 0:00 /usr/sbin/cron
root 2535 0.0 0.0 1576 492 tty1 Ss+ Jan21 0:00 /sbin/getty 38400 tty1
root 2536 0.0 0.0 1576 496 tty2 Ss+ Jan21 0:00 /sbin/getty 38400 tty2
root 2537 0.0 0.0 1576 496 tty3 Ss+ Jan21 0:00 /sbin/getty 38400 tty3
root 2538 0.0 0.0 1572 492 tty4 Ss+ Jan21 0:00 /sbin/getty 38400 tty4
root 2541 0.0 0.0 1572 492 tty5 Ss+ Jan21 0:00 /sbin/getty 38400 tty5
root 2542 0.0 0.0 1576 496 tty6 Ss+ Jan21 0:00 /sbin/getty 38400 tty6
root 3255 0.0 0.1 4816 1624 ? Ss Jan21 0:14 /usr/lib/postfix/master
postfix 3257 0.0 0.1 4860 1612 ? S Jan21 0:00 qmgr -l -t fifo -u
root 5821 0.0 0.1 3664 1292 ? S Jan22 0:00 /bin/sh /usr/bin/mysqld_safe
mysql 5858 0.0 2.0 126364 16536 ? Sl Jan22 0:01 /usr/sbin/mysqld --basedir=/usr --datadir=/var/lib/m
root 5859 0.0 0.0 2748 572 ? S Jan22 0:00 logger -p daemon.err -t mysqld_safe -i -t mysqld
root 7623 0.0 0.0 1748 608 ? Ss Jan22 0:00 inetd
postfix 8888 0.0 0.1 4824 1568 ? S 07:26 0:00 pickup -l -t fifo -u -c
root 8963 0.0 0.2 7700 2348 ? Ss 08:02 0:00 sshd: root@pts/0
root 8965 0.0 0.2 4020 1764 pts/0 Ss 08:03 0:00 -bash
root 9021 0.0 0.1 3428 992 pts/0 R+ 08:12 0:00 ps axu
server:/#
help me get this working is anything i done wrong must corect
Ask me anything just tell me what to do so u get infor of anything what to do what comand to use and post it here so u can see everything any log just let me know ok thanks bye tkare




one more thing on inetd
when i do
server:/# /etc/init.d/inetd restart
-bash: /etc/init.d/inetd: No such file or directory

but when i do
server:/# ps axu |grep inetd
root 2369 0.0 0.0 1748 568 ? Ss Jan21 0:00 /usr/sbin/inetd
root 7623 0.0 0.0 1748 608 ? Ss Jan22 0:00 inetd
root 9421 0.0 0.0 1748 608 ? Ss 10:23 0:00 /usr/sbin/inetd
root 9430 0.0 0.0 1640 380 pts/0 R+ 10:24 0:00 grep inetd

why
explain
thanks

Last edited by peacengell; 23rd January 2008 at 22:31.
Reply With Quote
Sponsored Links