Debian :: How To Unprettify Boot Logging
Aug 18, 2011
I wanted to make my boot logging pretty hence used this shell script from As given in the instructions therein, I just copied the shell script in /etc/ directory with the name lsb-base-logging.sh and gave the shell script executable rights. ($ sudo chmod +x lsb-base-logging.sh) . After booting up with the new boot script I did not like it. (seemed more ugly than the default option). Now while I have removed the executable bit its still showing the ugly (or pretty as you look/feel it) modified bootup./etc$ ll lsb-base-logging.sh -rw-r--r-- 1 root root 1337 Aug 16 18:48 lsb-base-logging.shDo I need to completely remove the script for the default boot to come back.
View 1 Replies
ADVERTISEMENT
Jul 13, 2011
Is there a way to get Linux to log all of the output that you see on the screen at boot?
It would sure beat having to dig through all of the different log files trying to find what was seen while it was booting.
View 14 Replies
View Related
May 12, 2010
my system has been lagging a bit, today it took a good 1-2 minutes to be able to open my menus from boot.
View 2 Replies
View Related
Apr 14, 2016
I am not referring to the bash history file. I am referring to the system log file. All of my console activity (letter for letter) is being stored in the system log. It's my understanding that version 4.1 of bash is where this behavior first started but was originally optional. I don't like it and I want to stop it. I am using a current version of jessie with bash 4.3 and I can find no way of turning it off
Monitoring the activities of users may be necessary .for admins in a business environment but this is a home computer and I consider this kind of tracking intrusive and unwanted.
I first noticed this with the journal system log and mistakenly though it had to do with journal so I removed the journal system and installed dsyslog which has the same behavior.
Perhaps debian should offer two versions of bash. It's my understanding that this is configured in a header before compiling.
View 4 Replies
View Related
Jan 14, 2010
My problem is that I can't disable checking mail after logging (communique "You have mail." or "No mail") in my system Debian 5."CheckMail" option in OpenSSH is now inaccessible.I tried to set "MAIL_CHECK_ENAB" option to no in /etc/login.defs but it doesn't work.I added "unset MAILCHECK" in /etc/profile but this doesn't work too.I tried to comment line "session optional pam_mail.so standard" in /etc/pam.d/login but it didn't help.
View 2 Replies
View Related
Sep 1, 2010
I have a troubling issue. I log into Linux Mint 9 (fully up-to-date) on my Samsung Q320 laptop with power connected and after a few minutes it seems like the entire X session dies, I am logged out, all processes are killed and I am presented with the normal GDM login screen. When I first installed Linux Mint, this never happened. I have the NVidia closed-source driver installed and when the system logs me out, it immediately restarts X loading the NVidia driver which flashes the logo on screen. This all happens instantaneously, so it is not a reboot of the machine, just a restart of the display manager it seems.
There does not seem to be any cause for this. I have disabled all screen saver and power management settings that may lead my system to auto-logout of Gnome. The system log doesn't indicate anything unusual happening. Confused about where to to take it from here bar and fresh install of the OS. Perhaps there are some X11 logs I should be checking.
Update: Moved to Ubuntu 10.10 and its recommended NVidia driver and have not experienced this problem since.
View 1 Replies
View Related
Jul 30, 2015
I'm having issues setting up rsyslog to receive syslog from another server and only log to one file. I'm receiving the syslog from the remote side, however its putting the entries into more than one log file.
I configured /etc/rsyslog.conf to enable udp, and I have implemented a filter to log only from that IP address, and then stop processing more rules, but it seems to continue on.
I have found that the remote syslog events are using local0 and local1. There are two custom rsyslog config files in /etc/rsyslog.d that handle those two facilities. If I use that same if statement at the beginning of those custom config files, I can get it to work. Seems like a hack though.
Not working:
I put my if statement before the include statement, thinking I could stop it from hitting the custom rules.
Code:
Select all# /etc/rsyslog.conf  Configuration file for rsyslog v3.
#
#Â Â Â Â Â Â Â Â Â Â Â Â For more information see
#Â Â Â Â Â Â Â Â Â Â Â Â /usr/share/doc/rsyslog-doc/html/rsyslog_conf.html
#################
#### MODULES ####
#################
$ModLoad imuxsock # provides support for local system logging
$ModLoad imklog  # provides kernel logging support (previously done by rklogd)
#$ModLoad immark # provides --MARK-- message capability
[Code] ....
This works:
A custom config file in /etc/rsyslog.d
Code: Select allif $fromhost-ip == '<my ip>' then /var/log/<my directory>/syslog.log
& ~
local0.*Â Â Â Â /var/log/<a log file for local0>.log
This is on a WD Mycloud device:
Code: Select allLinux WDMyCloud 3.2.26 #1 SMP Tue Jun 17 15:53:22 PDT 2014 wd-2.2-rel armv7l
The programs included with the Debian GNU/Linux system are free software; the exact distribution terms for each program are described in the individual files in /usr/share/doc/*/copyright.
View 1 Replies
View Related
Mar 19, 2015
I have been using Debian for about 2 years now, I have decided to use my email through Evolution (actually both my live and Gmail accounts). Right now my problem lies with Gmail so I will just mention that...
Evolution simply does not accept my gmail password when I log in. I have gone through the whole "Evolution Setup assistance" many times, and whenever the setup is done, and I proceed to open up the program and actually log in to my email> I enter my password and click "ok", and then the same login screen simply flashes and asks me to enter my password again! This is the entire problem. I cannot go beyond the login screen, and evolution simply asks me to enter my password again, and again, while never logging me in. And yes, the password is correct as I use the very same one to log into gmail's web interface several times a day. Imap is also enabled in my gmail account.
I have used Gmail's imap and smtp configuration information from [URL]..... and it simply does not work, even though I put all the information into Evolution Correctly.
View 3 Replies
View Related
Jun 23, 2010
I know it's possible i did it once but i can't do it again...
I wanna try to fix the GRUB or whatever the problem is. The error messages after login are: Nautilus can't be used & the panel encountered a fatal error.
View 7 Replies
View Related
Sep 11, 2010
When I start a screen session over SSH, I can edit and save files from within the screen session before I log out of the SSH session. But after I log out and log back in, I find that the screen session has lost write privileges, so that I can no longer edit or create any files, even within my home directory. How do I prevent this from happening?
View 1 Replies
View Related
Mar 16, 2009
I've all of a sudden been getting permission denied for almost everything I try to do. Upon logging in, I get a huge amount of "/dev/null: Permission denied"
The only way I can manage to get to the terminal is by Ctrl-C. It never brings up the command line, unless I do that.
If I try to startX, I get errors, also saying permission denied, and then one that says
Code:
I also get many "failed" errors when booting, most of them saying that a file could not be found/located.
Check the thread link at the top for other information in the first post.
I could reinstall Debian, but the computer I am using is a Libretto 110CT (64MB RAM), which has only a PCMCIA drive, for which I have a USB port replicator. There is no CD drive.
It was also a custom install fitted for the computer, so I'd rather not have to set everything up again, nor would I know how to exactly, as I've never done it before.
View 7 Replies
View Related
Jul 25, 2011
I got a new dsl modem/router today and now for some reason I can't login into an ssh session using putty and windows using the hostname of the debian box. I can login using the ip though. Also, it seems I can still access the debian box via samba/windows explorer using the host name.
View 3 Replies
View Related
Dec 1, 2015
I'm trying to use these cookie cutter rules that I found. But every time I use them, after a few seconds my wifi connection goes dead. The exception was the first time I used then. Which lasted me a couple of minutes.
By dead I mean I can no longer open a webpage or ping google.
iptables -N LOGGING
iptables -A INPUT -j LOGGING
iptables -A OUTPUT -j LOGGING
iptables -A LOGGING -m limit --limit 2/min -j LOG --log-prefix "IPTables-Dropped: " --log-level 4
iptables -A LOGGING -j DROP
View 9 Replies
View Related
Jan 29, 2011
I've got a Shorewall (Shoreline?) firewall up and running, but it's logging to /var/log/messages. I'd much rather have it logging to another location e.g. /var/log/firewall but can't find (a clear enough) explanation on how to do this. Apparently, it varies greatly depending on the distro, the kernel, and the version of Shorewall that is running. You'd think it would be something as simple as setting a path in a config file, but apparently not. I'm running a stock Lenny kernel on the firewall machine. It comes with version 4.0.15 of Shorewall.
View 9 Replies
View Related
Oct 8, 2015
Some days ago (2015-09-28) I installed Debian testing amd64. Log in as a user failed and instead of the Gnome UI there was a sad face with the text: „Oh no! Something has gone wrong. A problem occurred and the system can't recover.
All extensions have been disabled as a precaution. Log out“.
The relevant output of journalctl (run as root) said:
etc/gdm3/Xsession[5379]: cannot connect to brltty at :0
- /etc/gdm3/Xsession[5379]: Service 'org.kde.kaccessibleapp' does not exist.
- gnome-session[5379]: x-session-manager[5379]: WARNING: Application 'gnome-shell.desktop' killed by signal 5
- gnome-session[5379]: x-session-manager[5379]: WARNING: App 'gnome-shell.desktop' respawning too quickly
- x-session-manager[5379]: Unrecoverable failure in required component gnome-shell.desktop
[Code] ...
After some investigating, I found three work-arounds.
(1) Use gdm3-autologin: In /etc/gdm3/daemon.conf, remove the double crosses and insert own user name
AutomaticLoginEnable = true
AutomaticLogin = <own user name>
Disadvantage: Only one user can have access to the Gnome ui. If you log out, you enter the gdm3 greeter and … see above.
(2) Turn off gdm3 by running 'systemctl stop gdm3' as root, log in into a terminal as a user and run startx.
(3) Install package lightdm and make it to the standard display manager with 'dpkg-reconfigure lightdm'.
Disadvantage: Energy manager and screensaver settings of the Gnome control center are ignored.
The easiest way, however, especially if there are several users, is logging in via the gdm3 greeter.
View 10 Replies
View Related
Oct 30, 2010
When logging in I receive this message : panel encountered a problem while loading "OAFIID : Glipper" It does not happen everytime when logging in. Did a Google search, but no results so far.
View 2 Replies
View Related
Apr 5, 2011
I have just installed Ubuntu (/dev/sda7) and Debian (/dev/sda4), but since I have updated all informations on Ubuntu, then Debian did not appear anymore on the grub list. There is an wiki I have found, but I an not really sure about what to do.
Here are the boot informations:
Boot Info Script 0.55 dated February 15th, 2010
Boot Info Summary:
=> Grub 2 is installed in the MBR of /dev/sda and looks at sector 488861020
of the same hard drive for core.img, core.img is at this location on
/dev/sda and looks on partition #3 for (,gpt3)/grub.
[Code]...
ps: on this file, it says that the /boot is installed on the MBR and /dev/sda3. I will remove the boot from MBR as I am now using /dev/sda3 instead. Sorry for my english
View 7 Replies
View Related
May 2, 2015
After some updates Jessie 8 my boot grub shows now 2 kernel versions to boot from.
3.16.0-4-amd64
3.16-3-amd64
- How do I know which one is the newest and if happy with it, how to remove the older one?
View 9 Replies
View Related
Aug 28, 2010
When I boot up my laptop whith memorycards in the slots the boot hangs at "Wating for /dev to be fully populated", "Activating swap" or somewhere in between.If I take out the memorycards so the slots are empty, the laptop boots just fine...Its a CFCard and a SDcard in a PCIMAslot.Does anyone have a clue?Its not a big problem just very annoing to have to take out the memcards all the the time.
View 4 Replies
View Related
Mar 25, 2010
I have Lenny, and Jaunty Jackaope installed on the same hdd. Jaunty Jackaope was installed 2nd so it has control of grub (I don't know if that is the correct expression) I want to remove Jaunty Jackalope however I know from past experience that after I do this I will no longer be able to boot into Lenny as I will get a grub error at startup. How to I give boot/grub to Lenny so that I can remove the other operating system?
View 3 Replies
View Related
May 27, 2011
My old computer started randomly rebooting so I went out yesterday and bought a new one. It's a standard Intel 64 architecture with 2gb ram etc.The old computer was running Lenny however I'm happy to upgrade, so I just went to the main Debian download site and downloaded:debian-6.0.1a-ia64.netinst.iso (this didn't work, apparently ia64 is for itanium and my machine is definitely not that), so I downloaded: debian-6.0.1a-amd64-netinst.iso, burnt the CD and ran the install. First time through I had a power failure.
Second time through (a complete fresh start - new partition and everything) it went all the way through to completion and reboot.Clicked 'Continue' to reboot and the machine reset as it would normally and the Grub loader started okay, prompted for the "Debian amd64" standard boot image, selected that and the first 6 lines appeared normal, then the messages wizzed by so fast that only superman could read them. Then they stop - here is some of the content...
[3.816673] Kernel panic - not syncing: Attempted to killl init!
Call trace:
get_empty_filp
panic
[code].....
Running it again I get similar stack stuff but it's a different place: [3.541816], [3.427502] And sometimes if I wait for a minute or two it will continue on further but appear to crash again. Hardware details (everything is onboard - no added cards):
G41M-S3
Intel G41 + ICH7 chipsets
CPU: LGA 775 for Intel Core 2 Extreme
[code]......
Is the amd64 the wrong image? Should I try i386? Is it a blip and I should just rerun the entire install again?
View 14 Replies
View Related
Dec 16, 2010
This is the third time I try unsuccessfully to install Debian as a second OS on a hard drive. When it gets to the end of the installation process the installer asks whether I want to go ahead with the Grub Boot Loader, I choose yes. The end result is however that I can't boot that partition within the hard drive -- i.e., Debian. Can someone tell me what is going on? Should I not use the Grub Boot Loader when I have more than one operating system on a machine? Should I not install Grub on the Master Boot Record (MBR)?
View 3 Replies
View Related
Mar 3, 2010
Without going into a lot of the reasons, I have a bootable program on a USB stick that i would like to 'boot' when debian is starting up (or after it completes, or whenever it makes sense to do it). My MB does not support a USB boot, I've removed the floppy and CD so I can add additional HDs (its a small box but well ventilated).
Another option I have is to use my bios 'network boot' option, but I have no clue how to use it and the only description in the mb manual says "Allows system to be booted over a network" In network boots, *usually* one is given an option of specifying a device address, and the network boot executes a boot protocol (e.g. bootp), and the boot image file is downloaded to the target, stored and run out of RAM. No evidence of this behavior is exhibited when the network boot option is selected in the bios...
View 2 Replies
View Related
Jan 21, 2011
For several days I stuck on a problem despite my various searches on the net. I just installed a machine in RC1 Squeeze.
My Partitioning
Disc 1
/ boot RAID 1
/ swap RAID 1 and encrypted
/ RAID 1 and encrypted
[Code]....
View 5 Replies
View Related
Nov 8, 2015
I've been using linux distros on my desktop forever, and got a windows 10 laptop recently. I want to dual-boot debain (jessie), so I installed it and it worked fine. Unfortunately, I have to enable Legacy mode in BIOS to boot into my grub then linux machine. Is there a way I can have my computer boot without legacy boot?
View 2 Replies
View Related
Apr 17, 2011
Before the installation, I had triple boot of WinXP, Win 7, Ubuntu 10.10. As you can guess, the main boot-loader was grub. The second is Win 7 boot loader, and there it gives the option what to choose, load XP or Win 7.I made a decision to remove Ubuntu and install Debian(you know better than me why I did). So first, I searched a guide how to un-dual-boot. It told me to delete the two partition that Ubuntu use(swap and ext4) and write to MBR the win 7 boot-loader(using EasyBCD), so I delete them and use EeasyBCD. At this stage, I had 2 partitions: NTFS for XP and NTFS for Win 7, and the Win 7 boot-loader(and XP) worked pretty well.I install the latest testing of Debian(6 RC2) from DVD1 using this guide, except I choose to use the graphical installer, ext4(not ext3 as there), install the desktop environment, and choose to install grub(even know it didn't asked me). The swap partition I set is 3 GB because my RAM is 2 GB, even know that ubuntu set it in the past to 2 GB.The installation went pretty well, just when come to grub package, it says that there was an error with installing grub package(it didn't told me what), I had no choice, so I choose to skip over grub/lilo and finish with no boot manager. I was thinking to myself: "So I couldn't install grub, at least I have the Win 7 boot-loader(which contain XP loader), and maybe Win 7 boot-loader will recognize Debian too.". But I end up with no boot at all.It told me than when choose not to install boot-manager that I need to load /vmlinuz and give it the parameter root=/dev/sda4(my deb partition).I think that if I could install grub, I could load all my boots("sudo grub update" right?).How can I fix it?
View 3 Replies
View Related
Mar 10, 2010
I down loaded Debian 5.0.4 and burned it to CD (several times I might add till it was right) and now the computer I'm putting it on wont acknowledge it as a boot disk and load. It does not have a problem with my windows cd, which has a crack and the start of all my problems, But not the Debian CD-1 disk. what now? The computer is an IBM thinkpad a22p. Everything works as far as I can tell. But I was going to reinstall Windows and failed in that because of a small crack on the edge of the disk that stopped the install and any hope of accessing the file on the laptop. Microsoft does not support windows xp any longer, you must buy windows 7, but the ibm will not run it due to processor speed and ram limitations. But it will run linux and I'm willing to try it just to get out of microsoft control.
Idon't know what else to do. This is the link to where I downloaded the software ( [URL] ). The others five that i downloaded were on the same page that I got this one. Are there bad files here? Is there a missing file in the disc?
View 4 Replies
View Related
Mar 16, 2011
I know that boot partition is possible to create within debian distribution that has grub 2.0, as I have done before with ubuntu. I have been trying many different options with my preseed file but it keeps taking the boot partition out of LVM and creating and extended partition too and then creates the LVM primary partition.
### Partitioning.
# you can specify a disk to partition. The device name can be given in either
# devfs or traditional non-devfs format. For example, to use the first disk
[code]....
View 1 Replies
View Related
Jul 11, 2011
I'm not sure if this is the right spot for this pst or not, first on this forum. I just removed Fedora Core 4 from my system and installed Debian Sarge with the 2.6 kernel. I'm a newbie. The install seemed to go fine, after it was done I actually logged in and looked around some. I then restarted to check to make sure that my boot process went ok and I could still get to windows. Worked fine. Then I tried to boot back into Debian. It hung. I rebooted and tried again. Hung again in the same spot.
View 1 Replies
View Related
Mar 16, 2011
I know that boot partition is possible to create within debian distribution that has grub 2.0, as I have done before with ubuntu. I have been trying many different options with my preseed file but it keeps taking the boot partition out of LVM and creating and extended partition too and then creates the LVM primary partition. My preseed file is below:
code:
View 1 Replies
View Related