Koozali.org: home of the SME Server

SME Not providing net access (Urgent)

Offline msk

  • **
  • 35
  • +0/-0
SME Not providing net access (Urgent)
« on: December 16, 2009, 07:32:48 AM »
Hi

I am using SME server in gateway and private mode with dansguardian and it was working fine last night i shutdown it but today morning i found its not giving internet access to users and also failing its own internet access test.

I changed ISP but no success and ISP has no problem because same accounts working fine with other machine.

Then i revert back to return Transparent Proxy port to default value and to disable portblocking with following commands

config setprop squid TransparentPort 3128
config delprop dansguardian portblocking
signal-event post-upgrade; signal-event reboot

but still Server unable to access internet but server can ping ISP DNS and gateway.

What can be reason?

Regards
Mobassir   

 

Offline mmccarn

  • *
  • 2,651
  • +10/-0
Re: SME Not providing net access (Urgent)
« Reply #1 on: December 16, 2009, 01:02:11 PM »
Look at the log files in /var/log to look for error messages.

I've had similar behavior when my root partition filled up - /var/log/messages complained about the full disk, and /var/log/tinydns/current explained that tinydns was failing for lack of disk space.

Another indication of failed DNS is to browse to an external site by IP address -- if that works, but normal browsing doesn't, you have a DNS problem.  For example, http://64.233.169.103/ should open the Google homepage...

Offline msk

  • **
  • 35
  • +0/-0
Re: SME Not providing net access (Urgent)
« Reply #2 on: December 17, 2009, 06:35:38 AM »
Hi

Thanks for quick reply, yesterday after some reboots and change of server names then it’s started work and we shutdown server in running condition.
But today morning again it’s again on same state and not giving access to clients to allow to brows internet.
I tried to brows with direct IP but no success and then also checked logs you mentioned but could find any problem with full disk and for more confirmation is checked disk with
df -h    and result is as bellow:


file system                           Size                used    Avail      Use%
/dev/mapper/main-root          73G                 3.3 G   66G          5%
/dev/md1                             88M                13M     81M         14%
/none                                  118M               0        118M        0%

Please let me know if its still looks like disk space problem or any other commands to check disk uses and how to free space.

may be its problem of high size of any cache of squid or dansguardian.

please guide further.

Regards
MSK



 

Offline msk

  • **
  • 35
  • +0/-0
Re: SME Not providing net access (Urgent)
« Reply #3 on: December 17, 2009, 07:33:16 AM »
Further more see below WAN current log file where server sad about  WAN some other host already uses address.
Actually these IP's are not assigned any other machine and surety i tried different WAN  address with multiple ISP's.



2009-12-16 11:11:34.012442500 Error, some other host already uses address
2009-12-16 11:38:06.914947500 Error, some other host already uses address
2009-12-16 11:46:39.778762500 Error, some other host already uses address
2009-12-16 11:59:29.866217500 Error, some other host already uses address
2009-12-16 12:24:23.673598500 Error, some other host already uses address
2009-12-16 12:42:06.724512500 Error, some other host already uses address
2009-12-16 14:13:07.587933500 Error, some other host already uses address
2009-12-17 08:17:00.327586500 Error, some other host already uses address
2009-12-17 09:00:14.929249500 Error, some other host already uses address
2009-12-17 09:07:01.118513500 Error, some other host already uses address
2009-12-17 10:23:00.418270500 Error, some other host already uses address
2009-12-17 10:51:33.123839500 Error, some other host already uses address
2009-12-17 11:08:37.127145500 Error, some other host already uses address

Please guide if above log can he to diagnose

Regards
MSK

Offline mmccarn

  • *
  • 2,651
  • +10/-0
Re: SME Not providing net access (Urgent)
« Reply #4 on: December 17, 2009, 12:35:15 PM »
Quote
2009-12-17 11:08:37.127145500 Error, some other host already uses address
I think some other computer has the same WAN address that your SME is using.

If you are not doing this (by assigning a fixed IP on a connection that should be using DHCP, for example), then your ISP is having problems.

When Cox Cable first started providing internet here in the DC region they had lots of problems with this.  I ran into this situation at least 3 times:
1) Someone would plug their computer into the Cox modem and get an IP
2) They would then decide they want to have a "fixed" IP without paying Cox the extra $5/mo they wanted for this, and would code the above IP as a "fixed" ip in their system
3) I would be working at a neighbor's house -- and the neighbor would be assigned an IP by the Cox DHCP server that was the same as the one that the first user had hard coded in step 2.
4) At this point, neither internet connection works...


Your ISP may be forcing a DHCP address change daily -- if you have hard-coded your address, you could end up with the above error when the ISP assigns the same IP to another user down the street from you.

And, there is always the obvious solution -- is it possible that you have two computers with the same WAN ip that you plug in to your ISP at the same time?

Finally, this error (as far as I know) could be generated if you have another computer on the LAN that is using the same IP address as your SME server -- so watch out for that, too.

Offline msk

  • **
  • 35
  • +0/-0
Re: SME Not providing net access (Urgent)
« Reply #5 on: December 17, 2009, 12:49:09 PM »
Hi

Thanks for your points and look very valid that if i am using double IP then ISP must be doing it so i will also talk with ISP.

But question is i have 3 different ISP's so tried all three with static Publick IP's but result was same and i checked multiple times during that problem all those ip's i sued with SME at WAN were free.

And interesting point is about few hours ago again as yesterday its suddenly started work and stable now so in that case it problem can be at ISP's end but when question came that i use 3 different ISP's with different IP pool then how its possible.

Anyway its still under diagnostic why its happening but your points are very good.

Regards
MSK


Offline erroneus

  • ***
  • 62
  • +0/-0
Re: SME Not providing net access (Urgent)
« Reply #6 on: December 18, 2009, 03:21:26 AM »
Did you do the more basic troubleshooting that includes testing your WAN connection on your LAN to validate its functional state?  Have you connected another machine or router to the cable modem?

Have you performed some ifdown eth# and ifup eth# commands to see what is returned?