aws-cli dynamodb create table with multiple secondary index - amazon-dynamodb

I am trying to create a dynamodb table with 2 local secondary indexes. I did the following and only the latter index(index-2) applied. What's the correct way of doing this?
aws dynamodb create-table \
--table-name test_table_name \
--attribute-definitions \
AttributeName=type,AttributeType=S \
...
--key-schema \
AttributeName=type,KeyType=HASH \
AttributeName=id,KeyType=RANGE \
--provisioned-throughput \
ReadCapacityUnits=5,WriteCapacityUnits=5 \
--local-secondary-indexes \
'IndexName=index-1,KeySchema=[{AttributeName=type,KeyType=HASH},{AttributeName=sk1,KeyType=RANGE}],Projection={ProjectionType=INCLUDE,NonKeyAttributes=[A,B,C,D]}' \
--local-secondary-indexes \
'IndexName=index-2,KeySchema=[{AttributeName=type,KeyType=HASH},{AttributeName=sk2,KeyType=RANGE}],Projection={ProjectionType=INCLUDE,NonKeyAttributes=[B,D,F,H]}' \
--region us-east-1

You only need to specify single --local-secondary-indexes such as
before
--local-secondary-indexes \
'IndexName=index-1,KeySchema=[{AttributeName=type,KeyType=HASH},{AttributeName=sk1,KeyType=RANGE}],Projection={ProjectionType=INCLUDE,NonKeyAttributes=[A,B,C,D]}' \
--local-secondary-indexes \
'IndexName=index-2,KeySchema=[{AttributeName=type,KeyType=HASH},{AttributeName=sk2,KeyType=RANGE}],Projection={ProjectionType=INCLUDE,NonKeyAttributes=[B,D,F,H]}' \
After
--local-secondary-indexes \
'IndexName=index-1,KeySchema=[{AttributeName=type,KeyType=HASH},{AttributeName=sk1,KeyType=RANGE}],Projection={ProjectionType=INCLUDE,NonKeyAttributes=[A,B,C,D]}' \
'IndexName=index-2,KeySchema=[{AttributeName=type,KeyType=HASH},{AttributeName=sk2,KeyType=RANGE}],Projection={ProjectionType=INCLUDE,NonKeyAttributes=[B,D,F,H]}' \
Final
aws dynamodb create-table \
--table-name test_table_name \
--attribute-definitions \
AttributeName=type,AttributeType=S \
...
--key-schema \
AttributeName=type,KeyType=HASH \
AttributeName=id,KeyType=RANGE \
--provisioned-throughput \
ReadCapacityUnits=5,WriteCapacityUnits=5 \
--local-secondary-indexes \
'IndexName=index-1,KeySchema=[{AttributeName=type,KeyType=HASH},{AttributeName=sk1,KeyType=RANGE}],Projection={ProjectionType=INCLUDE,NonKeyAttributes=[A,B,C,D]}' \
'IndexName=index-2,KeySchema=[{AttributeName=type,KeyType=HASH},{AttributeName=sk2,KeyType=RANGE}],Projection={ProjectionType=INCLUDE,NonKeyAttributes=[B,D,F,H]}' \
--region us-east-1

Related

awscli doesn't consider global-secondary-indexes when validating attribute-definitions

I'm trying to initialize dynamodb table when creating a localstack container.
Consider following command:
awslocal dynamodb create-table \
--debug \
--table-name Journal \
--global-secondary-indexes 'IndexName=GetJournalRowsIndex, KeySchema=[{AttributeName=persistence-id, KeyType=HASH},{AttributeName=sequence-nr,KeyType=RANGE}], Projection={ProjectionType=ALL}, ProvisionedThroughput={ReadCapacityUnits=10,WriteCapacityUnits=10}' \
--global-secondary-indexes 'IndexName=TagsIndex, KeySchema=[{AttributeName=tags,KeyType=HASH}],Projection={ProjectionType=ALL},ProvisionedThroughput={ReadCapacityUnits=10,WriteCapacityUnits=10}' \
--key-schema \
AttributeName=pkey,KeyType=HASH \
AttributeName=skey,KeyType=RANGE \
--attribute-definitions \
AttributeName=persistence-id,AttributeType=S \
AttributeName=pkey,AttributeType=S \
AttributeName=skey,AttributeType=S \
AttributeName=sequence-nr,AttributeType=N \
AttributeName=tags,AttributeType=S \
--billing-mode PAY_PER_REQUEST
I'm getting the following error:
An error occurred (ValidationException) when calling the CreateTable operation: The number of attributes in key schema must match the number of attributesdefined in attribute definitions.
I'm using those in GSI so I wonder what am I doing wrong here?
I guess you can't specify global-secondary-indexes flag twice. Try the following
awslocal dynamodb create-table \
--debug \
--table-name Journal \
--global-secondary-indexes "[{\"IndexName\": \"GetJournalRowsIndex\", \"KeySchema\": [{\"AttributeName\": \"persistence-id\", \"KeyType\": \"HASH\"}, {\"AttributeName\": \"sequence-nr\", \"KeyType\": \"RANGE\"}], \"Projection\": {\"ProjectionType\": \"ALL\"}, \"ProvisionedThroughput\": {\"ReadCapacityUnits\": 1, \"WriteCapacityUnits\": 1}}, {\"IndexName\": \"TagsIndex\", \"KeySchema\": [{\"AttributeName\": \"tags\", \"KeyType\": \"HASH\"}], \"Projection\": {\"ProjectionType\": \"ALL\"}, \"ProvisionedThroughput\": {\"ReadCapacityUnits\": 1, \"WriteCapacityUnits\": 1}}]" \
--key-schema \
AttributeName=pkey,KeyType=HASH \
AttributeName=skey,KeyType=RANGE \
--attribute-definitions \
AttributeName=persistence-id,AttributeType=S \
AttributeName=pkey,AttributeType=S \
AttributeName=skey,AttributeType=S \
AttributeName=sequence-nr,AttributeType=N \
AttributeName=tags,AttributeType=S \
--billing-mode PAY_PER_REQUEST

Override system "URL not found" template in Intershop 7.10?

We are trying to override the default template for the "URL not found" page. The template name is URLError.isml and it is located in the sld_system_app cartridge. When we try to override the template via "Override existing" wizard, the template doesn't get found, even though the sld_system_app is in the cartridge dependency hierarchy:
At the same time, any pipeline from the same cartridge (sld_system_app) can normally be overriden. For example we can override the URLMapping.pipeline which is using the URLError.isml:
It is the same for any ISML template located in the sld_system_app cartridge. None of the templates can be overriden.
Is there some way of overriding the default ISML or do we really need to override the pipeline to do so?
UPDATE #1:
We have managed to get the wizard working, after some studio restarts and cleaning the target and refreshing gradle dependencies. However, after creating the template through the wizard, deploying the file on the server and restarting the server, the override is still not working. We are still getting the system page.
This is the overriden template in our custom cartridge:
And this is the content of the cartridgelist.properties:
cartridges=\
libs \
runtime \
3rd_oracle \
pf_cartridge \
pf_objectgraph \
pf_objectgraph_guice \
servletengine \
component \
file \
emf \
pf_extension \
pf_property \
jmx \
app \
messaging \
pf_kafka \
cache \
pipeline \
isml \
orm \
configuration \
businessobject \
core \
orm_oracle \
orm_mssql \
wsrp \
rest \
bc_authorization \
bc_repository \
bc_spreadsheet \
bc_foundation \
bc_i18n \
bc_application \
bc_auditing \
bc_region \
bc_service \
bc_mail \
bc_ruleengine \
report \
bc_auditing_orm \
bc_organization \
bc_approval \
bc_validation \
bc_address \
bc_address_orm \
bc_user \
bc_user_orm \
bc_captcha \
bc_pdf \
bc_processchain \
bc_processchain_orm \
ui_web_library \
ac_captcha_recaptcha \
ac_mail \
ac_ruleengine_drools \
ac_pdf_flyingsaucer \
pf_axis2 \
ac_eureka \
bc_transport \
bc_transport_orm \
bc_transport_azure \
dev_swagger \
pf_jrockit \
dev_lilith \
etest \
tool_webtest \
dev_query \
pf_objectgraph_test \
pf_businessobject_test \
pf_core_test \
pf_rest_test \
pf_orm_test \
orm_oracle_test \
orm_mssql_test \
pf_property_test \
pf_messaging_test \
bc_foundation_test \
bc_service_test \
bc_auditing_test \
bc_application_test \
bc_i18n_test \
bc_validation_test \
bc_user_test \
bc_address_test \
bc_approval_test \
ac_ruleengine_drools_test \
bc_processchain_test \
ui_web_library_test \
pf_axis2_test \
bc_handler_chain \
bc_urlrewrite \
bc_image \
xcs \
bc_shipping_data \
bts \
btc \
monitor \
smc \
bc_pricing \
bc_pmc \
bc_pmc_auditing \
bc_pmc_validation \
bc_preview \
bc_preview_orm \
pmc_rest \
bc_search \
bc_mvc \
bc_productbinding \
bc_customer_segment \
bc_customer \
bc_customer_orm \
bc_catalog \
bc_catalog_orm \
bc_product \
bc_product_orm \
bc_product_validation \
bc_rating \
bc_rating_orm \
bc_product_rating \
bc_product_rating_orm \
bc_customer_catalog_filter \
bc_customer_catalog_filter_orm \
bc_wishlist \
bc_wishlist_orm \
bc_addresscheck \
bc_basket \
bc_basket_orm \
bc_basket_service \
bc_order \
bc_order_orm \
bc_order_service \
bc_warranty \
bc_profanitycheck \
bc_requisition \
bc_tendering \
bc_giftpackaging \
bc_shipping \
bc_promotion \
bc_recommendation \
bc_marketing \
bc_marketing_impex \
bc_abtest \
bc_abtest_orm \
bc_payment \
bc_payment_orm \
bc_giftcard \
bc_taxation \
bc_product_pricing \
bc_product_pricing_orm \
bc_orderprocess \
bc_order_impex \
bc_payment_service \
bc_gdpr \
bc_store \
bc_store_orm \
bc_dashboard \
bc_dashboard_orm \
sld_system_app \
as_system \
sld_pmc \
sld_pdf \
sld_preview \
sld_mcm \
sld_ch_b2c_base \
sld_ch_sf_base \
ac_bmecat \
sld_enterprise_app \
sld_ch_base \
sld_ch_partner_plugin \
sld_ch_consumer_plugin \
ac_giftcard_std \
ac_payment_std \
ac_taxation_std \
ac_customer_segment_std \
sld_ch_b2c_image \
app_sf_rest \
app_sf_rest_b2c \
app_sf_rest_smb \
app_sf_rest_recomm \
ac_oci \
ac_cxml \
ac_order_export_xml \
ac_order_submission_service \
ac_order_history_service \
ac_order_status_import_xml \
migration \
sld_ch_consumer_orderimport_es64 \
app_bo_rest_job \
app_bo_catalog \
app_bo_dashboard \
app_bo_gdpr \
as_backoffice \
ac_search_solr \
ac_search_solr_bo \
ac_addresscheck_demo \
ac_payment_demo \
ac_customer_segment_demo \
ac_webhook_inventory \
as_contactcenter \
app_sf_contactcenter_rest \
app_bo_contactcenter_cobrowsing \
ac_gtm \
ac_gtm_google_analytics \
ac_gtm_sf \
app_bo_transport \
dev_handler_chain \
dev_organizationinfo \
dev_bostyleguide \
dev_basketinfo \
dev_apiinfo \
dev_payment \
bc_pmc_test \
bc_handler_chain_test \
bc_xcs_test \
bc_shipping_test \
bc_mvc_test \
bc_product_test \
bc_product_orm_test \
bc_bts_test \
bc_pricing_test \
bc_requisition_test \
bc_marketing_test \
bc_marketing_impex_test \
bc_preview_test \
sld_preview_test \
ac_customer_segment_std_test \
bc_customer_test \
bc_customer_catalog_filter_orm_test \
bc_wishlist_test \
ac_giftcard_std_test \
bc_warranty_test \
bc_promotion_test \
bc_basket_test \
sld_ch_b2c_base_test \
sld_enterprise_app_test \
sld_ch_consumer_plugin_test \
bc_catalog_test \
ac_taxation_std_test \
bc_product_pricing_test \
bc_order_test \
bc_payment_test \
bc_orderprocess_test \
sld_pmc_test \
app_bo_cms_test \
app_bo_dashboard_test \
bc_search_test \
bc_store_test \
bc_image_test \
bc_dashboard_test \
app_bo_test \
app_sf_contactcenter_rest_test \
app_sf_rest_test \
ac_search_solr_test \
bc_urlrewrite_test \
bc_product_rating_orm_test \
ac_order_submission_service_test \
test_app_sf \
test_app_cm \
pmc_unit_testing \
commerce_management_b2c_component \
core_a1 \
app_core_a1 \
bc_a1_orm \
service_a1_esb \
service_a1_siebel \
service_a1_sap \
ac_payment_cccorvus \
app_sf_responsive \
app_sf_responsive_cm \
app_sf_responsive_b2c \
app_sf_responsive_smb \
as_responsive \
app_sf_responsive_gdpr \
app_sf_a1_tomato \
app_sf_a1_tomato_cm \
app_sf_a1_shop \
app_sf_a1_shop_cm \
as_a1 \
app_bo_a1 \
dev_storefront \
app_sf_responsive_test
There should be no need to override the pipelines. To be honest I have no idea why your wizard isn't showing the .isml templates. On my ISH 7.9 The override wizard shows all .isml files from the sld_system_app cartridge as soon as I add compile group: 'com.intershop.business', name: 'sld_system_app' to the build.gradle file of my custom cartridge and refresh the gradle dependencies.
A possible solution would be to override the URLError.isml file manually and see if that works. To do this recreate the folder structure staticfiles/cartridge/templates/default/application in your custom cartridge and create the URLError.isml in there manually.
The problem was that we were trying to override the template from the intershop.SLDSystem application in our custom storefront cartridge that wasn't assigned to that application.
Since we don't override any other functionalities of that application, we have decided to go with a different approach instead of overriding the template.
Alternative solution is:
Define a BO short link that redirects /urlerror to Error-Start?ErrorCode=PageNotFound
Override Error-Start pipeline and add handling for the "PageNotFound" error code ending with a custom template

Cannot completely understand the meaning of different trace flags for nodes configuration

I am new to NS and trying to understand the code of AODV routing protocol.
But I'm unable to understand what macTrace, AgentTrace, movementTrace, routerTrace mean when configuring the nodes.
Here is the small snippet :
$ns node-config -adhocRouting $val(rp) \
-llType $val(ll) \
-macType $val(mac) \
-ifqType $val(ifq) \
-ifqLen $val(ifqlen) \
-antType $val(ant) \
-propType $val(prop) \
-phyType $val(netif) \
-channelType $val(chan) \
-topoInstance $topo \
-agentTrace OFF \
-routerTrace OFF \
-macTrace ON \
-movementTrace ON

robotframework multiline regexp

Good Morning,
I apologize but I'm stuck with RobotFramework.
I'm currently trying to compare my system output in JSON with my expected output.
Expected JSON Output, in Robot Framework format:
${expected_output}= Catenate SEPARATOR=\n
... \ \ "id": "AAAAA-2017-07-21",
... \ \ "version": "2",
... \ \ "creationDateTime": "1500636720",
... \ \ "passengers": {
... \ \ \ \ "1": {
... \ \ \ \ \ \ "names": [{
... \ \ \ \ \ \ \ \ "firstName": "TOTO",
... \ \ \ \ \ \ \ \ "lastName": "TUTU"
... \ \ \ \ \ \ }],
... \ \ \ \ },
... \ \ \ \ "2": {
... \ \ \ \ \ \ "id": "1",
... \ \ \ \ \ \ "names": [{
... \ \ \ \ \ \ \ \ "firstName": "TATA",
... \ \ \ \ \ \ \ \ "lastName": "TUTU"
... \ \ \ \ \ \ }],
... \ \ \ \ }
... \ \ },
Doing the following actions works well,
Should Be Equal As Integers ${output.rc} 0
Should Be Equal As Strings ${output.stdout} ${expected_output}
Should Match Regexp ${output.stdout} "(names|1)"
but my point is that I'd like to be able to parse multiple lines, for instance, I would like to compare only the first passenger info and I really don't care about the rest of my output message.
... \ \ \ \ "1": {
... \ \ \ \ \ \ "names": [{
... \ \ \ \ \ \ \ \ "firstName": "TOTO",
... \ \ \ \ \ \ \ \ "lastName": "TUTU"
... \ \ \ \ \ \ }],
... \ \ \ \ },
I only want to be sure that in my whole message, the above lines are correct, and not check the remaing of my message.
I don't really know how to do that, I've seen that I could use (?m) for multiple line checking,
but I don't know how to use it, and it does not work at all :(
Should it be someting like:
Should Match Regexp (?m) ... \ \ \ \ "1": {
(?m) ... \ \ \ \ \ \ "names": [{
(?m) ... \ \ \ \ \ \ \ \ "firstName": "TOTO",
(?m) ... \ \ \ \ \ \ \ \ "lastName": "TUTU"
(?m) ... \ \ \ \ \ \ }],
(?m) ... \ \ \ \ },
I'm totally lost, could you please help me?
Thanks in advance,
Regards.
Thomas
If you are getting back structured data, regular expressions are the wrong tool for the job.
You don't say what library you're using to fetch the JSON data. There's a good chance that library has a way to convert the JSON data to a python object. For example, the requests library lets you convert the output to a python object with something like ${result.json()}.
Once you've converted the JSON object to a real object, you can directly address any part of the data using robot's extended variable syntax.
The following example uses python's json decoder to convert the actual value to an object, then verifies the first name of the first passenger:
${actual}= evaluate json.loads('''${output.stdout}''') json
Should be equal ${actual["passengers"]["1"]["names"][0]["firstName"]} TOTO
You could use the same technique to compare the whole dictionary, by setting your expected value to just the values you want to compare
${expected}= Catenate
... {
... "names": [{
... "firstName": "TOTO",
... "lastName": "TUTU"
... }]
... }
${expected}= evaluate json.loads('''${expected}''') json
${actual}= evaluate json.loads('''${output.stdout}''') json
Dictionaries should be equal ${actual["passengers"]["1"]} ${expected}
Note: Dictionaries should be equal is from the Collections library

Nginx 1.7.9 with google pagespeed plugin giving error

I want to install nginx 1.7.9 with nginx pagespeed latest version.
my environment is Ubuntu 14.04.1 LTS trusty nginx 1.7.9 page speed 1.9.32.2
config command was successful
./configure --add-module=/usr/local/nginx/modules/ngx_pagespeed-1.9.32.2-beta --prefix=/usr/local/nginx --sbin-path=/usr/local/sbin/nginx --conf-path=/etc/nginx/nginx.conf --error-log-path=/var/log/nginx/error.log --http-log-path=/var/log/nginx/access.log --pid-path=/run/nginx.pid --lock-path=/run/lock/subsys/nginx --user=nginx --group=nginx
for config : i am getting following output
checking for zlib library ... found
creating objs/Makefile
Configuration summary
+ using system PCRE library
+ OpenSSL library is not used
+ using builtin md5 code
+ sha1 library is not found
+ using system zlib library
nginx path prefix: "/usr/local/nginx"
nginx binary file: "/usr/local/sbin/nginx"
nginx configuration prefix: "/etc/nginx"
nginx configuration file: "/etc/nginx/nginx.conf"
nginx pid file: "/run/nginx.pid"
nginx error log file: "/var/log/nginx/error.log"
nginx http access log file: "/var/log/nginx/access.log"
nginx http client request body temporary files: "client_body_temp"
nginx http proxy temporary files: "proxy_temp"
nginx http fastcgi temporary files: "fastcgi_temp"
nginx http uwsgi temporary files: "uwsgi_temp"
nginx http scgi temporary files: "scgi_temp"
while running make, i am getting following error.
/usr/local/nginx/modules/ngx_pagespeed-1.9.32.2-beta/psol/include/third_party/chromium/src -I /usr/local/nginx/modules/ngx_pagespeed-1.9.32.2-beta/psol/include/third_party/google-sparsehash/src -I /usr/local/nginx/modules/ngx_pagespeed-1.9.32.2-beta/psol/include/third_party/google-sparsehash/gen/arch/linux/x64/include -I /usr/local/nginx/modules/ngx_pagespeed-1.9.32.2-beta/psol/include/third_party/protobuf/src -I /usr/local/nginx/modules/ngx_pagespeed-1.9.32.2-beta/psol/include/third_party/re2/src -I /usr/local/nginx/modules/ngx_pagespeed-1.9.32.2-beta/psol/include/out/Release/obj/gen -I /usr/local/nginx/modules/ngx_pagespeed-1.9.32.2-beta/psol/include/out/Release/obj/gen/protoc_out/instaweb -I /usr/local/nginx/modules/ngx_pagespeed-1.9.32.2-beta/psol/include/third_party/apr/src/include -I /usr/local/nginx/modules/ngx_pagespeed-1.9.32.2-beta/psol/include/third_party/aprutil/src/include -I /usr/local/nginx/modules/ngx_pagespeed-1.9.32.2-beta/psol/include/third_party/apr/gen/arch/linux/x64/include -I /usr/local/nginx/modules/ngx_pagespeed-1.9.32.2-beta/psol/include/third_party/aprutil/gen/arch/linux/x64/include -I objs \
-o objs/ngx_modules.o \
objs/ngx_modules.c
cc -o objs/nginx \
objs/src/core/nginx.o \
objs/src/core/ngx_log.o \
objs/src/core/ngx_palloc.o \
objs/src/core/ngx_array.o \
objs/src/core/ngx_list.o \
objs/src/core/ngx_hash.o \
objs/src/core/ngx_buf.o \
objs/src/core/ngx_queue.o \
objs/src/core/ngx_output_chain.o \
objs/src/core/ngx_string.o \
objs/src/core/ngx_parse.o \
objs/src/core/ngx_inet.o \
objs/src/core/ngx_file.o \
objs/src/core/ngx_crc32.o \
objs/src/core/ngx_murmurhash.o \
objs/src/core/ngx_md5.o \
objs/src/core/ngx_rbtree.o \
objs/src/core/ngx_radix_tree.o \
objs/src/core/ngx_slab.o \
objs/src/core/ngx_times.o \
objs/src/core/ngx_shmtx.o \
objs/src/core/ngx_connection.o \
objs/src/core/ngx_cycle.o \
objs/src/core/ngx_spinlock.o \
objs/src/core/ngx_cpuinfo.o \
objs/src/core/ngx_conf_file.o \
objs/src/core/ngx_resolver.o \
objs/src/core/ngx_open_file_cache.o \
objs/src/core/ngx_crypt.o \
objs/src/core/ngx_proxy_protocol.o \
objs/src/core/ngx_syslog.o \
objs/src/event/ngx_event.o \
objs/src/event/ngx_event_timer.o \
objs/src/event/ngx_event_posted.o \
objs/src/event/ngx_event_busy_lock.o \
objs/src/event/ngx_event_accept.o \
objs/src/event/ngx_event_connect.o \
objs/src/event/ngx_event_pipe.o \
objs/src/os/unix/ngx_time.o \
objs/src/os/unix/ngx_errno.o \
objs/src/os/unix/ngx_alloc.o \
objs/src/os/unix/ngx_files.o \
objs/src/os/unix/ngx_socket.o \
objs/src/os/unix/ngx_recv.o \
objs/src/os/unix/ngx_readv_chain.o \
objs/src/os/unix/ngx_udp_recv.o \
objs/src/os/unix/ngx_send.o \
objs/src/os/unix/ngx_writev_chain.o \
objs/src/os/unix/ngx_channel.o \
objs/src/os/unix/ngx_shmem.o \
objs/src/os/unix/ngx_process.o \
objs/src/os/unix/ngx_daemon.o \
objs/src/os/unix/ngx_setaffinity.o \
objs/src/os/unix/ngx_setproctitle.o \
objs/src/os/unix/ngx_posix_init.o \
objs/src/os/unix/ngx_user.o \
objs/src/os/unix/ngx_process_cycle.o \
objs/src/os/unix/ngx_linux_init.o \
objs/src/event/modules/ngx_epoll_module.o \
objs/src/os/unix/ngx_linux_sendfile_chain.o \
objs/src/core/ngx_regex.o \
objs/src/http/ngx_http.o \
objs/src/http/ngx_http_core_module.o \
objs/src/http/ngx_http_special_response.o \
objs/src/http/ngx_http_request.o \
objs/src/http/ngx_http_parse.o \
objs/src/http/ngx_http_header_filter_module.o \
objs/src/http/ngx_http_write_filter_module.o \
objs/src/http/ngx_http_copy_filter_module.o \
objs/src/http/modules/ngx_http_log_module.o \
objs/src/http/ngx_http_request_body.o \
objs/src/http/ngx_http_variables.o \
objs/src/http/ngx_http_script.o \
objs/src/http/ngx_http_upstream.o \
objs/src/http/ngx_http_upstream_round_robin.o \
objs/src/http/ngx_http_parse_time.o \
objs/src/http/modules/ngx_http_static_module.o \
objs/src/http/modules/ngx_http_index_module.o \
objs/src/http/modules/ngx_http_chunked_filter_module.o \
objs/src/http/modules/ngx_http_range_filter_module.o \
objs/src/http/modules/ngx_http_headers_filter_module.o \
objs/src/http/modules/ngx_http_not_modified_filter_module.o \
objs/src/http/ngx_http_busy_lock.o \
objs/src/http/ngx_http_file_cache.o \
objs/src/http/modules/ngx_http_gzip_filter_module.o \
objs/src/http/ngx_http_postpone_filter_module.o \
objs/src/http/modules/ngx_http_ssi_filter_module.o \
objs/src/http/modules/ngx_http_charset_filter_module.o \
objs/src/http/modules/ngx_http_userid_filter_module.o \
objs/src/http/modules/ngx_http_autoindex_module.o \
objs/src/http/modules/ngx_http_auth_basic_module.o \
objs/src/http/modules/ngx_http_access_module.o \
objs/src/http/modules/ngx_http_limit_conn_module.o \
objs/src/http/modules/ngx_http_limit_req_module.o \
objs/src/http/modules/ngx_http_geo_module.o \
objs/src/http/modules/ngx_http_map_module.o \
objs/src/http/modules/ngx_http_split_clients_module.o \
objs/src/http/modules/ngx_http_referer_module.o \
objs/src/http/modules/ngx_http_rewrite_module.o \
objs/src/http/modules/ngx_http_proxy_module.o \
objs/src/http/modules/ngx_http_fastcgi_module.o \
objs/src/http/modules/ngx_http_uwsgi_module.o \
objs/src/http/modules/ngx_http_scgi_module.o \
objs/src/http/modules/ngx_http_memcached_module.o \
objs/src/http/modules/ngx_http_empty_gif_module.o \
objs/src/http/modules/ngx_http_browser_module.o \
objs/src/http/modules/ngx_http_upstream_hash_module.o \
objs/src/http/modules/ngx_http_upstream_ip_hash_module.o \
objs/src/http/modules/ngx_http_upstream_least_conn_module.o \
objs/src/http/modules/ngx_http_upstream_keepalive_module.o \
objs/addon/src/log_message_handler.o \
objs/addon/src/ngx_base_fetch.o \
objs/addon/src/ngx_caching_headers.o \
objs/addon/src/ngx_fetch.o \
objs/addon/src/ngx_gzip_setter.o \
objs/addon/src/ngx_list_iterator.o \
objs/addon/src/ngx_message_handler.o \
objs/addon/src/ngx_pagespeed.o \
objs/addon/src/ngx_rewrite_driver_factory.o \
objs/addon/src/ngx_rewrite_options.o \
objs/addon/src/ngx_server_context.o \
objs/addon/src/ngx_url_async_fetcher.o \
objs/ngx_modules.o \
-lpthread -lcrypt -lstdc++ /usr/local/nginx/modules/ngx_pagespeed-1.9.32.2-beta/psol/lib/Release/linux/x64/pagespeed_automatic.a -lrt -pthread -lm -lpcre -lz
make[1]: Leaving directory `/data/nginx-1.7.9'
make -f objs/Makefile manpage
make[1]: Entering directory `/data/nginx-1.7.9'
sed -e "s|%%PREFIX%%|/usr/local/nginx|" \
-e "s|%%PID_PATH%%|/run/nginx.pid|" \
-e "s|%%CONF_PATH%%|/etc/nginx/nginx.conf|" \
-e "s|%%ERROR_LOG_PATH%%|/var/log/nginx/error.log|" \
< man/nginx.8 > objs/nginx.8
make[1]: Leaving directory `/data/nginx-1.7.9'
can any help in getting this issue fixed ? i dont know what exactly this error is ?
This was fixed . I just updated config before make

Resources