.\cassandra -f.\cassandra : 無法加載文件 D:\apache-cassandra-3.11.3\bin\cassandra.ps1,因?yàn)樵诖讼到y(tǒng)上?..."/>
您好,登錄后才能下訂單哦!
線索異常通行
PS D:\apache-cassandra-3.11.3\bin> .\cassandra -f
.\cassandra : 無法加載文件 D:\apache-cassandra-3.11.3\bin\cassandra.ps1,因?yàn)樵诖讼到y(tǒng)上禁止運(yùn)行腳本。有關(guān)詳細(xì)信息,請參
閱 https:/go.microsoft.com/fwlink/?LinkID=135170 中的 about_Execution_Policies。
所在位置 行:1 字符: 1
+ .\cassandra -f
+ ~~~~~~~~~~~
+ CategoryInfo : SecurityError: (:) [],PSSecurityException
+ FullyQualifiedErrorId : UnauthorizedAccess
PS D:\apache-cassandra-3.11.3\bin> .\stop-server.bat
WARNING! Powershell script execution unavailable.
Please use 'powershell Set-ExecutionPolicy Unrestricted'
on this user-account to run cassandra with fully featured
functionality on this platform.
Cannot stop server without powershell access.
PS D:\apache-cassandra-3.11.3\bin> powershell Set-ExecutionPolicy Unrestricted
Set-ExecutionPolicy : 對注冊表項(xiàng)“HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\PowerShell\1\ShellIds\Microsoft.PowerShell”的
訪問被拒絕。 要更改默認(rèn)(LocalMachine)作用域的執(zhí)行策略,請使用“以管理員身份運(yùn)行”選項(xiàng)啟動 Windows PowerShell。要更改當(dāng)
前用戶的執(zhí)行策略,請運(yùn)行 "Set-ExecutionPolicy -Scope CurrentUser"。
所在位置 行:1 字符: 1
+ Set-ExecutionPolicy Unrestricted
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+ CategoryInfo : PermissionDenied: (:) [Set-ExecutionPolicy], UnauthorizedAccessException
+ FullyQualifiedErrorId : System.UnauthorizedAccessException,Microsoft.PowerShell.Commands.SetExecutionPolicyComma
nd
PS D:\apache-cassandra-3.11.3\bin> powershell Set-ExecutionPolicy -Scope CurrentUser Unrestricted
PS D:\apache-cassandra-3.11.3\bin> .\cassandra -f
*---------------------------------------------------------------------*
*---------------------------------------------------------------------*
WARNING! Automatic page file configuration detected.
It is recommended that you disable swap when running Cassandra
for performance and stability reasons.
*---------------------------------------------------------------------*
*---------------------------------------------------------------------*
*---------------------------------------------------------------------*
*---------------------------------------------------------------------*
WARNING! Detected a power profile other than High Performance.
Performance of this node will suffer.
Modify conf\cassandra.env.ps1 to suppress this warning.
*---------------------------------------------------------------------*
*---------------------------------------------------------------------*
0 [main] uname 39648 find_fast_cwd: WARNING: Couldn't compute FAST_CWD pointer. Please report this problem to
the public mailing list cygwin@cygwin.com
Detected cygwin runtime environment. Adding -Dcassandra-pidfile=D:\apache-cassandra-3.11.3\pid.txt to JVM params as control+c trapping on mintty is inconsistent
...略去更多輸出信息
線索異常通行
免責(zé)聲明:本站發(fā)布的內(nèi)容(圖片、視頻和文字)以原創(chuàng)、轉(zhuǎn)載和分享為主,文章觀點(diǎn)不代表本網(wǎng)站立場,如果涉及侵權(quán)請聯(lián)系站長郵箱:is@yisu.com進(jìn)行舉報(bào),并提供相關(guān)證據(jù),一經(jīng)查實(shí),將立刻刪除涉嫌侵權(quán)內(nèi)容。