Linux

Post

Browsing posts in Linux

Comments   |   Linux
Management  autoload services in CentOS

Management autoload services in CentOS

To add a service at startup OS CentOS / RHEL you need a chkconfig  serice

1 comment   |   Linux, MySQL
MySQL error InnoDB: Unable to lock ./ibdata1, error: 11

MySQL error InnoDB: Unable to lock ./ibdata1, error: 11

Mysql error “InnoDB: Unable to lock ./ibdata1, error: 11″ You need to create copies of original files (ibdata1, ib_logfile0, ib_logfile1… – error may be associated with many files, but the solution is the same). mv /var/lib/mysql/ibdata1 /var/lib/mysql/ibdata1.bak cp -a /var/lib/mysql/ibdata1.bak /var/lib/mysql/ibdata1

1 comment   |   Linux
shell-init: error retrieving current directory: getcwd: cannot access parent directories

shell-init: error retrieving current directory: getcwd: cannot access parent directories

shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory If you have current error – you need to leave current folder, because it probably has been removed.

1 comment   |   Linux, Useful
Tar – create archive of all the files and subdirectories

Tar – create archive of all the files and subdirectories