/ 雑記帳

PT2 dvb 今更挑戦

http://blog.lwlv.net/archives/445

— posted by くま at 05:22 pm   pingTrackBack [0]

Debian8 Postfix Amavisd-new Failed to start...ENV{PATH} ...d line 7

● amavis.service - LSB: Starts amavisd-new mailfilter
Loaded: loaded (/etc/init.d/amavis)
Active: failed (Result: exit-code) since 土 2015-08-29 18:06:01 JST; 1s ago
Process: 7032 ExecStop=/etc/init.d/amavis stop (code=exited, status=0/SUCCESS)
Process: 7447 ExecStart=/etc/init.d/amavis start (code=exited, status=1/FAILURE)

8月 29 18:06:01 debian amavis[7447]: Starting amavisd: Error in config file "/etc/amavis/conf.d/05-domain_id": Insecure directory in $ENV{PATH} ...d line 7.
8月 29 18:06:01 debian amavis[7447]: (failed).
8月 29 18:06:01 debian systemd[1]: amavis.service: control process exited, code=exited status=1
8月 29 18:06:01 debian systemd[1]: Failed to start LSB: Starts amavisd-new mailfilter.
8月 29 18:06:01 debian systemd[1]: Unit amavis.service entered failed state.
Hint: Some lines were ellipsized, use -l to show in full.
 
結論としては次の2つのファイルを修正すれば解決する。
何故か?32bit-i686版の方ではこの修正は必要ない。
/etc/amavis/conf.d/05-domain_id
#chomp($mydomain = `head -n 1 /etc/mailname`);
chomp($mydomain = "`head -n 1 /etc/mailname`");

/etc/amavis/conf.d/05-node_id
#chomp($mydomain = `head -n 1 /etc/mailname`);
chomp($mydomain = "`head -n 1 /etc/mailname`");

— posted by くま at 10:05 am   pingTrackBack [0]

Archlinux NVIDIA-driver

Oracle VM VirtualBoxで途中まで育ててV2Pをすると大抵の場合はビデオドライバー
が当たらなくなって起動途中で停止する事となる(笑)
https://wiki.archlinux.org/index.php/NVIDIA
ここを読んで良くわからなかったが(笑)# pacman -S nvidia (GeForce GT 610)で解決した。

— posted by くま at 12:43 pm   pingTrackBack [0]

2TiB超えパーティション

今回 rr2300 カードがSATA3のHDを認識しなかった。研究の必要がある。
http://server-setting.info/centos/mbr-gpt.html#gdisk_mbr_rarr_gpt_7

— posted by くま at 08:58 pm   pingTrackBack [0]

 

VirtualBoxで"Kernel driver not installed"

http://qiita.com/ottyajp/items/72febadd445ea31b934a
systemctlの部分と/etc/init.d/が存在すればその部分を確認する。

— posted by くま at 05:52 pm   pingTrackBack [0]

 

ArchLinux systemctl start dhcpcd...

見事に躓いた。
      
# systemctl start dhcpcd ← 正
      
# systemctl start dhcpd ← 誤
前は「dhcpd」だったのに何時変わったんだ!

— posted by くま at 05:11 pm   pingTrackBack [0]

 

grub2 参考サイト

Debian8をインストールしてgrub2でマルチブートをしてみたが
あっさり自動認識したので驚いた。USBの起動ディスクまで認識はできなかったが(笑)
このサイトが参考になった。
http://ubiqlog.com/archives/5164

— posted by くま at 02:10 pm   pingTrackBack [0]

Debia8 ssh設定

rootユーザーでscpコマンドを実行したいため...
# vi /etc/ssh/sshd_config
PermitRootLogin without-password

PermitRootLogin yes

— posted by くま at 03:35 pm   pingTrackBack [0]

Mcintosh MC-30のリフレッシュを頼まれた...2

明らかに容量が間違ったコンデンサーが付いているのを発見する。
C12は1uFではなくて0.1uFだと思うんだが?

DCIM0354



— posted by くま at 10:57 pm   pingTrackBack [0]

 

VirtualBoxの呪縛からの脱出 V2P (Debian8)

clonezillaでV2Pを行って物理ハードデスクにシステムを移行後、
起動にVirtualBox関連のエラーが出ていて悩んでいたがやっと解決方法が分かった。
      
/etc/rc5.dで止められなかった起動時のエラーの内容を確認する。
$ systemctl | grep box
● vboxadd-service.service loaded failed failed LSB: VirtualBox Additions service
● vboxadd.service loaded failed failed LSB: loaded failed failed LSB: VirtualBox Linux Additions kernel modules
      
# systemctl disable vboxadd-service.service
Synchronizing state for vboxadd.service with sysvinit using update-rc.d...
Executing /usr/sbin/update-rc.d vboxadd defaults
insserv: warning: current start runlevel(s) (empty) of script `vboxadd' overrides LSB defaults (2 3 4 5).
insserv: warning: current stop runlevel(s) (0 1 2 3 4 5 6) of script `vboxadd' overrides LSB defaults (0 1 6).
Executing /usr/sbin/update-rc.d vboxadd disable
insserv: warning: current start runlevel(s) (empty) of script `vboxadd' overrides LSB defaults (2 3 4 5).
insserv: warning: current stop runlevel(s) (0 1 2 3 4 5 6) of script `vboxadd' overrides LSB defaults (0 1 6).
      
# systemctl disable vboxadd.service
Synchronizing state for vboxadd.service with sysvinit using update-rc.d...
Executing /usr/sbin/update-rc.d vboxadd defaults
Executing /usr/sbin/update-rc.d vboxadd disable
insserv: warning: current start runlevel(s) (empty) of script `vboxadd' overrides LSB defaults (2 3 4 5).
insserv: warning: current stop runlevel(s) (0 1 2 3 4 5 6) of script `vboxadd' overrides LSB defaults (0 1 6).

— posted by くま at 01:43 pm   pingTrackBack [0]

<< 2015.8 >>
SMTWTFS
      1
2 3 45678
9 101112131415
1617181920 21 22
23 24 2526 27 2829
30 31     
 
























T: Y: ALL: Online:
ThemePanel
Created in 0.0592 sec.