Koozali.org: home of the SME Server

Server error Port 22 works

Offline mgb

  • *****
  • 558
  • +0/-0
Server error Port 22 works
« on: August 09, 2010, 08:16:08 AM »
Server error
Port 22 works
Did not respond to other ports
PING does not answer
80 No answer
The idea of testing

nmap linux-net.co.cc

PORT   STATE SERVICE
21/tcp open  ftp
22/tcp open  ssh
23/tcp open  telnet
80/tcp open  http


 
Thanks all for helping
Skype yosii2009

Offline Stefano

  • *
  • 10,894
  • +3/-0
Re: Server error Port 22 works
« Reply #1 on: August 09, 2010, 08:32:27 AM »
mgb: log in via ssh and check the status of httpd service

Offline mgb

  • *****
  • 558
  • +0/-0
Re: Server error Port 22 works
« Reply #2 on: August 09, 2010, 08:44:31 AM »
Sun Aug 08 01:12:16 2010] [notice] Digest: generating secret for digest authentication ...
[Sun Aug 08 01:12:16 2010] [notice] Digest: done
[Sun Aug 08 01:12:17 2010] [warn] RSA server certificate CommonName (CN) `dgdddggdgsd.co.il' does NOT match server name!?
[Sun Aug 08 01:12:17 2010] [warn] RSA server certificate CommonName (CN) `gsdgdgsdgdsg.co.il' does NOT match server name!?
[Sun Aug 08 01:12:17 2010] [notice] Apache configured -- resuming normal operations
[Sun Aug 08 01:28:02 2010] [error] [client 77.127.115.169] File does not exist: /home/e-smith/files/ibays/linux/html/favicon.ico
[Sun Aug 08 01:28:05 2010] [error] [client 77.127.115.169] File does not exist: /home/e-smith/files/ibays/linux/html/favicon.ico
[Sun Aug 08 03:31:59 2010] [error] [client 84.94.86.214] File does not exist: /home/e-smith/files/ibays/linux/html/favicon.ico
[Sun Aug 08 04:15:27 2010] [error] [client 79.179.108.91] File does not exist: /home/e-smith/files/ibays/linux/html/favicon.ico
[Sun Aug 08 09:04:15 2010] [error] [client 212.25.77.118] File does not exist: /home/e-smith/files/ibays/Primary/html/favicon.ico
[Sun Aug 08 09:04:17 2010] [error] [client 212.25.77.118] File does not exist: /home/e-smith/files/ibays/Primary/html/favicon.ico
[Sun Aug 08 09:13:00 2010] [error] [client 72.14.199.117] File does not exist: /home/e-smith/files/ibays/linux/html/robots.txt
[client 196.211.66.58] script '/home/e-smith/files/ibays/Primary/html/nosuichfile.php' not found or unable to stat
[Sun Aug 08 09:49:51 2010] [error] [client 196.211.66.58] File does not exist: /home/e-smith/files/ibays/Primary/html/noxdir
[Sun Aug 08 09:49:53 2010] [error] [client 196.211.66.58] File does not exist: /home/e-smith/files/ibays/Primary/html/PMA
[Sun Aug 08 09:49:54 2010] [error] [client 196.211.66.58] File does not exist: /home/e-smith/files/ibays/Primary/html/PMA2005
[Sun Aug 08 09:49:55 2010] [error] [client 196.211.66.58] File does not exist: /home/e-smith/files/ibays/Primary/html/admin
[Sun Aug 08 09:49:57 2010] [error] [client 196.211.66.58] File does not exist: /home/e-smith/files/ibays/Primary/html/admin
[Sun Aug 08 09:50:00 2010] [error] [client 196.211.66.58] File does not exist: /home/e-smith/files/ibays/Primary/html/admin
[Sun Aug 08 09:50:01 2010] [error] [client 196.211.66.58] File does not exist: /home/e-smith/files/ibays/Primary/html/admin
[Sun Aug 08 09:50:02 2010] [error] [client 196.211.66.58] File does not exist: /home/e-smith/files/ibays/Primary/html/db
[Sun Aug 08 09:50:04 2010] [error] [client 196.211.66.58] File does not exist: /home/e-smith/files/ibays/Primary/html/dbadmin
[Sun Aug 08 09:50:05 2010] [error] [client 196.211.66.58] File does not exist: /home/e-smith/files/ibays/Primary/html/myadmin
[Sun Aug 08 09:50:09 2010] [error] [client 196.211.66.58] File does not exist: /home/e-smith/files/ibays/Primary/html/mysql
[Sun Aug 08 09:50:11 2010] [error] [client 196.211.66.58] File does not exist: /home/e-smith/files/ibays/Primary/html/mysqladmin
[Sun Aug 08 09:50:12 2010] [error] [client 196.211.66.58] File does not exist: /home/e-smith/files/ibays/Primary/html/mysqlmanager
[Sun Aug 08 09:50:13 2010] [error] [client 196.211.66.58] File does not exist: /home/e-smith/files/ibays/Primary/html/p
[Sun Aug 08 09:50:14 2010] [error] [client 196.211.66.58] File does not exist: /home/e-smith/files/ibays/Primary/html/pHpMy
[Sun Aug 08 09:50:16 2010] [error] [client 196.211.66.58] File does not exist: /home/e-smith/files/ibays/Primary/html/pHpMyAdMiN
[Sun Aug 08 09:50:17 2010] [error] [client 196.211.66.58] File does not exist: /home/e-smith/files/ibays/Primary/html/php-my-admin
[Sun Aug 08 09:50:18 2010] [error] [client 196.211.66.58] File does not exist: /home/e-smith/files/ibays/Primary/html/php-myadmin
[Sun Aug 08 09:50:19 2010] [error] [client 196.211.66.58] File does not exist: /home/e-smith/files/ibays/Primary/html/phpMyA
[Sun Aug 08 09:50:21 2010] [error] [client 196.211.66.58] File does not exist: /home/e-smith/files/ibays/Primary/html/phpMyAdmi
[Sun Aug 08 09:50:22 2010] [error] [client 196.211.66.58] File does not exist: /home/e-smith/files/ibays/Primary/html/phpMyAdmin-2.10.0
[Sun Aug 08 09:50:23 2010] [error] [client 196.211.66.58] File does not exist: /home/e-smith/files/ibays/Primary/html/phpMyAdmin-2.11.1
[Sun Aug 08 09:50:25 2010] [error] [client 196.211.66.58] File does not exist: /home/e-smith/files/ibays/Primary/html/phpMyAdmin-2.11.10
[Sun Aug 08 09:50:26 2010] [error] [client 196.211.66.58] File does not exist: /home/e-smith/files/ibays/Primary/html/phpMyAdmin-2.11.2
[Sun Aug 08 09:50:30 2010] [error] [client 196.211.66.58] File does not exist: /home/e-smith/files/ibays/Primary/html/phpMyAdmin-2.11.4
[Sun Aug 08 09:50:31 2010] [error] [client 196.211.66.58] File does not exist: /home/e-smith/files/ibays/Primary/html/phpMyAdmin-2.11.5
[Sun Aug 08 09:50:33 2010] [error] [client 196.211.66.58] File does not exist: /home/e-smith/files/ibays/Primary/html/phpMyAdmin-2.11.6
[Sun Aug 08 09:50:34 2010] [error] [client 196.211.66.58] File does not exist: /home/e-smith/files/ibays/Primary/html/phpMyAdmin-2.11.7
[Sun Aug 08 09:50:38 2010] [error] [client 196.211.66.58] File does not exist: /home/e-smith/files/ibays/Primary/html/phpMyAdmin-2.11.9
[Sun Aug 08 09:50:40 2010] [error] [client 196.211.66.58] File does not exist: /home/e-smith/files/ibays/Primary/html/phpMyAdmin-2.2.3
[Sun Aug 08 09:50:41 2010] [error] [client 196.211.66.58] File does not exist: /home/e-smith/files/ibays/Primary/html/phpMyAdmin-2.2.6
[Sun Aug 08 09:50:45 2010] [error] [client 196.211.66.58] File does not exist: /home/e-smith/files/ibays/Primary/html/phpMyAdmin-2.3.1
[Sun Aug 08 09:50:47 2010] [error] [client 196.211.66.58] File does not exist: /home/e-smith/files/ibays/Primary/html/phpMyAdmin-2.3.2
[Sun Aug 08 09:50:51 2010] [error] [client 196.211.66.58] File does not exist: /home/e-smith/files/ibays/Primary/html/phpMyAdmin-2.3.4
[Sun Aug 08 09:50:52 2010] [error] [client 196.211.66.58] File does not exist: /home/e-smith/files/ibays/Primary/html/phpMyAdmin-2.3.5
[Sun Aug 08 09:54:08 2010] [error] [client 212.25.77.118] File does not exist: /home/e-smith/files/ibays/linux/html/favicon.ico
[Sun Aug 08 09:54:27 2010] [error] [client 212.25.77.118] File does not exist: /home/e-smith/files/ibays/linux/html/favicon.ico
[Sun Aug 08 11:53:09 2010] [error] [client 87.68.73.126] File does not exist: /home/e-smith/files/ibays/linux/html/favicon.ico
[Sun Aug 08 11:55:20 2010] [error] [client 81.218.172.6] File does not exist: /home/e-smith/files/ibays/linux/html/favicon.ico
[Sun Aug 08 11:55:20 2010] [error] [client 81.218.172.6] File does not exist: /home/e-smith/files/ibays/linux/html/favicon.ico
[Sun Aug 08 11:55:23 2010] [error] [client 81.218.172.6] File does not exist: /home/e-smith/files/ibays/linux/html/favicon.ico
[Sun Aug 08 12:52:34 2010] [error] [client 84.228.234.53] File does not exist: /home/e-smith/files/ibays/linux/html/favicon.ico
[Sun Aug 08 12:56:43 2010] [error] [client 84.95.109.175] File does not exist: /home/e-smith/files/ibays/linux/html/favicon.ico
[Sun Aug 08 13:33:41 2010] [error] [client 193.254.206.6] File does not exist: /home/e-smith/files/ibays/linux/html/favicon.ico
[Mon Aug 09 08:31:49 2010] [notice] caught SIGTERM, shutting down
Thanks all for helping
Skype yosii2009

Offline Stefano

  • *
  • 10,894
  • +3/-0
Re: Server error Port 22 works
« Reply #3 on: August 09, 2010, 08:51:02 AM »
Quote
[Mon Aug 09 08:31:49 2010] [notice] caught SIGTERM, shutting down
httpd was stopped..
did you stop it?

Offline mgb

  • *****
  • 558
  • +0/-0
Re: Server error Port 22 works
« Reply #4 on: August 09, 2010, 11:47:25 AM »
no

httpd status
httpd (pid 32492 32491 32490 32489 32488 32487 32486 32485 32484 32483 32477 4071 4023) is running...
« Last Edit: August 09, 2010, 11:51:08 AM by mgb »
Thanks all for helping
Skype yosii2009

Offline Stefano

  • *
  • 10,894
  • +3/-0
Re: Server error Port 22 works
« Reply #5 on: August 09, 2010, 11:53:41 AM »
well..

it's time for you to describe your issue in a better way..

no crystal ball here, sorry

Offline mgb

  • *****
  • 558
  • +0/-0
Re: Server error Port 22 works
« Reply #6 on: August 09, 2010, 03:08:18 PM »
install PHPizabi 0.848b C1 
USE  phpizabi
 GRANT all  ON phpizabi  TO  phpizabi@localhost IDENTIFIED BY 'password';
 USE phpizabi;                                                            Database changed                                                                mysql> GRANT all  ON phpizabi  TO  phpizabi@localhost IDENTIFIED BY 'password';
Query OK, 0 rows affected (0.02 sec)
http://myserv/PHPizabi 0.848b C1/index.php
install web
sam error  mysql  phpizabi@localhost

It worked
After several hours
Not worked
After the server shuts down
Does not work anymore

Anyway
It's happened a week ago after the last update
I did but after the shutdown to work properly returned fire


 
Thanks all for helping
Skype yosii2009

Offline Stefano

  • *
  • 10,894
  • +3/-0
Re: Server error Port 22 works
« Reply #7 on: August 09, 2010, 03:29:34 PM »
mgb, I'm really sorry, but I can't understand..

Offline mgb

  • *****
  • 558
  • +0/-0
Re: Server error Port 22 works
« Reply #8 on: August 09, 2010, 08:42:13 PM »
I think there is a problem with firewall
I need a command to see the firewall settings
nmap is ok
port is work
Thanks all for helping
Skype yosii2009

Offline Stefano

  • *
  • 10,894
  • +3/-0
Re: Server error Port 22 works
« Reply #9 on: August 09, 2010, 10:46:35 PM »
you should tell us what did you do to break your firewall settings..

anyway, with
Code: [Select]
iptables -L

you can see your firewall setup

Offline mgb

  • *****
  • 558
  • +0/-0
Re: Server error Port 22 works
« Reply #10 on: August 10, 2010, 04:56:05 AM »
iptables -L
Chain INPUT (policy DROP)
target     prot opt source               destination
state_chk  all  --  anywhere             anywhere
local_chk  all  --  anywhere             anywhere
PPPconn    all  --  anywhere             anywhere
denylog    all  --  BASE-ADDRESS.MCAST.NET/4  anywhere
denylog    all  --  anywhere             BASE-ADDRESS.MCAST.NET/4
InboundICMP  icmp --  anywhere             anywhere
denylog    icmp --  anywhere             anywhere
InboundTCP  tcp  --  anywhere             anywhere            tcp flags:SYN,RST,ACK/SYN
denylog    tcp  --  anywhere             anywhere            tcp flags:SYN,RST,ACK/SYN
InboundUDP  udp  --  anywhere             anywhere
denylog    udp  --  anywhere             anywhere
gre-in     gre  --  anywhere             anywhere
denylog    gre  --  anywhere             anywhere
denylog    all  --  anywhere             anywhere

Chain FORWARD (policy DROP)
target     prot opt source               destination
state_chk  all  --  anywhere             anywhere
local_chk  all  --  anywhere             anywhere
ForwardedTCP  tcp  --  anywhere             anywhere            tcp flags:SYN,RST,ACK/SYN
ForwardedUDP  udp  --  anywhere             anywhere
denylog    all  --  anywhere             anywhere

Chain OUTPUT (policy ACCEPT)
target     prot opt source               destination
PPPconn    all  --  anywhere             anywhere
denylog    all  --  BASE-ADDRESS.MCAST.NET/4  anywhere
denylog    all  --  anywhere             BASE-ADDRESS.MCAST.NET/4
ACCEPT     all  --  anywhere             anywhere

Chain ForwardedTCP (1 references)
target     prot opt source               destination
ForwardedTCP_3177  all  --  anywhere             anywhere
denylog    tcp  --  anywhere             anywhere            tcp flags:SYN,RST,ACK/SYN

Chain ForwardedTCP_3177 (1 references)
target     prot opt source               destination

Chain ForwardedUDP (1 references)
target     prot opt source               destination
ForwardedUDP_3177  all  --  anywhere             anywhere
denylog    udp  --  anywhere             anywhere

Chain ForwardedUDP_3177 (1 references)
target     prot opt source               destination

Chain InboundICMP (1 references)
target     prot opt source               destination
InboundICMP_3177  all  --  anywhere             anywhere
denylog    icmp --  anywhere             anywhere

Chain InboundICMP_3177 (1 references)
target     prot opt source               destination
ACCEPT     icmp --  anywhere             anywhere            icmp echo-request
ACCEPT     icmp --  anywhere             anywhere            icmp echo-reply
ACCEPT     icmp --  anywhere             anywhere            icmp destination-unreachable
ACCEPT     icmp --  anywhere             anywhere            icmp source-quench
ACCEPT     icmp --  anywhere             anywhere            icmp time-exceeded
ACCEPT     icmp --  anywhere             anywhere            icmp parameter-problem
denylog    all  --  anywhere             anywhere

Chain InboundTCP (1 references)
target     prot opt source               destination
InboundTCP_3177  all  --  anywhere             anywhere
denylog    tcp  --  anywhere             anywhere            tcp flags:SYN,RST,ACK/SYN

Chain InboundTCP_3177 (1 references)
target     prot opt source               destination
denylog    all  --  anywhere            !bslinu.bs.server.co.il
REJECT     tcp  --  anywhere             bslinu.bs.server.co.il tcp dpt:auth reject-with tcp-reset
ACCEPT     tcp  --  anywhere             bslinu.bs.server.co.il tcp dpt:ipp
ACCEPT     tcp  --  anywhere             bslinu.bs.server.co.il tcp dpt:ftp
ACCEPT     tcp  --  anywhere             bslinu.bs.server.co.il tcp dpt:http
ACCEPT     tcp  --  anywhere             bslinu.bs.server.co.il tcp dpt:ldap
ACCEPT     tcp  --  anywhere             bslinu.bs.server.co.il tcp dpt:http
ACCEPT     tcp  --  anywhere             bslinu.bs.server.co.il tcp dpt:https
ACCEPT     tcp  --  anywhere             bslinu.bs.server.co.il tcp dpt:pop3s
ACCEPT     tcp  --  anywhere             bslinu.bs.server.co.il tcp dpt:1723
ACCEPT     tcp  --  anywhere             bslinu.bs.server.co.il tcp dpt:smtp
ACCEPT     tcp  --  anywhere             bslinu.bs.server.co.il tcp dpt:ssh
ACCEPT     tcp  --  anywhere             bslinu.bs.server.co.il tcp dpt:smtps

Chain InboundUDP (1 references)
target     prot opt source               destination
InboundUDP_3177  all  --  anywhere             anywhere
denylog    udp  --  anywhere             anywhere

Chain InboundUDP_3177 (1 references)
target     prot opt source               destination
denylog    all  --  anywhere            !bslinu.bs.server.co.il

Chain PPPconn (2 references)
target     prot opt source               destination
PPPconn_1  all  --  anywhere             anywhere

Chain PPPconn_1 (1 references)
target     prot opt source               destination

Chain denylog (19 references)
target     prot opt source               destination
DROP       udp  --  anywhere             anywhere            udp dpt:router
DROP       udp  --  anywhere             anywhere            udp dpts:netbios-ns:netbios-ssn
DROP       tcp  --  anywhere             anywhere            tcp dpts:netbios-ns:netbios-ssn
ULOG       all  --  anywhere             anywhere            ULOG copy_range 0 nlgroup 1 prefix `denylog:' queue_threshold 1
DROP       all  --  anywhere             anywhere

Chain gre-in (1 references)
target     prot opt source               destination
denylog    all  --  anywhere            !bslinu.bs.server.co.il
ACCEPT     all  --  anywhere             anywhere

Chain local_chk (2 references)
target     prot opt source               destination
local_chk_3177  all  --  anywhere             anywhere

Chain local_chk_3177 (1 references)
target     prot opt source               destination
ACCEPT     all  --  anywhere             anywhere
ACCEPT     all  --  192.168.10.0/24      anywhere
ACCEPT     all  --  999.194.194.0/24     anywhere

Chain state_chk (2 references)
target     prot opt source               destination
ACCEPT     all  --  anywhere             anywhere            state RELATED,ESTABLISHED
Thanks all for helping
Skype yosii2009

Offline mgb

  • *****
  • 558
  • +0/-0
Re: Server error Port 22 works
« Reply #11 on: August 10, 2010, 09:48:18 AM »
The problem is
Everything works inside the network
 just outside Port 22  Works
Is there a test idea
Management is open to all
And it worked

Thanks all for helping
Skype yosii2009

Offline mgb

  • *****
  • 558
  • +0/-0
Re: Server error Port 22 works
« Reply #12 on: August 10, 2010, 03:56:35 PM »

This problem
Suddenly appeared
[root@bslinu etc]#
Broadcast message from root (tty1) (Tue Aug 10 16:38:51 2010):

The system is going down for system halt NOW!
Thanks all for helping
Skype yosii2009

Offline Stefano

  • *
  • 10,894
  • +3/-0
Re: Server error Port 22 works
« Reply #13 on: August 10, 2010, 04:09:01 PM »
disconnect the eth plug from your server, then restart it
go to bugzilla and raise a bug, thank you

Offline mgb

  • *****
  • 558
  • +0/-0
Re: Server error Port 22 works
« Reply #14 on: August 21, 2010, 12:38:29 PM »
router adsl is not good
Thanks all for helping
Skype yosii2009