Koozali.org: home of the SME Server

[Errno -1] Header is not complete

Offline jeff.p

  • **
  • 23
  • +0/-0
[Errno -1] Header is not complete
« on: May 04, 2009, 05:10:35 AM »
We have been getting this error message for over two weeks now [Errno -1] Header is not complete. Can anyone shed any light i have searched the forums but none of the fixes worked.

Jeff

Offline cactus

  • *
  • 4,880
  • +3/-0
    • http://www.snetram.nl
Re: [Errno -1] Header is not complete
« Reply #1 on: May 04, 2009, 10:08:53 AM »
We have been getting this error message for over two weeks now [Errno -1] Header is not complete. Can anyone shed any light i have searched the forums but none of the fixes worked.
When do you receive this error? Where do you observe it? Is there any action that is triggering it? We need a little more detail as we have no crystal ball.
Be careful whose advice you buy, but be patient with those who supply it. Advice is a form of nostalgia, dispensing it is a way of fishing the past from the disposal, wiping it off, painting over the ugly parts and recycling it for more than its worth ~ Baz Luhrmann - Everybody's Free (To Wear Sunscreen)

Offline Stefano

  • *
  • 10,894
  • +3/-0
Re: [Errno -1] Header is not complete
« Reply #2 on: May 04, 2009, 10:09:51 AM »
Hi..

you could start telling us where/when/how do you get this error..  no crystal ball here ;-)

Ciao
Stefano

Offline jeff.p

  • **
  • 23
  • +0/-0
Re: [Errno -1] Header is not complete
« Reply #3 on: May 05, 2009, 01:20:49 AM »
Sorry about that . This is the error i get when doing yum update. Thankyou for looking at this

[root@smeserver7 ~]# yum update
==============================================================
WARNING: Additional commands may be required after running yum
==============================================================
Loading "smeserver" plugin
Loading "protect-packages" plugin
Loading "installonlyn" plugin
Loading "fastestmirror" plugin
Setting up Update Process
Setting up repositories
smeextras                 100% |=========================| 1.9 kB    00:00
updates                   100% |=========================|  951 B    00:00
smeos                     100% |=========================| 1.9 kB    00:00
smeupdates                100% |=========================| 1.9 kB    00:00
Loading mirror speeds from cached hostfile
Reading repository metadata in from local files
Excluding Packages from CentOS - updates
Finished
Resolving Dependencies
--> Populating transaction set with selected packages. Please wait.
---> Downloading header for php-mysql to pack into transaction set.
php-mysql-4.3.9-3.22.15.i 100% |=========================|  37 kB    00:00
http://sme-mirror.voxteneo.com/releases/7/smeupdates/i386/RPMS/php-mysql-4.3.9-3.22.15.i386.rpm: [Errno -1] Header is not complete.
Trying other mirror.
php-mysql-4.3.9-3.22.15.i 100% |=========================|  37 kB    00:00
http://distro.ibiblio.org/pub/linux/distributions/smeserver/releases/7/smeupdates/i386/RPMS/php-mysql-4.3.9-3.22.15.i386.rpm: [Errno -1] Header is not complete.
Trying other mirror.
php-mysql-4.3.9-3.22.15.i 100% |=========================|  37 kB    00:00
http://ftp.surfnet.nl/ftp/pub/os/Linux/distr/smeserver/releases/7/smeupdates/i386/RPMS/php-mysql-4.3.9-3.22.15.i386.rpm: [Errno -1] Header is not complete.
Trying other mirror.
php-mysql-4.3.9-3.22.15.i 100% |=========================|  37 kB    00:00
http://ftp.nluug.nl/os/Linux/distr/smeserver/releases/7/smeupdates/i386/RPMS/php-mysql-4.3.9-3.22.15.i386.rpm: [Errno -1] Header is not complete.
Trying other mirror.
php-mysql-4.3.9-3.22.15.i 100% |=========================|  37 kB    00:00
http://mirror.pacific.net.au/linux/smeserver/releases/7/smeupdates/i386/RPMS/php-mysql-4.3.9-3.22.15.i386.rpm: [Errno -1] Header is not complete.
Trying other mirror.
php-mysql-4.3.9-3.22.15.i 100% |=========================|  37 kB    00:00
http://smemirror.fullnet.co.uk/releases/7/smeupdates/i386/RPMS/php-mysql-4.3.9-3.22.15.i386.rpm: [Errno -1] Header is not complete.
Trying other mirror.
Error: failure: RPMS/php-mysql-4.3.9-3.22.15.i386.rpm from smeupdates: [Errno 256] No more mirrors to try.

Offline Stefano

  • *
  • 10,894
  • +3/-0
Re: [Errno -1] Header is not complete
« Reply #4 on: May 05, 2009, 08:04:27 AM »
ok

what version of SME are you running?
did you try to do
Code: [Select]
yum clean all
?

Ciao
Stefano

Offline jeff.p

  • **
  • 23
  • +0/-0
Re: [Errno -1] Header is not complete
« Reply #5 on: May 05, 2009, 08:13:34 AM »
We are running Ver 7.4 and yes i tried Yum clear all

Offline janet

  • *****
  • 4,812
  • +0/-0
Re: [Errno -1] Header is not complete
« Reply #6 on: May 05, 2009, 08:38:34 AM »
jeff.p

Quote
...and yes i tried Yum clear all

You need to try
yum clean all

(watch the case & spelling)

Edit: fixed quote bb code syntax
« Last Edit: May 05, 2009, 08:40:39 AM by cactus »
Please search before asking, an answer may already exist.
The Search & other links to useful information are at top of Forum.

Offline jeff.p

  • **
  • 23
  • +0/-0
Re: [Errno -1] Header is not complete
« Reply #7 on: May 05, 2009, 08:55:21 AM »
Sorry a typo did Yum clean All then Yum update but still fails at the first file. Could the fault be with the file php-mysql-4.3.9-3.22.15.i386.rpm as that's the only file tried on all the mirrors.

[root@smeserver7 ~]# yum update
==============================================================
WARNING: Additional commands may be required after running yum
==============================================================
Loading "smeserver" plugin
Loading "protect-packages" plugin
Loading "installonlyn" plugin
Loading "fastestmirror" plugin
Setting up Update Process
Setting up repositories
smeextras                 100% |=========================| 1.9 kB    00:00
updates                   100% |=========================|  951 B    00:00
smeos                     100% |=========================| 1.9 kB    00:00
smeupdates                100% |=========================| 1.9 kB    00:00
Loading mirror speeds from cached hostfile
Reading repository metadata in from local files
Excluding Packages from CentOS - updates
Finished
Resolving Dependencies
--> Populating transaction set with selected packages. Please wait.
---> Downloading header for php-mysql to pack into transaction set.
php-mysql-4.3.9-3.22.15.i 100% |=========================|  37 kB    00:00
http://ftp.nluug.nl/os/Linux/distr/smeserver/releases/7/smeupdates/i386/RPMS/php-mysql-4.3.9-3.22.15.i386.rpm: [Errno -1] Header is not complete.
Trying other mirror.
php-mysql-4.3.9-3.22.15.i 100% |=========================|  37 kB    00:00
http://mirror.pacific.net.au/linux/smeserver/releases/7/smeupdates/i386/RPMS/php-mysql-4.3.9-3.22.15.i386.rpm: [Errno -1] Header is not complete.
Trying other mirror.
php-mysql-4.3.9-3.22.15.i 100% |=========================|  37 kB    00:00
http://distro.ibiblio.org/pub/linux/distributions/smeserver/releases/7/smeupdates/i386/RPMS/php-mysql-4.3.9-3.22.15.i386.rpm: [Errno -1] Header is not complete.
Trying other mirror.
php-mysql-4.3.9-3.22.15.i 100% |=========================|  37 kB    00:00
http://ftp.surfnet.nl/ftp/pub/os/Linux/distr/smeserver/releases/7/smeupdates/i386/RPMS/php-mysql-4.3.9-3.22.15.i386.rpm: [Errno -1] Header is not complete.
Trying other mirror.
php-mysql-4.3.9-3.22.15.i 100% |=========================|  37 kB    00:00
http://smemirror.fullnet.co.uk/releases/7/smeupdates/i386/RPMS/php-mysql-4.3.9-3.22.15.i386.rpm: [Errno -1] Header is not complete.
Trying other mirror.

Offline cactus

  • *
  • 4,880
  • +3/-0
    • http://www.snetram.nl
Re: [Errno -1] Header is not complete
« Reply #8 on: May 05, 2009, 09:01:06 AM »
Sorry a typo did Yum clean All then Yum update but still fails at the first file. Could the fault be with the file php-mysql-4.3.9-3.22.15.i386.rpm as that's the only file tried on all the mirrors.
Once again all commands are lowercase, are you sure you executed them in lowercase (you state again you are using a opening capital again).
Be careful whose advice you buy, but be patient with those who supply it. Advice is a form of nostalgia, dispensing it is a way of fishing the past from the disposal, wiping it off, painting over the ugly parts and recycling it for more than its worth ~ Baz Luhrmann - Everybody's Free (To Wear Sunscreen)

Offline jeff.p

  • **
  • 23
  • +0/-0
Re: [Errno -1] Header is not complete
« Reply #9 on: May 06, 2009, 03:25:19 AM »
yes i have been using lowercase for the commands as is shown by the following


root@smeserver7 ~]# yum clean all
==============================================================
WARNING: Additional commands may be required after running yum
==============================================================
Loading "smeserver" plugin
Loading "protect-packages" plugin
Loading "installonlyn" plugin
Loading "fastestmirror" plugin
Cleaning up Everything
0 headers removed
0 packages removed
12 metadata files removed
0 cache files removed
4 cache files removed
================================================================
No new rpms were installed. No additional commands are required.
================================================================
[root@smeserver7 ~]# yum update
==============================================================
WARNING: Additional commands may be required after running yum
==============================================================
Loading "smeserver" plugin
Loading "protect-packages" plugin
Loading "installonlyn" plugin
Loading "fastestmirror" plugin
Setting up Update Process
Setting up repositories
smeextras                 100% |=========================| 1.9 kB    00:00
updates                   100% |=========================|  951 B    00:00
smeos                     100% |=========================| 1.9 kB    00:00
smeupdates                100% |=========================| 1.9 kB    00:00
Loading mirror speeds from cached hostfile
Reading repository metadata in from local files
primary.xml.gz            100% |=========================|  20 kB    00:00
smeextras : ################################################## 61/61
primary.xml.gz            100% |=========================| 142 kB    00:00
updates   : ################################################## 464/464
primary.xml.gz            100% |=========================| 265 kB    00:00
smeos     : ################################################## 543/543
primary.xml.gz            100% |=========================|  55 kB    00:00
smeupdates: ################################################## 109/109
Excluding Packages from CentOS - updates
Finished
Resolving Dependencies
--> Populating transaction set with selected packages. Please wait.
---> Downloading header for php-mysql to pack into transaction set.
php-mysql-4.3.9-3.22.15.i 100% |=========================|  37 kB    00:00
http://ftp.nluug.nl/os/Linux/distr/smeserver/releases/7/smeupdates/i386/RPMS/php-mysql-4.3.9-3.22.15.i386.rpm: [Errno -1] Header is not complete.
Trying other mirror.
php-mysql-4.3.9-3.22.15.i 100% |=========================|  37 kB    00:00
http://mirror.pacific.net.au/linux/smeserver/releases/7/smeupdates/i386/RPMS/php-mysql-4.3.9-3.22.15.i386.rpm: [Errno -1] Header is not complete.
Trying other mirror.
php-mysql-4.3.9-3.22.15.i 100% |=========================|  37 kB    00:00
http://distro.ibiblio.org/pub/linux/distributions/smeserver/releases/7/smeupdates/i386/RPMS/php-mysql-4.3.9-3.22.15.i386.rpm: [Errno -1] Header is not complete.
Trying other mirror.
php-mysql-4.3.9-3.22.15.i 100% |=========================|  37 kB    00:00
http://ftp.surfnet.nl/ftp/pub/os/Linux/distr/smeserver/releases/7/smeupdates/i386/RPMS/php-mysql-4.3.9-3.22.15.i386.rpm: [Errno -1] Header is not complete.
Trying other mirror.
php-mysql-4.3.9-3.22.15.i 100% |=========================|  37 kB    00:00
http://smemirror.fullnet.co.uk/releases/7/smeupdates/i386/RPMS/php-mysql-4.3.9-3.22.15.i386.rpm: [Errno -1] Header is not complete.
Trying other mirror.
php-mysql-4.3.9-3.22.15.i 100% |=========================|  37 kB    00:00
http://sme-mirror.voxteneo.com/releases/7/smeupdates/i386/RPMS/php-mysql-4.3.9-3.22.15.i386.rpm: [Errno -1] Header is not complete.
Trying other mirror.
Error: failure: RPMS/php-mysql-4.3.9-3.22.15.i386.rpm from smeupdates: [Errno 256] No more mirrors to try.
================================================================
No new rpms were installed. No additional commands are required.
================================================================

Offline CharlieBrady

  • *
  • 6,918
  • +3/-0
Re: [Errno -1] Header is not complete
« Reply #10 on: May 06, 2009, 03:53:34 AM »
We have been getting this error message for over two weeks now [Errno -1] Header is not complete. Can anyone shed any light i have searched the forums but none of the fixes worked.

Do you have a web proxy between your server and the Internet? Might your ISP have added a web proxy?

What happens when you do this from the command line?

wget \
http://smemirror.fullnet.co.uk/releases/7/smeupdates/i386/RPMS\/php-mysql4.3.9-3.22.15.i386.rpm


Offline jeff.p

  • **
  • 23
  • +0/-0
Re: [Errno -1] Header is not complete
« Reply #11 on: May 06, 2009, 04:07:24 AM »
result of that command. Will check if a proxy server is in place

Thanks

[root@smeserver7 ~]# wget \
> http://smemirror.fullnet.co.uk/releases/7/smeupdates/i386/RPMS\/php-mysql4.3.9-3.22.15.i386.rpm
--12:05:31--  http://smemirror.fullnet.co.uk/releases/7/smeupdates/i386/RPMS/php-mysql4.3.9-3.22.15.i386.rpm
           => `php-mysql4.3.9-3.22.15.i386.rpm'
Resolving smemirror.fullnet.co.uk... 85.234.154.63
Connecting to smemirror.fullnet.co.uk|85.234.154.63|:80... connected.
HTTP request sent, awaiting response... 404 Not Found
12:05:32 ERROR 404: Not Found.

Offline Stefano

  • *
  • 10,894
  • +3/-0
Re: [Errno -1] Header is not complete
« Reply #12 on: May 06, 2009, 09:10:08 AM »
hi

try:
Code: [Select]
wget  http://smemirror.fullnet.co.uk/releases/7/smeupdates/i386/RPMS/php-mysql4.3.9-3.22.15.i386.rpm

it should work

Ciao
Stefano

Offline jeff.p

  • **
  • 23
  • +0/-0
Re: [Errno -1] Header is not complete
« Reply #13 on: May 07, 2009, 01:23:19 AM »
hi

try:
Code: [Select]
wget  http://smemirror.fullnet.co.uk/releases/7/smeupdates/i386/RPMS/php-mysql4.3.9-3.22.15.i386.rpm

it should work

Ciao
Stefano

Thanks but we tried that and get this error as per previous post
[root@smeserver7 ~]# wget  http://smemirror.fullnet.co.uk/releases/7/smeupdates/i386/RPMS/php-mysql4.3.9-3.22.15.i386.rpm
--09:18:19--  http://smemirror.fullnet.co.uk/releases/7/smeupdates/i386/RPMS/php-mysql4.3.9-3.22.15.i386.rpm
           => `php-mysql4.3.9-3.22.15.i386.rpm'
Resolving smemirror.fullnet.co.uk... 85.234.154.63
Connecting to smemirror.fullnet.co.uk|85.234.154.63|:80... connected.
HTTP request sent, awaiting response... 404 Not Found
09:18:22 ERROR 404: Not Found.

We are not behind a proxy server and can get to and see the file at http://smemirror.fullnet.co.uk/releases/7/smeupdates/i386/RPMS but yum does not want to down load it nor is wget able to get the file. Thanks for all your help with this.
Jeff

Offline Stefano

  • *
  • 10,894
  • +3/-0
Re: [Errno -1] Header is not complete
« Reply #14 on: May 07, 2009, 08:33:03 AM »
sorry, my bad.. there's a typo, it should be:
Code: [Select]
wget  http://smemirror.fullnet.co.uk/releases/7/smeupdates/i386/RPMS/php-mysql-4.3.9-3.22.15.i386.rpm

once you got it on your server, intall it with
Code: [Select]
yum localinstall php-mysql-4.3.9-3.22.15.i386.rpm

ciao
Stefano and cut&paste...