Server :: Move The Server To It's Own Machine?

Mar 29, 2010

Im running my website on a Debian machine that started to get high load so i wanted to move the mysql server to it's own machine. and here is the problem. The second machine is also Debian and is behind a router only running mysql. i have forwarded the port 3306 to the second machine and created an A record for "mysql" so mysql.mydomain.com points towards the second machine. However, when i try to connect my websites script to the second machine i get the following error "Warning: mysql_connect() [function.mysql-connect]: Lost connection to MySQL server at 'reading initial communication packet', system error: 111" when i open the site in a a browser.

edit: i can connect to it without a problem localy trough phpmyadmin etc.

View 5 Replies


ADVERTISEMENT

Server :: Move Mails On Exim Server To Postfix Server?

Jan 12, 2010

how can I best transfer my mails that are sitting on my old exim server to my new postfix server?

View 1 Replies View Related

Server :: Sync File Server Data Into Backup Server Machine By Command- Rsync -avu?

Jun 21, 2011

iam trying to sync file server data into backup server machine by command- rsync -avu path/of/data ipaddress-of-backup-server:/path/where/to/save after running it ask for root password and manually it is successful.but i want to make it automatic.for that i also tried cronjob and also generated authentication key but iam not successful in login automatically..anybody know how to authenticate root to login for storing data in backup server.

View 14 Replies View Related

Server :: MySQL Move Database / Server Doesn't Start

Nov 3, 2010

I'm trying to move a mysql 5.1.50-community InnoDB database from one location to another.When starting the service I get:Starting MySQL.Manager of pid-file quit without updating file [FAILED]I've searched for a way to do this but I can only find people who describe what I've just done.

View 6 Replies View Related

General :: Can Move Windows File Server To Server

Oct 21, 2010

we have moved to linux platforms now. can i move my windows file server to linux server,main work on this windows server is sharing folders which having secure permissions to respective groups & users.i knew we can share folder on linux. before formatting my windows server i want to know can we create new users to access particular folder?. users will not have any other kind of access except accessing there data folder. currently we have below scenario :users named a,b,c,d & e. all users having their folders to access. a & c are in the same group & they have common access to other common folder. please help me to change my server in ubuntu, i have planned to migrate in ubuntu server 10.04 (64 bit).

View 5 Replies View Related

General :: Move Files From One Server To Another Server Using Scp?

May 25, 2011

I am trying to move uploaded file to another server using scp. following is the script i am using and error;

"mv.sh"
#!/bin/sh
now=$(date +"%y-%m-%d-%M")

[code]....

View 1 Replies View Related

OpenSUSE Network :: Mulit Server Setup \ Server Machine Has No Internet?

Mar 27, 2010

I want to set up the following server in open suse:dhcpopenldapnfs (to allow users to mount their home directories from the serverI started off with the openldap server. I configured it with dc=localdomain,dc=local as its domain. As the server machine has no internet. Though when I go to add a .ldif file with the following command

Code:
ldapadd -x -D 'cn=Administrator,dc=localdomain,dc=local' -f /home/base.ldif -W
It returns this

[code]....

View 9 Replies View Related

Server :: File Server Machine To Store All Data So Being That Have Got Four Identical SATA Hard Drives?

Jan 25, 2011

I've got 4 identical 1 TB drives and would like to use them in a software RAID configuration on my home server. I'm running Debian Linux using 'mdadm' utility to manage the software RAID. I don't know how much I've read is fact or dated or even false so I decided I would ask here to get help from people who know more about this than I do. This is essentially just a file server machine to store all my data so being that I've got four identical SATA hard drives, I was thinking about doing RAID level 5. I guess I'll start here and ask if that is the recommended level of RAID. I think RAID level 5 will be fine for my general server usage. My second issue is partitioning the four individual drives to get maximum performance / space from them. Basically just asking here how would you or you recommend I partition the drives? I was thinking about doing three seperate partitions per drive:

/dev/sda1 = 4 GB (swap)/dev/sda2 = 1 GB (/boot)/dev/sda3 = 995 GB (/)Now from that partition schema above, obviously all the types will be 'fd' for RAID and the partition for /boot is going to be bootable. My confusion is that I read Grub doesn't support booting from RAID 5 since Grub can't handle disk assembly. If /dev/sdx2 (sda2, sdb2, sdc2, sdd2) are partitioned for /boot (bootable), how would you guys configure this RAID to match up equally? I don't think I do a RAID level 1 on 4 identical partitions, right?

View 1 Replies View Related

Server :: Move Qmail From One Server To Another?

Dec 6, 2010

I have a qmail mta that needs to be moved to another server. The current host system will be discarded due to end of SLA for the hardware support.

The qmail mta is setup according to the guide on [URL]. There are currently about 10 postboxes and about 30 forwards defined with a total of about 1000 emails.

I don't want to send each old mail to a backup postbox outside qmail and resend it back after I setup a new qmail mta on the new server.

I would like to setup qmail in a configuration where each mail would be automatically replicated on the qmail mta, where the new mta would take over duty when the old one will shutdown. Anyone had a similar project and know how to do this? If not does anyone know how to move a qmail install onto another new system? Or may be how to export and import the postboxes and forwards?

View 5 Replies View Related

Server :: Authenticating Winxp Machine With Samba Server?

Feb 4, 2010

I have configured samba server on fedora machine and i am trying to authenticate a winxp machine through samba server but the issue is winxp machine is not becoming the part of the domain. The error is A domain controller for the domain HOMEDOMAIN could not be contacted.Ensure that the domain name is typed correctly.
If the name is correct, click Details for troubleshooting information.

here is the configuration file text..

# Samba config file created using SWAT
# from UNKNOWN (8)
# Date: 2010/01/31 18:51:36
[global]
workgroup = HOMEDOMAIN
server string = Samba as Domain Controller.

[Code]...

View 2 Replies View Related

Server :: Bind Windows Xp Machine To Domain Server?

Jan 17, 2010

I want to join standalone windows xp machine to Linux Domain (Redhat 9)..

View 3 Replies View Related

Server :: How To Make Machine As A Client Of NIS Domain Server?

Jan 19, 2011

In a newly installed Linux machine which is a client machine, is not listening to NIS domain server even after setting IP address ,default gateway,and subnet mask.What are all the changes to be done in configuration file.And how can be solved

View 2 Replies View Related

Server :: Check Email Server Machine Doing Spamming?

Apr 28, 2010

We are using axigen with redhat

linux how to check if email server machine doing spamming.

View 3 Replies View Related

Server :: Log User Samba Who Delete Or Move Files/folders On Samba Server ?

Feb 8, 2010

I need to know is there any way to record or tracking or make logging if when user samba delete files or folders i can know that, cause sometimeon samba server some users complain they lost files, though i have daily backup and i can restore their files, i just want to know if or maybe some other users in one group accidentally move or delete the files.

View 1 Replies View Related

Networking :: Access A Windows Server 2000 Machine Using A Machine Via KDE?

Apr 9, 2010

I need to access a Windows Server 2000 machine using a Linux machine via KDE, but that will migrate to Gnome. The Linux user to connect to Windows machine, you should open an application 'XYZ' automatically, and only this, denying any unauthorized access. When you close the application 'XYZ' communications (RDP?) Should be terminated. Do I need a log of accesses and possible attempts to circumvent the system and access other application.

View 7 Replies View Related

Server :: DNS Move Looking For Confirmation

Aug 18, 2010

I have a DNS server at an old companies place and that box will be losing it's IP. The whois record for the domain goes to godaddy which has 2 'A' records;
ns.domain.com
ns2.domain.com which point to the current 2 DNS servers. Now if I have a new server up and running and the zones copied over, do I just need to change the 'A' location for ns.domain.com to this new IP? I remember back in the day you had to 'register' the nameserver with the registrar, etc.I haven't touched this stuff in a while, and before I go and change the IP of the nameserver, want to make sure all is in check.

View 2 Replies View Related

General :: Connect To An SFTP Server From A Windows Machine To A SFTP Server Using A DSA Key?

Jul 24, 2011

As a Windows user, I generated a pair of DSA keys from CoreFTP Lite and sent it to a third party that runs an SFTP server. They told me that a valid DSA key needs to have ssh-dsa at the start and the username@systemname at the end. CoreFTP generated neither the ssh-dsa header nor the username@systemname footer. I tried with WinSCP and it didn't generate them either. Is there a difference between how SFTP works between Windows and Linux? If I put a useraccount@systemname at the end of the text will it work? How would the Linux system validate that my system is called "systemname"? If it can't validate, what is the purpose of adding it?

View 2 Replies View Related

Ubuntu :: How To Move A File Over Ssh To Server

Apr 4, 2010

how to move a file over ssh to server but I cant get it back via terminal

Code:

scp Downloads/test8 user@host:home/user/Documents

moves it to server now i need to transfer back, I know I can do it with nautilus but i wanna learn terminal, I have googled but cant find what i,m looking for

View 2 Replies View Related

Server :: Move Dovecot Config From 1.x To 2.x?

Mar 23, 2011

I have a very basic "working" Dovecot configuration from 1.x as shown below:

Code:

auth_mechanisms = plain login
mail_location = maildir:~/mail
passdb {

[code]...

My question is I've built a new server and now it has Dovecot 2.0.11 & I would like to know if I need to generate a new configuration file or will the above 1.x work in 2.0.11? The configuration file 'dovecot.conf' generated by 2.0.11 is all commented out and I don't know what I need to uncomment / add to the config to get IMAP working.

Code:

[root@mail /]# doveconf -n | head -2
# 2.0.11: /etc/dovecot/dovecot.conf

View 1 Replies View Related

Server :: Move Over 500 Sites From Webserver

Jul 30, 2011

What's the best way to move over 500 sites from a webserver with apache and mysql on the same server.. to a new server?

View 1 Replies View Related

CentOS 5 :: How To Move Website From One Server To Another

May 17, 2010

Can't find any step by step info about moving web site from one server to another. I have to move website from open BSD to CentOS. Maybe somebody can help me with this. All I did is : copied www directory to new server, installed apache, installed php, installed mysql, copied mysql datadase to new server.But website still not loading.

View 1 Replies View Related

Ubuntu Servers :: Move XML Files From One Server To Another?

Dec 19, 2010

I'm looking for ideas on how to transfer a group of xml files from one server to another server, either in a regular interval or ?I have a listing program, it creates a directory or classified ad type listing. When one of these is created, or an existing one is edited an XML file is created. I need to take these files and get them to another server. I've read about SOAP, FOPEN and of course FTP.

View 1 Replies View Related

Server :: Move Background Process To Foreground?

Mar 5, 2010

is it possible in bash to run one command in background and after it's done show output with less? While background process is running I should be able enter another commands.What I have is this (sleep is only for simulation):

Code:
{({ ( tree / > tree.txt && sleep 2) & } && wait && less tree.txt) &} && wait fg &
Problem is that I don't know and I can't find how to move it to the foreground after completion.

View 14 Replies View Related

Server :: Mbox Utility To Move Messages?

Oct 4, 2010

I have an email server running postfix and popa3d under Debian. I have mailboxes in mbox (single file) format per user in /var/mail/username. I had my own mailbox get too many messages so popa3d refused to process per a compiled in security / anti-DOS limit, so I moved to /var/mail/username_bak. What is the best way to start moving the messages from /var/mail/username_bak to /var/mail/username? I do not see any utilities included with postfix or popa3d that do this, but I am hoping there are generic mbox utilities to easily do this.

View 1 Replies View Related

Ubuntu Servers :: Easiest Way To Move 200 Accounts To New Server?

Feb 9, 2010

I'm in the middle of moving my lab to a new server in the middle of the school year.. and need to copy all the user accounts to the new box, hopefully with all the student's passwords and contents of their folders intact.And since we are using the system daily, I need to do it all in an hour or 2.I'm thinking I can just

1. diff /etc/passwd and /etc/shadow from the old the new
2. copy all the student folders to new /home
3. write a script to set the permissions on all the new /home folders to match the user names.

It seems easy and safe so long as I back up the 2 existing files..Any reason not to try? Or is there an easier way?

View 1 Replies View Related

Ubuntu :: Write A Script That Will Move The *.mpg Recording Onto Server?

Oct 16, 2010

Currently running mythbuntu 10 and I'm trying to write a script that will move the *.mpg recording onto my server when it has finished recording. It is automated so I need it not to prompt for the password.

This is what I have so far:

1) System events, when finished recording: /var/lib/mythtv/mover.sh

2) mover.sh (chmod +x)

Code:
#!/bin/sh
#this is to move the files after recording locally
#to a unRaid box (reiserfs conflict)
sudo mount {server ip address}:/mnt/cache/ /mnt/pvr
sudo mv /var/lib/mythtv/recordings/*.mpg /mnt/pvr

3) sudo visudo

Code:
{name of pc} All = NOPASSWD: /var/lib/mythtv/mover.sh

This is my first script and I don't know too much so go easy, but I'm not sure what I'm missing.

View 1 Replies View Related

General :: Move All The Information & Configuration Of DNS02 To The New Server?

Apr 5, 2011

We do have primary & backup DNS both are running in Linux. I'm planning install the 3rd DNS & move the DNS02 to this server(DNS03)& remove the DNS02 later. Ho can I do move all the information & configuration of DNS02 to the new server? configuring the DNS03 & removing DNS02.

View 13 Replies View Related

Server :: Move File System Content Between 2 Disks?

Oct 14, 2010

I have to move all the files and directories between 2 file systems. Is it good practice to move them at once or first copy them and then move ? How to do this to preserve the permissions and directory structure ?

View 3 Replies View Related

CentOS 5 Server :: Move The Sendmail Queue Folder?

Nov 5, 2009

Is there a simple way to move the Sendmail queue folder? Presently it's at the default location on /var/spool/mqueue/ but when / recently ran out of space (my fault storing backups there), it was unable to receive any more mail. There is plenty of space at another partition. My /var/opt/scalix location lives on another set of discs with lots of room. I created a folder called /var/opt/scalix/sendmail/mailqueue/ but uncertain how to move the existing queue to it.

View 1 Replies View Related

CentOS 5 Server :: Can't Move The MYSQL Database Files

Nov 8, 2009

I just installed mysql and need to move the databases to a new location.I say 'no problem' I shutdown mysql (service mysqld stop) I configure my.cnf to point to the new location, which in my case is: /mnt/data/mysql. I know not very original naming. I do the old chown -R mysql:mysql /mnt/datal/mysql AND I copy all the files over (cp -R /var/lib/mysql /mnt/cgsvol/mysql) chmod 777 /mnt/data/mysql I ensure the chown worked (ls -a -l) and the files are there from the old directory. I can't load the daemon again. I check the log (/var/log/mysqld.log) and it can't write any test file to that directory.

(log file exact data).
091107 23:22:21 mysqld started
091107 23:22:22 [Warning] option 'max_join_size': unsigned value 18446744073709$
091107 23:22:22 [Warning] option 'max_join_size': unsigned value 18446744073709$

[code]....

View 3 Replies View Related







Copyrights 2005-15 www.BigResource.com, All rights reserved