NASLite Network Attached Storage

www.serverelements.com
Task-specific simplicity with low hardware requirements.
It is currently Tue Apr 23, 2024 3:29 am

All times are UTC - 5 hours [ DST ]




Post new topic Reply to topic  [ 30 posts ]  Go to page 1, 2  Next
Author Message
PostPosted: Sun Feb 19, 2012 11:10 am 
Offline

Joined: Sat Jan 15, 2011 9:58 am
Posts: 13
Location: Washington DC
I would like to know what to do about NASLite apparently sending incorrectly formed HTML admin pages to connected browsers.

It sends a long string of garbage characters, followed by HTTP/1.1 200 OK Server: webfs/1.21 and other information, followed by [for example] Date: Sun, 19 Feb 2012 14:34:14 GMT, followed by the DOCTYPE and HTML code.

I emphasize that these are the NAS administrator pages such as /Status/htm/about.htm, and not HTML pages I have written.

*** An example is attached to this post as bad.jpg. ***

Browsers respond to the pages in different ways.

* Safari downloads the pages instead of displaying them.

* Firefox loads the pages with the garbage characters rendered at the top, and will not display many of the images, such as: /Status/img/storage.png, clogo.gif, www.png, unlock.png, syslog.png, system.png, network.png... And the pages consistently load erroneously and incompletely.

* Chrome states, "This type of file can harm your computer. Do you want to keep server.htm anyway?"

This occurs on two Macs connected to the network as well as to an Ubuntu PC.

I am using NASLite 2.67 on a homebuilt PC that has been otherwise in excellent service.


Attachments:
bad.jpg
bad.jpg [ 162.59 KiB | Viewed 33469 times ]
Top
 Profile  
 
PostPosted: Sun Feb 19, 2012 6:56 pm 
Offline

Joined: Sun Apr 02, 2006 9:05 pm
Posts: 1688
Location: Up State NY in the USA!!!!
I have never seen that, it may be possible that some part of NL got corrupted and requires a reboot or at worse a reload of the OS. Both are fast and painless to say the least. I have built and rebuilt NL many times and never seen this so I would try the above first.

Mike


Top
 Profile  
 
PostPosted: Sun Feb 19, 2012 8:17 pm 
Offline

Joined: Sat Jan 15, 2011 9:58 am
Posts: 13
Location: Washington DC
Thanks Mike.

The previous version of NL did the same thing.

I do not find that reinstallation of the OS is a breeze, with all the unlocking, formatting, settings etc. and would like to avoid going through all that again.

When the admin files are loaded directly from the Status folder into the browser -- as opposed to retrieving them over HTTP from the server's IP address -- most of the pages work and images load, but some remain malformed.


Top
 Profile  
 
PostPosted: Mon Feb 20, 2012 12:17 am 
Offline
Site Admin

Joined: Tue Jul 13, 2004 4:01 pm
Posts: 801
Location: ServerElements
I would say you would either have some bad memory in your NL box or a networking problem of some sort, bad cables etc.

It's definately not a problem with NASLite.


Top
 Profile  
 
PostPosted: Mon Feb 20, 2012 11:18 am 
Offline

Joined: Sun Apr 02, 2006 9:05 pm
Posts: 1688
Location: Up State NY in the USA!!!!
Kind of where I was going to go next Ralph. I would run a 24Hr memory check on the NL box first.

What kind of network infrastructure are you running right now. By this I mean how is the network configured and what are the devices in use.

Mike


Top
 Profile  
 
PostPosted: Mon Feb 20, 2012 12:17 pm 
Offline

Joined: Sat Jan 15, 2011 9:58 am
Posts: 13
Location: Washington DC
The NAS box 192.168.0.23 is connected to a Motorola cable modem/router 192.168.0.1.
There are two Macs on the network currently, at 0.2 and 0.4

So far I have:

* Tested RAM - Memtest 100% pass
* Changed CD-ROM drive (for installs)
* Changed hard drive and re-installed
* Changed networking cable
* Changed video card
* Rebooted modem/router and NAS box several times.

Same results. My next step will be to re-burn the NL CD and re-install.


Top
 Profile  
 
PostPosted: Mon Feb 20, 2012 12:38 pm 
Offline

Joined: Sun Apr 02, 2006 9:05 pm
Posts: 1688
Location: Up State NY in the USA!!!!
Very strange issue. I have accessed my NAS from PCs, Macs (power and x86), Linux of various flavors, and Solaris Unix on both X86 and Sparc hardware and never seen this happen. I am stumped. I might try a different switch just for giggles if you have one laying around. By this I mean the switch with the two Macs and the NL server hanging off of it and the router plugged into the switch as well and see if the issue persists.

Mike


Top
 Profile  
 
PostPosted: Mon Feb 20, 2012 1:53 pm 
Offline

Joined: Sat Jan 15, 2011 9:58 am
Posts: 13
Location: Washington DC
I burned a new CD and reinstalled - same result.

I connected the machines to a switch, and the switch to the modem/router, but that made no difference.

I suspect that I may have a bad ISO. Is there a hash for the ISO I can check?

Thanks.


Top
 Profile  
 
PostPosted: Mon Feb 20, 2012 2:08 pm 
Offline

Joined: Sat Nov 19, 2005 6:39 pm
Posts: 633
Location: California
t0ddfan wrote:
I suspect that I may have a bad ISO. Is there a hash for the ISO I can check?

Thanks.

Yes, the MD5 is displayed on the downloads page ... (where your (re-)validated link takes you).


Top
 Profile  
 
PostPosted: Mon Feb 20, 2012 2:41 pm 
Offline

Joined: Sat Jan 15, 2011 9:58 am
Posts: 13
Location: Washington DC
Thank you. The MD5 displayed by ServerElements and the ISO I downloaded are the same. I think I am out of options.


Top
 Profile  
 
PostPosted: Mon Feb 20, 2012 3:57 pm 
Offline

Joined: Sat Nov 19, 2005 6:39 pm
Posts: 633
Location: California
You've tried a lot :shock:

But you said previous version also did it; also you said
t0ddfan wrote:
So far I have:

* Tested RAM - Memtest 100% pass
* Changed CD-ROM drive (for installs)
* Changed hard drive and re-installed
* Changed networking cable
* Changed video card
* Rebooted modem/router and NAS box several times.

Same results. My next step will be to re-burn the NL CD and re-install.

Try
a] harddrive data cable (is it IDE or SATA?);
b] copy the "Status" folder to a client (local MAC) harddrive; try
(1) opening the htm's with browser from local copy;
(2) file compare the NL "Status" folder (and sub-folder/files) to the local copy;
c] What type of motherboard/CPU are you running NL on ? Try a different IDE / SATA channel ?
d] Run the hardware diagnostics on the NL CD. Any strange errors or messages ?
e] In the "syslog.htm" ... in the bottom 50 lines ... any unusual [4] or [5] or higher messages/errors ?
f] What is your configuration device (USB ? HDD ?) Do an fsck on it.

(Sorry ... a lot to ask for ... but in cases where you have tried the obvious already ...)

:) Georg


Top
 Profile  
 
PostPosted: Mon Feb 20, 2012 4:46 pm 
Offline

Joined: Sat Jan 15, 2011 9:58 am
Posts: 13
Location: Washington DC
The board is Asus M4A78LT-M LE, the CPU is AMD Phenom something.

I changed both HD SATA cables and the SATA connectors on the mb without result.

From the log - The next to last entry is a [5]:

Feb 20 20:34:15 [4] Warning! ehci_hcd should always be loaded before uhci_hcd and ohci_hcd, not after
Feb 20 20:34:15 [2] ehci_hcd 0000:00:12.2: PCI INT B -> GSI 17 (level, low) -> IRQ 17
Feb 20 20:34:15 [2] ehci_hcd 0000:00:12.2: EHCI Host Controller
Feb 20 20:34:15 [2] ehci_hcd 0000:00:12.2: new USB bus registered, assigned bus number 6
Feb 20 20:34:15 [2] ehci_hcd 0000:00:12.2: debug port 1
Feb 20 20:34:15 [2] ehci_hcd 0000:00:12.2: irq 17, io mem 0xfe8ff800
Feb 20 20:34:15 [2] usb 1-2: new low speed USB device using ohci_hcd and address 2
Feb 20 20:34:15 [2] ehci_hcd 0000:00:12.2: USB 2.0 started, EHCI 1.00
Feb 20 20:34:15 [2] usb usb6: configuration #1 chosen from 1 choice
Feb 20 20:34:15 [2] hub 6-0:1.0: USB hub found
Feb 20 20:34:15 [2] hub 6-0:1.0: 6 ports detected
Feb 20 20:34:15 [2] ehci_hcd 0000:00:13.2: PCI INT B -> GSI 19 (level, low) -> IRQ 19
Feb 20 20:34:15 [2] ehci_hcd 0000:00:13.2: EHCI Host Controller
Feb 20 20:34:15 [2] ehci_hcd 0000:00:13.2: new USB bus registered, assigned bus number 7
Feb 20 20:34:15 [2] ehci_hcd 0000:00:13.2: debug port 1
Feb 20 20:34:15 [2] ehci_hcd 0000:00:13.2: irq 19, io mem 0xfe8ff400
Feb 20 20:34:15 [5] hub 1-0:1.0: unable to enumerate USB device on port 2
Feb 20 20:34:15 [2] ehci_hcd 0000:00:13.2: USB 2.0 started, EHCI 1.00
Feb 20 20:34:15 [2] usb usb7: configuration #1 chosen from 1 choice
Feb 20 20:34:15 [2] hub 7-0:1.0: USB hub found
Feb 20 20:34:15 [2] hub 7-0:1.0: 6 ports detected
Feb 20 20:34:15 [2] Uniform Multi-Platform E-IDE driver
Feb 20 20:34:15 [2] atiixp 0000:00:14.1: IDE controller (0x1002:0x439c rev 0x00)
Feb 20 20:34:15 [2] ATIIXP_IDE 0000:00:14.1: PCI INT A -> GSI 16 (level, low) -> IRQ 16
Feb 20 20:34:15 [2] atiixp 0000:00:14.1: not 100% native mode: will probe irqs later
Feb 20 20:34:15 [2] ide0: BM-DMA at 0xff00-0xff07
Feb 20 20:34:15 [2] ide1: BM-DMA at 0xff08-0xff0f
Feb 20 20:34:15 [1] Probing IDE interface ide0.
Feb 20 20:34:15 [2] usb 1-2: new low speed USB device using ohci_hcd and address 3
Feb 20 20:34:15 [1] Probing IDE interface ide1.
Feb 20 20:34:15 [2] usb 1-2: configuration #1 chosen from 1 choice
Feb 20 20:34:16 [2] ide0 at 0x1f0-0x1f7,0x3f6 on irq 14
Feb 20 20:34:16 [2] ide1 at 0x170-0x177,0x376 on irq 15
Feb 20 20:34:17 [4] Driver 'sd' needs updating - please use bus_type methods
Feb 20 20:34:17 [3] sd 0:0:0:0: [sda] 312581808 512-byte hardware sectors: (160 GB/149 GiB)
Feb 20 20:34:17 [3] sd 0:0:0:0: [sda] Write Protect is off
Feb 20 20:34:17 [1] sd 0:0:0:0: [sda] Mode Sense: 00 3a 00 00
Feb 20 20:34:17 [3] sd 0:0:0:0: [sda] Write cache: enabled, read cache: enabled, doesn't support DPO or FUA
Feb 20 20:34:17 [2] sda:
Feb 20 20:34:17 [2] sda1 sda2
Feb 20 20:34:17 [3] sd 0:0:0:0: [sda] Attached SCSI disk
Feb 20 20:34:17 [4] Driver 'sr' needs updating - please use bus_type methods
Feb 20 20:34:17 [4] sr0: scsi3-mmc drive: 52x/52x writer dvd-ram cd/rw xa/form2 cdda tray
Feb 20 20:34:17 [2] Uniform CD-ROM driver Revision: 3.20
Feb 20 20:34:17 [1] sr 2:0:0:0: Attached scsi CD-ROM sr0
Feb 20 20:34:17 [2] input: Microsoft Microsoft Optical Mouse with Tilt Wheel as /devices/pci0000:00/0000:00:12.0/usb1/1-2/1-2:1.0/input/input4
Feb 20 20:34:17 [2] generic-usb 0003:045E:00D1.0001: input: USB HID v1.11 Mouse [Microsoft Microsoft Optical Mouse with Tilt Wheel] on usb-0000:00:12.0-2/input0
Feb 20 20:34:17 [2] usbcore: registered new interface driver usbhid
Feb 20 20:34:17 [2] usbhid: v2.6:USB HID core driver
Feb 20 20:34:48 [5] atl1c 0000:02:00.0: Unable to allocate MSI interrupt Error: -1
Feb 20 20:34:48 [2] atl1c 0000:02:00.0: atl1c: eth0 NIC Link is Up<1000 Mbps Full Duplex>


Top
 Profile  
 
PostPosted: Mon Feb 20, 2012 5:03 pm 
Offline

Joined: Sun May 27, 2007 5:38 pm
Posts: 517
Location: gods own country
hmmmm - a big change but i would be changing the motherboard and cpu - i know little about AMD's but in the past when i have come up against a problem that cannot be explained it has usually been on an AMD cpu - run the same program/software on an Intel cpu and the problem disappeared


Top
 Profile  
 
PostPosted: Mon Feb 20, 2012 5:23 pm 
Offline
Site Admin

Joined: Tue Jul 13, 2004 4:01 pm
Posts: 801
Location: ServerElements
Can you post the entire syslog.

Thanks.


Top
 Profile  
 
PostPosted: Mon Feb 20, 2012 7:39 pm 
Offline

Joined: Sat Nov 19, 2005 6:39 pm
Posts: 633
Location: California
Ralph wrote:
Can you post the entire syslog.

Thanks.

Well ! *Now* we're getting SOMEWHERE !!!! :lol: ( I should have suggested that ! )
:P


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 30 posts ]  Go to page 1, 2  Next

All times are UTC - 5 hours [ DST ]


Who is online

Users browsing this forum: No registered users and 55 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
cron
Powered by phpBB® Forum Software © phpBB Group