Page 2 of 2 FirstFirst 12
Results 11 to 14 of 14

Thread: Can't tweak Knoppix 7.4 LiveUSB system files in /etc/

  1. #11
    Senior Member registered user
    Join Date
    May 2006
    Location
    Columbia, Maryland USA
    Posts
    1,631
    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.

  2. #12
    Moderator Moderator
    Join Date
    Nov 2010
    Location
    Germany/ Dietzenbach
    Posts
    1,124
    ls syslog-knoppix
    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'?

  3. #13
    Senior Member registered user
    Join Date
    May 2006
    Location
    Columbia, Maryland USA
    Posts
    1,631
    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

  4. #14
    Senior Member registered user
    Join Date
    May 2006
    Location
    Columbia, Maryland USA
    Posts
    1,631

    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.

Page 2 of 2 FirstFirst 12

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  


IBM Power8 S822L Storage Server 8247-22L - With Ram, Some Cards, No HDD's picture

IBM Power8 S822L Storage Server 8247-22L - With Ram, Some Cards, No HDD's

$399.95



IBM SYSTEM X3500 M3 SERVER 7380AC1 2*XEON E5620 2.4GHz 8GB SEE NOTES picture

IBM SYSTEM X3500 M3 SERVER 7380AC1 2*XEON E5620 2.4GHz 8GB SEE NOTES

$33.21



IBM 8284-22A S822 Dual Power8 Cpu 512Gb (16x 32Gb) RAM  picture

IBM 8284-22A S822 Dual Power8 Cpu 512Gb (16x 32Gb) RAM

$795.00



IBM Power S822 12-Bay Server System Power8 Core 3.42Ghz DVD-Rom Drive 64GB No HD picture

IBM Power S822 12-Bay Server System Power8 Core 3.42Ghz DVD-Rom Drive 64GB No HD

$399.99



IBM Lenovo X3650 M5 2U 8x 2.5” CTO Rack Server – 2x HS, 2x 750W picture

IBM Lenovo X3650 M5 2U 8x 2.5” CTO Rack Server – 2x HS, 2x 750W

$199.00



IBM x3650 M4 2x Xeon E5-2670 2.6ghz 16-Core / 64GB / M5110e / 2x PSU picture

IBM x3650 M4 2x Xeon E5-2670 2.6ghz 16-Core / 64GB / M5110e / 2x PSU

$129.99



IBM Power S822 8284-22A 12SFF Power8 3.89GHz 6-Core 64GB RAM No Bezel/HDD Server picture

IBM Power S822 8284-22A 12SFF Power8 3.89GHz 6-Core 64GB RAM No Bezel/HDD Server

$359.99



IBM X3650 M5 5462-AC1,2 X E5-2640V3 2.6GHZ 8C, 16 GB, DUAL 750W, 2 X 1TB SERVER picture

IBM X3650 M5 5462-AC1,2 X E5-2640V3 2.6GHZ 8C, 16 GB, DUAL 750W, 2 X 1TB SERVER

$249.99



IBM 8203 E4A p520 Server 8203-E4A 4.2GHz 2-Core POWER6 32GB RAM / NO HDD USED picture

IBM 8203 E4A p520 Server 8203-E4A 4.2GHz 2-Core POWER6 32GB RAM / NO HDD USED

$119.99



IBM System X 3250 M5 Single Xeon Quad Core E3-1220 v3 @3.1GHz,8GB RAM,Linux SUSE picture

IBM System X 3250 M5 Single Xeon Quad Core E3-1220 v3 @3.1GHz,8GB RAM,Linux SUSE

$199.87