Caching service not seen on my subnet
I have just updated my lab's server to Server 4 / Yosemite.
It -looks- like one can now use the Caching service on a subnet and not simply behind a NAT (there are even instructions to this effect). When I do this, however, my client machines never seem to 'see' the caching server to grab their updates.
The setup is:
Mac Pro w/ Server 4. Fixed IP on subnet w/ mask 255.255.252.0
5 client Macs, mostly Mac Pros running Yosemite.
They get their IPs via Uni-supplied DHCP.
All on same subnet as above w/ mask 255.255.252.0
All can reach the server w/o hassle for authentication / home directory services, file sharing services, time machine.
I've set up the caching server to cache content for clients connecting from "Only Local Subnets" and serve clients with public addresses "Matching This Server's Network"
I've manually turned on LogClientIdentity and set LogLevel to verbose.
I saw an older mention of setting Interface, and have tried to force this (I'm not multihoming this server, like that OP) to "en0" but that didn't seem to help (and actually kept it from caching updates locally.)
I then did the following:
Z. Rebooted/restarted things.
A. To 'force' the cache to load with something useful from the server, I installed a few programs, small and large on the server itself. (Xcode, + some other stuff).
I watched the Debug.log and saw it dutifully notify me that:
1) when it started it was using IP range .... to .... which is the subnet my server / lab machines are on.
2) it has loaded the Xcode + other apps into the cache (verbose showed me chunk-by-chunk of that... a bit of TMI, but- verbose!)
B. I went to a client machine and opened App Store
C. I installed a few apps --- some that should be in the cache, and others that should miss the cache and force themselves to be loaded.
Sadly, I saw no activity in the log, nor network activity on the server suggesting it was serving up the aforementioned cached files. Not even any attempt to connect, etc.
Is there a clever way one can check if App Store is -actually- searching for the local Cache Service? Any other advice?
Let's reset the printing system:
- Go to System Preferences > Print & Fax
- Right (or control) click in the rectangle listing your printers and select Reset Printing System.
WARNING - this will delete ALL of your printers!
- Select the plus sign to re-add a printer. Look for the printer, select it and wait until the "Add" button becomes available. Click it.
Say thanks by clicking "Kudos" "thumbs up" in the post that helped you.
I am employed by HP
Similar Messages
-
Oracle Services not seen in Service Panel
I am runnig an Oracle 9 database on Windows NT server.
For some reason the Oracle Services that was seen in the Services Window of the Control Panel disappeared.I could see the regedit is safe and the Database is running.How do I get the services to appear on the service window.Please maintain service conditions through Txn ML33.
-
Caching service only works for OS X updates and not for Apps
Hello,
It seems that my OS X Server Caching service only works for Apple OS X Software Updates (in Mac App Store updates, when the icon of Mountain Lion appears). I see it in my logs in verbose mode when I download an Apple OS X Software Updates and not when I download an app in Mac Appstore.
So I'm sure my Caching service works but not for all downloads.
Why ? What's wrong with my server ?
I read in some blogs that Caching Server can work for iOS devices appstore too. I try to download some apps with my iphone but nothing happens in logs ...
Can somebody help me about the Caching Server ?
Thank you.I am with chugues http://www.apple.com/ios/business/
Caching Server 2 supports iOS 7.
By caching purchased content and software updates on a local Mac running OS X Mavericks Server, Caching Server 2 speeds up the download and delivery of content through the App Store, Mac App Store, iTunes Store and iBookstore. Your users get faster downloads of content and updates to their iOS devices directly over your corporate network.
Shows iOS updates and et al. Why is this feature not on yet? -
**after receiving iphone6 and signing 2 year contract, negotiated for a change in plan with lower cost and discount... not seen on october bill as promised..totally unable to obtain help on phone to verizon. thanks
Thanks for the response. I had the 65 advantage plan for 2 years. Service rep at Verizon store assisted me when I activated my new iPhone 6. She noted that over the 2 years i had used only a few minutes of talk, one to 2 texts per month ( at a fee of $. 20 each ) and a minuscule amount of data... and that the phone was for emergency contact to me from my disabled invalid wife only. She searched and found a discount special plan for a savings of $15.00 per month with a final monthly fee before taxes of $45 and not $59 per month to start on Oct 1st. It does not have a name to the plan just that it carries this special discount. That is all I can tell you. Thanks for the assistance. Await your reply. Thanks
Bob Bonus
[email protected] <mailto:[email protected]> this is Incorrect email........... should be [email protected] Wednesday oct 8th, 2014... do not know if you received this response to your email a few days ago. Sorry for the mistake. Await your response. thanks
bob bonus -
Lion Server DNS service not working for locally created zones. Caching working fine.
OS Lion Server DNS service not working for local zones. Was fine under Snow leopard server but Lion server upgrade has severely broken my DNS and web sites. Zones look fine under Server Admin but keep getting "query failed (SERVFAIL) for xxxx at /SourceCache/bind9/bind9-42/bind9/bin/named/query.c:3921" in the logs. BTW - Server Admin cant seem to see the log file either.
Surely someone actually tested that DNS still worked on Lion?I upgraded from Snow Leopard Server to Lion Server on day 01. I hit the same issue where, after the upgrade, my Lion Server stopped serving names for my private local domain.
I finally took a few minutes to figure out what was wrong. After turning on debug logging and looking through the logs, I found my particular issue, now resolved.
The issue I had was, when the domain initially was setup when I installed Snow Leopard Server, for some reason it created a zone just for the server (in my case, something like zone "s-01.mydomain.priv"), and a separate zone for all the other machines (zone "mydomain.priv", containing all the private IPs for my local domain). I never messed with it because it worked, but generally I would have put all of them in the same zone.
My zone "mydomain.priv" had a nameserver and mail exchanger entry for my server, s-01.mydomain.priv. I could see this in the Server Admin app on the DNS bubble, Zones tab, mydomain.priv selected, and the General Info panel. This was fine in Snow Leopard. This was failing the zone load in the updated bind for Lion Server, though. The issue was that the "mydomain.priv" zone was referencing the s-01.mydomain.priv server, which was not defined in the "mydomain.priv" zone but rather in the "s-01.mydomain.priv" zone.
My fix:
1. In Server Admin, add the server to the zone "mydomain.priv". I put an A record (Add Machine) in the "mydomain.priv" zone for my server named s-01.mydomain.priv.
2. shut down DNS on the OS X Lion Server (hit the Stop DNS button on Server Admin).
3. edit /etc/named.conf by hand, removing the specialized zones that contianed just the server. In this case, it would be the section titled 'zone "s-01.mydomain.priv"' and the section titled 'zone "3.10.1.10.in-addr.arpa"'. Your in-addr.arpa zone name will change based on whatever your server IP address was. My internal one happened to have s-01.mydomain.priv mapped to 10.1.10.3.
4. Once the specialized zones for just the server were removed, I started the DNS up again. Instead of serving four zones as it had in OS X Snow Leopard Server, it now servers two zones. And, now, it is resolving my local machines for the mydomain.priv zone.
YMMV. I did note that it wasn't totally necessary to do step 3, but I never really understood the need for the specialized domain, and keeping it around would have a copy of data that would just confuse things.
Hope that helps. That's been the only hiccup I've noticed updating to OS X Lion Server thus far. -
How can I use Apple Caching Service on a Network with Multiple Public IPs?
Hello!
I help manage a network of ~4000 clients for a small liberal arts college in Michigan. I'm looking into the possibility of implimenting Apple Caching Server for our network.
We have one 400mbit pipe out to the internet, and all of our clients are given public-facing IPs to the internet. A caching server would be great, especially on update days. All wireless clients are on the same subnet, which is where I'd like the server to be serving the cached copies.
I have installed Mavericks on a fresh machine, downloaded OS X Server 3.0.3, and attempted to start the caching service. This is what I get.
Unable to start service.
Caching cannot be run on a public network. Consult documentation.
How can I get this up and running?The way the Caching server works is that the server will be accessing the Internet and when doing so traffic will be coming from it via a particular public IP address. Usually this will not be the address of the server itelf but your router as for most networks NAT is used. In this by far more common scenario the client Macs (and likely iOS devices) will be going through the same router and hence show up via the same public IP address.
If the client request is the same as the address registered via the Caching server then Apple redirect the request via the Caching server.
The setup would look something like this -
Internet
|
Router (with NAT)
|
(LAN) +------Caching Server-----Client devices
With this setup because everything is using the same public IP address Apple can reasonably assume everything is on the same network and trigger a redirection to your Caching server.
If you try a setup like the following with the Caching server having its own public IP it will not work because the Caching server and client devices will have different public IP addresses
Internet
|
Router (no NAT)-------------------+
| |
Firewall (with NAT) Caching Server
| |
| |
(LAN) +-----Client devices-----------+-----------
Your configuration as described is more like the following
Internet
|
Router (no NAT)
|
(LAN) +------Caching Server-----Client devices
With yours not having NAT each device has its own public IP address including the Caching server and Apple cannot redirect traffic as it thinks they are on different networks. -
For eg :
I had a user called domain1\user1 whose mysite was created as http://my/personal/user1.
Now this user moves to another domain say domain2\user1.Since mysite is already present no new mysite will be created.
Move-SPUser –Identity "domain1\user1" –NewAlias "domain2\user1"After executing the above query,user is migrated and is able to login to the mysite.But the newsfeed data is not seen.I can see it in the microfeed list but not in the newsfeed page.All other data like documents ,tags,people etc is present
harsh damaniait should move all the profile data alonwith, i would check the ULS logs for any clue.
also make sure following timer jobs ran successfully
User Profile service application name - User Profile to SharePoint Quick Synchronization
User Profile service application name - Feed Cache Repopulation
User Profile service application name - Activity Feed Job
Please remember to mark your question as answered &Vote helpful,if this solves/helps your problem. ****************************************************************************************** Thanks -WS MCITP(SharePoint 2010, 2013) Blog: http://wscheema.com/blog -
Hi.
Could you help me ....
I modified a bsp to display a PDF file into a new popup window, and I tested into my quality server using SE80 transaction and with my portal application after and evething was OK but when a released the new BSP into production server the BSP crashed.
This is the error message that throws:
503 Service not Available
Erro 6
Version 6040
MOdule http_j2ee_mt.c
Line 795
Server EMKIOAIX103_CRP_00
Details Cannot reach external application server on localhost:50000
I explain you my program does it:
1.- the user chooses the a record into a Inbox
2.- IC display its data with BSP IRecReason
3.- the user chooses a Action link
4.- IC display a action PRINT PDF
5.- the user selects a print pdf
This is my code to EH_ONGO than create the PDF spool
METHOD EH_ONGO .
DATA: function_name TYPE rs38l_fnam,
dummy(254) TYPE c,
ls_archive_index TYPE toa_dara,
ls_orderadm_h TYPE crmt_output_orderadm_h_com,
ls_activity_h TYPE crmt_output_activity_h_com,
ls_lead_h TYPE crmt_output_lead_h_com,
ls_opport_h TYPE crmt_output_opport_h_com,
ls_orgman_h TYPE crmt_output_orgman_h_com,
lt_partner_h TYPE crmt_output_partner_h_comt,
ls_pricingdata_h TYPE crmt_output_pricingdata_h_com,
ls_sales_h TYPE crmt_output_sales_h_com,
ls_shipping_h TYPE crmt_output_shipping_h_com,
lt_payplan_d_h TYPE crmt_output_payplan_d_h_comt,
ls_customer_h TYPE crmt_output_customer_h_com,
ls_cumulat_h TYPE crmt_output_cumulat_h_com,
lt_billing_h TYPE crmt_output_billing_h_comt,
lt_cancel_h TYPE crmt_output_cancel_h_comt,
lt_appointment_h TYPE crmt_output_appointment_h_comt,
lt_billplan_d_h TYPE crmt_output_billplan_d_h_comt,
lt_billplan_h TYPE crmt_output_billplan_h_comt,
lt_status_d_h TYPE crmt_output_status_d_h_comt,
lt_status_h TYPE crmt_output_status_h_comt,
lt_srv_subject_h TYPE crmt_output_srv_subject_h_comt,
lt_srv_reason_h TYPE crmt_output_srv_reason_h_comt,
lt_srv_result_h TYPE crmt_output_srv_result_h_comt,
ls_acs_h TYPE crmt_acs_h_com,
lt_orderadm_i TYPE crmt_output_orderadm_i_comt,
lt_orgman_i TYPE crmt_output_orgman_i_comt,
lt_pricingdata_i TYPE crmt_output_pricingdata_i_comt,
lt_pricing_i TYPE crmt_output_pricing_i_comt,
lt_product_i TYPE crmt_output_product_i_comt,
lt_sales_i TYPE crmt_output_sales_i_comt,
lt_shipping_i TYPE crmt_output_shipping_i_comt,
lt_schedlin_i TYPE crmt_output_schedlin_i_comt,
lt_customer_i TYPE crmt_output_customer_i_comt,
lt_partner_i TYPE crmt_output_partner_i_comt,
lt_item_cstics_i TYPE crmt_item_cstics_tab,
lt_billing_i TYPE crmt_output_billing_i_comt,
lt_cancel_i TYPE crmt_output_cancel_i_comt,
lt_finprod_i TYPE crmt_output_finprod_i_comt,
lt_ordprp_i TYPE crmt_output_ordprp_i_comt,
lt_appointment_i TYPE crmt_output_appointment_i_comt,
lt_billplan_d_i TYPE crmt_output_billplan_d_i_comt,
lt_billplan_i TYPE crmt_output_billplan_i_comt,
lt_orderadm_i_qt TYPE crmt_output_orderadm_i_qt_comt,
lt_orderadm_i_in TYPE crmt_output_orderadm_i_in_comt,
lt_schedlin_i_cf TYPE crmt_output_schedlin_i_cf_comt,
lt_status_i TYPE crmt_output_status_i_comt,
lt_working_set_e_s_bbp TYPE /1cn/working_set_e_s_bbp_t,
lv_language LIKE sy-langu,
lo_order TYPE REF TO cl_doc_crm_order,
lv_object_guid TYPE crmt_object_guid,
lv_object_kind TYPE crmt_object_kind,
lv_status TYPE jstat,
lt_status TYPE TABLE OF jstat,
lv_error_tab_wrk TYPE ssferror,
ls_output_options TYPE ssfcompop.
DATA: IP_SMART_FORM Type TDSFNAME,
IO_APPL_OBJECT Type Ref To OBJECT,
IO_APPL_OBJECT Type Ref to CL_DOC_CRM_ORDER_H,
IO_PARTNER Type Ref to CL_PARTNER_PPF,
IS_ARCHIVE_INDEX Type TOA_DARA,
CT_ARCHIVE_INDEX_TAB Type TSFDARA,
IS_ARCHIVE_PARAMETERS Type ARC_PARAMS,
control_parameters TYPE ssfctrlop,
IS_MAIL_APPL_OBJ Type SWOTOBJID,
IS_MAIL_RECIPIENT Type SWOTOBJID,
IS_MAIL_SENDER Type SWOTOBJID,
IP_USER_SETTINGS type TDBOOL,
ES_DOCUMENT_OUTPUT_INFO type SSFCRESPD,
ES_JOB_OUTPUT_INFO type SSFCRESCL,
ES_JOB_OUTPUT_OPTIONS type SSFCRESOP.
Resultado generado: Formato PDF
data: l_pdf_xstring type xstring,
lt_lines type table of tline,
ls_line type tline,
l_pdf_len type i,
lv_exist type n,
output_data type ssfcrescl,
lp_proc_stat TYPE ppfdtstat.
Explanation: this method executes the action,
gets the medium, gets the log, reads the messages from
the log and gets the spool id from the messages. JLARIN 27/DIC/06
DATA: lv_event TYPE REF TO cl_htmlb_event_tableview,
lv_index TYPE int4,
wa_action TYPE LINE OF crmt_action_table_tab,
ls_action_obj TYPE REF TO if_action_ppf,
lr_action TYPE REF TO cl_trigger_ppf,
lr_medium type Ref to if_medium_ppf,
ls_action TYPE zcrmt_action,
lv_spoolid TYPE symsgv.
DATA:
grid type ref to cl_crm_ic_gridlayout,
GLOBAL_EVENT type string.
data: lo_trigger type ref to CL_TRIGGER_PPF,
lo_sfprint type ref to CL_SF_PRINT_PPF,
lo_typed_context type ref to CL_CRM_IC_IRECACTIONPLAN_CTXT,
lt_all_data type PPFSINPRRU.
data: lo_rp_rc type i.
DATA: lv_head_guid TYPE crmt_object_guid.
DATA: adminh TYPE REF TO cl_crm_ic_irecactionplan_cn02,
guidstring TYPE string,
guid TYPE crmt_object_guid,
action_obj TYPE crmt_action_obj_tab,
lv_object_id TYPE crmt_object_id.
DATA: request_event TYPE REF TO cl_htmlb_event.
DATA: event_data TYPE REF TO if_htmlb_data.
DATA: event_value type string.
event_data = cl_htmlb_manager=>get_event_ex( request ).
if event_data is bound.
try.
request_event ?= event_data.
catch cx_sy_move_cast_error.
clear request_event.
endtry.
event_value = event_data->event_id.
translate event_value to lower case. "#EC TRANSLANG
endif.
if event_value <> 'x1_x3_x17_x21_actionitems'.
return.
endif.
TRY.
create object lo_sfprint.
create object lo_trigger.
lv_exist = 1.
Get the header GUID
adminh = typed_context->btadminh.
guidstring = adminh->get_actionitem( 'GUID' ).
If guidstring is initial.
return.
endif.
lv_head_guid = guidstring.
CALL FUNCTION 'CRM_ORDERADM_H_READ_OW'
EXPORTING
iv_orderadm_h_guid = lv_head_guid
IMPORTING
ev_object_id = lv_object_id
EXCEPTIONS
admin_header_not_found = 1
OTHERS = 2.
CALL FUNCTION 'CRM_ACTION_GET_TOOLBAR_IL'
EXPORTING
iv_ref_guid = lv_head_guid
iv_ref_kind = 'A'
IMPORTING
et_action_obj = action_obj
et_action_fld = action_fld
EXCEPTIONS
parameter_error = 1
error_occurred = 2
error_message = 3
OTHERS = 4.
IF sy-subrc EQ 0.
LOOP AT action_fld INTO wa_action where applkey = lv_object_id.
ENDLOOP.
IF sy-subrc EQ 0.
ls_action_obj = wa_action-action.
lv_exist = 0.
ENDIF.
ENDIF.
if lv_exist is initial.
CALL METHOD ls_action_obj->get_processing
IMPORTING
ei_processing = lr_medium.
CALL METHOD lo_trigger->get_appl
RECEIVING
result = io_appl_object.
call function 'CRM_ACTION_GET_APPL_OBJECT'
exporting
iv_ref_guid = lv_head_guid
iv_ref_kind = 'A'
IMPORTING
EV_APPL_OBJECT = io_appl_object.
CALL METHOD lr_medium->execute
EXPORTING
io_appl_ref = io_appl_object "lo_appl_ref
RECEIVING
rp_status = lp_proc_stat
EXCEPTIONS
missing_arguments = 1
OTHERS = 2.
ip_smart_form = lr_medium->get_smartform( ).
ip_smart_form = 'ZIMPR_ORDEN_RASTREO'.
get the function name for this smart form
CALL FUNCTION 'SSF_FUNCTION_MODULE_NAME'
EXPORTING
formname = ip_smart_form
IMPORTING
fm_name = function_name
EXCEPTIONS
no_form = 1
no_function_module = 2
OTHERS = 3.
determine the tables of the application
CALL FUNCTION 'CRM_OUTPUT_SINGLE_READ'
EXPORTING
iv_object = io_appl_object
iv_smart_form = ip_smart_form
ir_partner = io_partner
IMPORTING
es_output_orderadm_h = ls_orderadm_h
es_output_activity_h = ls_activity_h
es_output_lead_h = ls_lead_h
es_output_opport_h = ls_opport_h
es_output_orgman_h = ls_orgman_h
es_output_pricingdata_h = ls_pricingdata_h
es_output_sales_h = ls_sales_h
es_output_shipping_h = ls_shipping_h
et_output_partner_h = lt_partner_h
et_output_payplan_d_h = lt_payplan_d_h
es_output_customer_h = ls_customer_h
es_output_cumulat_h = ls_cumulat_h
et_output_billing_h = lt_billing_h
et_output_cancel_h = lt_cancel_h
et_output_appointment_h = lt_appointment_h
et_output_billplan_d_h = lt_billplan_d_h
et_output_billplan_h = lt_billplan_h
et_output_status_d_h = lt_status_d_h
et_output_status_h = lt_status_h
et_output_srv_subject_h = lt_srv_subject_h
et_output_srv_reason_h = lt_srv_reason_h
et_output_srv_result_h = lt_srv_result_h
es_output_acs_h = ls_acs_h
et_output_orderadm_i = lt_orderadm_i
et_output_orgman_i = lt_orgman_i
et_output_pricingdata_i = lt_pricingdata_i
et_output_pricing_i = lt_pricing_i
et_output_product_i = lt_product_i
et_output_sales_i = lt_sales_i
et_output_shipping_i = lt_shipping_i
et_output_schedlin_i = lt_schedlin_i
et_output_partner_i = lt_partner_i
et_item_cstics_i = lt_item_cstics_i
et_output_customer_i = lt_customer_i
et_output_billing_i = lt_billing_i
et_output_cancel_i = lt_cancel_i
et_output_finprod_i = lt_finprod_i
et_output_ordprp_i = lt_ordprp_i
et_output_appointment_i = lt_appointment_i
et_output_billplan_d_i = lt_billplan_d_i
et_output_billplan_i = lt_billplan_i
et_output_orderadm_i_qt = lt_orderadm_i_qt
et_output_orderadm_i_in = lt_orderadm_i_in
et_output_schedlin_i_cf = lt_schedlin_i_cf
et_output_status_i = lt_status_i
et_output_wrk_set_e_s_bbp = lt_working_set_e_s_bbp
ev_language = lv_language.
control_parameters-langu = sy-langu.
control_parameters-no_dialog = 'X'.
control_parameters-getotf = 'X'.
call function to process smart form
CALL FUNCTION function_name
EXPORTING
archive_index = is_archive_index
archive_index_tab = ct_archive_index_tab
archive_parameters = is_archive_parameters
control_parameters = control_parameters
mail_appl_obj = is_mail_appl_obj
mail_recipient = is_mail_recipient
mail_sender = is_mail_sender
output_options = ls_output_options
user_settings = ip_user_settings
orderadm_h = ls_orderadm_h
activity_h = ls_activity_h
lead_h = ls_lead_h
opport_h = ls_opport_h
orgman_h = ls_orgman_h
partner_h = lt_partner_h
pricingdata_h = ls_pricingdata_h
sales_h = ls_sales_h
shipping_h = ls_shipping_h
payplan_d_h = lt_payplan_d_h
cumulat_h = ls_cumulat_h
customer_h = ls_customer_h
acs_h = ls_acs_h
billing_h = lt_billing_h
cancel_h = lt_cancel_h
appointment_h = lt_appointment_h
billplan_d_h = lt_billplan_d_h
billplan_h = lt_billplan_h
status_d_h = lt_status_d_h
status_h = lt_status_h
srv_subject_h = lt_srv_subject_h
srv_reason_h = lt_srv_reason_h
srv_result_h = lt_srv_result_h
orderadm_i = lt_orderadm_i
orderadm_i_qt = lt_orderadm_i_qt
orderadm_i_in = lt_orderadm_i_in
orgman_i = lt_orgman_i
pricingdata_i = lt_pricingdata_i
pricing_i = lt_pricing_i
product_i = lt_product_i
sales_i = lt_sales_i
schedlin_i = lt_schedlin_i
schedlin_i_cf = lt_schedlin_i_cf
shipping_i = lt_shipping_i
partner_i = lt_partner_i
item_cstics_i = lt_item_cstics_i
customer_i = lt_customer_i
billing_i = lt_billing_i
cancel_i = lt_cancel_i
finprod_i = lt_finprod_i
ordprp_i = lt_ordprp_i
appointment_i = lt_appointment_i
billplan_d_i = lt_billplan_d_i
billplan_i = lt_billplan_i
status_i = lt_status_i
working_set_e_s_bbp = lt_working_set_e_s_bbp
language = lv_language
IMPORTING
document_output_info = es_document_output_info
job_output_info = output_data
job_output_options = es_job_output_options
EXCEPTIONS
output_canceled = 1
parameter_error = 2
OTHERS = 3.
call function 'CONVERT_OTF'
EXPORTING
format = 'PDF'
IMPORTING
bin_filesize = l_pdf_len
bin_file = l_pdf_xstring
TABLES
OTF = OUTPUT_DATA-OTFDATA
LINES = LT_LINES
EXCEPTIONS
err_max_linewidth = 1
err_format = 2
err_conv_not_possible = 3
err_bad_otf = 4
others = 5.
IF SY-SUBRC = 0.
DATA: lv_string TYPE string,
lv_numguid(10) TYPE N.
lv_string = lv_spoolid.
lv_numguid = lv_object_id.
CALL METHOD op_previewspool( iv_spoolid = lv_string ).
me->op_previewspool( iv_spoolid = lv_string
lv_pdf_xstring = l_pdf_xstring
lv_guid = lv_numguid ).
ENDIF.
endif.
CATCH cx_sy_move_cast_error.
ENDTRY.
ENDMETHOD.
<b>This part send the result to a new windows and refresh a main page, but thow a error 503 ...</b>
method OP_PREVIEWSPOOL .
*{ INSERT CRDK902447 1
DATA: lv_url TYPE string.
DATA: cached_response TYPE REF TO if_http_response,
new_navegator TYPE REF TO CL_WB_NAVIGATOR_NEW_WINDOW,
new_navigation TYPE REF TO CL_BSP_NAVIGATION.
DATA: guid TYPE guid_32.
Resultado generado: Formato PDF
data: l_pdf_xstring type xstring,
display_url type string,
pagina_url type string,
display_pag type string,
V_TARGET_URL TYPE STRING,
W_APP_NAME TYPE STRING,
l_pdf_len type i.
DATA: out TYPE REF TO IF_BSP_WRITER,
lv_out TYPE REF TO cl_BSP_WRITER,
lv_context Type Ref to IF_BSP_PAGE_CONTEXT,
lv_body type string,
lv_body2 type string,
lv_guidmem(10) type n,
lv_doscmd(200),
lv_pag type xstring,
lv_back(2) type n.
IF not lv_pdf_xstring is initial.
CREATE OBJECT cached_response TYPE CL_HTTP_RESPONSE EXPORTING add_c_msg = 1.
l_pdf_len = xstrlen( lv_pdf_xstring ).
cached_response->set_data( data = lv_pdf_xstring
length = l_pdf_len ).
cached_response->set_header_field( name = if_http_header_fields=>content_type
value = 'application/pdf' ).
cached_response->set_header_field(
name = 'content-disposition'
value = 'attachment; filename = test.pdf' ).
cached_response->set_status( code = 200 reason = 'OK' ).
cached_response->server_cache_expire_rel( expires_rel = 180 ).
CALL FUNCTION 'GUID_CREATE'
IMPORTING
ev_guid_32 = guid.
DATA:
LV_HOST TYPE STRING, "Host name
LV_PORT TYPE STRING, "Port Number
LV_LOCAL_URL TYPE STRING, "URL (Relative to the Current Server)
LV_ABS_URL TYPE STRING, "URL (Absolute, incl. Protocol, Host, Port)
LV_PROTOCOL TYPE STRING, "Available Protocol
LV_servidor TYPE STRING. "Available Protocol
Construct the Target URL
CALL METHOD RUNTIME->CONSTRUCT_BSP_URL
EXPORTING
IN_PROTOCOL = 'http'
IN_APPLICATION_NS = RUNTIME->APPLICATION_NAMESPACE
IN_APPLICATION = 'crm_ic'
IN_PAGE = '**/crm_ic'
IMPORTING
OUT_ABS_URL = V_TARGET_URL
OUT_HOST = LV_HOST
OUT_PORT = LV_PORT
OUT_LOCAL_URL = LV_LOCAL_URL
OUT_PROTOCOL = LV_PROTOCOL.
CONCATENATE 'crm_ic' '/**/' INTO W_APP_NAME.
REPLACE W_APP_NAME IN V_TARGET_URL WITH SPACE.
CONCATENATE V_TARGET_URL '/' guid '.pdf' INTO display_url.
cl_http_server=>server_cache_upload( url = display_url
response = cached_response ).
lv_url = adapter->if_bsp_page~get_page_url( ).
if LV_PORT is initial.
concatenate 'http://' LV_HOST lv_url+0(61) 'default.do' into lv_url.
else.
concatenate 'http://' LV_HOST ':' LV_PORT lv_url+0(61) 'default.do' into lv_url.
endif.
lv_body2 = '<html><head><script language=JavaScript>'.
concatenate lv_body2 'window.open("' display_url '"); ' INTO lv_body2.
concatenate lv_body2 ' location.href = "' lv_url '"; </script></head>' INTO lv_body2.
concatenate lv_body2 '<body></body></html>' INTO lv_body2.
concatenate lv_body2 ' function back(){ history.back( ); } </script></head>' INTO lv_body2.
concatenate lv_body2 '<body><a href="javascript:back();">regresar</a></body></html>' INTO lv_body2.
response->append_cdata( data = lv_body2 ) .
response->set_header_field( name = 'content-type'
value = 'text/html' ). "#EC NOTEXT
response->set_header_field( name = 'cache-control' value = 'max-age=0' ). "#EC NOTEXT
response->set_header_field( name = 'Expires' value = '0' ). "#EC NOTEXT
navigation->response_complete( ).
return.
ENDIF.
endmethod.Using the search bar, it seems it's a proxy issue, but finding a simple solution did not seem apparent. Have you tried a reboot? To reboot, hold the power and home buttons at the same time for at least 10 seconds (hold past the swipe to shut down bar, should it appear) until the Apple Logo appears, then let go fo both buttons and your iPad will restart. Hopefully, this will solve the problem......
-
Distributed Cache service stuck in Starting Provisioning
Hello,
I'm having problem with starting/stopping Distributed Cache service in one of the SharePoint 2013 farm servers. Initially, Distributed Cache was enabled in all the farm servers by default and it was running as a cluster. I wanted to remove it from all hosts
but one (APP server) using below PowerShell commands, which worked fine.
Stop-SPDistributedCacheServiceInstance -Graceful
Remove-SPDistributedCacheServiceInstance
But later I attempted to add the service back to two hosts (WFE servers) using below command and unfortunately one of them got stuck in the process. When I look at the Services on Server from Central Admin, the status says "Starting".
Add-SPDistributedCacheServiceInstance
Also, when I execute below script, the status says "Provisioning".
Get-SPServiceInstance | ? {($_.service.tostring()) -eq "SPDistributedCacheService Name=AppFabricCachingService"} | select Server, Status
I get "cacheHostInfo is null" error when I use "Stop-SPDistributedCacheServiceInstance -Graceful".
I tried below script,
$instanceName ="SPDistributedCacheService Name=AppFabricCachingService"
$serviceInstance = Get-SPServiceInstance | ? {($_.service.tostring()) -eq $instanceName -and ($_.server.name) -eq $env:computername}
$serviceInstance.Unprovision()
$serviceInstance.Delete()
,but it didn't work either, and I got below error.
"SPDistributedCacheServiceInstance", could not be deleted because other objects depend on it. Update all of these dependants to point to null or
different objects and retry this operation. The dependant objects are as follows:
SPServiceInstanceJobDefinition Name=job-service-instance-{GUID}
Has anyone come across this issue? I would appreciate any help.
Thanks!Hi ,
Are you able to ping the server that is already running Distributed Cache on this server? For example:
ping WFE01
As you are using more than one cache host in your server farm, you must configure the first cache host running the Distributed Cache service to allow Inbound ICMP (ICMPv4) traffic through the firewall.If an administrator removes the first cache host from
the cluster which was configured to allow Inbound ICMP (ICMPv4) traffic through the firewall, you must configure the first server of the new cluster to allow Inbound ICMP (ICMPv4) traffic through the firewall.
You can create a rule to allow the incoming port.
For more information, you can refer to the blog:
http://habaneroconsulting.com/insights/Distributed-Cache-Needs-Ping#.U4_nmPm1a3A
Thanks,
Eric
Forum Support
Please remember to mark the replies as answers
if they help and unmark them if they provide no help. If you have feedback for TechNet Subscriber Support, contact [email protected]
Eric Tao
TechNet Community Support -
Ipod touch not seen in sauce menu of itunes
Ipod touch not seen in sauce menu of itunes, I have turned off & on the Ipod and re-downloaded a fresh ITunes software & used a different usb port & restarted the pc but still it is not seeing the IPod Touch. I also got this message when downloading a fresh ITunes software "Service 'Apple Mobile Device' failed to start. Verify that you have sufficient privileges to start system services"
See here:
How to restart the Apple Mobile Device Service (AMDS) on Windows
Also maybe here:
iPhone - not enough access privileges: Apple Support Communities -
IPhone 4S not seen by Win 7 PC
HI we have an iPhone 4s and we are trying to move the pictures to our PC running Win 7. All of our other iPod and IPod Touch devices come up fine and are seen by the PC as a portable device and also appear in iTunes. The iPhone 4S does not, it will charge but no USB storage connection and it does not appear in iTunes. I have looked in Device Manager and there are no references to any Apple Device under any item (USB controllers, Portable Devices etc). Apple Mobile Device Services are set to automatic, and are started. Everything looks like it should ecxept this iPhone is not seen as a USB device when connected. At a loss here and looking for suggestions. I have searched numerous forums but none work or even seem to go to the issue here which is that this iPhone does not connect via USB to a PC (I tried 2 different PCs with the same result) other than to charge. I have also changed the USB cables to no effect.
Thanks in advance!
Cheers
PTHello
It sounds like you have done quite a bit of troubleshooting on your end. Some of this you have done but checkout the articles below to see if there is anything you missed so you can get your pictures off your iPhone.
iOS: Device not recognized in iTunes for Windows
http://support.apple.com/kb/ts1538
iOS: Unable to import photos to computer
http://support.apple.com/kb/ts3195
Regards,
-Norm G. -
Cache update not yet started In PI 7.1
Hi
Iu2019m using PI 7.1, facing the issue with Cache Update
Under Integration Builder -> Environment -> Cache Notifications
Central Adapter Engine, Mapping Runtime Cache (Central Adapter Engine) both are in gray color status (Cache update not yet started) .
Cache Connectivity Test in RWB
RWB -->Component Monitoring --> Cache Connectivity Test
For both Central Adapter Engine, Mapping Runtime Cache on Central Adapter Engine
Showing the warning
"--Attempt to fetch cache data from Integration Directory not yet started or still in process"_
Please help me out to update the Cache successfully
Thanks
VaddeHi Sekher
Thank you very much for your time,
1 RFC- INTEGRATION_DIRECTORY_HMI is working fine.
2. I du2019t find the com.sap.aii.af.cpa.svc service in NWA ,
3 Under Config Tool
template - Usage_Type_All_in_One - Services - com.sap.aii.af.cpa.svc
"CacheType" has the value "DIRECTORYu201D only
Thanks
Vadde -
Cron service not available error
A production issue appeared today at one of our customer
sites.... and I am unable to login to CFadmin. I stop and restart
the services, but still the same issue appears. See below.
Anyone have any thoughts? Ideas? Has anyone ever seen this
before??
Error Occurred While Processing Request
The Cron service is not available.
This exception is usually caused by service startup failure.
Please check your server configuration.
The error occurred in Application.cfm: line 78
-1 : Unable to display error's location in a CFML template.
Please try the following:
Check the ColdFusion documentation to verify that you are
using the correct syntax.
Search the Knowledge Base to find a solution to your problem.
Browser Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.2;
SV1; .NET CLR 1.1.4322)
Remote Address 127.0.0.1
Referrer
Date/Time 25-Apr-06 12:57 PM
Stack Trace (click to expand)
at
cfApplication2ecfm105811000.runPage(C:\blackstone_final\cfusion\wwwroot\CFIDE\administrat or\Application.cfm:78)
coldfusion.server.ServiceFactory$ServiceNotAvailableException:
The Cron service is not available.
at
coldfusion.server.ServiceFactory.getCronService(ServiceFactory.java:118)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native
Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown
Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown
Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at
coldfusion.runtime.java.JavaProxy.invoke(JavaProxy.java:74)
at coldfusion.runtime.CfJspPage._invoke(CfJspPage.java:1627)
at
cfApplication2ecfm105811000.runPage(C:\blackstone_final\cfusion\wwwroot\CFIDE\administrat or\Application.cfm:78)
at coldfusion.runtime.CfJspPage.invoke(CfJspPage.java:152)
at
coldfusion.tagext.lang.IncludeTag.doStartTag(IncludeTag.java:343)
at
coldfusion.filter.CfincludeFilter.invoke(CfincludeFilter.java:65)
at
coldfusion.filter.CfincludeFilter.include(CfincludeFilter.java:33)
at
coldfusion.filter.ApplicationFilter.invoke(ApplicationFilter.java:157)
at
coldfusion.filter.RequestMonitorFilter.invoke(RequestMonitorFilter.java:51)
at coldfusion.filter.PathFilter.invoke(PathFilter.java:86)
at
coldfusion.filter.ExceptionFilter.invoke(ExceptionFilter.java:50)
at
coldfusion.filter.BrowserDebugFilter.invoke(BrowserDebugFilter.java:52)
at
coldfusion.filter.ClientScopePersistenceFilter.invoke(ClientScopePersistenceFilter.java:2 8)
at
coldfusion.filter.BrowserFilter.invoke(BrowserFilter.java:38)
at
coldfusion.filter.GlobalsFilter.invoke(GlobalsFilter.java:38)
at
coldfusion.filter.DatasourceFilter.invoke(DatasourceFilter.java:22)
at coldfusion.CfmServlet.service(CfmServlet.java:105)
at
coldfusion.bootstrap.BootstrapServlet.service(BootstrapServlet.java:78)
at
jrun.servlet.ServletInvoker.invoke(ServletInvoker.java:91)
at
jrun.servlet.JRunInvokerChain.invokeNext(JRunInvokerChain.java:42)
at
jrun.servlet.JRunRequestDispatcher.invoke(JRunRequestDispatcher.java:257)
at
jrun.servlet.ServletEngineService.dispatch(ServletEngineService.java:527)
at
jrun.servlet.jrpp.JRunProxyService.invokeRunnable(JRunProxyService.java:204)
at
jrunx.scheduler.ThreadPool$DownstreamMetrics.invokeRunnable(ThreadPool.java:349)
at
jrunx.scheduler.ThreadPool$ThreadThrottle.invokeRunnable(ThreadPool.java:457)
at
jrunx.scheduler.ThreadPool$UpstreamMetrics.invokeRunnable(ThreadPool.java:295)
at jrunx.scheduler.WorkerThread.run(WorkerThread.java:66)I'm receiving the exact same error as the original post. We tried every suggestion on this forum and still get the 'cron service not available' error. I've also checked and we don't have a neo-cron.xml file. We are using Coldfusion 8.
The Cron service is not available.
This exception is usually caused by service startup failure. Check your server configuration.
The error occurred in Application.cfm: line 84
Called from Application.cfm: line 4
Called from Application.cfm: line 1
-1: Unable to display error's location in a CFML template.
Any help will be appreciated. Thanks.
Crystal -
Adapter engine cache is not display in sxi_cache PI7.1
Hi All expert ,
I am doing post installation step for Pi7.1 . during initial setup configuration . I have got error message . u201CProtocol of Step 'Executing BAPI SXMB_SET_ROLE_TO_ISu201D . I have try to resolve this error but I am not able to do so skip this step and completed resume setup .
after that I have check in SXI_CACHE, here I found that adapter engine cache is not display. please help me to resolve this issue.
Regards,
AmitHi
Answer is pure assumption
I checked the service.sap.com and found a OSS note related "BAPI SXMB_SET_ROLE_TO_IS"
Pls check the OSS note - Note 1319873 - PI CTC: Error in "Executing BAPI SXMB_SET_ROLE_TO_IS"
Pls take opinion from SAP / Basis before implementing the OSS note
Regards
Madhan D -
Error 1920. Service 'Windows Font Cache Service' (FontCache) failed to start
Hi,
I've been trying for weeks now to try to get Office Professional Plus 2013 to install on Windows 8 Pro. My system has been running perfectly otherwise.
When I try to install Office 2013, I get the following message (excerpt from log file):
2012/11/27 22:26:30:885::[4576] MSI(ACTIONSTART): 'Action 22:26:30: StartServices. Starting services'
2012/11/27 22:27:00:949::[4576] MSI(ERROR): 'Error 1920. Service 'Windows Font Cache Service' (FontCache) failed to start. Verify that you have sufficient privileges to start system services.'
2012/11/27 22:27:00:949::[4576] Log level changed from: Standard to: Verbose
2012/11/27 22:27:00:949::[4576] Showing message Title: 'Setup', Message: 'Error 1920. Service 'Windows Font Cache Service' (FontCache) failed to start. Verify that you have sufficient privileges to start system services.'
2012/11/27 22:27:05:964::[4576] Message returned: 4
2012/11/27 22:27:05:964::[4576] WER is not considering last MSI error event
2012/11/27 22:27:39:105::[4576] MSI(ERROR): 'Error 1920. Service 'Windows Font Cache Service' (FontCache) failed to start. Verify that you have sufficient privileges to start system services.'
2012/11/27 22:27:39:105::[4576] Showing message Title: 'Setup', Message: 'Error 1920. Service 'Windows Font Cache Service' (FontCache) failed to start. Verify that you have sufficient privileges to start system services.'
2012/11/27 22:30:59:948::[4576] Message returned: 2
2012/11/27 22:30:59:948::[4576] WER element [P5] is set to value [Error 1920. Service 'Windows Font Cache Service' (FontCache) failed to start. Verify that you have sufficient privileges to start system services.]
2012/11/27 22:30:59:948::[4576] WER element [P5] is converted to [1920]
2012/11/27 22:30:59:948::[4576] WER element [P7] is set to value [0x780]
I have tried everything I can think of, and everything on every thread I've found on related topics. No luck. If I try to start the service myself via services.msc I get the following message:
The Windows Font Cache Service service on Local Computer started and then stopped. Some Services stop automatically if they are not in use by other services or programs. Any assistance anyone can provide would be greatly appreciated!Hi micrey! It works!
1. Type “services.msc” into the Start Search
bar and hit Enter.
2. Find the Windows Font Cache Service, select
it and hit “Stop”.
3. Open Windows Explorer and navigate to “C:\Windows\ServiceProfiles\LocalService\AppData\Local”
requires admin privileges
4. Delete the FontCache dat files. (They will
be regenerated over time.)
5. Restart the Windows Font Cache Service.
Thank you!
Maybe you are looking for
-
How do I find the download for new iPhone software update on my computer?
I have an iPhone 5S and downloaded the update on my computer first. Where do I find it, so I can download it from my computer to my iPhone? How long does it take?
-
Problem in deleting the Infoobject.....
Hi, I am not able to delete one of the master data info object. I am getting the following error/messages... "Table /BIC/SZSTOVLCL is still referenced Domain /BIC/OZSTOVLCL is still referenced Data element /BIC/OIZSTOVLCL is still referenced" Is ther
-
application quit after print in lion
-
Do any of you G3 users get "Kernel Panic" crashes??
Hey there, so I'm actually a G4 user here, I recently upgraded from an older 2000-era one (when my internal drive crashed) to a newer 2002-era one a family member passed off to me. Though I never really had any problems with the older computer, I've
-
Updating MultiValued Attribute in AD
Hi, Is there any way to update an multivalued attribute in AD using AD Connector?.Thanks in advance