zeldor.biz

Linux, programming and more

Copyright © 2025
Log in

Access denied for user ‘debian-sys-maint’

March 29, 2011 by Igor Drobot Leave a Comment


While trying to start or stop MySQL I get:

1
Access denied for user 'debian-sys-maint'@'localhost' (using password: YES)

Access denied for user 'debian-sys-maint'@'localhost' (using password: YES)

Dabian has a own way to login to the MySQL database the credantials are listed in a file:

1
2
3
4
cat /etc/mysql/debian.cnf
[...]
user = debian-sys-maint
password = bodCNLUx0GGYm6F

cat /etc/mysql/debian.cnf [...] user = debian-sys-maint password = bodCNLUx0GGYm6F

Logon:

1
mysql -u root -p

mysql -u root -p

Execute:

1
GRANT ALL PRIVILEGES ON *.* TO 'debian-sys-maint'@'localhost' IDENTIFIED BY 'bodCNLUx0GGYm6F' WITH GRANT OPTION;

GRANT ALL PRIVILEGES ON *.* TO 'debian-sys-maint'@'localhost' IDENTIFIED BY 'bodCNLUx0GGYm6F' WITH GRANT OPTION;

By the way set a new root passwort:

1
mysqladmin -u root password 'new-password'

mysqladmin -u root password 'new-password'

Filed Under: Debian, Linux, MySQL Tagged With: Access denied, debian-sys-maint, MySQL

Apache2 and php5-fpm combination

March 26, 2011 by Igor Drobot 6 Comments

PHP-FPM (FastCGI Process Manager) is a great alternative PHP FastCGI implementation with some additional features useful for sites of any size, especially busier sites.

1
vim /etc/apt/sources.list

vim /etc/apt/sources.list

Add source for php5-fpm:

1
2
# PHP-FPM
deb http://packages.dotdeb.org stable all

# PHP-FPM deb http://packages.dotdeb.org stable all

[Read more…]

Filed Under: Debian, Linux Tagged With: apache vhost, apache2, apache2 and php5-fpm, fastcgi, php5-fpm5

Usermod command

March 22, 2011 by Igor Drobot Leave a Comment

Manpages are great!
Disable ssh login:

1
usermod -s /bin/false username

usermod -s /bin/false username

Change home directory:

1
usermod -d /home/users/newpath/ username

usermod -d /home/users/newpath/ username

Filed Under: Bash, Debian, Linux Tagged With: usermod change home, usermod change shell

KVM manage virtual machines with virsh

March 16, 2011 by Igor Drobot Leave a Comment

Virsh is the main interface for managing virsh guest domains. The program can be used to create, pause, and shutdown domains.

Some of this commands may be helpful if you have no chance to run virt-manager.

Show guest information:

Show a list of all running guests: virsh list
Show a list of all available guests: virsh list –all
Show a guest’s info: virsh dominfo GUEST_NAME
[Read more…]

Filed Under: Linux Tagged With: KVM, qemu, virsh

Ubuntu: freenx server installation

March 16, 2011 by Igor Drobot Leave a Comment

Next Generation Remote Display – NX is an exciting new technology for remote display. It provides near local speed application responsiveness over high latency, low bandwidth links.

Was tested on Ubuntu 10.10 Codenamed “Maverick Meerkat”. Works on Debian 6 too;)

Edit your source list or create a new one:

1
vim /etc/apt/sources.list.d/freenx.list

vim /etc/apt/sources.list.d/freenx.list

[Read more…]

Filed Under: Debian, Linux, Ubuntu Tagged With: freenx, Nomachine, nx-server

  • « Previous Page
  • 1
  • …
  • 40
  • 41
  • 42
  • 43
  • 44
  • …
  • 74
  • Next Page »
Yeaaah Cookie! We use cookies to ensure that we give you the best experience on our website. If you continue to use this site we will assume that you are happy with it.Ok