June 27th, 2008
- Stop MySQL and restart in Safe Mode
service mysqld stop
killall mysqld
mysqld_safe –skip-grant-tables&
- Reset Admin Password and Permissions
- mysql psa -e “flush privileges; grant all privileges on *.* to ‘admin’@'localhost’ identified by “password”
- Replace Password
- Stop Safe Mode and Restart MySQL
killall mysqld
service mysqld start
Posted in Linux Dedicated Servers | No Comments »
June 27th, 2008
Ports that are open on Cisco PIX 501 :
- 20 / 21 (FTP)
- 22 ( SSH )
- 42 (DNS Extra: TCP and UDP)
- 53 (DNS)
- 80 (HTTP)
- 110 (POP3)
- 443 (HTTPS)
- 465 (SMTPS)
- 587 (SMTP/TLS)
- 95 (POP3S)
- 3389 (Remote Desktop)
- 8443 (Plesk)
- 9999 (Simple Control Panel)
Posted in Windows Dedicated Servers | 2 Comments »
June 27th, 2008
What could be the reasons for Internal Server Error on Dedicated Servers ?
- This is a message received when there is misconfiguration on the server.
- You will find the error in error log
- Apache/1.3.33 Server at yourdomain.com Port 80
- This could be due to corrupt .htaccess
- Rename .htaccess file and refresh
- Repair the file
- Upload .htaccess files in ASCII mode
- Set permissions to 644
Posted in Linux Dedicated Servers, Windows Dedicated Servers | No Comments »
June 27th, 2008
For two hard disks on a linux server, you will need to create partion for the server. In order to create partition on a dedicated server :
- Login as root
- Type disk /dev/sdb
- Type n to Create new partitions
- For extended or Primary, type p
- Type w and Enter tp write partitions
- Create file system :
Type mkfs -t ext3 /dev/sdb
In order to Mount File System :
- Type cd /sbin
- mkdir /mnt/disk2
- Type chmod 777 /mnt/disk2
- Type mount /dev/sdb /mnt/disk2
Posted in Linux Dedicated Servers | No Comments »
June 27th, 2008
If you cannot login to Horde Webmail through http://Ip:2095 or http://domain.com/webmail
- Open File : vi /etc/php.ini
- Change file content to : session.auto_start = 0
- Save
- Restart Apache
Posted in Linux Dedicated Servers | No Comments »
June 27th, 2008
In order to Create Account in WHM :
- Login to WHM
- Account Functions
- Click on Create Accoutn
- Enter Domain Name, Username, Password and Email
- Click on Create
Posted in Linux Dedicated Servers | No Comments »
June 27th, 2008
In order to check if FTP is connecting or not on the dedicated server :
- Login to Server via SSH
- Type su -
- Run the command : ftp localhost
- You will know the connection stats
- You can also start FTP service from Linux cPanel ( WHM )
Posted in Linux Dedicated Servers | No Comments »
June 27th, 2008
In order to update Max Client Setting on Dedicated server :
- Login to Server
- Type su -
- Open /etc/httpd/conf/httpd.conf in edit mode
- Change the MaxClients 10 to more number
Posted in Linux Dedicated Servers | No Comments »
June 27th, 2008
Following are ways to reboot linux or windows dedicated server :
Linux Dedicated Server :
- Login to the Server through SSH
- In Command, type su -
- Type reboot
Windows Dedicated Server :
- Login through RDP
- From Start Menu, select Shut Down
- Click on OK
Posted in Linux Dedicated Servers, Windows Dedicated Servers | No Comments »
June 27th, 2008
- Login to Server through SSH
- Type su -
- Type php -i | grep php.ini
- You will fine two variables in php.ini file :
post_max_size - Data that PHP will accept
upload_max_filesize - Individual File size
upload_max_filesize = 2M
Increase the filesize limits to increase file uploads.
Once done, you will need to restart httpd
Posted in Linux Dedicated Servers | No Comments »