Rsync With Non Default Port
I am transfering some files from one server to another. Both server runs SSH on port 3333.
Quote:
rsync -a -v -e ssh --port=3333 --progress --timeout=0 -e ssh /var/cpanel/packages root@server42.hostname.com:/var/cpanel/
When i use this command, i get following error
Quote:
root@server40 [~]# rsync -a -v -e ssh --port=3333 --progress --timeout=0 -e ssh /var/cpanel/packages root@server42.hostname.com:/var/cpanel/
ssh: connect to host server42.hostname.com port 22: Connection refused
rsync: connection unexpectedly closed (0 bytes received so far) [sender]
rsync error: error in rsync protocol data stream (code 12) at io.c(453) [sender=2.6.9]
root@server40 [~]#
Why it says port 22 in error message ? I have specified --port=3333 in options.
Also i am able to connect to other server on port 3333
Quote:
root@server40 [~]# telnet server42.hostname.com 3333
Trying 72.9.145.200...
Connected to server42.hostname.com (72.9.145.200).
Escape character is '^]'.
SSH-2.0-OpenSSH_3.9p1
why rsync is not working?
View Complete Thread with Replies
Sponsored Links:
Related Forum Messages:
How To Change Tomcat Default Port (8080)
My app needs to be viewed using :8080 behind the domain. I want it be viewable without using adding any port behind. I've research on google and many said about edit the server.xml file but the problem is I can't located the file no mater what root@kohproxy [~]# find -name server.xml root@kohproxy [~]#
View Replies!
View Related
Did Port 80 Port To 7080, But Not Working When Login
I have an office internal website and I opened a port in the gateway of my office (7080) to this website (server )'s 80 port. That makes this website open to public as office has static IP. And then when I view the site from home . it's fine. But when I tried to login, the site is using a pop-up, I guess it's http authentciation, login, I was redirected to a url without my port number any more, that stops my access to the site as obviously I would. How can I keep my connection/port number ...?
View Replies!
View Related
Two Default Gateways
I'm trying to add a second nic to one of my servers. eth0 is connected directly to the internet on a public IP. eth1 is connected to a private network 172.16.0.0/24. When I try to add the eth1, I can no longer reach my server from the public address. The gateway for eth1 is 172.16.0.1. If I leave the gateway field blank for eth1, the server can still be reached on the public address and can also talk to clients on the lan. However, I would really like to figure out why I can't add the default gateway parameter.
View Replies!
View Related
Default Gateway
im trying to setup a vps server on one of my dedicateds, (for personal use) ive got the vps running and os installed etc but i cannot for the life of me setup networking. i have 2 ips from my datacenter but they havent given me a default gateway ip and dont seem to know what one is so does anyone know how to get the default gateways ip for a ip (the ip i have is in the 66.79.185.xxx group )
View Replies!
View Related
Apache Default Message
When i use the ip of my homepage and not the domain i see this: Quote: Apache is functioning normally How can i change it? And for lxadmin the same : Quote: This is the LxAdmin Default Page How can i change it?
View Replies!
View Related
Field 'row' Doesn't Have A Default Value
When I'm insert data through form coming following error. Field 'row' doesn't have a default value But When I'm ruing on Local host ( Local computer ) properly working. But it is not working on my server. Please visit this video File. You can see my Error.www.visionlanka.com/20081124.avi
View Replies!
View Related
Default Domain For Lxadmin
In lxadmin currently no domain is set as default domain and what would happen if I set one of the site as a default domain? What changes can be noticed and will there be any kind of effect on that particular domain?
View Replies!
View Related
[cPanel] Default Address
I'll make it as simple as possible -- I want to remove via SSH all mail allocated to the default address (catch all). I cannot remove it via webmail or mail client since there are over 50,000 emails. It's a cPanel based system.
View Replies!
View Related
Apache Default Page
Our servers Shared IP seems to be loading the first domain name in the httpd.conf file as the servers default page. I want to change the default page to either our main domain or to the apaches "success!" default webpage. We're using cpanel. I'm unsure why it's loading the first domain when you load the IP. It used to load properly but for some odd reason stopped working. I suspect a cpanel update was the culprit.
View Replies!
View Related
Default Permissions 775
I was on a server (reseller account) that ran PHPSuexec and default permissions were 755/644 as they should be. We moved to a new cPanel 11 server and default permissions are 775/664. This is the same on 4 different servers from 4 different hosting companies (all reseller accounts). Three are CentOS, one RedHat Enterprise. I entered a support ticket for one company and they said the permissions were not right and supposedly fixed it (I have left that company since then so I can't check). The other hosting companies say their umasks are right and would not change it. Apparently the apache installation defaults to these permissions which, security wise, seems kinda strange. Can anyone shed some light on whether or not this is secure and does this mean I'm going to have change permissions evertime I upload files to install shopping carts, billing software etc.? (It's not hard it's just stupid to have to). Should my hosts change apache system umask (022) to make permissions default to 755/644?
View Replies!
View Related
Cpanel Default Language
My customer's language is portuguese. On my VPS have cpanel with X and X3 theme. When I create a new account with X3 theme, cpanel default langage is english. I ask my hosting company if have a method to change cpanel default language to portuguese. They saied that is no possible. I dont know, but I think that can to have an alternative to make it, but HOW?
View Replies!
View Related
Change Default Path In Tomcat ?
I have Linux server Apache with Tomcat.How can i change DocumentRoot for Tomcat or set default page for Tomcat index.jsp or my.jsp or index.php because i want to use 301 redirection. So please guide me how can i change default page or change default path.
View Replies!
View Related
How Can I Setting Default ErrorDocument Pages
how can i set the path for custom error documents of error codes the path that i made a custom changes in Code: /usr/local/apache/htdocs/ i add in httpd.conf file the following settings Code: ErrorDocument 400 /usr/local/apache/htdocs/badreq.html ErrorDocument 401 /usr/local/apache/htdocs/noauth.html ErrorDocument 403 /usr/local/apache/htdocs/forbid.html ErrorDocument 404 /usr/local/apache/htdocs/missing.html ErrorDocument 500 /usr/local/apache/htdocs/conferr.html restart the apache ,but still my custom pages no working i want to know how can i make local path for default error documents pages in httpd.conf
View Replies!
View Related
Changing The Default CPanel Logo
How do you change the default cPanel logo. Like, when you create an account, the clients cPanel says: [url](on the top). I was wondering, any way to change that..not for a single account but all of them..kinda so when it creates a account it actually puts a different image.
View Replies!
View Related
IIS 7 Resetting To Default Setting
I am gonna host a multi-platform website from my home server soon. My home server is basically IIS7 on Windows server 2008. However , I am currently experimenting with IIS7 on vista business .Unfortunalely I have experimented so much that I need to reset IIS7 to default settings. I haven't backed up atall. So it would be great if someone can assist me in this matter.
View Replies!
View Related
Document Root Default In Plesk
Document root default in Plesk I bought a new plesk and created new domains. For some odd reason, all the domains are looking at the default document root. /var/www/vhosts/default/htdocs/ Rather than going to the domains document root /var/www/vhosts/domain.com/conf I checked the /var/www/vhosts/domain.com/conf/httpd.include, the document root and all are fine. I also tried creating vhost.conf and assigning the document root there. /usr/local/psa/admin/sbin/websrvmng --reconfigure-vhost --vhost-name=domain.com -v It is also not working...
View Replies!
View Related
How To Default Set Ip_conntrack_max To 65535
my server come with net.ipv4.netfilter.ip_conntrack_max=34576 And i would like to set it default to 65535. How can i do it? Everytime i use: Quote: sysctl net.ipv4.netfilter.ip_conntrack_max=65535 It sets to the number i want, but when the webserver restart. It goes back to default number ( 34576)
View Replies!
View Related
Modifying Apache's Default Index
I was using Apache's <Directory> directive to modify the way the default indexes look. I recently moved from openSUSE to Windows Server 2003 and copied over the Directory code but it no longer works. Code: <Directory /> Options All AllowOverride All IndexOptions SuppressHTMLPreamble SuppressDescription FancyIndexing VersionSort FoldersFirst IgnoreCase IconsAreLinks NameWidth=60 HeaderName /!_images/html/header.shtml ReadmeName /!_images/html/footer.shtml AddIcon /!_images/icons/application.png .exe AddIcon /!_images/icons/application_xp_terminal.png .sh AddIcon /!_images/icons/book_open.png .pdf AddIcon /!_images/icons/music.png .mp3 .ogg AddIcon /!_images/icons/photo.png .jpg .jpeg .png .bmp .gif AddIcon /!_images/icons/television.png .avi .wmv .xvid .divx .mpg .mpeg AddIcon /!_images/icons/script_code_red.png .php .php4 .php5 .js AddIcon /!_images/icons/ruby.png .ruby .rb AddIcon /!_images/icons/folder.png ^^DIRECTORY^^ DefaultIcon /!_images/icons/page_white.png IndexIgnore query.txt !_images !_Jason !_media2 lost+found Modules _images login torrentflux phpinfo.php Thumbs.db tmp.txt phpmyadmin sandbox test.txt test.php _index.php robots.txt System Volume Information RECYCLER </Directory> It doesn't load the headerfile or the readme file (they exist) and it uses the Default Icon for all files
View Replies!
View Related
Default Removed All Ip In Firewall Rules
i want removed all ip that are in firewall rules in csf/cpanel Chain SPAMHAUS (1 references) num pkts bytes target prot opt in out source destination 1 0 0 DROP all -- * * 91.146.64.0/18 0.0.0.0/0 2 0 0 DROP all -- * * 91.146.112.0/20 0.0.0.0/0 3 0 0 DROP all -- * * 89.35.0.0/23 0.0.0.0/0 4 0 0 DROP all -- * * 89.32.203.0/24 0.0.0.0/0 5 0 0 DROP all -- * * 89.233.64.0/18 0.0.0.0/0 6 0 0 DROP all -- * * 89.208.122.0/23 0.0.0.0/0 7 0 0 DROP all -- * * 89.187.192.0/19 0.0.0.0/0 8 0 0 DROP all -- * * 89.145.128.0/20 0.0.0.0/0 9 0 0 DROP all -- * * 88.206.80.0/20 0.0.0.0/0 10 0 0 DROP all -- * * 88.206.8.0/21 0.0.0.0/0 11 0 0 DROP all -- * * 88.206.64.0/20 0.0.0.0/0 12 0 0 DROP all -- * * 88.206.0.0/17 0.0.0.0/0 13 0 0 DROP all -- * * 88.206.0.0/21 0.0.0.0/0 14 0 0 DROP all -- * * 86.59.160.0/19 0.0.0.0/0 15 0 0 DROP all -- * * 86.59.128.0/17 0.0.0.0/0 16 0 0 DROP all -- * * 86.111.128.0/19 0.0.0.0/0 17 0 0 DROP all -- * * 86.105.230.0/24 0.0.0.0/0 18 539 37022 DROP all -- * * 85.255.112.0/20 0.0.0.0/0 19 0 0 DROP all -- * * 83.223.240.0/22 0.0.0.0/0 20 0 0 DROP all -- * * 83.223.224.0/19 0.0.0.0/0 21 0 0 DROP all -- * * 81.95.144.0/20 0.0.0.0/0 22 0 0 DROP all -- * * 81.29.240.0/20 0.0.0.0/0 23 0 0 DROP all -- * * 81.17.16.0/20 0.0.0.0/0 24 0 0 DROP all -- * * 78.95.128.0/20 0.0.0.0/0 25 0 0 DROP all -- * * 72.21.128.0/20 0.0.0.0/0 26 0 0 DROP all -- * * 69.8.176.0/20 0.0.0.0/0 27 393 27185 DROP all -- * * 69.50.160.0/19 0.0.0.0/0 28 0 0 DROP all -- * * 69.50.16.0/20 0.0.0.0/0 29 0 0 DROP all -- * * 66.55.160.0/19 0.0.0.0/0 30 0 0 DROP all -- * * 66.37.112.0/20 0.0.0.0/0 31 0 0 DROP all -- * * 66.185.112.0/20 0.0.0.0/0 32 0 0 DROP all -- * * 66.102.32.0/20 0.0.0.0/0 33 0 0 DROP all -- * * 65.255.32.0/20 0.0.0.0/0 34 0 0 DROP all -- * * 64.28.176.0/20 0.0.0.0/0 35 0 0 DROP all -- * * 64.255.128.0/19 0.0.0.0/0 36 0 0 DROP all -- * * 63.246.32.0/20 0.0.0.0/0 37 0 0 DROP all -- * * 58.83.0.0/22 0.0.0.0/0 38 0 0 DROP all -- * * 58.65.238.0/23 0.0.0.0/0 39 0 0 DROP all -- * * 58.65.232.0/21 0.0.0.0/0 40 0 0 DROP all -- * * 217.69.112.0/20 0.0.0.0/0
View Replies!
View Related
CentOS 5.3 Default Kernel RealTek Support
I'm not sure if anyone else has come across this but I'm sure you are all aware that CentOS 5.3 default kernel comes with realtek support. But the default realtek drivers have a bug in them when it slows down upload and downloads drastically and shows ping times above 2000+ ms in the same datacenter. A fix for this is simply upgrading the kernel to the latest version available (2.6.29) with realtek driver support.
View Replies!
View Related
Changing Default CPanel Error Pages
to change the default cPanel account error pages. For example, default accounts have the following 404 error: Quote: Not Found The requested URL * was not found on this server. Additionally, a 404 Not Found error was encountered while trying to use an ErrorDocument to handle the request. So what I want to do is be able to change this page but I dont know where in the server it is located.
View Replies!
View Related
Default Outbound IP Address With Virutal IPs
I have an interesting situation on my CentOS 4 server. I have a number of virtual adapters (e.g. eth0:1, eth0:2 etc), and for some reason all outbound traffic is going through one of these, not eth0. If I go to ipchicken.com, it shows the ipaddress of a virtual adapter, not the normal eth0 adapter. I have been looking around for information on how to set the default adapter to eth0, but I can't seem to find anything. I can't reboot yet, as it's a production server, so I have to wait for 'scheduled maintenance'. If that's the solution, I can try it, but I am sure there is another underlying issue/routine here. Is there a way, while live, to set the outbound adapter back to eth0? Please note, that I have only just realized this has happened. In fact, it has been this way since November. I can tell because server name stamps on Email messages sent from this server indicate a virtual domain at that IP address. I recall I had done some work around that time, which had involved me ifup'ing and ifdown'ing some of these adapters (but not eth0, or the eth0:100 adapter (if I recall correctly) that is now the default). Also note that I have groups of eth0 adapters, such like: eth0:1 eth0:2 eth0:3 eth0:100 eth0:101 eth0:102 It's the eth0:100 adapter that is now the default.
View Replies!
View Related
CPanel NS IP Addresses Shared With Default IP Address
I'm setting up a cPanel server and have an initial 5 IPs with the server. By default, it assigned two IPs to the nameservers, but I'm getting a bit confused as to best practice policies. Is it a bad idea to have your nameserver IPs being used for accounts? I imagine the answer is yes, it is a bad idea, as I've not seen it done by others. I would guess the biggest reason would be that you wouldn't want a bad acocunt to get the IP blocked. I'd like to hear opinions on the matter, as cPanel seems to be set up to automatically assign the first IP available to both the default account IP and the first nameserver.
View Replies!
View Related
How To Show Hidden (dot) Files By Default And...
on my old centos servers I can show hidden (.file) files with normal 'ls' and 'ls -l' command but on new I can`t show hidden files on that way, I must use command 'ls -a' to show that files! Also, on new server I only see dir in who I working: [root@server dir]# but on old server this look: root@server [/usr/local/dir]# Also, on new server I have new colors for dirs, files..
View Replies!
View Related
RSync
I made some data backup on one of the backup servers using rsync. How can I restore it to the new server now? My account is ready on new vps and all I need is pull the data back from backup server to new vps account. I used this command previously Quote: rsync -avz -e ssh /home/user1 backupuser@backup.server.com:user1
View Replies!
View Related
Anything Better Then Rsync
Is there anything better then rsync to replicate files (twice a day) on servers located in seperate datacenters? Looking for more of a free to cheap solution though will also be interested in the higher end solutions later on.
View Replies!
View Related
Default APF Blocks Softlayer IP Range And WHT
This came as a surprise today, I setup a server-based RSS reader and could not get WHT's forum RSS feeds. A little digging revealed it was the default APF installation that was blocking the 174.0.0.0/8 range, which includes WHT and a chunk of Softlayer's ip range. The quick fix is easy, just remove that range from the /etc/apf/internals/reserved.networks file and restart, in the latest apf version, I don't know how many apf versions back this block goes. The APF folks do a fantastic job in keeping APF up to date, but this seems to be recent update to this particular ip range that hasn't made it into APF yet.
View Replies!
View Related
Domain Shows Default Green Cpanel Page
I don't know why but a domain is showing the green default cpanel page instead of its own homepage. The domain has been hosted on this box for a long time. DNS is fine, ran udpateuserdomains without error. No dns changes have been made. IP it is set to pings fine. Tested via 3rd party proxy, shows green cpanel page still. Shows proper IP in httpd.conf
View Replies!
View Related
2 NIC - Set Default Gateway - Crossover Cable In Use
I have a Linux Server (CentOS 4.4) running, it has two network cards. 1. Onboard 100MBit (eth0), uses DHCP to obtain IP, this card is the only one that is able to connect to the internet. IP: 192.168.1.13 Subnet: 255.255.255.0 Gateway: 192.168.1.1 Bcast: 192.168.1.255 2. PCI Gigabit card (eth1), uses static IP, and is connected to my Windows machines via a CROSSOVER cable. IP: 192.168.2.2 Subnet: 255.255.255.0 Gateway: NONE Bcast: 192.168.2.255 Before I installed the gigabit card all internet was working fine. However now i cannot even ping? here is some more info: PHP Code: [root@node home]# ifconfig eth0 eth0 Link encap:Ethernet HWaddr inet addr:192.168.1.13 Bcast:192.168.1.225 Mask:255.255.255.0 inet6 addr: fe80::213:20ff:fee9:69de/64 Scope:Link UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1 RX packets:473 errors:0 dropped:0 overruns:0 frame:0 TX packets:462 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:1000 RX bytes:60513 (59.0 KiB) TX bytes:497973 (486.3 KiB) [root@node home]# ifconfig eth1 eth1 Link encap:Ethernet HWaddr inet addr:192.168.2.2 Bcast:192.168.2.255 Mask:255.255.255.0 inet6 addr: fe80::20c:76ff:fe7d:46/64 Scope:Link UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1 RX packets:15996232 errors:0 dropped:0 overruns:0 frame:0 TX packets:7250441 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:1000 RX bytes:1137563077 (1.0 GiB) TX bytes:437192485 (416.9 MiB) Interrupt:177 Base address:0x2f00 [root@node home]# netstat -nr Kernel IP routing table Destination Gateway Genmask Flags MSS Window irtt Iface 192.168.39.0 0.0.0.0 255.255.255.0 U 0 0 0 vmnet1 192.168.2.0 0.0.0.0 255.255.255.0 U 0 0 0 eth1 192.168.1.0 0.0.0.0 255.255.255.0 U 0 0 0 eth0 172.16.123.0 0.0.0.0 255.255.255.0 U 0 0 0 vmnet8 169.254.0.0 0.0.0.0 255.255.0.0 U 0 0 0 eth1 [root@node home]# route Kernel IP routing table Destination Gateway Genmask Flags Metric Ref Use Iface 192.168.39.0 * 255.255.255.0 U 0 0 0 vmnet1 192.168.2.0 * 255.255.255.0 U 0 0 0 eth1 192.168.1.0 * 255.255.255.0 U 0 0 0 eth0 172.16.123.0 * 255.255.255.0 U 0 0 0 vmnet8 169.254.0.0 * 255.255.0.0 U 0 0 0 eth1 [root@node home]# Im sure its just a few lines I need to change somewhere, just not sure where?
View Replies!
View Related
Cpanel Or Rsync?
I am using BQbackup to auto backup my CPanel VPS and was wondering whether it is best to use CPanel's own backup service which automatically backs-up the vps daily or should I use the rsync script that bqbackup provides? Which is easier to restore and more reliable?
View Replies!
View Related
RSYNC Tutorials?
Looking for an RSYNC tutorial, something that focuses on backing http data, exporting the databases then transferring offsite to a receiving rsync server once a week. Something that's understandable and logical would be great, happy to work through over the next week and continue more in depth with it.
View Replies!
View Related
Rsync Instructions
I have been trying to setup rsync on my server and following these instructions http://www.bqbackup.com/setup.html The problem is I keep getting errors. On this step, ssh-keygen -t rsa -N I edited it and did ssh-keygen -t rsa --N becauseI got an error saying it need the '--' before the N. So after getting through that part, I got these questions asked Enter passphrase (empty for no passphrase): Enter same passphrase again: Your identification has been saved in /root/.ssh/id_rsa. Your public key has been saved in /root/.ssh/id_rsa.pub. The key fingerprint is: I left the passphrase empty, and then when it asked where to save to, I just typed in 'rsa'. Then it gave me some fingerprint. Then I get to the step, # scp ~/.ssh/id_rsa.pub yourusername@yourusername.bqbackup.com:keys/server1 # ssh yourusername@yourusername.bqbackup.com mergekeys But I get errors saying -bash: cat~/.ssh/id_rsa.pub: No such file or directory I dont get what I'm doing wrong. If somebody doesnt mind, can you please re-write the steps on getting this working, or maybe tell me where I am going wrong if the tutorial is correct?
View Replies!
View Related
Update Rsync
Current, 2.6.3 came with my centos 4.4 cpanel server, I tried updating it to latest 2.6.9. However, when I type "rsync" it's pointing to 2.6.3 How can I remove the old version or reinstall over it?
View Replies!
View Related
|