Tag Archives: server

Fixed: phpMyAdmin is throwing a #2002 cannot log in to the mysql server phpmyadmin

This one had me going round the houses a bit until I the wrong permissions confirmed something to me.
Firstly the /etc/phpmyadmin/config.inc.php file is crud. For some reason this file doesn’t resemble the actual config file that you should use.
The file /usr/share/phpmyadmin/config.sample.inc.php is the format that you need for a correct phpMyAdmin configuration, so copy it to /etc/phpmyadmin/config.inc.php

Next you need to edit this config file. This isn’t the hardest of the things in the world to do if you just want the basics. You just need to edit the value for $cfg['Servers'][$i]['host']

Once you’ve done that you can then login to phpMyAdmin using your mySQL credentials and get started.
It will bitch about not having the advanced features enabled. To do this follow the blog post I did at INSTALLING PHPMYADMIN ADVANCED FEATURES ON UBUNTU

Make sure you log out and back in to pick up the changes.


Mac OS X’s Hidden FTP Server

Seeing as there is already the capability to run a built in ftp server on OS X why bother downloading and potentially paying for one?

Starting the OS X FTP Server

sudo -s launchctl load -w /System/Library/LaunchDaemons/ftp.plist

Stopping the OS X FTP Server

sudo -s launchctl unload -w /System/Library/LaunchDaemons/ftp.plist

You could even easily knock up an Automator app to start and stop this (sod it I might even make one myself).

Sourced from: http://osxdaily.com/2011/09/29/start-an-ftp-or-sftp-server-in-mac-os-x-lion/

Jira Logo

Fixed – Jira: An internal server error occurred when requesting resource

Jira Gadget Error

At work we use Atlassian’s Jira as our support ticket tracking tool.
Recently we experienced an issue where all Gadgets on the dashboards gave the error: An internal server error occurred when requesting resource

“An internal server error occurred when requesting resource” Solution – for us

The solution for us was to extend the drive that housed the home directory for Jira. This has become full and this was adversely affecting gadget rendering. Likely because the temporary working directory is within the home directory.

Hope that helps some other Jira users out there.