日記帳
本ページはプロモーションが含まれています
カテゴリー
Links
blog(ブログ)マスター
アンドロイドの巣
ゼロから始めるベランダ菜園
タイトル
ラジコン
2024年5月
1 2 3 4 5
6 7 8 9 10 11 12
13 14 15 16 17 18 19
20 21 22 23 24 25 26
27 28 29 30 31

Search Results

Apache2を起動

Apacheを起動できませんでした :
  Starting httpd: [] [warn] module php4_module is already loaded, skipping
  設定ファイルの編集
Include conf.d/*.conf
が2個あったので 一個削除
Apacheを起動できませんでした :
  [crit] Apache is running a threaded MPM, but your PHP Module is not compiled to be threadsafe. You need to recompile PHP.
Pre-configuration failed.
  あれぇ〜? なおらない。
と下を見ると・・・

 phpが馬鹿?

仕方がないので 急遽 仕様を変更

worker.htmlprefork


[root@localhost root]# update-alternatives --config apache2

There are 4 alternatives which provide `apache2'.

Selection Alternative
-----------------------------------------------
*+ 1 /usr/sbin/apache2.worker
2 /usr/sbin/apache2.prefork
3 /usr/sbin/apache2.threadpool
4 /usr/sbin/apache2.perchild

Press enter to keep the default[*], or type selection number: 2
Using `/usr/sbin/apache2.prefork' to provide `apache2'.

Address already in use: make_sock: could not bind to address 0.0.0.0:80
no listening sockets available, shutting down
Unable to open logs
  えっ? ヨシ 完璧?じゃ。。。
  synapticを起動
(゚ロ゚)ギョェ apacheが入っていたので削除
  起動 成功 ♪

じゃあ cgiとphpもいれたし動くよね?
  (゚ロ゚)ギョェ
  続く・・・

» 続きを読む

カテゴリー: Linux
2006.02.18

Unable to update registry `crates-io`

執筆:2022.10.02
編集:2022.10.02


>cargo check
Updating crates.io index
warning: spurious network error (2 tries remaining): failed to receive response: セキュリティ エラーが発生しました
; class=Os (2)
warning: spurious network error (1 tries remaining): failed to receive response: セキュリティ エラーが発生しました
; class=Os (2)
error: failed to get `~` as a dependency of package `~`

Caused by:
failed to load source for dependency `~`

Caused by:
Unable to update registry `crates-io`

Caused by:
failed to fetch `https://github.com/rust-lang/crates.io-index`

Caused by:
failed to receive response: セキュリティ エラーが発生しました
; class=Os (2)


PROJECT/.cargo/config
または
~/.cargo/config

 [net]
git-fetch-with-cli = true
を追加する


https://doc.rust-lang.org/cargo/reference/config.html#netgit-fetch-with-cli

net.git-fetch-with-cli

Type: boolean
Default: false
Environment: CARGO_NET_GIT_FETCH_WITH_CLI

true: 必要なライブラリを git でフェッチしてダウンロードします。
false: システムのビルドインライブラリを利用します。

欠点
 true: 作業フォルダにダウンロードされるため肥大します
カテゴリー: General
2022.10.02

PR

[PR]