Sebastian Mogilowskis Blog

Just another blog about administration, linux and other stuff

February, 2013

Ubuntu 12.10 Network printer problem

I tried to add a network (samba) printer on Ubuntu 12.10 with gnome and i get only this message: FirewallD is not running. Network printer detection needs services mdns, ipp, ipp-client and samba client enabled on firewall. The workaround was to run system-config-printer in terminal and configurate the printer.

Racktables has problems with NDOUtils from Nagios

Small script reads nagios problems from ndo database and set has_problems flag in racktables: Works with plain Nagios and NDOUtils Setup or an Centreon installation. But you have to use the same name of a server in both system ! #!/usr/bin/perl use strict; use DBI; # NDO Database Settings my $ndoHost = ‘localhost’; my $ndoUser […]

,

Reset MySQL Root Password

Quick tutorial to reset the root password of an MySQL server: (I know there are a lot of howtos out there, i make a documentation here for myself :-)) First stop the MySQL server: /etc/init.d/mysql stop Now start the server in “safe mode” without password and network: mysqld_safe –skip-grant-tables –skip-networking You can login to the […]

,

Notebook Backup to external crypted disk

Here is the documentation, how i making backups of my notebook. I use a external USB harddisk, which is connected to my docking station. On system logon, i check if the external disk is present and mount it. A cronjob starts a backup script, which creates backups with rsync if the backup partition is mounted. […]

, , , ,