Koozali.org: home of the SME Server

I am constantly being cut off from the internet

Offline LANMonkey

  • *****
  • 350
  • +0/-0
    • Database Collection of Transcripts for the ICTY
I am constantly being cut off from the internet
« on: March 16, 2012, 05:40:11 PM »
This is an old problem, but it is starting to occur with increasing frequency.

On a regular basis, at least once a week, I am no longer able to access the internet through my gateway SME 8.  I have tried turning the modem off, waiting a couple of minutes and then turning it back on again, but that doesn't work.  I've tried contacting my ISP to see if they are having problems and they don't report any.  The only consistent solution seems to be to reboot SME.  Rebooting SME all by itself doesn't seem to work, or at least only if I do it once.  Doing it once or twice in combination with turning the modem off and on always seems to fix it.

I also have websites using dynamic dns, and I assume they are no longer accessible when this problem is occuring.

What is going on or, how can I figure out what the problem is?

Offline CharlieBrady

  • *
  • 6,918
  • +3/-0
Re: I am constantly being cut off from the internet
« Reply #1 on: March 16, 2012, 06:00:49 PM »
This is an old problem, but it is starting to occur with increasing frequency.


Don't report problems here
- Please report bugs and potential bugs in the bug tracker

Offline LANMonkey

  • *****
  • 350
  • +0/-0
    • Database Collection of Transcripts for the ICTY
Re: I am constantly being cut off from the internet
« Reply #2 on: March 16, 2012, 10:09:49 PM »
Quote
What is going on or, how can I figure out what the problem is?

I don't even know if I have a problem yet.  I'm asking if there is a problem, or how can I find out if there is a problem.

Offline CharlieBrady

  • *
  • 6,918
  • +3/-0
Re: I am constantly being cut off from the internet
« Reply #3 on: March 16, 2012, 11:43:26 PM »
I don't even know if I have a problem yet.


Seriously? "On a regular basis, at least once a week, I am no longer able to access the internet ..."

Offline JohnG

  • ****
  • 89
  • +0/-0
Re: I am constantly being cut off from the internet
« Reply #4 on: March 17, 2012, 05:03:53 AM »
What happens when you physically bypass the SME box?

As for the websites, next time call a buddy to check if they're still up.

Offline chris burnat

  • *****
  • 1,135
  • +2/-0
    • http://www.burnat.com
Re: I am constantly being cut off from the internet
« Reply #5 on: March 17, 2012, 09:15:28 AM »
I don't even know if I have a problem yet.  I'm asking if there is a problem, or how can I find out if there is a problem.

This issue should be reported to Bugzilla for investigation.  I myself have seen this on my setup, however resetting the router usually fixes it.  We need to find out if it is a router/ISP issue, or an SME issue.  The Forums are not the place to do this work.
Thanks.
- chris
If it does not work out of the box, please fill in a Bug Report @ Bugzilla (http://bugs.contribs.org)  - check: http://wiki.contribs.org/Bugzilla_Help .  Thanks.

Offline LANMonkey

  • *****
  • 350
  • +0/-0
    • Database Collection of Transcripts for the ICTY
Re: I am constantly being cut off from the internet
« Reply #6 on: March 17, 2012, 05:02:11 PM »
Thanks, I'll do that.

Please, whenever somebody refers a post here to the bug tracker, it should be just common sense to include a link to the bug tracker.  Or maybe there should be a permanent link somewhere on the forum header.

Offline CharlieBrady

  • *
  • 6,918
  • +3/-0
Re: I am constantly being cut off from the internet
« Reply #7 on: March 17, 2012, 05:51:53 PM »
Or maybe there should be a permanent link somewhere on the forum header.

It's there, deviously hidden under the label "BUGS".

Offline Jáder

  • *
  • 1,099
  • +0/-0
    • LinuxFacil
Re: I am constantly being cut off from the internet
« Reply #8 on: March 20, 2012, 01:28:04 AM »
This is an old problem, but it is starting to occur with increasing frequency.

On a regular basis, at least once a week, I am no longer able to access the internet through my gateway SME 8.  I have tried turning the modem off, waiting a couple of minutes and then turning it back on again, but that doesn't work.  I've tried contacting my ISP to see if they are having problems and they don't report any.  The only consistent solution seems to be to reboot SME.  Rebooting SME all by itself doesn't seem to work, or at least only if I do it once.  Doing it once or twice in combination with turning the modem off and on always seems to fix it.

I also have websites using dynamic dns, and I assume they are no longer accessible when this problem is occuring.

What is going on or, how can I figure out what the problem is?

Please verify if your server is not getting out of disk space.
I've seen this happens very often.
Code: [Select]
df -h
Other thing to verify is if your squid logs aren't getting beyond 2GB limit.
Code: [Select]
ls -lah /var/log/squid
Keep one eye on them and post your results!
Good luck.

Jáder
...

Offline LANMonkey

  • *****
  • 350
  • +0/-0
    • Database Collection of Transcripts for the ICTY
Re: I am constantly being cut off from the internet
« Reply #9 on: March 26, 2012, 09:22:27 PM »
Here is what I am getting:

Code: [Select]
[root@xxx ~]# df -h
Filesystem            Size  Used Avail Use% Mounted on
/dev/mapper/main-root
                       36G  7.4G   26G  23% /
/dev/md1               99M   25M   70M  27% /boot
tmpfs                 251M     0  251M   0% /dev/shm
[root@xxx ~]# ls -lah /var/log/squid
total 200K
drwxr-x---  2 squid squid 4.0K Oct 23 04:02 .
drwxr-xr-x 50 root  root   12K Mar 26 04:02 ..
-rw-r-----  1 squid squid    0 Oct 23 04:02 access.log
-rw-r-----  1 squid squid  43K Oct 23 04:02 access.log.1.gz
-rw-r-----  1 squid squid    0 Oct 23 04:02 cache.log
-rw-r-----  1 squid squid 1.6K Oct 23 04:02 cache.log.1.gz
-rw-r-----  1 squid squid    0 Oct 23 04:02 store.log
-rw-r-----  1 squid squid 130K Oct 23 04:02 store.log.1.gz

Looks OK.  Funny you should mention disk space.  I am getting constant errors about disk space in backup messages:

Quote
==================================
DAILY BACKUP TO WORKSTATION REPORT
==================================
Backup of xxx started at Mon Sep  5 02:00:44 2011
Backup of mysql databases has been done
Mounting backup shared directory XXX
Backup temp directory /mnt/smb/tmp_dir/xxx is mounted and is writable
Using set number 3 of 3
Attempt full backup
Backup base file name is full-201109050200
Making backup in temp directory
Using a backup session timeout of : 28770 seconds


 --------------------------------------------
 101868 inode(s) saved
 with 0 hard link(s) recorded
 0 inode(s) changed at the moment of the backup
 0 inode(s) not saved (no inode/file change)
 0 inode(s) failed to save (filesystem error)
 287 inode(s) ignored (excluded by filters)
 0 inode(s) recorded as deleted from reference backup
 --------------------------------------------
 Total number of inode considered: 102155
 --------------------------------------------
Rotating backups in a new set /mnt/smb/xxx/set2.
Moving backup files to target directory /mnt/smb/xxx/set2
Disk space not available
Updating backup configuration data
Backup successfully terminated at : Mon Sep  5 02:58:10 2011

Offline purvis

  • *****
  • 567
  • +0/-0
Re: I am constantly being cut off from the internet
« Reply #10 on: March 27, 2012, 09:34:51 AM »
LanMonkey, who is isp your provider.
I have been having a bundle of problems with Comcast on a business connection.
If your running windows.
download a program i have written to ping one or more locations to test for such things as connection to the internet or a certain website or a piece of lan equipment
the program pings up to 9 sites or 1 location 3 times hoping to get a ping response
the ping timeout period for a particular location is 300ms and the program will retry sites after 3 seconds
use the program as you want and give it away as you want.
financeinla then a dot then a com then a forward slash then a testing then a forward slash then a pingsite

get internet.exe for windows, you might like it.
you can get a log report by clicking on the text box  in the gui, sorry you cannot copy the text to clipboard. that is the next thing for the program

you could do the same thing in a php script but you would not have immediate feedback on a windows desktop
the other files there are for my on going testing purposes

i will be removing the website in the future and erasing this message too, so get it while you can.


« Last Edit: March 28, 2012, 01:10:47 PM by purvis »

Offline Stefano

  • *
  • 10,894
  • +3/-0
Re: I am constantly being cut off from the internet
« Reply #11 on: March 27, 2012, 09:56:44 AM »
LANMonkey

please, show the output of

Code: [Select]
df -i

thank you

Offline Jáder

  • *
  • 1,099
  • +0/-0
    • LinuxFacil
Re: I am constantly being cut off from the internet
« Reply #12 on: March 27, 2012, 12:50:08 PM »
LanMonkey

One thead = one problem :)
if you have problems with backup, maybe your backup disk is full... so mount "/mnt/smb/xxx/" and execute both commando on it:
Code: [Select]
df -i /mnt/smb

df -h /mnt/smb

df -i (as requested by Stefano for your main disk) will show if you have inodes left. and df -h will show your disk space remaining on your backup disk.

...

Offline LANMonkey

  • *****
  • 350
  • +0/-0
    • Database Collection of Transcripts for the ICTY
Re: I am constantly being cut off from the internet
« Reply #13 on: March 27, 2012, 05:46:35 PM »
Thanks everyone for replying.


purvis, I am already applying ping to investigate my internet connection.  Every morning, first thing when I log in, I ping yahoo from the Windows command line,

Code: [Select]
ping www.yahoo.com
If that looks like it is not working, I'll try,

Code: [Select]
ping 123.123.123.123
and might see something like "network unavailable".

Unless your ping is doing something more exotic, I'll just stick with my pings.

Here you go Stefano,

Code: [Select]
[root@xxx ~]# df -i
Filesystem            Inodes   IUsed   IFree IUse% Mounted on
/dev/mapper/main-root
                     9484160   98472 9385688    2% /
/dev/md1               26104      50   26054    1% /boot
tmpfs                  64171       1   64170    1% /dev/shm

Yes jader, I only mentioned my backup in passing because of the possibility of a full disk.  Here is the feedback from your suggested queries,

Code: [Select]
[root@xxx ~]# df -i /mnt/smb
Filesystem            Inodes   IUsed   IFree IUse% Mounted on
/dev/mapper/main-root
                     9484160   98472 9385688    2% /
[root@xxx ~]# df -h /mnt/smb
Filesystem            Size  Used Avail Use% Mounted on
/dev/mapper/main-root
                       36G  7.4G   26G  23% /

Offline Stefano

  • *
  • 10,894
  • +3/-0
Re: I am constantly being cut off from the internet
« Reply #14 on: March 27, 2012, 06:00:47 PM »
so.. /mn/smb is a mount point for /dev/mapper/main-root?

please.. post the output of

Code: [Select]
mount

there's something wrong here :-)