Hi,
When i push application php: "*vmc push magento02*",
it return error :

Uploading Application:
Checking for available resources: OK
Processing resources: OK
Packing application: OK
Uploading (966K): OK
Push Status: OK
Staging Application 'magento02': .............................Error (JSON
504): <html>
<head><title>504 Gatewa...

This is log
"*vmc logs magento02*"
====> /logs/error.log <====

PHP Deprecated: Comments starting with '#' are deprecated in
/etc/php5/apache2/php.ini on line 1854 in Unknown on line 0
PHP Deprecated: Comments starting with '#' are deprecated in
/var/vcap.local/dea/apps/magento02-0-0344da9bbed1b090fcd6ae21cc307d33/apache/php/imagick.ini
on line 1 in Unknown on line 0
PHP Deprecated: Comments starting with '#' are deprecated in
/var/vcap.local/dea/apps/magento02-0-0344da9bbed1b090fcd6ae21cc307d33/apache/php/imap.ini
on line 1 in Unknown on line 0
PHP Deprecated: Comments starting with '#' are deprecated in
/var/vcap.local/dea/apps/magento02-0-0344da9bbed1b090fcd6ae21cc307d33/apache/php/mcrypt.ini
on line 1 in Unknown on line 0
PHP Warning: Module 'apc' already loaded in Unknown on line 0
PHP Warning: PHP Startup: Unable to load dynamic library
'/usr/lib/php5/20090626/memcache.so' - /usr/lib/php5/20090626/memcache.so:
cannot open shared object file: No such file or directory in Unknown on
line 0
PHP Warning: PHP Startup: Unable to load dynamic library
'/usr/lib/php5/20090626/mongo.so' - /usr/lib/php5/20090626/mongo.so: cannot
open shared object file: No such file or directory in Unknown on line 0
[Thu Dec 06 10:10:45 2012] [warn] pid file
/var/vcap.local/dea/apps/magento02-0-0344da9bbed1b090fcd6ae21cc307d33/run.pid
overwritten -- Unclean shutdown of previous Apache run?
[Thu Dec 06 10:10:45 2012] [notice] Apache/2.2.14 (Ubuntu)
PHP/5.3.2-1ubuntu4.18 with Suhosin-Patch configured -- resuming normal
operations


How to fix it ?

Thanks

Search Discussions

  • Haipeng Wu at Dec 6, 2012 at 11:31 am
    you may take a look at "cloud_controller.log" and "nginx_cc_access.log" to
    find some clue.

    The log file is in your deployment diretory, something like
    ".../.deployments/.../log/".

    On Thu, Dec 6, 2012 at 5:28 PM, Tho Manh wrote:

    Hi,
    When i push application php: "*vmc push magento02*",
    it return error :

    Uploading Application:
    Checking for available resources: OK
    Processing resources: OK
    Packing application: OK
    Uploading (966K): OK
    Push Status: OK
    Staging Application 'magento02': .............................Error (JSON
    504): <html>
    <head><title>504 Gatewa...

    This is log
    "*vmc logs magento02*"
    ====> /logs/error.log <====

    PHP Deprecated: Comments starting with '#' are deprecated in
    /etc/php5/apache2/php.ini on line 1854 in Unknown on line 0
    PHP Deprecated: Comments starting with '#' are deprecated in
    /var/vcap.local/dea/apps/magento02-0-0344da9bbed1b090fcd6ae21cc307d33/apache/php/imagick.ini
    on line 1 in Unknown on line 0
    PHP Deprecated: Comments starting with '#' are deprecated in
    /var/vcap.local/dea/apps/magento02-0-0344da9bbed1b090fcd6ae21cc307d33/apache/php/imap.ini
    on line 1 in Unknown on line 0
    PHP Deprecated: Comments starting with '#' are deprecated in
    /var/vcap.local/dea/apps/magento02-0-0344da9bbed1b090fcd6ae21cc307d33/apache/php/mcrypt.ini
    on line 1 in Unknown on line 0
    PHP Warning: Module 'apc' already loaded in Unknown on line 0
    PHP Warning: PHP Startup: Unable to load dynamic library
    '/usr/lib/php5/20090626/memcache.so' - /usr/lib/php5/20090626/memcache.so:
    cannot open shared object file: No such file or directory in Unknown on
    line 0
    PHP Warning: PHP Startup: Unable to load dynamic library
    '/usr/lib/php5/20090626/mongo.so' - /usr/lib/php5/20090626/mongo.so: cannot
    open shared object file: No such file or directory in Unknown on line 0
    [Thu Dec 06 10:10:45 2012] [warn] pid file
    /var/vcap.local/dea/apps/magento02-0-0344da9bbed1b090fcd6ae21cc307d33/run.pid
    overwritten -- Unclean shutdown of previous Apache run?
    [Thu Dec 06 10:10:45 2012] [notice] Apache/2.2.14 (Ubuntu)
    PHP/5.3.2-1ubuntu4.18 with Suhosin-Patch configured -- resuming normal
    operations


    How to fix it ?

    Thanks
  • Tho Manh at Dec 6, 2012 at 11:43 am
    *cloud_controller.log:*
    [2012-12-06 12:40:31.485280] cc_events - pid=1513 tid=fc99 fid=34c2 INFO
    -- [2012-12-06 12:40:31 +0100, :USER, "N/A", "POST:/services/v1/offerings",
    :SUCCEEDED]
    [2012-12-06 12:40:31.485766] cc - pid=1513 tid=fc99 fid=34c2 DEBUG --
    Connection checked in (checked out: 2/4)
    [2012-12-06 12:40:50.581198] cc - pid=1513 tid=fc99 fid=34c2 DEBUG --
    Connection checked out (checked out: 3/4)
    [2012-12-06 12:40:50.582760] cc - pid=1513 tid=fc99 fid=34c2 DEBUG --
    Create service request:
    {"label":"postgresql-9.0","url":"http://10.186.0.248:49365","plans":["free"],"cf_plan_id":null,"tags":["relational"],"active":true,"description":"PostgreSQL
    database
    service","plan_options":null,"acls":null,"timeout":15,"provider":"core","default_plan":"free","supported_versions":["9.0"],"version_aliases":{"current":"9.0"}}
    [2012-12-06 12:40:50.589717] cc - pid=1513 tid=fc99 fid=34c2 DEBUG --
    Found svc = #<Service id: 6, label: "postgresql-9.0", url:
    "http://10.186.0.248:49365", token: "changepostgresqltoken", name:
    "postgresql", version: "9.0", description: "PostgreSQL database service",
    info_url: nil, tags: ["relational"], plans: ["free"], plan_options: nil,
    binding_options: nil, acls: nil, active: true, created_at: "2012-11-23
    07:38:52", updated_at: "2012-12-05 11:15:28", timeout: 15, cf_plan_id: nil,
    provider: nil, supported_versions: ["9.0"], version_aliases:
    {"current"=>"9.0"}, default_plan: "free">
    [2012-12-06 12:40:50.607928] cc_events - pid=1513 tid=fc99 fid=34c2 INFO
    -- [2012-12-06 12:40:50 +0100, :USER, "N/A", "POST:/services/v1/offerings",
    :SUCCEEDED]
    [2012-12-06 12:40:50.608322] cc - pid=1513 tid=fc99 fid=34c2 DEBUG --
    Connection checked in (checked out: 2/4)

    *nginx_cc_access.log*
    api.hancloud.fr - [06/Dec/2012:12:42:16 +0100] "POST /services/v1/offerings
    HTTP/1.0" 200 268 "-" "EventMachine HttpClient" 10.186.0.248
    response_time:0.014
    api.hancloud.fr - [06/Dec/2012:12:42:18 +0100] "POST /services/v1/offerings
    HTTP/1.0" 200 268 "-" "EventMachine HttpClient" 10.186.0.248
    response_time:0.015
    api.hancloud.fr - [06/Dec/2012:12:42:21 +0100] "POST /services/v1/offerings
    HTTP/1.0" 200 268 "-" "EventMachine HttpClient" 10.186.0.248
    response_time:0.019
    api.hancloud.fr - [06/Dec/2012:12:42:28 +0100] "POST /services/v1/offerings
    HTTP/1.0" 200 268 "-" "EventMachine HttpClient" 10.186.0.248
    response_time:0.015
    api.hancloud.fr - [06/Dec/2012:12:42:31 +0100] "POST /services/v1/offerings
    HTTP/1.0" 200 268 "-" "EventMachine HttpClient" 10.186.0.248
    response_time:0.015

    I don't see any error in log file
    On Thursday, December 6, 2012 6:31:21 PM UTC+7, Haipeng Wu wrote:

    you may take a look at "cloud_controller.log" and "nginx_cc_access.log" to
    find some clue.

    The log file is in your deployment diretory, something like
    ".../.deployments/.../log/".


    On Thu, Dec 6, 2012 at 5:28 PM, Tho Manh <tho...@gmail.com <javascript:>>wrote:
    Hi,
    When i push application php: "*vmc push magento02*",
    it return error :

    Uploading Application:
    Checking for available resources: OK
    Processing resources: OK
    Packing application: OK
    Uploading (966K): OK
    Push Status: OK
    Staging Application 'magento02': .............................Error
    (JSON 504): <html>
    <head><title>504 Gatewa...

    This is log
    "*vmc logs magento02*"
    ====> /logs/error.log <====

    PHP Deprecated: Comments starting with '#' are deprecated in
    /etc/php5/apache2/php.ini on line 1854 in Unknown on line 0
    PHP Deprecated: Comments starting with '#' are deprecated in
    /var/vcap.local/dea/apps/magento02-0-0344da9bbed1b090fcd6ae21cc307d33/apache/php/imagick.ini
    on line 1 in Unknown on line 0
    PHP Deprecated: Comments starting with '#' are deprecated in
    /var/vcap.local/dea/apps/magento02-0-0344da9bbed1b090fcd6ae21cc307d33/apache/php/imap.ini
    on line 1 in Unknown on line 0
    PHP Deprecated: Comments starting with '#' are deprecated in
    /var/vcap.local/dea/apps/magento02-0-0344da9bbed1b090fcd6ae21cc307d33/apache/php/mcrypt.ini
    on line 1 in Unknown on line 0
    PHP Warning: Module 'apc' already loaded in Unknown on line 0
    PHP Warning: PHP Startup: Unable to load dynamic library
    '/usr/lib/php5/20090626/memcache.so' - /usr/lib/php5/20090626/memcache.so:
    cannot open shared object file: No such file or directory in Unknown on
    line 0
    PHP Warning: PHP Startup: Unable to load dynamic library
    '/usr/lib/php5/20090626/mongo.so' - /usr/lib/php5/20090626/mongo.so: cannot
    open shared object file: No such file or directory in Unknown on line 0
    [Thu Dec 06 10:10:45 2012] [warn] pid file
    /var/vcap.local/dea/apps/magento02-0-0344da9bbed1b090fcd6ae21cc307d33/run.pid
    overwritten -- Unclean shutdown of previous Apache run?
    [Thu Dec 06 10:10:45 2012] [notice] Apache/2.2.14 (Ubuntu)
    PHP/5.3.2-1ubuntu4.18 with Suhosin-Patch configured -- resuming normal
    operations


    How to fix it ?

    Thanks
  • Tho Manh at Dec 7, 2012 at 4:33 am
    I think because have many files in my application folder
    On Thursday, December 6, 2012 6:43:35 PM UTC+7, Tho Manh wrote:

    *cloud_controller.log:*
    [2012-12-06 12:40:31.485280] cc_events - pid=1513 tid=fc99 fid=34c2 INFO
    -- [2012-12-06 12:40:31 +0100, :USER, "N/A", "POST:/services/v1/offerings",
    :SUCCEEDED]
    [2012-12-06 12:40:31.485766] cc - pid=1513 tid=fc99 fid=34c2 DEBUG --
    Connection checked in (checked out: 2/4)
    [2012-12-06 12:40:50.581198] cc - pid=1513 tid=fc99 fid=34c2 DEBUG --
    Connection checked out (checked out: 3/4)
    [2012-12-06 12:40:50.582760] cc - pid=1513 tid=fc99 fid=34c2 DEBUG --
    Create service request: {"label":"postgresql-9.0","url":"
    http://10.186.0.248:49365","plans":["free"],"cf_plan_id":null,"tags":["relational"],"active":true,"description":"PostgreSQL
    database
    service","plan_options":null,"acls":null,"timeout":15,"provider":"core","default_plan":"free","supported_versions":["9.0"],"version_aliases":{"current":"9.0"}}
    [2012-12-06 12:40:50.589717] cc - pid=1513 tid=fc99 fid=34c2 DEBUG --
    Found svc = #<Service id: 6, label: "postgresql-9.0", url: "
    http://10.186.0.248:49365", token: "changepostgresqltoken", name:
    "postgresql", version: "9.0", description: "PostgreSQL database service",
    info_url: nil, tags: ["relational"], plans: ["free"], plan_options: nil,
    binding_options: nil, acls: nil, active: true, created_at: "2012-11-23
    07:38:52", updated_at: "2012-12-05 11:15:28", timeout: 15, cf_plan_id: nil,
    provider: nil, supported_versions: ["9.0"], version_aliases:
    {"current"=>"9.0"}, default_plan: "free">
    [2012-12-06 12:40:50.607928] cc_events - pid=1513 tid=fc99 fid=34c2 INFO
    -- [2012-12-06 12:40:50 +0100, :USER, "N/A", "POST:/services/v1/offerings",
    :SUCCEEDED]
    [2012-12-06 12:40:50.608322] cc - pid=1513 tid=fc99 fid=34c2 DEBUG --
    Connection checked in (checked out: 2/4)

    *nginx_cc_access.log*
    api.hancloud.fr - [06/Dec/2012:12:42:16 +0100] "POST
    /services/v1/offerings HTTP/1.0" 200 268 "-" "EventMachine HttpClient"
    10.186.0.248 response_time:0.014
    api.hancloud.fr - [06/Dec/2012:12:42:18 +0100] "POST
    /services/v1/offerings HTTP/1.0" 200 268 "-" "EventMachine HttpClient"
    10.186.0.248 response_time:0.015
    api.hancloud.fr - [06/Dec/2012:12:42:21 +0100] "POST
    /services/v1/offerings HTTP/1.0" 200 268 "-" "EventMachine HttpClient"
    10.186.0.248 response_time:0.019
    api.hancloud.fr - [06/Dec/2012:12:42:28 +0100] "POST
    /services/v1/offerings HTTP/1.0" 200 268 "-" "EventMachine HttpClient"
    10.186.0.248 response_time:0.015
    api.hancloud.fr - [06/Dec/2012:12:42:31 +0100] "POST
    /services/v1/offerings HTTP/1.0" 200 268 "-" "EventMachine HttpClient"
    10.186.0.248 response_time:0.015

    I don't see any error in log file
    On Thursday, December 6, 2012 6:31:21 PM UTC+7, Haipeng Wu wrote:

    you may take a look at "cloud_controller.log" and "nginx_cc_access.log"
    to find some clue.

    The log file is in your deployment diretory, something like
    ".../.deployments/.../log/".

    On Thu, Dec 6, 2012 at 5:28 PM, Tho Manh wrote:

    Hi,
    When i push application php: "*vmc push magento02*",
    it return error :

    Uploading Application:
    Checking for available resources: OK
    Processing resources: OK
    Packing application: OK
    Uploading (966K): OK
    Push Status: OK
    Staging Application 'magento02': .............................Error
    (JSON 504): <html>
    <head><title>504 Gatewa...

    This is log
    "*vmc logs magento02*"
    ====> /logs/error.log <====

    PHP Deprecated: Comments starting with '#' are deprecated in
    /etc/php5/apache2/php.ini on line 1854 in Unknown on line 0
    PHP Deprecated: Comments starting with '#' are deprecated in
    /var/vcap.local/dea/apps/magento02-0-0344da9bbed1b090fcd6ae21cc307d33/apache/php/imagick.ini
    on line 1 in Unknown on line 0
    PHP Deprecated: Comments starting with '#' are deprecated in
    /var/vcap.local/dea/apps/magento02-0-0344da9bbed1b090fcd6ae21cc307d33/apache/php/imap.ini
    on line 1 in Unknown on line 0
    PHP Deprecated: Comments starting with '#' are deprecated in
    /var/vcap.local/dea/apps/magento02-0-0344da9bbed1b090fcd6ae21cc307d33/apache/php/mcrypt.ini
    on line 1 in Unknown on line 0
    PHP Warning: Module 'apc' already loaded in Unknown on line 0
    PHP Warning: PHP Startup: Unable to load dynamic library
    '/usr/lib/php5/20090626/memcache.so' - /usr/lib/php5/20090626/memcache.so:
    cannot open shared object file: No such file or directory in Unknown on
    line 0
    PHP Warning: PHP Startup: Unable to load dynamic library
    '/usr/lib/php5/20090626/mongo.so' - /usr/lib/php5/20090626/mongo.so: cannot
    open shared object file: No such file or directory in Unknown on line 0
    [Thu Dec 06 10:10:45 2012] [warn] pid file
    /var/vcap.local/dea/apps/magento02-0-0344da9bbed1b090fcd6ae21cc307d33/run.pid
    overwritten -- Unclean shutdown of previous Apache run?
    [Thu Dec 06 10:10:45 2012] [notice] Apache/2.2.14 (Ubuntu)
    PHP/5.3.2-1ubuntu4.18 with Suhosin-Patch configured -- resuming normal
    operations


    How to fix it ?

    Thanks

Related Discussions

Discussion Navigation
viewthread | post
Discussion Overview
groupvcap-dev @
postedDec 6, '12 at 9:28a
activeDec 7, '12 at 4:33a
posts4
users2

2 users in discussion

Tho Manh: 3 posts Haipeng Wu: 1 post

People

Translate

site design / logo © 2022 Grokbase