Server problem: Downloads php files

Discussion and support for all Linux distributions and Unix flavours (FreeBSD, OpenBSD, etc).
Post Reply
DarkRanger
Registered User
Posts: 8346
Joined: 10 May 2006, 02:00
Processor: Intel i5-3750
Motherboard: Gigabyte
Graphics card: nVidia GTX 550Ti
Memory: 8GB Jetram
Contact:

Server problem: Downloads php files

Post by DarkRanger »

Came into the office this morning only to find my desk and email box littered with support requests. It seems the remote server has a problem hosting our site.

It's a VPS, running apache webserver with PHP, LDAP, MySQL. All managed through Webmin.

It worked fine yesterday and it as I came into office I did the usual weekly update check and updated the machine. Now I don't know if the problem occured before or after the update as I didn't test the site before updating.

I've rebooted the server, restarted apache and all that, any idea what it can be? These are the packages it updated (from to)

Code: Select all

An update to apache2 from 2.2.14-5ubuntu8.2 to 2.2.14-5ubuntu8.3 is available.

An update to apache2-mpm-prefork from 2.2.14-5ubuntu8.2 to 2.2.14-5ubuntu8.3 is available.

An update to apache2-utils from 2.2.14-5ubuntu8.2 to 2.2.14-5ubuntu8.3 is available.

An update to apache2.2-bin from 2.2.14-5ubuntu8.2 to 2.2.14-5ubuntu8.3 is available.

An update to apache2.2-common from 2.2.14-5ubuntu8.2 to 2.2.14-5ubuntu8.3 is available.

An update to e2fslibs from 1.41.11-1ubuntu2 to 1.41.11-1ubuntu2.1 is available.

An update to e2fsprogs from 1.41.11-1ubuntu2 to 1.41.11-1ubuntu2.1 is available.

An update to libc-bin from 2.11.1-0ubuntu7.2 to 2.11.1-0ubuntu7.5 is available.

An update to libc-dev-bin from 2.11.1-0ubuntu7.2 to 2.11.1-0ubuntu7.5 is available.

An update to libc6 from 2.11.1-0ubuntu7.2 to 2.11.1-0ubuntu7.5 is available.

An update to libc6-dev from 2.11.1-0ubuntu7.2 to 2.11.1-0ubuntu7.5 is available.

An update to libcomerr2 from 1.41.11-1ubuntu2 to 1.41.11-1ubuntu2.1 is available.

An update to libss2 from 1.41.11-1ubuntu2 to 1.41.11-1ubuntu2.1 is available.

An update to linux-image-ec2 from 2.6.32.308.9 to 2.6.32.309.10 is available.

An update to linux-libc-dev from 2.6.32-25.44 to 2.6.32-25.45 is available.

An update to man-db from 2.5.7-2 to 2.5.7-2ubuntu1 is available.
Image
User avatar
rustypup
Registered User
Posts: 8872
Joined: 13 Dec 2004, 02:00
Location: nullus pixius demonica
Contact:

Re: Server problem: Downloads php files

Post by rustypup »

:( sounds unpleasant... sadly, i'm buried in the middle of a little drama here...

have you checked the logs/release notes?
Most people would sooner die than think; in fact, they do so - Bertrand Russel
DarkRanger
Registered User
Posts: 8346
Joined: 10 May 2006, 02:00
Processor: Intel i5-3750
Motherboard: Gigabyte
Graphics card: nVidia GTX 550Ti
Memory: 8GB Jetram
Contact:

Re: Server problem: Downloads php files

Post by DarkRanger »

checked the apache logs, but theres no indication of any real problems.

Any chance that I can roll back updates?
Image
User avatar
rustypup
Registered User
Posts: 8872
Joined: 13 Dec 2004, 02:00
Location: nullus pixius demonica
Contact:

Re: Server problem: Downloads php files

Post by rustypup »

hiya..

you're running apache on ubuntu?

you should be able to install an older version, but this won't help if the issue is buried in the configs, (replaced by the package maintainer's version, etc)...

Code: Select all

apt-cache showpkg <package> 
will show available versions and also spit out a list of depends... installing an older version may break dependencies, so you'll need this list...

have you approached the apache boards for any known hiccups in the latest updates?
Most people would sooner die than think; in fact, they do so - Bertrand Russel
DarkRanger
Registered User
Posts: 8346
Joined: 10 May 2006, 02:00
Processor: Intel i5-3750
Motherboard: Gigabyte
Graphics card: nVidia GTX 550Ti
Memory: 8GB Jetram
Contact:

Re: Server problem: Downloads php files

Post by DarkRanger »

Never thought of that. I'm heading over there now and will keep this thread updated.
Image
DarkRanger
Registered User
Posts: 8346
Joined: 10 May 2006, 02:00
Processor: Intel i5-3750
Motherboard: Gigabyte
Graphics card: nVidia GTX 550Ti
Memory: 8GB Jetram
Contact:

Re: Server problem: Downloads php files

Post by DarkRanger »

I ran your command rusty:

Code: Select all

apt-cache showpkg apache2
Package: apache2
Versions: 
2.2.14-5ubuntu8.3 (/var/lib/apt/lists/za.archive.ubuntu.com_ubuntu_dists_lucid-updates_main_binary-amd64_Packages) (/var/lib/dpkg/status)
 Description Language: 
                 File: /var/lib/apt/lists/za.archive.ubuntu.com_ubuntu_dists_lucid-updates_main_binary-amd64_Packages
                  MD5: d24f049cd70ccfc178dd8974e4b1ed01

2.2.14-5ubuntu8.2 (/var/lib/apt/lists/za.archive.ubuntu.com_ubuntu_dists_lucid-security_main_binary-amd64_Packages)
 Description Language: 
                 File: /var/lib/apt/lists/za.archive.ubuntu.com_ubuntu_dists_lucid-security_main_binary-amd64_Packages
                  MD5: d24f049cd70ccfc178dd8974e4b1ed01

2.2.14-5ubuntu8 (/var/lib/apt/lists/za.archive.ubuntu.com_ubuntu_dists_lucid_main_binary-amd64_Packages)
 Description Language: 
                 File: /var/lib/apt/lists/za.archive.ubuntu.com_ubuntu_dists_lucid_main_binary-amd64_Packages
                  MD5: d24f049cd70ccfc178dd8974e4b1ed01


Reverse Depends: 
  phpldapadmin,apache2
  collectd-core,apache2
  aegir-provision,apache2
  eucalyptus-cc,apache2
  squirrelmail,apache2
  smbind,apache2
  mediawiki,apache2
  mahara-apache2,apache2
  lxr-cvs,apache2
  python-moinmoin,apache2
  album,apache2
  zoph,apache2
  zoneminder,apache2
  zabbix-frontend-php,apache2
  xapian-omega,apache2
  wulf2html,apache2
  wordpress-mu,apache2
  wordpress,apache2
  wims,apache2
  websvn,apache2
  websimba,apache2
  webgui,apache2
  webcalendar,apache2
  w3c-markup-validator,apache2
  usemod-wiki,apache2
  ukolovnik,apache2
  ubumirror,apache2
  trac,apache2
  torrus-apache2,apache2
  textpattern,apache2
  syscp,apache2
  sympa,apache2
  sugarplum,apache2
  sslh,apache2
  srg,apache2
  sqwebmail,apache2
  squirrelmail,apache2
  squid3-cgi,apache2
  squid-cgi,apache2
  sql-ledger,apache2
  spip,apache2
  smokeping,apache2
  smbind,apache2
  smb2www,apache2
  slbackup-php,apache2
  sitebar,apache2
  sipwitch-cgi,apache2
  serverstats,apache2
  serendipity,apache2
  scuttle,apache2
  sbox-dtc,apache2
  sarg,apache2
  rtpg-www,apache2
  rtpg-www,apache2
  rtgui,apache2
  rt3.8-apache2,apache2
  roundcube-core,apache2
  rancid-cgi,apache2
  queuegraph,apache2
  python-pesto,apache2
  pyca,apache2
  pyblosxom,apache2
  poker-web,apache2
  pnopaste,apache2
  pixelpost,apache2
  pictor,apache2
  phpwiki,apache2
  phpsysinfo,apache2
  phppgadmin,apache2
  phpmyadmin,apache2
  phpldapadmin,apache2
  phpgroupware-0.9.16-core-base,apache2
  phpbb3,apache2
  phamm,apache2
  onak,apache2
  ogamesim-www,apache2
  ocsinventory-server,apache2
  ocsinventory-reports,apache2
  obm-ui,apache2
  netmrg,apache2
  netdisco-frontend,apache2
  netams-web,apache2
  netams,apache2
  mythexport,apache2
  mydms,apache2
  musica,apache2
  mumble-server-web,apache2
  mirrorkit,apache2
  memories,apache2
  mediawiki,apache2
  mediamate,apache2
  mantis,apache2
  man2html,apache2
  mahara-apache2,apache2
  lxr-cvs,apache2
  lwat,apache2
  linkchecker,apache2
  libhtml-mason-perl-examples,apache2
  libapache2-redirtoservname,apache2
  libapache2-mod-wsgi,apache2
  libapache2-mod-shib2,apache2
  libapache2-mod-proxy-html,apache2
  libapache2-mod-jk,apache2
  libapache2-mod-auth-radius,apache2
  ldap-account-manager,apache2
  knowledgeroot,apache2
  jwchat,apache2
  jsmath,apache2
  jpoker,apache2
  jffnms,apache2
  javascript-common,apache2
  iptotal,apache2
  ipplan,apache2
  info2www,apache2
  htcheck-php,apache2
  horde3,apache2
  gosa,apache2
  glpi,apache2
  gforge-lists-mailman,apache2 2.0.52
  ganglia-webfrontend,apache2
  gallery2,apache2
  gallery,apache2
  fossology-web-single,apache2
  fossology-web,apache2
  flatnuke,apache2
  fckeditor,apache2
  emboss-explorer,apache2
  egroupware-core,apache2
  dwww,apache2
  dtc-common,apache2
  drupal6,apache2
  drraw,apache2
  dpkg-www,apache2
  docvert,apache2
  doc-central,apache2
  diogenes,apache2
  darcsweb,apache2
  cvsweb,apache2
  cricket,apache2
  couriergraph,apache2
  courier-webadmin,apache2
  cortado,apache2
  collectd-core,apache2
  citadel-webcit,apache2
  chef-server,apache2
  cacti,apache2
  bugzilla3,apache2
  bbclone,apache2
  auth2db-frontend,apache2
  apcupsd-cgi,apache2
  analog,apache2
  ajaxterm,apache2
  aegis-web,apache2
  aegir-provision,apache2
  adzapper,apache2
  adzapper,apache2
  adzapper,apache2
  python-moinmoin,apache2
  puppetmaster,apache2
  nagios3-cgi,apache2
  mailman,apache2
  libapache2-mod-python,apache2
  libapache2-mod-perl2,apache2 2.2.4
  eucalyptus-cc,apache2
  backuppc,apache2
Dependencies: 
2.2.14-5ubuntu8.3 - apache2-mpm-worker (21 2.2.14-5ubuntu8.3) apache2-mpm-prefork (21 2.2.14-5ubuntu8.3) apache2-mpm-event (21 2.2.14-5ubuntu8.3) apache2-mpm-itk (5 2.2.14-5ubuntu8.3) apache2.2-common (5 2.2.14-5ubuntu8.3) 
2.2.14-5ubuntu8.2 - apache2-mpm-worker (21 2.2.14-5ubuntu8.2) apache2-mpm-prefork (21 2.2.14-5ubuntu8.2) apache2-mpm-event (21 2.2.14-5ubuntu8.2) apache2-mpm-itk (5 2.2.14-5ubuntu8.2) apache2.2-common (5 2.2.14-5ubuntu8.2) 
2.2.14-5ubuntu8 - apache2-mpm-worker (21 2.2.14-5ubuntu8) apache2-mpm-prefork (21 2.2.14-5ubuntu8) apache2-mpm-event (21 2.2.14-5ubuntu8) apache2-mpm-itk (5 2.2.14-5ubuntu8) apache2.2-common (5 2.2.14-5ubuntu8) 
Provides: 
2.2.14-5ubuntu8.3 - 
2.2.14-5ubuntu8.2 - 
2.2.14-5ubuntu8 - 
Reverse Provides: 
apache2-mpm-itk 2.2.14-5ubuntu8.3
apache2-mpm-worker 2.2.14-5ubuntu8.3
apache2-mpm-prefork 2.2.14-5ubuntu8.3
apache2-mpm-event 2.2.14-5ubuntu8.3
apache2-mpm-itk 2.2.14-5ubuntu8.2
apache2-mpm-worker 2.2.14-5ubuntu8.2
apache2-mpm-prefork 2.2.14-5ubuntu8.2
apache2-mpm-event 2.2.14-5ubuntu8.2
apache2-mpm-itk 2.2.14-5ubuntu8
apache2-mpm-worker 2.2.14-5ubuntu8
apache2-mpm-prefork 2.2.14-5ubuntu8
apache2-mpm-event 2.2.14-5ubuntu8
Also, can't seem to find the apache boards. Looked on the apache site, but no luck.
Image
DarkRanger
Registered User
Posts: 8346
Joined: 10 May 2006, 02:00
Processor: Intel i5-3750
Motherboard: Gigabyte
Graphics card: nVidia GTX 550Ti
Memory: 8GB Jetram
Contact:

Re: Server problem: Downloads php files

Post by DarkRanger »

Okay, problem, after the whole day's googling was kinda simple.

php5.conf in the apache server didn't contain this decleration:

Code: Select all

AddType application/x-httpd-php .php
Added that, restarted the server, all worked fine
Image
User avatar
rustypup
Registered User
Posts: 8872
Joined: 13 Dec 2004, 02:00
Location: nullus pixius demonica
Contact:

Re: Server problem: Downloads php files

Post by rustypup »

thought it would be something silly with the configs... :D good news!... beware accepting the maintainer's version during upgrades!

for future reference, to force install an older package:

Code: Select all

apt-get install <package>=<version>
so...

Code: Select all

apt-get install apache2=2.2.14-5ubuntu8.2
will revert... again, i warn against doing this without backups... this stands a good chance of pranging dependencies if it goes haywire... :/
Most people would sooner die than think; in fact, they do so - Bertrand Russel
Post Reply