cancel
Showing results for 
Search instead for 
Did you mean: 

New CGI platform is?

MikeMcTernan
Dabbler
Posts: 12
Registered: ‎10-03-2009

New CGI platform is?

Hi,
Does anyone know which OS and version the new CGI platform runs on?
I've got some C programs I need to run on it, so knowing or being able to determine the version of libc would be very useful.
Mike
9 REPLIES 9
MikeMcTernan
Dabbler
Posts: 12
Registered: ‎10-03-2009

Re: New CGI platform is?

By executing /lib/libc.so.6 in a cgi script I've found:
GNU C Library stable release version 2.2.5, by Roland McGrath et al.
Copyright (C) 1992-2001, 2002 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.
There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A
PARTICULAR PURPOSE.
Compiled by GNU CC version 3.2.2.
Compiled on a Linux 2.4.19 system on 2004-11-23.
Available extensions:
GNU libio by Per Bothner
crypt add-on version 2.1 by Michael Glad and others
Berkeley DB glibc 2.1 compat library by Thorsten Kukuk
linuxthreads-0.9 by Xavier Leroy
NoVersion patch for broken glibc 2.0 binaries
BIND-8.2.3-T5B
libthread_db work sponsored by Alpha Processor Inc
NIS(YP)/NIS+ NSS modules 0.19 by Thorsten Kukuk
Report bugs using the `glibcbug' script to <bugs@gnu.org>.
Looks old  :o...  can anyone guess the distro?
avatastic
Grafter
Posts: 1,136
Thanks: 2
Registered: ‎30-07-2007

Re: New CGI platform is?

Can you execute a 'uname -a' from a perl script? That may tell you.
Quote
Linux central.aber.ac.uk 3.10.25-gentoo #2 SMP Thu Jan 16 11:22:40 GMT 2014 x86_64 Intel(R) Xeon(R) CPU L5420 @ 2.50GHz GenuineIntel GNU/Linux

Quote
Linux thunderbolt 3.13-1-amd64 #1 SMP Debian 3.13.5-1 (2014-03-04) x86_64 GNU/Linux

Quote
Linux server-119570 3.2.0-58-virtual #88-Ubuntu SMP Tue Dec 3 17:58:13 UTC 2013 x86_64 x86_64 x86_64 GNU/Linux
F9 member since 4 Sep 1999
F9 ADSL customer since 27 Aug 2004
DLM manages your line the same way DRM manages your rights.
Look at all the pretty graphs! (now with uptime logging!)
MikeMcTernan
Dabbler
Posts: 12
Registered: ‎10-03-2009

Re: New CGI platform is?

Okay, I'm guessing SuSE Linux 8.1 since /etc/SuSE-release exists (but isn't readable) and also the kernel version.
If I'm right, SuSE 8.1, released in 2002-09-30 and supported until 2005-01-31 hardly makes this a great modernisation!
MikeMcTernan
Dabbler
Posts: 12
Registered: ‎10-03-2009

Re: New CGI platform is?

Quote from: avatastic
Can you execute a 'uname -a' from a perl script? That may tell you.

Sadly not:
/bin/uname: Permission denied
bobpullen
Community Gaffer
Community Gaffer
Posts: 16,887
Thanks: 4,979
Fixes: 316
Registered: ‎04-04-2007

Re: New CGI platform is?

Quote from: MikeMcTernan
Does anyone know which OS and version the new CGI platform runs on?

I'm pretty sure I knew the answer to this once upon a time but it now escapes me. I'll do some digging and get back to you...
Quote from: MikeMcTernan
I've got some C programs I need to run on it, so knowing or being able to determine the version of libc would be very useful.

Looks like you now have this. I'll enquire whether or not it's possible to install a more recent revision.

Bob Pullen
Plusnet Product Team
If I've been helpful then please give thanks ⤵

bobpullen
Community Gaffer
Community Gaffer
Posts: 16,887
Thanks: 4,979
Fixes: 316
Registered: ‎04-04-2007

Re: New CGI platform is?

Quote from: MikeMcTernan
Does anyone know which OS and version the new CGI platform runs on?

Whilst I don't have the explicit OS version as yet, I can tell you that Hostopia use a fairly heavily modified distro. They tend to build most of their stuff from source and need to handle a very varied range of server requests (both Linux and Windows). It's important to note that we're not the only users of this particular server cluster/environment and the features of our CGI offering are fairly sparse compared to some of the other partner's set-ups.
Quote from: Bob
Quote from: MikeMcTernan
I've got some C programs I need to run on it, so knowing or being able to determine the version of libc would be very useful.

Looks like you now have this. I'll enquire whether or not it's possible to install a more recent revision.

There's a larger piece of work (scheduled for the latter part of the financial year) to upgrade the server environment which would include things like coreutils and glibc. I can't give you a specific completion date for this work however it is on our partner's roadmap. At the moment an older version of glib is needed for backwards compatibility and to support legacy features that are part of the core environment.

Bob Pullen
Plusnet Product Team
If I've been helpful then please give thanks ⤵

Gabe
Grafter
Posts: 767
Registered: ‎29-10-2008

Re: New CGI platform is?

Quote from: Bob
Hostopia use a fairly heavily modified distro.

A sort of pick-n-mix (-n-hack) of SUSE/openSUSE distros. There's a bit of 11.2 (2009) in there, including the kernel, but a lot of the geek interface does date back to 2002. It is positively the weirdest environment I've met, but I guess they have tried very hard to make things as easy to use as possible for as many people as possible.
Quote
There's a larger piece of work (scheduled for the latter part of the financial year) to upgrade the server environment which would include things like coreutils and glibc.

Meanwhile, any chance of an update to sqlite?
Gabe
bobpullen
Community Gaffer
Community Gaffer
Posts: 16,887
Thanks: 4,979
Fixes: 316
Registered: ‎04-04-2007

Re: New CGI platform is?

Quote from: Gabe
Meanwhile, any chance of an update to sqlite?

I'll enquire. I'm right to assume we're running 2.8.17 at the moment yes?

Bob Pullen
Plusnet Product Team
If I've been helpful then please give thanks ⤵

Gabe
Grafter
Posts: 767
Registered: ‎29-10-2008

Re: New CGI platform is?

Sorry - slightly rushed and not defining what I mean. The php5-sqlite extension module currently provides 3.7.7 via PDO; I think it could be upgraded to 3.8.1, but it's not a conventional setup, so Hostopia may have good reasons for not upgrading.
Gabe