I am connecting to a remote suse 10.0 machine, and I do not get colors on the terminal, while I get them when I connect to a remote Ubuntu machine.
How can I do to get colors on the suse terminal?
I have a workstation with Windows XP and I need to make a symbolic link or mount a UNC Path like a local Drive. I need the same behavior that produces M-Daemon tools when you mount an .iso File but with a remote directory. This is because I have a software client that perform several task but only with local drives and directorys.
The remote UNC path is a NAS server, thats the why I need to perform all the tasks from a workstations.
I am hoping someone can help me out with a strange issue.
We are running a Microsoft Failover Cluster with Server 2008 R2 and an Equallogic PS4000 SAN. Our main configuration has 2 Dell Poweredge T710 Servers in the cluster. We have CSV and Quorm setup. The servers each have 10 Broadcom 1Gb NICs. Right now 4 of the NICS are on the iSCSI network for accessing the SAN. They use MPIO and the Dell HIT pack.
We have 5 VMs running on each node and everything runs smooth. No noticeable performance issues or anything. From the SAN I can see the 4 iSCSI connections from each server to each volume (CSV and Quorm). Again, it seems to perform great.
The problem I am running into is with backups. I have tried a few backup programs like backupchain and Veeam. The problem is both of them are very very slow to backup the VMs. For instance I have a 500GB (fixed disc) VHD that’s running on the cluster. It takes over 18 hours to backup that VHD and that’s with compression and depuping turned off which is supposed to be the fasted.
We also have a separate server that is just for backups. It has a lot of directed attached storage. As part of the troubleshooting I decided to bring that server into the cluster as a node. It now has access to the CSV and can read from C:\clusterstorage\volume1 which is where our VHDs live. This backup server only has 2 NICs. 1 NIC is going to the iSCSI network and the other is just on the main network. It has Intel NICS in it without any sort of MPIO or teaming.
So with the 3rd server now in the cluster I started doing some benchmarking. I have a test VHD that’s about 7GBs that’s stored in the CSV. I have tested file copying that VHD from all 3 servers to directed attached storage in the respective server. The 2 Dell servers that are the main nodes in the cluster (they house the VMs) are reading that file at about 20Mbs/Sec. Which at that rate is way to slow for the backups. The other server which only has 1 NIC to the SAN is reading at around 100Mbs/Sec.
I spent a few hours on the phone with Dell today about this . We went through all kind of tests and he was pretty dumb founded. He really has no idea why that server with only 1 NIC is reading about 5 times as fast as the servers with 4 NICS and MPIO.
We looked at the network utilization of the NICs while the file copy was going on. The servers with the 4 NICs had a small increase of activity during the file copy but they only went up to around 8-10% on all 4 NICs. The other server with the 1 NIC jumped up to over 80% during the file copy.
I plan on doing some more testing after hours and calling Dell back tomorrow but I really am confused (and so is Dell’s support rep) why I cannot get faster file copy access to the CSV on those servers.
Anyone have any input on this?
Any feedback would be greatly appreciated.
Thanks in advance.
My home network is a simple router + pc's setup, nothing fancy - the router has DHCP enabled for 192.168.0.X (255.255.255.0) and my PC picks up the address 192.168.0.82. There are no devices on my local lan in the 192.168.1.x range.
On my pc i have the DrayTek VPN client, and a company i do some work for has a DrayTek Vigor router. The VPN client establishes a VPN to that remote company using an IPSec Tunnel (PreShared Key - no encryption)
Last night i shut down my pc with the VPN tunnel still connected, when i turned my computer on this morning i accidentally clicked an RDP shortcut to 192.168.1.2 (a host in the remote company) and to my amazement it connected?!? I checked and the DrayTek VPN client isnt running, and when i did run it, it clearly shows "Status: No connection".
confused as to how my machine can still talk to this remote machine i tried a trace:
C:\Users\HeavenCore>tracert 192.168.1.2
Tracing route to C4SERVERII [192.168.1.2]
over a maximum of 30 hops:
1 * * * Request timed out.
2 * * * Request timed out.
3 * * * Request timed out.
4 * * * Request timed out.
5 * * * Request timed out.
6 * * * Request timed out.
7 * * * Request timed out.
8 * * * Request timed out.
9 * * * Request timed out.
10 * * * Request timed out.
11 * * * Request timed out.
12 15 ms 21 ms 32 ms C4SERVERII [192.168.1.2]
Trace complete.
No indication there as to how it's getting from my network to the remote host.
with my network mask being 255.255.255.0 with ip 192.168.0.1 i dont even see how packets are routing to 192.168.1.1 - unless there was a static route in place, so i checked the route table:
IPv4 Route Table
===========================================================================
Active Routes:
Network Destination Netmask Gateway Interface Metric
0.0.0.0 0.0.0.0 192.168.0.1 192.168.0.82 266
127.0.0.0 255.0.0.0 On-link 127.0.0.1 306
127.0.0.1 255.255.255.255 On-link 127.0.0.1 306
127.255.255.255 255.255.255.255 On-link 127.0.0.1 306
192.168.0.0 255.255.255.0 On-link 192.168.0.82 266
192.168.0.82 255.255.255.255 On-link 192.168.0.82 266
192.168.0.255 255.255.255.255 On-link 192.168.0.82 266
224.0.0.0 240.0.0.0 On-link 127.0.0.1 306
224.0.0.0 240.0.0.0 On-link 192.168.0.82 266
255.255.255.255 255.255.255.255 On-link 127.0.0.1 306
255.255.255.255 255.255.255.255 On-link 192.168.0.82 266
===========================================================================
Persistent Routes:
Network Address Netmask Gateway Address Metric
0.0.0.0 0.0.0.0 192.168.0.1 Default
===========================================================================
As far as i can see, nothing indicating how my packets are getting to 192.168.1.2???
To confirm i was on a different subnet i did an ipconfig /all:
Ethernet adapter Local Area Connection:
Connection-specific DNS Suffix . :
Description . . . . . . . . . . . : Marvell Yukon 88E8056 PCI-E Gigabit Ether
net Controller
Physical Address. . . . . . . . . : 00-23-54-F3-4E-BA
DHCP Enabled. . . . . . . . . . . : No
Autoconfiguration Enabled . . . . : Yes
IPv4 Address. . . . . . . . . . . : 192.168.0.82(Preferred)
Subnet Mask . . . . . . . . . . . : 255.255.255.0
Default Gateway . . . . . . . . . : 192.168.0.1
DNS Servers . . . . . . . . . . . : 192.168.0.1
208.67.222.222
NetBIOS over Tcpip. . . . . . . . : Enabled
Yet straight after confirming my ip and subnet as above i can go ahead and ping the remote machine:
C:\Users\HeavenCore>ping 192.168.1.2
Pinging 192.168.1.2 with 32 bytes of data:
Reply from 192.168.1.2: bytes=32 time=48ms TTL=127
Reply from 192.168.1.2: bytes=32 time=23ms TTL=127
Reply from 192.168.1.2: bytes=32 time=103ms TTL=127
Reply from 192.168.1.2: bytes=32 time=25ms TTL=127
Ping statistics for 192.168.1.2:
Packets: Sent = 4, Received = 4, Lost = 0 (0% loss),
Approximate round trip times in milli-seconds:
Minimum = 23ms, Maximum = 103ms, Average = 49ms
Also, note on the ping how the times are 35ms ish, this clearly shows the pings are to the remote host and not something on my local lan (all stuff on my local lan pings in 0ms) - plus i verified the host was actually the host via RDP.
My Question: Can an IPSec tunnel stay up some how after a reboot without use of the VPN client? (well, i can clearly see that it can) - where in windows is there visibility of this? how does my machine know where to route the packets?
I appreciate any insights & thoughts!
I missed typed by scp command - didn't give target remote directory.
scp file root@remote-machine
It didn't say any errors and I don't know whether file is transferred or not . what happened here?
I have a server with Debian that have 3 physical partitions covering all the disk: boot, root y swap. Now I want to replace that partitions with LVM partitions. I know how install Debian with LVM at beginning, but in this case I can't install the system at beginning because the provider gets me a server with remote access and the system installed in this way.
How can I change that partitions using only an ssh connection and possibly other remote server where to put some temporal data?
Looking for ideas / thoughts on a small office setups.
Users : 25
Remote users ; 5
Remote office : 3
I'm a big fan of small business server but looking for mail archiving and NAS storage solutions to separate user data from AD and email.
Look forward to your thoughts, setups. Anyone with hosted solutions experience would also be nice.
Thanks
I am looking for a free virtual-desktop program that will allow me to put a different virtual desktop on each of my two monitors (one on laptop and the other external)
How I would like to use it: I do a lot of work connecting to other servers using remote desktop. I would like to use the external monitor to open remote desktop in full screen and use the laptop monitor for the local machine to view my mails, chat, browser, etc.
I am using XP SP3.
I've setup TomatoVPN using these settings on the server:
TAP
UDP
1194
Client address pool 10.10.9.1 -10.10.9.254
LAN clients are configured with 10.10.10.x
I can connect from a remote client, but pinging anything in the 10.10.10.x results in
a "Destination Host Unreachable" error.
Here's my client configuration script:
remote x.x.x.x 1194
client
dev tap0
proto udp
resolv-retry infinite
nobind
persist-key
persist-tun
float
ca ca.crt
cert client1.crt
key client1.key
ns-cert-type server
Any suggestions as how I can make this properly bridge the two networks?
I connect to a remote machine from the local machine and use virsh console to enter the virtual machine. I don't know how to exactly depict how it works. Normally it works well, but when I run VIM:
Then it can't be recovered unless I cut the connection up:
It's very hard to work with a broken terminal. Any advice? My terminal works well on my local machine and the remote machine in which the virtual machine runs.
If I ssh to a remote machine and then lose internet connectivity, the session freezes.
I can't control-c or otherwise abort and go back to my local xterm or terminal prompt but if I wait several minutes it will do so.
There must be some way to force it to abort the remote ssh session when connectivity is lost.
I'm on a Mac but I believe this happens on cygwin or linux as well.
I've wrote a simple batch file to connect to a specific VPN connection using RASDIAL
rasdial MyVPNConnection
but it always returned the error
691 Access denied because username and/or password is invalid on the
domain.
Remote Access Service (RAS) Error Code List
then i tried pointing to my Remote Access Phonebook (Rasphone.pbk) and see what happens
rasdial MyVPNConnection /phonebook:%userprofile%\AppData\Roaming\Microsoft\Network\Connections\Pbk\rasphone.pbk
and still there was an error 691.
I've then unchecked the following
but still the same problem was reported when executing my batch file.
I'm on ubuntu. I only have sftp access to a remote server. The remote server disabled shell, so i can't use ssh or scp command.
Is there a way for me to recursively get the entire /var/www directory onto my localhost?
I've mapped my domain users to a remote share, and I'm trying to get rid of the security warning that appears whenever a file is run from the remote share.
I've tried adding the FQDN to the intranet list with no prevail and I'm starting to go crazy. I've also turned off IE Enhanced Security Configuration for both Admins and Users.
The group policies are being applied, and I can see the FQDN in the intranet list in internet options.
Relevant group policy:
Relevant security warning:
Hi there,
I am using outlook 2007, and I have configured the bugger to retrieve emails from
a 1&1 web mail address.
It gets all emails from the remote in-box folder but,
if one happen to have fallen into the remote spam folder,
I never receive it, in outlook!
Is there an easy way out for this one ?
Thanks!
I am running a dicom receiver on a Centos 6 box on top of a Xen server.
If I attempt to send data to it from a remote server I get the following error:
storescp: relocation error: /lib/libresolv.so.2: symbol memcpy, version GLIBC_2.0 not defined in file libc.so.6 with link time reference
If I send data to the server locally it works, but sending to it from remote gives the above error.
I do not think this is a problem that is specific to the storescp server.
Do you get given your own IP address on dialup?
I am trying to test remote connections from outside my LAN. Will I be given an IP address that I can use for remote desktop and assistance?
This is in RHEL 5.5.
First, ntpdate to the remote host works:
$ ntpdate XXX.YYY.4.21
24 Oct 16:01:17 ntpdate[5276]: adjust time server XXX.YYY.4.21 offset 0.027291 sec
Second, here are the server lines in my /etc/ntp.conf. All restrict lines have been commented out for troubleshooting.
server 127.127.1.0
server XXX.YYY.4.21
I execute service ntpd start and check with ntpq:
$ ntpq
ntpq> peer
remote refid st t when poll reach delay offset jitter
==============================================================================
*LOCAL(0) .LOCL. 5 l 36 64 377 0.000 0.000 0.001
timeserver.doma .LOCL. 1 u 39 128 377 0.489 51.261 58.975
ntpq> opeer
remote local st t when poll reach delay offset disp
==============================================================================
*LOCAL(0) 127.0.0.1 5 l 40 64 377 0.000 0.000 0.001
timeserver.doma XXX.YYY.22.169 1 u 43 128 377 0.489 51.261 58.975
XXX.YYY.22.169 is the address of the host I'm working on. A reverse lookup on the IP address in my ntp.conf file validates that the ntpq output is correctly naming the remote server. However, as you can see, it appears to just roll over to my .LOCL. time server. Also, ntptrace just returns the local time server, and ntptrace XXX.YYY.4.21 times out.
$ ntptrace
localhost.localdomain: stratum 6, offset 0.000000, synch distance 0.948181
$ ntptrace XXX.YYY.4.21
XXX.YYY.4.21: timed out, nothing received
***Request timed out
This looks like my ntp daemon is just querying itself.
I am thinking about the possibility that the router-I-don't-control between my test network timeserver and the corporate network timeserver is blocking on source port. (I think ntpdate sends on port 123, which gets it around that filter and is why I can't use it while ntpd is running.) I have email in to the network folks to check that.
Finally, telnet XXX.YYY.4.21 123 never times out or completes a connection.
The questions:
What am I missing, here?
What else can I check to try to figure out where this connection is failing?
Would strace ntptrace XXX.YYY.4.21 show me the source port ntptrace is sending from? I can deconstruct most strace calls, but I can't figure out the location of that datum.
If I can't directly examine the gateway router between my test network and the timeserver, how might I build evidence that it's responsible for these disconnections? Alternately, how might I rule it out?
We have analog IR cameras (not IP Cameras) and they are connected to DVR model no is (DVR Model: DVR H264, 16 Channel - ECOR264-16X1). We assigned a static IP to DVR and able to view all the cameras connected to it.
Our requirement is to view individual cameras and recording option in remote location (the recorded data should store in remote) as like IP Cameras.
Is it possible, if not, are there any DVR Model which can support like this.
For CentOS installation CDs, you can install OS, as well as booting into "rescue" mode so that you can do a chroot mount on the system partition for problem solving, even the system is installed in hardware RAID drives. How can we create a similar thing but on usb flash drive? I tried to do it with unetbootin, but when booting into the USB, eventually the CentOS setup still requires presence of CDs.
Ultimately, I want to use this usb flash drive for remote disaster recovery through say HP iLo remote console / Dell iDrac etc.
My TCP/IP Stack knowledge is a little rusty so please bear with me....
I have a CentOS 5.7 server with SendMail and am having seeing intermittent timeout issues sending email (particularly larger email) to other remote domains. It doesn't happen with all attachments or recipient domains. Just some. After some extended troubleshooting, I think I've narrowed it down to TCP Sequences not being acknowledged.
Here's a breakdown of the TCP session from a packet capture I collected directly on my MTA (fooMTA):
Packet 1 - 11: Standard TCP handshake followed by initial SMTP conversation. No errors.
Packet #12 Recipient MTA: TCP sequence 231. Ack 91.
Packet #13 FooMTA: TCP sequence 91. Ack 305.
Packet #14 FooMTA: TCP sequence 1115. Ack 305.
Packet #15 Recipient MTA: TCP sequence 305. Ack 2495.
Packet #16 FooMTA: TCP sequence 2495. Ack 305.
Packet #17 FooMTA: TCP sequence 5255. Ack 305.
Packet #18: Recipient MTA: TCP sequence 305. Ack 5255.
Packet #19: FooMTA: TCP sequence 6635. Ack 305.
Packet #20: FooMTA: TCP sequence 8015. Ack 305.
Packet #21: Recipient MTA: TCP Sequence 305. Ack 8015.
Packet #22: FooMTA: TCP Sequence 10775. Ack 305.
Packet #23: FooMTA: TCP Sequence 13535. Ack 305.
Packet #24: Recipient MTA: TCP sequence 305. Ack 10775
Packet #25: FooMTA: TCP Sequence 14915. Ack 305
It keeps going like this with my server still thinking it hasn’t received sequence 305… in response the remote side eventually retransmits its prior data thinking that it never arrived. Eventually the gap gets so large that no new data is sent and the remote MTA keeps retransmitting old stuff. This contributes to an exponential backoff and eventually the remote side gives up.
What’s strange to me is that I see the “missing” TCP sequence (305 in this case) arriving back to my server (via a packet capture collected directly from fooMTA) So I don’t get why my server keeps asking for it.
Could this be firewall related? What would be the next step in troubleshooting?
I'm trying to setup rsync to backup a remote directory to my local drive.
I cd to the directory that I want to pull the files to, then I enter:
rsync -vrtW [email protected]:~/public_html
I enter the password then it starts running. I get all the files listed, but none of them actually transfer. What am I missing?
Thanks
I have ssh access to many servers where I have no root privileges. Do you know of any version control utility that can work with remote ssh repositories whichout installing anything on the remote server?
I have tried a bare git repository folder, but it seems to demand some script/binary/installation on the server. I also dont like git because it is not very portable. The portable versions are made of too many files
I edited the file /etc/rc.d/rc.local and added the following lines in order to mount a remote directory through sshfs at boot time:
su user -c "/usr/bin/sshfs -o idmap=user -o reconnect -o allow_other -o uid=500 -o gid=500 user@remote:/home/shares/allusers /home/user/mnt"
The problem is that is not mounting the directory on startup but when I execute this command manually after logging in everything works as expected an the directory is mounted.
Any suggestions?
I have a non Mission Critial DB 9am-5pm SQL Server database that I have set up to do nightly full backups and log backups every 30 minutes during business hours. The database is in full recovery and normally I have no reason to truncate/shrink logs unless I do some heavy maintenance. Log backups manage the size with no issue. However I have not been at this client for several weeks and upon inspection I noticed that the log had grown to about 10 times the size of the .mdf file. I poked around backups had been running and I had not gotten any severity error alerts (SQL mail). I attempted to put DB in simple recovery and shrink the log, this was no good. I precede to try a log backup and I got:
The log was not truncated because
records at the beginning of the log
are pending replication or Change Data
Capture. Ensure the Log Reader Agent
or capture job is running or use
sp_repldone to mark transactions as
distributed or captured.
Restart SQL Server rinse repeat same thing ...
I said ??? Replication is not nor ever has been set up on this DB or database /server ??? So the log backups have not been flushing the .ldf. So I did a couple hours of research and I found:
http://www.sqlmonster.com/Uwe/Forum.aspx/sql-server/5445/Log-file-is-not-truncated-inspite-of-regular-log-backup
http://www.eggheadcafe.com/software/aspnet/30708322/the-log-was-not-truncated-because-records-at-the-beginning-of-the-log-are-pending-replication.aspx
seems to be some kind of poorly documented bug ??
The solution seems to have been to run exec sp_repldone, more precisley
EXEC sp_repldone @xactid = NULL,
@xact_segno = NULL, @numtrans = 0,
@time= 0, @reset = 1
This procedure can be used in
emergency situations to allow
truncation of the transaction log when
transactions pending replication are
present. Using this procedure prevents
Microsoft SQL Server 2000 from
replicating the database until the
database is unpublished and
republished. ~ MSDN
When I do that I get the following
Msg 18757, Level 16, State 1,
Procedure sp_repldone, Line 1 Unable
to execute procedure. The database is
not published. Execute the procedure
in a database that is published for
replication.
Which makes sense Because the DB has never been published for replication.
I have several questions:
A) First and foremost is, WTF is going on ? What is causeing this, I am interested in knowing the why here ? Is this genuinley a bug or is there some aspect of the backup that is not functioning properly that cause's the DB to mimick a replicated state ? Someone please edify me on this.
B) Second ... Do I really have to publish / replicate this DB to exec this SP to fix this ??? Sounds crazy or is there some T-SQL that I can put it in a published state exec the proc and be on my way ...
C) Third, if I do indeed have to publish this database to exec the SP to release this unneeded mis replicated/intended log , to get my .ldf file and backup back on track. How do I publish the database without an online host that it is asking for ??? I don't generally do this kind of database administration and need some guidance.
Sorry if this is too verbose but just voicing the question helps me clarify it ...
Thank you in advance for your help