หน้าเว็บ

วันจันทร์ที่ 1 กรกฎาคม พ.ศ. 2562

Alfresco :: วิธีนำข้อมูลออกจาก Alfresco ที่มีข้อมูลเยอะ ๆ และต้องการได้ Folder ตามเดิม

Alfresco :: วิธีนำข้อมูลออกจาก Alfresco ที่มีข้อมูลเยอะ ๆ และต้องการได้ Folder ตามเดิม

โดยใช้ FTP FileZilla ต่อวงเดียวกับกับ Server Connect เข้าไปด้วย User ที่เป็น Admin เพื่อให้ได้สิทธิ์ เข้าถึง Folder นั้น ๆ
ข้อมูลมีเยอะ ใช้วิธีดังนี้ไม่ได้ผล Error ก่อนเสร็จ และได้ไฟล์ไม่ครบ
1. Download ทั้งหมด ไม่มี Error แต่เช็คไฟล์ไม่ครบ
2. Download ทีละ Folder เสร็จไม่มี Error แต่เช็คไฟล์ได้ไฟล์ไม่ครบ
**** ช่วงที่ทำจะต้องไม่มีการใช้งานเพราะจะช้ามากและจะมี Error ถ้ามีการใช้งานคู่กันไปด้วย ****

ต้องทำแบบนี้
1. Add Folder ที่จะ Download โดย Add to queue ก่อน ให้เสร็จ เมื่อเสร็จแล้วไม่มี Error จะได้จำนวนไฟล์ทั้งหมด


2. แล้วค่อย Process Queue เริ่มแรกจะเร็ว สักพักจะช้าไปเรื่อง ๆ เนื่องจาก กิน CPU
วิธีแก้ ต้องคอย Stop Process Queue แล้ว Restart Service Alfresco เรื่อย ๆ ถ้ารู้สึกว่าช้า

3. เหลือไฟล์ที่ Download ไม่ได้
3.1. ให้ Reset and requeue all แล้ว Process Queue อีกรอบ จำนวนที่ไม่ได้จริง ๆ ก็จะลดลง
3.2. ที่ไม่ได้จริง ๆ เพราะ Path ยาว ใช้วิธี เข้าไปแก้ชื่อไฟล์หรือ ชื่อ Folder ให้สั้นลง แล้ว Copy ใส่ USB Box Manual

Axapta : Axatpa Update Costing ไม่ผ่าน

Axapta : Axatpa Update Costing ไม่ผ่าน (ทำใน DB Local ก่อน ทำในของจริง)
Warning Production - Costing\Production: PD18-029841\Calculating BOM consumption\Financial item picking\Warehouse=WIP,Batch number=190501,Location=WIP2 Item consumption for 3.00 cannot be updated, as the cost price is known only for in stock.
Error Production - Costing\Production: PD18-029841\Calculating BOM consumption Update has been canceled.

เคสนี้เกิดจาก คำสั่งผลิต ที่มีการนำเอา Part มาใช้ใน PD18-029841 ไม่มี Cost ซึ่งเกิดจาก 2 PD คือ PD18-029850, PD18-029849
คำสั่งผลิตมีปัญหาทำติดลบแล้ว Reports เพิ่มมาอีกทำให้ ตัวที่ Reports เพิ่มขึ้นมาทีหลังไม่มีต้นทุน ทำให้ PD ที่จะนำไปใช้ต่อทำไม่ได้
ต้องแก้ Transaction

วิธีแก้ ดู Transaction ที่คาดว่าจะผิดใน คำสั่งผลิต เช่นไม่มี Cost amount เป็นต้น **** สำคัญต้องลบให้ถูกตัว ไม่อย่างนั้นจะทำให้ Onhand ผิด


ลบที่ SQL SERVER
  
Run Job recalcInventSum


ดู Onhand จะเห็นว่ายอดไม่ถูกต้อง จริง ๆ ตั้งหักล้างกันไปหมด เพราะใช้ไปหมดแล้ว

ต้อง Edit Dimmetion
ที่ Item --> Function -->Edit Dimensions
แก้ Batch และ Location ให้ถูก เพื่อให้มันหลักล้างกัน ถ้าฟ้องไม่มี Batch ก็ไปสร้าง Batch ให้มันที่
Inventory management --> Inquiries --> Dimensions -->Batches
แก้ Batch และ Location ให้ถูก ทั้ง 2 Code
ดู Onhand จะไม่มียอดค้าง

ทดลอง Update Costing PD18-029841 ดูจะผ่าน

วันศุกร์ที่ 21 มิถุนายน พ.ศ. 2562

Windows :: Windows Activation Error ทั้ง Windows 10 และ Windows 7

Windows :: Windows Activation Error ทั้ง Windows 10 และ Windows 7
0X8004FE33


แก้โดย
1. ปล่อยเน็ตออกตรง
2. เอา Proxy ของเครื่องออก
ลอง Activateใหม่

https://support.microsoft.com/en-us/help/921471/windows-activation-or-validation-fails-with-error-code-0x8004fe33

วันอาทิตย์ที่ 16 มิถุนายน พ.ศ. 2562

VMware :: VMware Esxi Upgrade 6.7 update U1 Error

VMware :: VMware Esxi Upgrade 6.7 update U1 Error
[root@esxi99:/vmfs/volumes/543e1f7f-9c6a2848-b192-2c44fd93cff0/ISO/UpDateVM/UpdateVm 6.7] esxcli software vib update -d /vmfs/volumes/543e1f7f-9c6a2848-b192-2c44fd93cff0/ISO/UpDa
teVM/UpdateVm\ 6.7/update-from-esxi6.7-6.7_update01.zip
[DependencyError]
VIB VMware_bootbank_esx-base_6.7.0-1.28.10302608 requires esx-update << 6.7.0-1.29, but the requirement cannot be satisfied within the ImageProfile.
VIB VMware_bootbank_esx-base_6.7.0-1.28.10302608 requires esx-update >= 6.7.0-1.28, but the requirement cannot be satisfied within the ImageProfile.
Please refer to the log file for more details.

แก้โดย
Open the ESXi firewall for HTTP traffic. The ESXi host must have internet access.
  1. esxcli network firewall ruleset set -e true -r httpClient


แล้ว Update โดยใช้คำสั่ง
  1. esxcli software profile update -p ESXi-6.7.0-20181002001-standard  -d /vmfs/volumes/543e1f7f-9c6a2848-b192-2c44fd93cff0/ISO/UpDateVM/UpdateVm\ 6.7/update-from-esxi6.7-6.7_update01.zip


Close ESXi firewall.
  1. esxcli network firewall ruleset set -e false -r httpClient


แล้วค่อย Update Patch อื่นตามปกติ

https://communities.vmware.com/thread/598912

วันศุกร์ที่ 7 มิถุนายน พ.ศ. 2562

VMware :: VMware Esxi cancel copy task

Cannot cancel copy task in ESXi Web interface
On Esxi only, not ESX: Restart the VM client daemon after SSH Login

/etc/init.d/hostd restart

https://serverfault.com/questions/889256/cannot-cancel-copy-task-in-esxi-web-interface

วันพฤหัสบดีที่ 6 มิถุนายน พ.ศ. 2562

VMware :: VMware Esxi Upgrade 6.5 To 6.7
(วิธีนี้ทำไม่ได้)
ถ้าจะ Download File มา Upgrade ใหม่ต้องสมัครเมล์ใหม่ และอาจจะได้ Licence ใหม่
เมื่อเขา Download Esxi 6.7 จะมีข้อความบอก ว่าไม่สามารถ UP จาก Version 6.5 ไป 6.7 ไม่ได้
https://my.vmware.com/group/vmware/details?downloadGroup=ESXI670&productId=742#errorCheckDiv

วิธีที่ทำได้คือ Download และ Upgrade ผ่าน Code ลองแล้วผ่านใช้ได้
How to update ESXi 6.5 to 6.7 via command line

1. Place the host you are about to upgrade into Maintenance Mode.
2. Now SSH into the host using PuTTY (or any other SSH client/terminal).
3. Type the following command to open the firewall for outgoing HTTP requests:

esxcli network firewall ruleset set -e true -r httpClient


4. Type the following command to upgrade to the latest ESXi 6.7 Build 9484548 (latest as of writing)

*** ถ้า DNS ปิดต้อง Fix resolv.conf
[code]nano /etc/resolv.conf[/code]
add nameserver
[quote]nameserver 8.8.8.8[/quote]
esxcli software profile update -d https://hostupdate.vmware.com/software/VUM/PRODUCTION/main/vmw-depot-index.xml -p ESXi-6.7.0-20180804001-standard


5. After the update has finished disable the HTTP firewall rule by typing:
esxcli network firewall ruleset set -e false -r httpClient


6. And finally, reboot the ESXi host to complete the upgrade.
reboot

Once the host comes back online, remove it from Maintenance mode and you’re good to go. It also wouldn’t hurt to also disable SSH when you’re done, for security purposes.

Tip: To view a list of all available ESXi profiles type the following in your SSH session:

esxcli software sources profile list --depot=https://hostupdate.vmware.com/software/VUM/PRODUCTION/main/vmw-depot-index.xml

https://miketabor.com/how-to-upgrade-esxi-6-5-to-esxi-6-7/


แล้วค่อย Update Patches 6.7 ต่อ
https://intranet.sci.com/blog.php?u=281&b=1527

VMware :: Vmware ESXi 6.5.0 Upgrade patches last version ESXi650-201905001 : 13635690 Show warning

VMware :: Vmware ESXi 6.5.0 Upgrade patches last version ESXi650-201905001 : 13635690
Show warning
This host is potentially vulnerable to issues described in CVE-2018-3646, please refer to https://kb.vmware.com/s/article/55636 for details and VMware recommendations.
Fix the problem by.
1. Connect to the ESXi host by opening a web browser to https://HOSTNAME.
2. Click the Manage tab
3. Click the Advanced settings sub-tab
4. Click in the Filter box and search VMkernel.Boot.hyperthreadingMitigation
5. Select the setting by name and click the Edit pencil icon
6. Change the configuration option to true (default: false)
7. Click Save.
8. Reboot the ESXi host for the configuration change to go into effect.

https://kb.vmware.com/s/article/55806