Closed
Bug 785616
Opened 12 years ago
Closed 12 years ago
Install php-cli on tbpl server
Categories
(Infrastructure & Operations Graveyard :: WebOps: Other, task)
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 | ||
Updated•12 years ago
|
Assignee: server-ops-webops → cturra
Assignee | ||
Comment 1•12 years ago
|
||
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
Reporter | ||
Comment 2•12 years ago
|
||
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?
Assignee | ||
Comment 3•12 years ago
|
||
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
Updated•12 years ago
|
Whiteboard: [push interrupt]
Reporter | ||
Comment 4•12 years ago
|
||
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…
Updated•11 years ago
|
Component: Server Operations: Web Operations → WebOps: Other
Product: mozilla.org → Infrastructure & Operations
Updated•6 years ago
|
Product: Infrastructure & Operations → Infrastructure & Operations Graveyard
You need to log in
before you can comment on or make changes to this bug.
Description
•