-
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
![Dell OptiPlex 3060 MICRO DESKTOP PC COMPUTER I5 8TH GEN UP TO 32GB UP TO 2TB M.2 picture](/store/img/g/SS0AAOSwCltlR6lv/s-l225/Dell-OptiPlex-3060-MICRO-DESKTOP-PC-COMPUTER-I5-8T.jpg)
Dell OptiPlex 3060 MICRO DESKTOP PC COMPUTER I5 8TH GEN UP TO 32GB UP TO 2TB M.2
$350.00
![Lenovo Yoga 16IRL8 16](/store/img/g/2HwAAOSwG65mcYl~/s-l225/Lenovo-Yoga-16IRL8-16-Intel-Core-i7-13th-Gen-Touch.jpg)
Lenovo Yoga 16IRL8 16" Intel Core i7 13th Gen. Touchscreen Laptop, 16GB / 512SSD
$650.00
![HP EliteOne 800 G5 23.8](/store/img/g/eI4AAOSwjgJmZzip/s-l225/HP-EliteOne-800-G5-23-8-Touch-AIO-8-Core-i7-9700-3.jpg)
HP EliteOne 800 G5 23.8" Touch AIO 8-Core i7-9700 3.00GHz 512GB SSD 16GB RAM
$280.00
![HP Workstation Z640 2x Xeon E5-2623V4 32GB Ram Dual 256GB SSD K420 Linux GA picture](/store/img/g/rIQAAOSwN9Nlnw4a/s-l225/HP-Workstation-Z640-2x-Xeon-E5-2623V4-32GB-Ram-Dua.jpg)
HP Workstation Z640 2x Xeon E5-2623V4 32GB Ram Dual 256GB SSD K420 Linux GA
$161.24
![AMD Ryzen 7 7800X3D 8-Core - 16-Thread 4.2 GHz (5.0 GHz Max Boost) Socket A... picture](/store/img/g/3isAAOSw~lNmI3aE/s-l225/AMD-Ryzen-7-7800X3D-8-Core-16-Thread-4-2-GHz-5-0-G.jpg)
AMD Ryzen 7 7800X3D 8-Core - 16-Thread 4.2 GHz (5.0 GHz Max Boost) Socket A...
$304.95
![Lenovo ThinkBook 15 Gen 4 Notebook 15.6](/store/img/g/p58AAOSwUlZman8a/s-l225/Lenovo-ThinkBook-15-Gen-4-Notebook-15-6-FHD-Intel-.jpg)
Lenovo ThinkBook 15 Gen 4 Notebook 15.6" FHD Intel Core i7-1255U 8GB RAM
$549.99
![Intel Xeon E5-2667 V2 LGA 2011 3.3GHz 8 Core 130W 25MB 8GT/s CPU Processor picture](/store/img/g/rfsAAOSwEFBma4Yr/s-l225/Intel-Xeon-E5-2667-V2-LGA-2011-3-3GHz-8-Core-130W-.jpg)
Intel Xeon E5-2667 V2 LGA 2011 3.3GHz 8 Core 130W 25MB 8GT/s CPU Processor
$14.99
![HP Chromebase Desktop PC 21.5](/store/img/g/Ia0AAOSwtYpmKD3S/s-l225/HP-Chromebase-Desktop-PC-21-5-FHD-Core-i3-10110U-I.jpg)
HP Chromebase Desktop PC 21.5" FHD Core i3-10110U Intel UHD 8GB DDR4 128GB SSD
$208.99
![Dell Optiplex 7050 Micro Quad Core i7-7700T 2.90GHz 8GB RAM WiFi No AC HDD OS picture](/store/img/g/69EAAOSw929lnXRp/s-l225/Dell-Optiplex-7050-Micro-Quad-Core-i7-7700T-2-90GH.jpg)
Dell Optiplex 7050 Micro Quad Core i7-7700T 2.90GHz 8GB RAM WiFi No AC HDD OS
$97.49
![CHUWI CoreBox X Windows 10 Mini PC Intel Core i7 Desktop 8+256GB SSD 4K Decoding picture](/store/img/g/7GYAAOSw4tBmTcur/s-l225/CHUWI-CoreBox-X-Windows-10-Mini-PC-Intel-Core-i7-D.jpg)
CHUWI CoreBox X Windows 10 Mini PC Intel Core i7 Desktop 8+256GB SSD 4K Decoding
$149.99