ML
    • Recent
    • Categories
    • Tags
    • Popular
    • Users
    • Groups
    • Register
    • Login

    Apache Installed

    Scheduled Pinned Locked Moved IT Discussion
    24 Posts 3 Posters 1.7k Views
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • scottalanmillerS
      scottalanmiller @Lakshmana
      last edited by

      @Lakshmana said in Apache Installed:

      @scottalanmiller

      (Not all processes could be identified, non-owned process info
      will not be shown, you would have to be root to see it all.)
      Active Internet connections (only servers)
      Proto Recv-Q Send-Q Local Address Foreign Address State PID/Program name
      tcp 0 0 0.0.0.0:22 0.0.0.0:* LISTEN -
      tcp 0 0 127.0.0.1:631 0.0.0.0:* LISTEN -
      tcp 0 0 127.0.0.1:25 0.0.0.0:* LISTEN -
      tcp 0 0 :::80 :::* LISTEN -
      tcp 0 0 :::22 :::* LISTEN -
      tcp 0 0 ::1:631 :::* LISTEN -
      tcp 0 0 ::1:25 :::* LISTEN -
      udp 0 0 0.0.0.0:631 0.0.0.0:* -
      udp 0 0 0.0.0.0:68 0.0.0.0:*

      Looks like you are forgetting to be root when doing systems administration tasks. Switch to root before doing any of this.

      1 Reply Last reply Reply Quote 1
      • thwrT
        thwr
        last edited by

        netstat -an | grep -i tcp | grep -i listening | grep 80
        
        ps ax | grep -v grep | grep -E 'apache|httpd'
        

        again, my bad. Could be your grep doesn't support -E, just use

        ps ax | grep -v grep | grep apache 
        
        ps ax | grep -v grep | grep httpd
        

        instead.

        LakshmanaL 1 Reply Last reply Reply Quote 0
        • LakshmanaL
          Lakshmana @thwr
          last edited by

          @thwr said in Apache Installed:

          ps ax | grep -v grep | grep httpd

          [root@localhost ~]# ps ax | grep -v grep | grep apache
          [root@localhost ~]# ps ax | grep -v grep | grep httpd
          2239 ? Ss 0:00 /usr/sbin/httpd
          2246 ? S 0:00 /usr/sbin/httpd
          2247 ? S 0:00 /usr/sbin/httpd
          2248 ? S 0:00 /usr/sbin/httpd
          2249 ? S 0:00 /usr/sbin/httpd
          2250 ? S 0:00 /usr/sbin/httpd
          2251 ? S 0:00 /usr/sbin/httpd
          2252 ? S 0:00 /usr/sbin/httpd
          2253 ? S 0:00 /usr/sbin/httpd

          1 Reply Last reply Reply Quote 0
          • scottalanmillerS
            scottalanmiller
            last edited by

            Okay, so at this point, httpd is definitely running.

            1 Reply Last reply Reply Quote 1
            • 1
            • 2
            • 2 / 2
            • First post
              Last post