Closed Bug 785616 Opened 12 years ago Closed 12 years ago

Install php-cli on tbpl server

Categories

(Infrastructure & Operations Graveyard :: WebOps: Other, task)

x86_64
Linux
task
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: Swatinem, Assigned: cturra)

References

Details

(Whiteboard: [push interrupt])

Prefetching logs on tbpl needs php-cli to be installed on the machine doing the data import. The log output (https://tbpl-dev.allizom.org/cache/import-log-1345895701.txt for example) should show timing details in case log prefetching works correctly.
Assignee: server-ops-webops → cturra
php-cli is installed in the tbpl-dev environment: [root@generic1.dev.webapp.phx1 ~]# yum list installed | grep php-cli php-cli.x86_64 5.3.3-14.el6_3 @rhel-base
Status: NEW → ASSIGNED
Hm in that case i wonder why this command is failing: php /data/genericrhel6-dev/src/tbpl-dev.allizom.org/tbpl/dataimport/../php/getLogExcerpt.php id=14749478&type=annotated can you run that manually and post the output?
Arpad - it turns out that php-cli was on the web heads, but not the admin node in the web cluster. i have installed that for you and manually ran an update to tbpl-dev to see if the php commands in the update completed as expected. everything now looks correct. see import-log-1346088602.txt
Status: ASSIGNED → RESOLVED
Closed: 12 years ago
Resolution: --- → FIXED
Whiteboard: [push interrupt]
Hm, its still not doing what its supposed to do. The server logs give me something like this: ``` php /data/genericrhel6-dev/src/tbpl-dev.allizom.org/tbpl/dataimport/../php/getLogExcerpt.php id=14923302&type=annotated: completed after 72ms ``` While I was really expecting something more like this: ``` php /var/www/tbpl/dataimport/../php/getLogExcerpt.php id=14922769&type=annotated: generating raw log (14922769): 646ms generating general_error log (14922769): 706ms generating annotatedsummary log (14922769): 20ms completed after 838ms ``` So i still don’t know whats going on…
Component: Server Operations: Web Operations → WebOps: Other
Product: mozilla.org → Infrastructure & Operations
Product: Infrastructure & Operations → Infrastructure & Operations Graveyard
You need to log in before you can comment on or make changes to this bug.