Ubuntu :: 10.04 On NT330i Corrupting Http Data?

Oct 31, 2010

I've got a Netbox NT330i [URL]

Ubuntu 10.04 (server) installed with a few minor issues, but is generally in fine shape.

I installed apache2 and the whole lamp stack ready to do some Drupal work.

I noticed a logo.png wasn't loading. Apache logs thought it was serving it fine (200 responses)

It wasn't displaying because it was being corrupted.

I hunted for some reason, stripped back apache2, removed it, installed it bare.
Same problem.

I tried nginx. Same problem.

I've compared pdfs transfered from the webservers and I can see it every-so-often clumps of corrupt data.

Also, wget on the same box gets the files without corruption.

SSH works fine. No corruption. But medium size SFTP transfers can take a while - I presume because it's having to resend corrupted data until the checksums add up.

I then tried using wlan0, which seems to work fine, so it's just the ethernet port corrupting data.

From lspci, the eth0 is an AR8131 rev c0

View 1 Replies


ADVERTISEMENT

General :: Http Or Ftp Data Is Going Through Network?

Oct 19, 2010

Is there a tool or way to find out how much http or ftp data is going through network?

View 4 Replies View Related

General :: Multiple Machines: Share Data Using NFS / HTTP / FTP?

Apr 4, 2011

I have a network of 20 machines, all running Ubuntu 10.04.

Each machine has about 200[GB] of data that I'd like to share with all other 19 machines for READ ONLY PURPOSES. The reading should be done at the FASTEST POSSIBLE WAY.

A friend told me to look into setting up HTTP / FTP. Is it indeed the optimal way to share data between the machines (better than NFS)? if so, how do I go about it?

UPDATE: Just to clarify, all I want is to be able (from within machine X) to access one of machine Ys files and LOAD IT INTO MEMORY. all of the files are of uniform size (500 [KB]). Which method is fastest (SAMBA / NFS / HTTP / FTP)?

View 4 Replies View Related

Software :: CURL Post Data Command From Shell - HTTP Error Code 408

Jan 29, 2011

I am trying to connect to the web interface found at [URL] using curl. This first requires login information to be entered at [URL], but I am having an issue with the login process. I am trying to submit the following form via POST:

Code:
<form action="j_security_check" method="post" id="login_form" name="login_form">
<center> <table style="background: #cac1cf;FONT-SIZE: 12px;">
<tr> <td align="center" colspan="2">Please enter your username and password:</td>
</tr> <tr> <td align="right">Username</td>
<td> <input name="j_username" style="width: 250px" id="j_username" type="text"/> </td>
</tr> <tr>
<td align="right">Password</td>
<td> <input style="width: 250px" name="j_password" id="j_password" type="password"/> </td>
</tr> <tr> <td colspan="2" align="center">
<input value="Enter" name="enter" type="submit"/>
<input value="Clear" name="Clear" type="reset"/>
</td> </tr> </table> </center> </form>
The command that I am using for this is the following:

Code:
curl -c cookies -b cookies -L -d "j_username=user%40domain.com&j_password=pass" [URL]
The command is properly formatted as far as I can tell. I tested it with another website using a similar authentication scheme using different POST variables specific to the form and it worked fine.

When I run the above command with the -v tag, it reveals this:
Code:
* Connected to lcl.uniroma1.it (151.100.4.74) port 80 (#0)
> POST /sso/j_security_check HTTP/1.1
> User-Agent: curl/7.21.0 (i686-pc-linux-gnu) libcurl/7.21.0 OpenSSL/0.9.8o zlib/1.2.3.4 libidn/1.18
> Host: lcl.uniroma1.it
> Accept: */*
> Content-Length: 44
> Content-Type: application/x-www-form-urlencoded
>
} [data not shown]
< HTTP/1.1 408 The time allowed for the login process has been exceeded. If you wish to continue you must either click back twice and re-click the link you requested or close and re-open your browser
< Date: Sat, 29 Jan 2011 15:26:41 GMT
< Server: Apache-Coyote/1.1
< Content-Type: text/html;charset=utf-8
< Content-Length: 1554
< Connection: close
<
{ [data not shown]
103 1554 100 1554 0 52 5081 170 --:--:-- --:--:-- --:--:-- 10223*
Closing connection #0

I cannot tell why the login timeout is expired when I try to do this, and my investigation toward this end has been fruitless. I saw a brief snippet on Google that vaguely suggested that the underscores in the domain name were at fault, but replacing these with their encoded counterparts did nothing to resolve the issue (that, and underscores should be fine when sent unencoded according to the standards). I have extensively perused the man pages and have come up with nothing to adequately explain this behavior. I also talked to a friend who has worked with curl in his line of work, but he mostly has experience in the context of PHP and has not dealt with this issue before. I am running GNU/Linux 2.6.35-22-generic-pae.

View 3 Replies View Related

Ubuntu Installation :: Boot Loader Corrupting Windows MBR

Oct 23, 2010

I installed Ubuntu 10.10 64 on a Compaq CQ60 laptop on a 60 gig partition with a 3 gig swap partition. I'm running windows 7 64bit ultimate on the main partition. I installed off a live disc and Ubuntu works and runs great(except for wifi >.<).

My problem is ever since I installed Ubuntu Windows wont load every time. About half the time I select Windows 7 in the boot loader and it pulls up the windows screen with the stupid little flag, and then resets itself.

There where no problems with Windows 7 prior to the install. I've read that if you didn't reset your computer after shrinking your drive in windows it will cause problems later. But I did that so I cant think of any other explanation for why it would continually crash. Has anybody else had this issue, is this something that might be repaired by removing Ubuntu and the partition and reinstalling it?

View 4 Replies View Related

Fedora Networking :: Setup Ftp Without Reinstalling Or Corrupting?

Sep 6, 2010

my dad bought a HP server for his office for networking and its connected to every computer aswell but since its my aswell his first time at fedora. ok so he wants to setup an FTP server on the server which is has fedora 12 installed on it and apache too installed how to setup an ftp network on the server without reinstalling or corrupting fedora?

View 2 Replies View Related

General :: Seagate Momentus XT Corrupting Files ?

Jul 19, 2011

My Seagate Momentus XT hybrid hard drive is corrupting files on Linux. I would appreciate help from anyone, but I'd particularly like to know if other Momentus XT users are able to reproduce this problem;I have provided step-by-step instructions for reproducing this issue on the Seagate Community Forums.So far, four users have reproduced this problem on the following laptops and OS/distributions:

Five laptops: Lenovo Thinkpad T60, T61, T510, MSI MS-1656-ID1, and MacBook Pro (15" late 2009).
Four OS/distributions: Ubuntu 11.04, Fedora 15, openSUSE, and Mac OS X.

The instructions for reproducing the problem are simple. Here is a brief verbal description: Create a large test file, save it to another storage device (not the Momentus XT), and compute the SHA-1 checksum.Write the test file to the Momentus XT.Read the test file from the Momentus XT, calculate the SHA-1, and compare this checksum with the checksum of the original. We should have a match. We have probably reproduced the problem if they don't match. (Only 'probably', because it is possible for other issues to cause a mismatch. See the Seagate thread about identifying this specific problem by comparing the files with cmp -l.)Repeat from step (2).The Seagate thread has more details. Here are some notes from my testing (I have been able to reproduce this problem on three consecutive Momentus XT drives; I RMA'd twice and am now on the third one):

What seems to be happening is that the Momentus XT sometimes neglects to write data to the drive, so that when I read from the drive, I get what was originally on the sector, and not the correct data. This occurs in blocks of different sizes; typical sizes are 1 MiB and 512 KiB.Problem occurs on ext2, ext4, Btrfs, NTFS, and FAT32. Strangely, I was not able to reproduce this problem on ext3.Writing with the oflag=direct output flag in dd avoids this problem. Rapidly commiting data to disk with while true; do sync; sleep 0.01; done also prevents the problem.

I have only been able to reproduce this problem through a SATA and an eSATA interface. A USB connection seems to prevent the problem. (Not sure if this is due to transfer speed.)problems occur more often with large files (>2 GB). I was not able to produce problems with files smaller than about 85 MB.I was not able to reproduce the problem on Windows XP with NTFS.Gazoi at the Seagate forums was unable to reproduce the problem on FreeBSD 8.2 with UFS2.The Momentus XT passes both the extended SMART test and badblocks -w with no issues.My laptop (MS-1656-ID1) has successfully passed through 24 hours each of Memtest86+, Memtest86, memtester,and MPrime.I have tested two other storage devices (a Seagate Momentus 7200.4 and an Intel 320 series SSD) with the same procedure, and they both pass with no issues.

View 2 Replies View Related

Ubuntu Servers :: Nagios On 10.04 Server Using Apt-get - HTTP WARNING: HTTP/1.1 404 Not Found

Aug 4, 2010

I installed Nagios on my Ubuntu 10.04 server using apt-get and when I accessed the web console, everything was OK. I made some changes to apache (creating some new virtual sites) and since then Nagios gives me a warning message for HTTP with the message, HTTP WARNING: HTTP/1.1 404 Not Found. The sites that I created are working perfectly. I noticed that the attemps are 4/4. Does this need to be reset or does Nagios automatically reset that once it detects the issue is resolved?

View 1 Replies View Related

Fedora :: GRUB Version 0.97 Is Corrupting Ntfs Partition

Mar 4, 2010

Maybe some experts have a deeper knowledge what's going on? Seems GNU GRUB version 0.97 is corrupting ntfs partition if installed on it on my 2.6.31.5-127.fc12.x86_64

[Code]...

How I have achieved this: Upgraded (in fact installed on the same partition without reformatting) W7 32 (RC-7100) to W7 64 enterprise. It has nuked grub (used to boot FC-12) and silently removed a small boot (or windows backup) partition so ntfs became sda3 instead of sda4. Booting from fedora dvd causes the sequence listed above.

The main problem here is that grub doesn't boot windows: there was "unknown filesystem" error. After fixing boot record with "testdisk" I get: "booting windows in 3 ... 2 ... 1 ... booting windows in 3 ... 2.. forever" If I use W7 repair disk it fixes windows and nukes grub away (ntfs partition has to be active for that otherwise the smart soft can't find it). So, making sda1 active and placing grub there is not an option...

View 4 Replies View Related

OpenSUSE Install :: How To Avoid Windows MBR From Overwriting And Corrupting Grub

Jul 18, 2011

I had opensuse/winxp running.

First windows xp wouldn't boot - then opensuse **** out and I had nothing but a black screen. I spent about two days trying to figure out what in god's name happened. I finally got a copy of winxp recovery disk and it couldn't find the partition that windows was on. That gave me some idea of what was going on. So I tried to fix the matter from partitionmagic. I reinstalled grub making sure that everything was associated properly. I still couldn't get either opensuse or windows to boot after many many different trial and error attempts.

After deciding there was no help for it. I decided to slave my hard drive and wipe to start over. So I booted partition magic from USB and deleted my opensuse partition and -what do you know - windows booted right up. Aside from feeling windows xp's smug grin as the logo appeared - i am perplexed as to how this happened. My guess is that MBR tried to overwrite grub. But I think that the loader was confused and trying to boot from the wrong partition.

I want to reinstall opensuse again. However I want to make sure that this doesn't happen. I need my xp partition for examsoft because wine doesn't seem to work for it and I can't vbox it. So is there some way to make sure that when I do install from DVD on my USB that:

1) repositories are correct
2) MBR doesn't overwrite grub (should I install Grub2 or LILO?)

View 4 Replies View Related

Networking :: Craft A Valid Http/1.1 Request For Getting Http Headers (not The Html File Itself)

Sep 27, 2010

Using netcat, nc(1), craft a valid http/1.1 request for getting http headers (not the html file itself!) for the main index page of www dot aalto dot fi. What request method did you use? Which headers did you need to send to the server? What was the status code for the request? Which headers did the server return? Explain the purpose of each header.

nc -v www dot aalto dot fi 8080
HEAD / HTML/1.1
host: www dot aalto dot fi
And it returns:
200 OK
Content-Length: 858
Content-Type: text/html
Last-Modified: Thu, 02 Sep 2010 12:46:01 GMT
[Code]....

I really don't know what does it mean. Question 2: Using netcat, nc(1), start a bogus web server listening on the loopback interface port 8080. Verify with netstat(, that the server really is listening where it should be. Direct your browser to the bogus server and capture the User-Agent: header "Direct your browser to the bogus server and capture the User-Agent: header" I don't understand this question.

View 2 Replies View Related

General :: Meerkat Install Corrupting Win7 Partition Wifi Drivers?

Dec 28, 2010

I've had an annoying couple of days beginning with a win7 reinstall on a dual boot system (win7/10.10) that wiped out grub. I reinstalled ubuntu (10.04) in the hopes of just getting grub2 back up, but that failed and I ended up with a new install of 10.04 on the partition and a happily functioning and coexisting win7/ubuntu wit grub working the way that I wanted.

However, I'm traveling, and tried to reinstall the wifi drivers manually. I think I messed something up and installed the 10.10 drivers onto the 10.04 system (I only had a 10.04 disk and the pendrive usb method failed). Anyway, when I tried to (re)install the drivers from the cd, I got the error: a later driver has already been installed. However, the problem at hand is as follows: now my win7 install doesn't see any of the wireless networks around.So, I think I somehow fraked the wifi card.

View 1 Replies View Related

SUSE :: How To Update SUSE 10 Sp2 Without Corrupting Files

Jun 16, 2009

I have a SUSE 10 sp2 server that I am using for hosting VMware and virtual machines. I have installed the basic host machine with only file server enabled (no dns, dhcp, print services or anything else). This is the fifth time I have had to reinstall because after I applied all the updates the system downloaded, it would not boot with a cd/dvdrom mounted. I tried everything I knew hot to do, which I admit isn't much (edited the fstab, tried to mount through command line) but nothing brought it back.

this all started because I had the entire machine loaded with VMware, two virtual machines, and all was well until I decided to update the OES2 sp1 virtual machines. All manor of issues cropped up like corn in the summer. So I reloaded after a week because I couldn't fix the problems and decided in my limited knowledge the updates probably caused the issues, and there was no undoing the updates. I assume (dangerous as that may be) that I applied too many updates to my bare system, but I would like a more experienced opinion.

View 9 Replies View Related

Ubuntu :: Excel Data Shrinks To The Small Scale - Unreadable When Copy Data From Another Spreadsheet Onto The New One

Jan 17, 2011

I've been using Excel from OpenOffice with moderate success for the last year. Now I've just tried to open a new spreadsheet and I'm suddenly getting a highly condensed view. The cells are about 1mm X 4mm. If I expand them by selecting and dragging, then try to copy data from another spreadsheet onto the new one, the data shrinks to the small scale -- unreadable.

View 4 Replies View Related

Ubuntu :: Recovering Data - This Directory Has Been Unmounted To Protect Your Data

Jun 3, 2010

Ubuntu 9.10 64bit. Acer Laptop

Using ubuntu 9.10 cd to access laptops hard drive.

foun readme file in /media/disk/mark

opened with openoffice. THIS DIRECTORY HAS BEEN UNMOUNTED TO PROTECT YOUR DATA.

From the graphical desktop, click on: "Access Your Private Data"

or

From the command line, run: $ ecryptfs-mount-private

So I tried a couple of ways...

View 9 Replies View Related

Ubuntu :: 3TB HD (with Data) Expanding To 3x3TB RAID (without Losing Data)?

Jul 27, 2011

Right now I have a 320GB system drive and 3TB data drive. I want to add two more 3TB drives and do a software RAID5 3x3TB. Is that possible without losing the data that is already on the data drive?Just want to make sure before I bought the 2 two drives. Not looking for instructions on how to do it,but if you want to include some that would be great too Just making sure it will work.

View 1 Replies View Related

Ubuntu Servers :: Access The Data In .fbd Data File

Feb 19, 2011

We purchased a new database system at work last October, ditching the old system because of a lack of support from the vendor. This is a retail Point of Sale and Backoffice database system. I am not sure what system the new one runs on, but the system we replaced was a Firebird data base. The reason I am posting is because we are now in need of the information contained in the old database which was not completely imported into the new system.

Basically the problem is this: The database in on a Windows XP system and I found a copy of SQL Manager Lite 2008 on the system, which after quite a bit of studying, I figured out how to extract the database into a removable file. I have this file (178MB) on a USB stick in a file called Backoffice.fbd.

My studying suggests to me that I can get into this database with MySQL. I have never used this and have no clue how to do this. All I want to be able to do get into the database and create tab deliminated spreadsheet files for each of the database sections (Customers, Repairs, Sales History, stock files, etc.) Is it possible to do this with Ubuntu and MySQL and if so, can expert suggest one or two things to get me started. While a guided tutorial would be nice because I am not an expert, I am willing to learn on my own if someone could point me in the right direction.

View 3 Replies View Related

OpenSUSE :: Does KMail Account Data - Such As Login Data / Names Of Pop / Smtp Servers

Oct 6, 2010

Where apart from ~/.kde4/share/apps/kmail does kmail keep account data, such as login data/names of pop/smtp servers? I wanted to install an entirely clean version of kmail, so I uninstalled/re-installed kmail via YAST. I manually deleted ~/.kde4/share/apps/kmail. After installing kmail I found that the account data of my Yahoo account were still listed in the kmail configuration panel. Shall I delete the Yahoo account within kmail prior to uninstalling the kmail package?

View 4 Replies View Related

General :: Mount: /dev/mapper/gegevens-Data Already Mounted Or /data Busy

Jul 14, 2010

A few months ago I have setup a server with three hard disks. The partition mapping the disks as follows:

Disk /dev/sda: 1000.2 GB, 1000204886016 bytes
255 heads, 63 sectors/track, 121601 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Disk identifier: 0x7ca36fee

[code]....

Now I have the following problem the LVM file system don't mount properly.If I open the mount point I see only a few files of the LVM disk. If I want to unmount the disk I get the following error:

umount /data/
umount: /data/: not mounted

If I want to mount the volume I get the following error:

mount -a
mount: /dev/mapper/gegevens-Data already mounted or /data busy

View 3 Replies View Related

Debian :: Network Manager Overwrite Resolvconf Vpn Data With Eth0 Data

Jan 23, 2010

I'm trying to connect to the VPN of my employer; after fix various minor issues I reach this point in which the DNS entries and the default gateway of the VPN are overwritten with the values of the eth0 device that appears by default. Therefore the vpn is not useful.

View 1 Replies View Related

Networking :: Serial Port : Read Data, Not Reading Complete Data?

Mar 5, 2010

I have an application where I am sending data via serial port from PC1 (Java App) and reading that data in PC2 (C++ App). The problem that I am facing is that my PC2 (C++ App) is not able to read complete data sent by PC1 i.e. from my PC1 I am sending 190 bytes but PC2 is able to read close to 140 bytes though I am trying to read in a loop.Below is code snippet of my C++ AppOpen the connection to serial port

Code:
serialfd = open( serialPortName.c_str(), O_RDWR | O_NOCTTY | O_NDELAY);
if (serialfd == -1)

[code]...

View 5 Replies View Related

Programming :: Get Data From Serial Port Function Read() Blocks When Data Not Available?

Jun 11, 2009

I am using read() in c++ to get data from a serial port. However, if no data is available on the serial port the function blocks until dta arrives.Example code:

//------------------------------------------------------------
char m_readBuffer[255] = {0};
char* p_curChar = m_readBuffer;

[code]...

View 1 Replies View Related

Programming :: Data Directory In Automake - Data Is Always Read-only ?

May 9, 2010

I have some data files that should be distributed with my program. Using dist_pkgdata_DATA in Makefile.am, I get these files installed to /usr/local/data/share/package-name. The problem is that data is read-only, and my program needs to modify it. Playing with dist_sharedstate_DATA, dist_localstate_DATA, dist-data_DATA varibles, I got different installation directories, like /usr/local/com, usr/local/var, but data is always read-only.

How can I distribute modifiable data files with my package? I need some common directory for all users, or maybe local data in a user directory.

View 1 Replies View Related

Ubuntu :: Can Only Connect To MSN Using HTTP Method

Jan 11, 2010

I have come across a fairly minor issue however. When using any IM clients I am unable to login to MSN using the direct connection method. Instead I find myself having to connect using the HTTP method. I wouldn't worry about this except many of my contacts are complaining that they are getting "message unabled to be delivered" errors regularly when trying to contact me.

View 8 Replies View Related

Ubuntu :: Make A FTP And HTTP Server?

Mar 24, 2010

i need to make a HTTP and FTP server in ubuntu,how to install and configure

View 1 Replies View Related

Ubuntu :: Cannot Access Http Sites?

Aug 2, 2011

How do I get rid of my wubi partition since Ubuntu doesn't work on a Vista laptop. Sorry, it was a gift for Christmas. I never realized Ubuntu was so defective.I am running Windows Vista 32 bit with 3 gigs of ram and one partition from the factory (HP).

View 1 Replies View Related

Ubuntu Networking :: SSH Through HTTP Proxy Locally

Feb 18, 2010

I'm behind a very blocked firewall that only allows connections through port 80 and 443. I wish to ssh to my machine at home, but the port is blocked. Is there a simple server that I can run to route my ssh connection through http?

View 2 Replies View Related

Ubuntu :: Cisco - Firefox - HTTP Post ?

Aug 7, 2010

I am using the following software stack:Linux version 2.6.32-21-generic (buildd@yellow) (gcc version 4.4.3 (Ubuntu 4.4.3-4ubuntu5) ) #32-Ubuntu SMP Fri Apr 16 08:09:38 UTC 2010 (Ubuntu 2.6.32-21.32-generic 2.6.32.11+drm33.2) (Kubuntu) cisco anyconnect vpn client 2.3.2016, Mozilla Firefox 3.6.8

The problem I have is that once I join my company vpn, I have full access to corporate services confluence, jira, servers, etc. However when I use firefox to try and resolve a jira and post a body of text the connection timesout.

If i use any other browser it works fine, if slow, if i transition workflows it works fine, and if i use windows and firefox with the same cisco client it works fine.

This appears to be a specific issue with Firefox. I have noticed that in general firefox is slower on ubuntu than on any other platform.

View 3 Replies View Related

Ubuntu Servers :: X64 Blocking Port 80 (HTTP)

Oct 5, 2010

I have Ubuntu Server (x64) installed on my box with Apache2 and Squid. For awahile port 80 (http) was fine, I could update packages and use wget. Then one random day port 80 became blocked for incoming traffic. I couldn't use apt-get and had to change to an ftp mirror to update. Also wget is not working.

View 3 Replies View Related

Ubuntu Networking :: SSH & HTTP Unable To Connect?

Mar 23, 2011

I have an Ubuntu 10.10 machine hosting a virtual Windows machine on virtualbox. I have 3 servers I connect to using SSH with password authentication, on standard port (22)For some unknown reason, I have one server that I cannot connect to Via SSH using putty/terminal or HTTP via Browser from my Host nix box, but my Virtual machine CAN connect via both. Same machine, same network, one virtual with a bridged adapter, one physical network card connected to my network.

View 4 Replies View Related







Copyrights 2005-15 www.BigResource.com, All rights reserved