chrisdaish.blogspot.com
/home/chrisdaish/*: Postfix Mail Queue Tools
http://chrisdaish.blogspot.com/2012/11/postfix-mail-queue-tools.html
Logging my sysadmin adventures, documenting for future use. Tuesday, 6 November 2012. Postfix Mail Queue Tools. A quick post on Postfix tools:. Flush postfix mail queue with:. View mail queue with either:. Mailq or postqueue -p. Subscribe to: Post Comments (Atom). 1 month of Ubuntu Linux in Hampshire Schools. Postfix Mail Queue Tools. Crontab PAM User with no password. Apache Aliass to the rescue! Securely Mounting Samba / CIFS file systems in Cen. Global / System wide environmental variables on Ma.
chrisdaish.blogspot.com
/home/chrisdaish/*: Apache Alias's to the rescue!
http://chrisdaish.blogspot.com/2012/11/apache-alias.html
Logging my sysadmin adventures, documenting for future use. Tuesday, 6 November 2012. Apache Alias's to the rescue! Are you are looking to consolidate multiple web-roots into one, but want to ensure that the old URLs are still active and function as required? If so Apache Alias's are your friend. With a single command in a vhost or httpd.conf you can transparently redirect a user to a new location. Alias /MyFirstWebsite/images/profilePhotos /var/www/mySecondWebsite.com/images/betterProfilePhotos.
chrisdaish.blogspot.com
/home/chrisdaish/*: November 2012
http://chrisdaish.blogspot.com/2012_11_01_archive.html
Logging my sysadmin adventures, documenting for future use. Friday, 9 November 2012. Today I ran into the following problem whilst trying to extend a LVM logicial volume. Lvextend -L 20GB /dev/vg HOSTNAME/lv var. Extending logical volume lv var to 60.00 GB. Device-mapper: reload ioctl failed: Invalid argument. Failed to suspend lv var. Root@HOSTNAME var]# lvm version. LVM version: 2.02.56(1)-RHEL5 (2010-04-22). Library version: 1.02.39-RHEL5 (2010-04-22) Driver version: 4.11. Volume group - -. After a go...
chrisdaish.blogspot.com
/home/chrisdaish/*: Securely Mounting Samba / CIFS file systems in CentOS 5.6
http://chrisdaish.blogspot.com/2012/11/securely-mounting-samba-cifs-file.html
Logging my sysadmin adventures, documenting for future use. Friday, 2 November 2012. Securely Mounting Samba / CIFS file systems in CentOS 5.6. Earlier I wrote a blog post on how to mount a cifs share in CentOS. Firstly I created a new file in /etc/. Populate the file with the username and password as required:. Chmod the file to 700 so only root can read, write, and execute the file. Finally update your /etc/fstab to read the credentials file:. SERVERNAME/SHARE /mnt/MOUNTPOINT/ cifs credentials=/etc/.
chrisdaish.blogspot.com
/home/chrisdaish/*: Mounting Samba / CIFS file systems in CentOS 5.6
http://chrisdaish.blogspot.com/2012/11/mounting-samba-cifs-file-systems-in.html
Logging my sysadmin adventures, documenting for future use. Friday, 2 November 2012. Mounting Samba / CIFS file systems in CentOS 5.6. Mounting remote smb/cifs filesystems can be a little tricky due to the slashes required to complete the task. From the command line:. Mkdir /mnt/MOUNTPOINT (if you have not already done so). Mount -t cifs "/ SERVERNAME/SHARE" /mnt/MOUNTPOINT/ -o username=DOMAINNAME USERNAME,password=PASSWORD. SERVERNAME/SHARE /mnt/MOUNTPOINT/ cifs username=DOMAIN USERNAME,password=PASSWORD.
chrisdaish.blogspot.com
/home/chrisdaish/*: February 2011
http://chrisdaish.blogspot.com/2011_02_01_archive.html
Logging my sysadmin adventures, documenting for future use. Monday, 28 February 2011. Well the synchronisation is still going, and I am off home soon. I will check it again in the morning. In the mean time I have been learning a little Perl. With the oh so popular emacs(23) editor. It appears to be pretty similar syntax wise to PHP right now, but hopefully I will discover some more advanced features soon. Links to this post. Links to this post. All in a days work as a sysadmin I guess :-). A quick glance...
chrisdaish.blogspot.com
/home/chrisdaish/*: Crontab + PAM + User with no password
http://chrisdaish.blogspot.com/2012/11/crontab-pam-user-with-no-password.html
Logging my sysadmin adventures, documenting for future use. Tuesday, 6 November 2012. Crontab PAM User with no password. Oct 30 11:21:01 SERVERNAME crond [22739]. Authentication service cannot retrieve authentication info. Oct 30 11:21:01 SERVERNAME crond [22739]. CRON (USERNAME) ERROR: failed to open PAM security session: Success. Oct 30 11:21:01 SERVERNAME crond [22739]. CRON (USERNAME) ERROR: cannot set security context. Oct 30 11:19:01 SERVERNAME unix chkpwd [22423]. Oct 30 11:19:01 SERVERNAME crond.
chrisdaish.blogspot.com
/home/chrisdaish/*: LVM: lvextend failing
http://chrisdaish.blogspot.com/2012/11/lvm-lvextend-failing.html
Logging my sysadmin adventures, documenting for future use. Friday, 9 November 2012. Today I ran into the following problem whilst trying to extend a LVM logicial volume. Lvextend -L 20GB /dev/vg HOSTNAME/lv var. Extending logical volume lv var to 60.00 GB. Device-mapper: reload ioctl failed: Invalid argument. Failed to suspend lv var. Root@HOSTNAME var]# lvm version. LVM version: 2.02.56(1)-RHEL5 (2010-04-22). Library version: 1.02.39-RHEL5 (2010-04-22) Driver version: 4.11. Volume group - -. After a go...
chrisdaish.blogspot.com
/home/chrisdaish/*: April 2011
http://chrisdaish.blogspot.com/2011_04_01_archive.html
Logging my sysadmin adventures, documenting for future use. Friday, 8 April 2011. So I started off a new top secret project at work that I can only only describe as 'project black bear', a great name I am sure you'll aggree, which actually serves two purposes; firstly giving the project a name, until we come up with a better one, and secondly keeping the whole project hush hush within the college. Links to this post. Labels: git project black bear php mysql. Subscribe to: Posts (Atom).