View Single Post
  #3  
Old 27th April 2012, 20:13
ihsir ihsir is offline
Junior Member
 
Join Date: May 2011
Posts: 10
Thanks: 5
Thanked 1 Time in 1 Post
Default

Thank you pititis for your quick reply!

I'm not sure of a few things: how to check port 80 and 21 in the router/server and what am I checking for?
Hehehe, the same goes for checking apache and pure-ftp.

I tried restarting apache2:
Code:
root@ubuntu:/# /etc/init.d/apache2 restart
Syntax error on line 6 of /etc/apache2/conf.d/squirrelmail.conf:
AddType requires at least two arguments, a mime type followed by one or more file extensions
Action 'configtest' failed.
The Apache error log may have more information.
   ...fail!
I then tried restarting pure-ftpd:
Code:
root@ubuntu:/# /etc/init.d/pure-ftpd-mysql restart
Restarting ftp server: Running: /usr/sbin/pure-ftpd-mysql-virtualchroot -l mysql:/etc/pure-ftpd/db/mysql.conf -l pam -H -Y 1 -E -8 UTF-8 -b -O clf:/var/log/pure-ftpd/transfer.log -D -A -u 1000 -B
Based on this netstat output, I think they're running:
Code:
root@ubuntu:/# netstat -tlpen
Active Internet connections (only servers)
Proto Recv-Q Send-Q Local Address           Foreign Address         State       User       Inode       PID/Program name
tcp        0      0 0.0.0.0:8080            0.0.0.0:*               LISTEN      0          10922       1937/apache2
tcp        0      0 0.0.0.0:80              0.0.0.0:*               LISTEN      0          10914       1937/apache2
tcp        0      0 0.0.0.0:8081            0.0.0.0:*               LISTEN      0          10918       1937/apache2
tcp        0      0 0.0.0.0:21              0.0.0.0:*               LISTEN      0          1863385     23369/pure-ftpd (SE
tcp        0      0 192.168.1.164:53        0.0.0.0:*               LISTEN      108        8750        960/named
tcp        0      0 127.0.0.1:53            0.0.0.0:*               LISTEN      108        8748        960/named
tcp        0      0 0.0.0.0:25              0.0.0.0:*               LISTEN      0          1009702     18836/master
tcp        0      0 127.0.0.1:953           0.0.0.0:*               LISTEN      108        8753        960/named
tcp        0      0 0.0.0.0:443             0.0.0.0:*               LISTEN      0          10916       1937/apache2
tcp        0      0 127.0.0.1:10024         0.0.0.0:*               LISTEN      107        8987        1105/amavisd (maste
tcp        0      0 127.0.0.1:10025         0.0.0.0:*               LISTEN      0          1009488     18836/master
tcp        0      0 0.0.0.0:3306            0.0.0.0:*               LISTEN      104        1676896     22524/mysqld
tcp        0      0 0.0.0.0:10122           0.0.0.0:*               LISTEN      0          8535        816/sshd
tcp6       0      0 :::21                   :::*                    LISTEN      0          1863387     23369/pure-ftpd (SE
tcp6       0      0 :::53                   :::*                    LISTEN      108        8743        960/named
tcp6       0      0 ::1:953                 :::*                    LISTEN      108        8754        960/named
tcp6       0      0 :::993                  :::*                    LISTEN      0          9518        1681/couriertcpd
tcp6       0      0 :::995                  :::*                    LISTEN      0          10606       1731/couriertcpd
tcp6       0      0 :::22                   :::*                    LISTEN      0          8537        816/sshd
tcp6       0      0 :::110                  :::*                    LISTEN      0          9527        1703/couriertcpd
tcp6       0      0 :::143                  :::*                    LISTEN      0          9514        1653/couriertcpd
So, does this look correct?
Reply With Quote