shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory

[root@domU-taging]# /etc/init.d/mysqld restart
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
Stopping MySQL: [ OK ]
Starting MySQL: [ OK ]

[root@domU-taging]# cd

[root@domU- ~]# /etc/init.d/mysqld restart
Stopping MySQL: [ OK ]
Starting MySQL: [ OK ]

Move MYSQL database to an another partition (EBS) by David Raleche

[root]# mv /var/run/mysqld/ /vol/etc
[root]# mv /var/lib/mysql /vol/lib/
[root]# mv /var/log/mysqld.log /vol/log/

[root]# mkdir /var/run/mysqld/
[root]# mkdir /var/lib/mysql


[root]# echo "/vol/etc/ /var/run/mysqld none bind" | tee -a /etc/fstab
/vol/etc/ /var/run/mysqld none bind
[root]# mount /var/run/mysqld/

[root]# echo "/vol/lib/ /var/lib/mysql none bind" | tee -a /etc/fstab
/vol/lib/ /var/lib/mysql none bind
[root]# mount /var/lib/mysql

[root@ lib]# echo "/vol/log/ /var/log/mysql none bind" | tee -a /etc/fstab

mysql-5.0.95-1.el5_7.1.i386 conflicts with file from package mysql-libs-5.0.84-2.el5.centos.i386

Transaction Check Error:
file /etc/my.cnf from install of mysql-5.0.95-1.el5_7.1.i386 conflicts with file from package mysql-libs-5.0.84-2.el5.centos.i386
file /usr/lib/mysql/libmysqlclient.so.15.0.0 from install of mysql-5.0.95-1.el5_7.1.i386 conflicts with file from package mysql-libs-5.0.84-2.el5.centos.i386
file /usr/lib/mysql/libmysqlclient_r.so.15.0.0 from install of mysql-5.0.95-1.el5_7.1.i386 conflicts with file from package mysql-libs-5.0.84-2.el5.centos.i386

FSTAB + XFS file system

# FSTAB

The fstab (/etc/fstab) (or file systems table) file is a system configuration file commonly found on Unix systems. It is part of the util-linux package. The fstab file typically lists all available disks and disk partitions, and indicates how they are to be initialized or otherwise integrated into the overall system's file system. fstab is still used for basic system configuration, notably of a system's main hard drive and startup file system, but for other uses has been superseded in recent years by automatic mounting.

EBS + XFS File System by David Raleche - Attach a new EBS volume to your Linux Instance (centos)

#1 - yum install xfsprogs

#2 - mkfs.xfs /dev/sdf
-bash-3.2# mkfs.xfs /dev/sdf
meta-data=/dev/sdf isize=256 agcount=16, agsize=327680 blks
= sectsz=512 attr=0
data = bsize=4096 blocks=5242880, imaxpct=25
= sunit=0 swidth=0 blks, unwritten=1
naming =version 2 bsize=4096
log =internal log bsize=4096 blocks=2560, version=1
= sectsz=512 sunit=0 blks, lazy-count=0

Make sure https is used if you want to access Google Sitemap Generator from remote IP.


Remote access is denied.

Make sure https is used if you want to access Google Sitemap Generator from remote IP. You can go to help center for how to enable https.

If you are on local machine, make sure you are not using proxy.

Type the following to fix the issue ABOVE
/usr/local/google-sitemap-generator/bin/sitemap-daemon remote_admin enable

Pages

Latest Post

Popular Post

Our Skills

Author

Project Director Information Architect Database Administrator Unix Administrator Senior Developer Project Manager Product Manager Web Marketer Cloud Engineer

Contact Us

For any questions or project ideas please contact me at the following.

I'm here