BLOG HOME -  UK WEB HOSTING -  PHP MYSQL HOSTING -  RESELLER HOSTING -  eUKhost FORUMS -  VPS HOSTING

Archive for Computer Technical Support

FLV Videos

You may find that your FLV videos aren’t playing or won’t download. To solve this you will need to add the FLV mime type in IIS. To do this, follow these instructions:

1) Select the site which you want to configure in IIS; right click on it and select ‘Properties’.

2) Under the ‘HTTP Headers’ tab, select “File Types” under the ‘MIME Map’ section and select ‘New Type’.

3) Type ‘.flv’ as the associated extension, and ‘video/x-flv’ as the associated content type.

4) Click ‘OK’, then restart IIS.

That’s it! Your FLV files should now play and download!

Comments (1)

Restarting cPanel

To restart cPanel, login via SSH and run the following command:

/etc/init.d/cpanel restart

Comments

Debugging Exim

Here are some handy commands to help debug exim:
exim -bp - Show what is currently in the mail queue
exim -qf - Force delivery off everything that is in the mail queue
tail -f /var/log/exim_mainlog - See what exim is doing. Its also worth checking /var/log/exim_paniclog

Comments

Apache Log Files >2GB

Should you find error messages in /etc/httpd/logs/error_log such as

[Tue Mar 28 04:29:42 2006] [notice] child pid 24546 exit signal File size limit exceeded (25)

This means that you have a log file that is great than 2GB in size. To fix this run

cd /etc/httpd/domlogs
du -sh * | grep [0-9]G

This should show you the file that is causing issues e.g. domain.com.log. To reset it, but loosing the webstats run

cd /etc/httpd/domlogs
rm domain.com.log
touch domain.com.log
/etc/init.d/httpd stop
/etc/init.d/httpd start

Do not use just an Apache restart but a full stop/start to make sure it closes all its old files

Comments

Changing The SSH Port Number

To change the SSH port number login as root, and edit /etc/ssh/sshd_config

Find the line that says Port 22 and change 22 to any number between 1024->65535 (above 30000 is best) and save the file.

Once done, run:

/etc/init.d/sshd restart

Now start a new SSH session (don’t close your existing one), to make sure that you can get in.

Comments

Upgrading Apache on a cPanel Server

To upgrade Apache on cPanel login via SSH and then run

/scripts/easyapache

Option 7

Scroll down to Php Module

Make sure either Version 4.4.x is selected (using the space bar) or Version 5.1.4

Press TAB to select Exit and then Enter to exit

Once at the main menu press TAB to select EXIT and press Enter

Say “Yes” to “Do you want to save this apache configuration?”

Apache will now recompile and may take 30-40 minutes depending on the server

Comments

« Previous entries · Next entries »