-
Senior Member
registered user
Thanks again, Werner.
The symlink doesn't seem to work,
Code:
root@Microknoppix:/etc# ls syslog-knoppix
ls: cannot access syslog-knoppix: No such file or directory
root@Microknoppix:/etc# ln -s /usr/sbin/rsyslogd /sbin/syslogd
ln: failed to create symbolic link `/sbin/syslogd': File exists
root@Microknoppix:/etc#
but I think I may be able to rework '/etc/init.d/knoppix-autoconfig
to get what I want. Just replacing log start with 7.2 code may be enough.
Thanks for the clues.
Last edited by utu; 08-20-2014 at 03:12 PM.
-
syslog-knoppix.conf not syslog-knoppix
failed to create symbolic link `/sbin/syslogd': File exists
Just looked again for it - this file doesn't exist within my DVD download of V7.4.0
What is the size and the timestamp of '/UNIONFS/sbin/syslogd'?
-
Senior Member
registered user
Code:
knoppix@Microknoppix:~$ sudo locate /sbin/syslogd
/KNOPPIX-DATA/sbin/syslogd
/UNIONFS/sbin/syslogd
knoppix@Microknoppix:~$ cd KNOPPIX-DATA/sbin/syslogd
bash: cd: KNOPPIX-DATA/sbin/syslogd: No such file or directory
knoppix@Microknoppix:~$ cd KNOPPIX-DATA/sbin/syslogd
bash: cd: KNOPPIX-DATA/sbin/syslogd: No such file or directory
knoppix@Microknoppix:~$ cd UNIONFS/sbin/syslogd
bash: cd: UNIONFS/sbin/syslogd: No such file or directory
knoppix@Microknoppix:~$ cd /sbin/syslogd
bash: cd: /sbin/syslogd: Not a directory
knoppix@Microknoppix:~$ ls
Desktop new.profile
dot.bashrc ok.mp3
Downloads scanlist
KNOPPIX1.components This.Knoppix.74.LiveUSB
Knoppix.7.3.Mark.4 vrms.txt
Knoppix.74.LiveDVD-size.LiveUSB.comments
knoppix@Microknoppix:~$ ls -l /sbin/syslogd
lrwxrwxrwx 1 root root 18 Aug 20 09:17 /sbin/syslogd -> /usr/sbin/rsyslogd
knoppix@Microknoppix:~$
9:17 was about two hours previously
-
Senior Member
registered user
An update on this saga:
.
1. Werner's suggestion for re-instating syslog in Knoppix 7's must
be applied before adding any overlays.
2. The Knoppix 7.2 .bashrc function indicated in my post #9 will not
work as is without modification in Knoppix 7.4. Adaptations which will
work are as follows:
Code:
# Excerpts from my Knoppix 7.4 .bashrc:
alias 'Syslog=sudo less /var/log/syslog' # requires syslog
at.Start(){ # echo time at Start (requires Syslog)
echo -e "at Start: \c"; Syslog | grep 'acpid: start' | awk '{ print $3 }'
}
Disconnects() { # Wifi disconnects since boot (requires Syslog)
echo -e "Time now: \c"; date | awk '{ print $4 }'
at.Start
echo -e "Wifi disconnects: \c"; Syslog | grep -c disconnecting
}
3. It may not be possible to estimate time to boot using syslog in
Knoppix 7.4.
4. Thanks again go to Werner for pointing out there are pitfalls in
using Knoppix's overlay process which must be observed.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
Kingston HyperX FURY DDR3 8GB 16GB 32G 1600 1866 1333 Desktop Memory RAM DIMM
$39.95
A-Tech 8GB DDR3 1600 PC3-12800 Laptop SODIMM 204-Pin Memory RAM PC3L DDR3L 1x 8G
$13.99
Team T-FORCE VULCAN Z 16GB (2 x 8GB) 288-Pin PC RAM DDR4 3200 (PC4 25600) Intel
$33.99
HP 15.6" FHD Notebook AMD Ryzen 5 5500U 16GB RAM 512GB SSD Natural Silver
$339.99
HyperX FURY DDR3 8GB 16GB 32GB 1600 MHz PC3-12800 Desktop RAM Memory DIMM 240pin
$15.90
Samsung 16GB (4x4GB) 1Rx8 PC3-12800U 1600Mhz DDR3 RAM Memory M378B5273DH0-CK0
$14.00
SK hynix 8GB PC4-3200AA DDR4 Memory - Working Pull - Free S/H
$11.00
HyperX FURY RAM DDR4 16GB 8GB 32GB 4GB 3200 2666 2400 2133 Desktop Memory DIMM
$9.64
Samsung 64GB DDR4 2666MHz PC4-21300 ECC SDRAM Server Memory RAM DIMM 288PIN
$44.83
HyperX FURY DDR4 16GB 3200 MHz PC4-25600 Desktop RAM Memory DIMM 288pin 2x 16GB
$127.20