Re: Question regarding a server with an unsupported old version

2012-10-22 Thread andrew clarke
On Mon 2012-10-22 11:31:36 UTC+0900, Rei Okamoto (okam...@mix-net.co.jp) wrote:

> I want to build the test server as close to the
> actual server as possible, such as considering the
> OS's version 4.11 to be close enough to 4.7, but
> as I try to install PHP4 with a following command,

Like others have said, if at all possible you should at least try to
upgrade to supported versions of FreeBSD & PHP 4.

FreeBSD 7.x should have similar system requirements as 4.7, except for
needing more disk space. Having said that though, support for FreeBSD
7.4 is estimated to end in February 2013, just four months away, and I
can't see any signs on the FreeBSD web site that there is a 7.5
release being planned. So perhaps switching to 8.3 is the more
sensible option if your hardware will allow it.

I should point out that it should be possible to use 'pkg_create -a'
on the existing system to create tarballs of every installed package,
then install FreeBSD 4.7 under VirtualBox, copy the tarballs to the
virtual machine, then install all of them with 'pkg_add *.tgz'.

It may also be possible to use rsync to synchronise the VM's
filesystem with the actual server machine, although I think rsync will
need to be installed on both. Also, sshd will probably need to be
temporarily enabled on the original server if it's not already.

There is also the 'dump' and 'restore' programs in FreeBSD that could
be used for cloning a FreeBSD system over a network, although I'm not
at all familiar with their usage.

Is there any particular reason you went with 4.11? Is it because it
was the last of the 4.x series? (I don't recall offhand.) I vaguely
recall there were some ABI changes over the lifetime of the 4.x series
which meant binaries built for, say, FreeBSD 4.0 would not run under
later versions (4.8 perhaps). I only mention this because you might
encounter problems running binaries built for FreeBSD 4.7 under
FreeBSD 4.11.

Regards
Andrew
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"


Re: Question regarding a server with an unsupported old version

2012-10-22 Thread Erich Dollansky
Hi,

On Tue, 23 Oct 2012 11:32:15 +0900
Rei Okamoto  wrote:

> Hi Adam, Olivier, Erich, and the rest,
> 
> Thank you for your replies.
> 
> It sounds like the best thing to do is to migrate
> the contents to a server with new versions of all softwares.
> 
this is the ideal solution. But do not forget that it could be possible
to run a supported FreeBSD version on the current hardware.

Erich
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"


Re: Question regarding a server with an unsupported old version

2012-10-22 Thread Rei Okamoto
Hi Adam, Olivier, Erich, and the rest,

Thank you for your replies.

It sounds like the best thing to do is to migrate
the contents to a server with new versions of all softwares.

I'll make further discussions with my boss about this matter.

Thank you again,
Rei Okamoto


> Hello to all,
> 
> My name is Rei Okamoto posting from Japan.
> 
> I'm very new to FreeBSD and please pardon and caution me
> if anything I post is in any way inappropriate.
> 
> Here's a problem I'm facing right now.
> 
> I started working for a company this month as a
> sole engineerer, given all my tasks with virtually
> no manuals other than IP addresses, IDs and PWs.
> (Dangerous, but not such a rare case in this country)
> 
> One of the clients is running the web site using
> FreeBSD 4.7.
> 
> Although it is surely the best to renew the server to
> newest machine and OS, the client is reluctant to do so
> because of money.
> 
> So a long story short, because I need to do some testing,
> I've installed FreeBSD 4.11 to the VirtualBox as a
> test server in my local PC and got the network connected.
> 
> I want to build the test server as close to the
> actual server as possible, such as considering the
> OS's version 4.11 to be close enough to 4.7, but
> as I try to install PHP4 with a following command,
> 
> pkg_add -r php4-4.3.6.tgz
> 
> I get an error message below.
> 
> Error: FTP Unable to get 
> ftp://ftp.freebsd.org/pub/FreeBSD/ports/i386/packages-4.11-release/Latest/php4-4.3.6.tgz:
>  File unavailable (e.g., file not found, no access)
> 
> So you probably can figure out the rest of the story,
> it is all too old to make a near duplication of the server.
> 
> Is there any suggestion on what I can do
> other than convincing the client to renew the server?
> (which I am doing but already been politely refused)
> 
> Pardon me for the long message,
> and thank you in advance for all replies.
> 
> 
> Thank you,
> Rei Okamoto
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"


Re: Question regarding a server with an unsupported old version

2012-10-21 Thread Adam Vande More
On Sun, Oct 21, 2012 at 9:31 PM, Rei Okamoto  wrote:

> Hello to all,
>
> My name is Rei Okamoto posting from Japan.
>
> I'm very new to FreeBSD and please pardon and caution me
> if anything I post is in any way inappropriate.
>
> Here's a problem I'm facing right now.
>
> I started working for a company this month as a
> sole engineerer, given all my tasks with virtually
> no manuals other than IP addresses, IDs and PWs.
> (Dangerous, but not such a rare case in this country)
>
> One of the clients is running the web site using
> FreeBSD 4.7.
>
> Although it is surely the best to renew the server to
> newest machine and OS, the client is reluctant to do so
> because of money.
>
> So a long story short, because I need to do some testing,
> I've installed FreeBSD 4.11 to the VirtualBox as a
> test server in my local PC and got the network connected.
>
> I want to build the test server as close to the
> actual server as possible, such as considering the
> OS's version 4.11 to be close enough to 4.7, but
> as I try to install PHP4 with a following command,
>
> pkg_add -r php4-4.3.6.tgz
>
> I get an error message below.
>
> Error: FTP Unable to get
> ftp://ftp.freebsd.org/pub/FreeBSD/ports/i386/packages-4.11-release/Latest/php4-4.3.6.tgz:
> File unavailable (e.g., file not found, no access)
>
> So you probably can figure out the rest of the story,
> it is all too old to make a near duplication of the server.
>
> Is there any suggestion on what I can do
> other than convincing the client to renew the server?
> (which I am doing but already been politely refused)
>
> Pardon me for the long message,
> and thank you in advance for all replies.
>

You can find an archive of packages released with FreeBSD 4.11 here:
ftp://ftp-archive.freebsd.org/pub/FreeBSD-Archive/old-releases/i386/4.11-RELEASE/packages/All/

However, you'll find the packages are different than those released with
your original version.  A move from 4.7 to 4.11 doesn't really gain you
much.  Better off to start a migration strategy or leave it alone.

-- 
Adam Vande More
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"


Re: Question regarding a server with an unsupported old version

2012-10-21 Thread Olivier Nicole
Dear Rei,

> One of the clients is running the web site using
> FreeBSD 4.7.
>[...]
> pkg_add -r php4-4.3.6.tgz
>
> I get an error message below.
>
> Error: FTP Unable to get 
> ftp://ftp.freebsd.org/pub/FreeBSD/ports/i386/packages-4.11-release/Latest/php4-4.3.6.tgz:
>  File unavailable (e.g., file not found, no access)

I believe that PHP4 (and most of the ports used in the server of your
client) are not supported anymore.

You would be able to download it from somewhere, there must exist
archives, but you'd have to build everything by hand.

> Is there any suggestion on what I can do
> other than convincing the client to renew the server?
> (which I am doing but already been politely refused)

1) build a new system, with new Apache, new PHP, etc. and port the web
site of your client to the new system. Let the client test and approve
it, an install that on his old hardware.

2) get your boss approve the fact that the server of the client is ou
of date and cannot be maintened anymore. Then you charge the client
for colocation (electricity and internet) but the client is
responsible for the maintenance.

Best regards,

Olivier
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"


Re: Question regarding a server with an unsupported old version

2012-10-21 Thread Erich Dollansky
Hi,

On Mon, 22 Oct 2012 11:31:36 +0900
Rei Okamoto  wrote:

> One of the clients is running the web site using
> FreeBSD 4.7.

this is not a real fresh installation.
> 
> Although it is surely the best to renew the server to
> newest machine and OS, the client is reluctant to do so
> because of money.

There is still the option to use a supported version of FreeBSD. You
can have a try with 7.4. Some hardware support was taken out with 8.
But if 8 works, take 8.3.
> 
> as I try to install PHP4 with a following command,

I doubt that you will get this anywhere anymore.
> 
> Is there any suggestion on what I can do
> other than convincing the client to renew the server?
> (which I am doing but already been politely refused)
> 
Just try a newer FreeBSD version. 7.4 is currently still supported.

Of course, it also could be that 9.1 is running on this hardware. This
would be perfect. But I do not know if you can get the client's web
sites running on a current PHP version.

Erich
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"


Question regarding a server with an unsupported old version

2012-10-21 Thread Rei Okamoto
Hello to all,

My name is Rei Okamoto posting from Japan.

I'm very new to FreeBSD and please pardon and caution me
if anything I post is in any way inappropriate.

Here's a problem I'm facing right now.

I started working for a company this month as a
sole engineerer, given all my tasks with virtually
no manuals other than IP addresses, IDs and PWs.
(Dangerous, but not such a rare case in this country)

One of the clients is running the web site using
FreeBSD 4.7.

Although it is surely the best to renew the server to
newest machine and OS, the client is reluctant to do so
because of money.

So a long story short, because I need to do some testing,
I've installed FreeBSD 4.11 to the VirtualBox as a
test server in my local PC and got the network connected.

I want to build the test server as close to the
actual server as possible, such as considering the
OS's version 4.11 to be close enough to 4.7, but
as I try to install PHP4 with a following command,

pkg_add -r php4-4.3.6.tgz

I get an error message below.

Error: FTP Unable to get 
ftp://ftp.freebsd.org/pub/FreeBSD/ports/i386/packages-4.11-release/Latest/php4-4.3.6.tgz:
 File unavailable (e.g., file not found, no access)

So you probably can figure out the rest of the story,
it is all too old to make a near duplication of the server.

Is there any suggestion on what I can do
other than convincing the client to renew the server?
(which I am doing but already been politely refused)

Pardon me for the long message,
and thank you in advance for all replies.


Thank you,
Rei Okamoto
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"