Page 1 of 1

is_console prevents apache from starting

Posted: Thu Dec 04, 2014 4:14 pm
by wbdevops
We've had is_console in our wurfl apache config for several months, but it has started to cause apache2 to fail with the error below since Dec 1, 2014. Has anything changed recently that would cause that?

Partial config

Code: Select all

    WurflRequestCapability is_smarttv
    WurflRequestCapability is_console
    WurflRequestCapability is_tablet
apache2 error

Code: Select all

[Thu Dec 04 20:51:31 2014] [crit] WURFL: Error loading WURFL. Capability not found: is_console.
Configuration Failed
wurfl version

Code: Select all

/usr/bin/dpkg -i libwurfl-1.5.2.1.Ubuntu_12.04.5.x86_64.deb
/usr/bin/dpkg -i mod_wurfl-1.5.2.1.Apache_2.2.22.Ubuntu_12.04.5.x86_64.deb

Re: is_console prevents apache from starting

Posted: Thu Dec 04, 2014 4:31 pm
by Elliotfehr
Hello,

Are you able to let me know the date of the `wurfl.xml` that you are currently using?

Thank you,

Elliot

Re: is_console prevents apache from starting

Posted: Thu Dec 04, 2014 5:06 pm
by wbdevops

Code: Select all

root@Telepictures Web #32:/tmp# ls -al /usr/share/wurfl/
total 29496
drwxr-xr-x   2 root root     4096 Dec  4 21:25 .
drwxr-xr-x 129 root root     4096 Sep  3 22:12 ..
-rw-r--r--   1 root root      981 Sep 29 12:27 wurfl.conf
-rw-r--r--   1 root root 28339350 Dec  1 20:17 wurfl-eval.xml
-rw-r--r--   1 root root  1813743 Dec  1 20:17 wurfl.zip

Code: Select all

root@Telepictures Web #32:/tmp# more /root/wurfl-updater.sh
#!/bin/bash -e
cd /usr/share/wurfl

echo "Getting the wurfl file"
/usr/bin/wget -N --header="If-Modified-Since: `date -r /usr/share/wurfl/wurfl.zip --utc --rfc-2822 2>/dev/null || date --utc --rfc-2822 --date='1 week
 ago'`" http://www.scientiamobile.com/wurfl/xxxxx/wurfl.zip

echo "Unzipping and renaming the wurfl file"
/usr/bin/unzip /usr/share/wurfl/wurfl.zip
/bin/mv /usr/share/wurfl/wurfl.xml /usr/share/wurfl/wurfl-eval.xml

echo "Reloading the apache config"
service apache2 reload

Re: is_console prevents apache from starting

Posted: Thu Dec 04, 2014 5:34 pm
by Elliotfehr
Hello,

We are releasing an out of band snapshot that will be available to download within the next few minutes that will correct this issue. I apologize for the inconvenience.

Thank you,

Elliot