Hi,
I want to generate UDP packet to test a program,
something equivalent to using telnet to test TCP port (Can telnet generate UDP packet?)
How can I do this?
Many thanks
Every week, we send something like a small newsletter. Sometimes, the header in the newsletter says
DomainKey-Status: bad (test mode)
Sometimes it says
DomainKey-Status: good (test mode)
All the other headers in the email are the same (besides expected time and message id differences). None of the email server configuration has changed. What would cause this problem?
We have our log files gzipped to save space. Normally we keep them compressed and just do
gunzip -c file.gz | grep 'test'
to find important information but we're wondering if it's quicker to keep the files uncompressed and then do the grep.
cat file | grep 'test'
There has been some discussions about how gzip works if it would make sense that if it reads it into memory and unzips then the first one would be faster but if it doesn't then the second one would be faster. Does anyone know how gzip uncompresses data?
Problem
Trying to setup CI Joe (https://github.com/defunkt/cijoe) and I get the following error:
/usr/bin/env: ruby1.8: No such file or directory
What I'm doing
CI Joe is run as www-data, and the command I'm running is
RAILS_ENV=test bundle exec rake -s test
When I log in as www-data (sudo su www-data) and execute the same command it works. So I'm trying to figure out what may be wrong.
Debug Output
$ which ruby1.8
/usr/bin/ruby1.8
This problem is similar to:
http://stackoverflow.com/questions/6126165/usr-bin-env-ruby-1-8-no-such-file-or
We are building a farm of test servers. Currently we have 8 servers. We are planning to use the servers to test the following
Mysql Cluster
Xen or KVM virtualization
Heartbeat/Pacemaker/DRDB
What tools do experienced sysads use for:
Initial installation of operating system( installing centos 5 or ubuntu server manually 8 times seems like a tedious task that just begs for automation)
Centralized Configuration Management and Software Updates for Host and possibly Guest(virtualized) servers
Hardware, Services and Network Monitoring
I'm considering using online backup for my business. Is anybody publishing rigorous test results for services like Jungle Disk, Mozy, Carbonite, etc.? I've found lots of anecdotes, but nothing that looks like a serious lab test.
I set up Ubuntu 12.04 in VirtualBox on the Win7 machine I was allocated on my new project. I am running Java, Eclipse, Tomcat to develop a large data-intensive application and I noticed that this application runs at half the speed of my colleague's identical machine, where he runs it all under Windows.
I think I have narrowed down the performance issue to the network, after comparing and equalising all the Java VM settings with my colleague.
Is there a ping test I can do or some other network diagnostic test to flag up any problems?
To give some background, the network performance is confusing.
Running a network speed test to my colleague's machine with iperf shows speeds of 6 Mb/s from my Ubuntu guest, and 90 Mb/s from the win7 host.
Large downloads, e.g. the Java SDK, come down at about 1.2 MB/s on both the guest and the host.
Pings are sub-1ms on the host, but 1.5ms on the guest.
I also did a broadband speed test, and got 10Mb/s download speed on both, but the host has an upload speed of 10Mb/s but the guest only uploads at 3Mb/s.
I've been trying to diagnose any MTU problems with ping -M do to identify any kind of packet fragmentation problem but it's progressing very slow because I don't have much experience in this area.
From what I read on other people's networking issues with VB and Linux guests on Win7 hosts, I should be able to get the speed on the guest up to the same level as the host.
I installed a fresh VM with Ubuntu again to see if I'd foobar'd it somehow, but I'm getting the same readings with iperf on the virgin installation.
My setup is:
Adapter 1: Intel PRO/1000 MT Desktop (NAT)
Adapter 2: ditto (host-only adapter)
eth0 Link encap:Ethernet HWaddr 08:00:27:0b:76:bf
inet addr:10.0.2.15 Bcast:10.0.2.255 Mask:255.255.255.0
inet6 addr: fe80::a00:27ff:fe0b:76bf/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:86236 errors:0 dropped:0 overruns:0 frame:0
TX packets:49369 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:69163946 (69.1 MB) TX bytes:3530535 (3.5 MB)
eth2 Link encap:Ethernet HWaddr 08:00:27:a3:26:b8
inet addr:192.168.56.101 Bcast:192.168.56.255 Mask:255.255.255.0
inet6 addr: fe80::a00:27ff:fea3:26b8/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:59 errors:0 dropped:0 overruns:0 frame:0
TX packets:57 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:9148 (9.1 KB) TX bytes:7648 (7.6 KB)
lo Link encap:Local Loopback
inet addr:127.0.0.1 Mask:255.0.0.0
inet6 addr: ::1/128 Scope:Host
UP LOOPBACK RUNNING MTU:16436 Metric:1
RX packets:701 errors:0 dropped:0 overruns:0 frame:0
TX packets:701 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:66321 (66.3 KB) TX bytes:66321 (66.3 KB)
XP is my host. Ubuntu is my Guest in VMware.
When I do the following commands, I should get SMTP respones but now get no response.
I use wireshark to analayze it. Also in wireshark shows nothing.
root@vmware:~# netcat 192.168.1.2 25
220 762462a8c4d Microsoft ESMTP MAIL
Service, Version: 6.0.2600.5949 ready
at Fri, 12 May 2010 18:04:20 +0800
EHLO SAYHELLO VRFY TEST@LOCALHOST
test \
sdfsafsd
How can I fix it?
As you might know sandboxing software doesn't work in 64bit Windows due to patchguard. What are the alternatives for a person looking to test untrusted / temporary software?
Edit: @Nick I'd prefer an alternative to VMs as I'm not happy with the extended startup time, the extra login sequences and the memory overhead that accompanies booting a VM solution to test something out ocassionally as a home user. Also it's another system that needs to be kept secure and up to date.
I'd like to be able to do something like
Host *
HostName *.mydomain.com
...
So I can type something like
ssh test
ssh ci
ssh dev
Instead of having to type
ssh test.mydomain.com
ssh ci.mydomain.com
ssh dev.mydomain.com
Right now I have separate entries for each one, but we have dozens of machines, so I'd rather have a default rather than have to duplicate everything so many times.
I have the following backup batch file:
xcopy C:\test.txt \server\Data\user\"data test" /e /y /i
The issue is why does it not only copy the file listed but proceeds to copy the whole root directory? When i remove the switches it only copies the file. There is nothing in the description of those switches that seems to cause the behavior... They are there because I'm picking up where someone else left and all the batch files use these 3 switches.
Thanks
I already have Windows XP, During installing Ubuntu(dual boot) the disk drive just stuck up at one place and doesn't seem to move ahead..
Is there a disk bad sector mark utility that just marks these sectors so that the disk doesn't seek them later.
I tried running Seagate Seatools on the drive but both the short test and long test fail even before they start even chkdsk /f/r doesn't seem to work as the system locks up at stage four.
I'm using a new terminal emulator. Terminology is the E17 default terminal, and it have a great command, $ tyls with is a "graphical" $ ls
I want to create an alias just for this terminal, because the command "tyls" don't make sense to konsole, rxvt or other terminals.
I'm thinking in some kind of "if" in ~/.bash_profile to test if I'm on terminology and then run the following command:
alias ls="tyls"
But how can I test if I'm in terminology but not xterm? Can someone help me?
Thanks!
Our network of Windows 2003 and Windows 2008 servers suddenly hasDNS issues. There are 7 DCs. Two at our main office and one each at branch sites (one branch has two a 2008R2 and WIN2K3) Only two are WIN2008R2
Running DCDIAG on the WIN2K3 at main site (DC1) reports no issues. Running at any branch site reports two issues All other test pass. The server DC1 can be PINGed by name from any site
Starting test: frsevent
There are warning or error events within the last 24 hours after the
SYSVOL has been shared. Failing SYSVOL replication problems may cause
Group Policy problems.
Starting test: FsmoCheck
Warning: DcGetDcName(PDC_REQUIRED) call failed, error 1355
A Primary Domain Controller could not be located.
The server holding the PDC role is down.
Netdom.exe /query DC reports the expected servers.
netdom query fsmo
This reports the server at the main office holds the following roles:
* Schema owner
Domain role owner
PDC role
RID pool manager
Infrastructure owner
In the DNS management snap-in, DC1 appears as DNS server but does not appear in
_msdcs-dc-_sites-Default-First-Site-Name-_TCP
There is no _ldap or –kerberos record pointing to DC1
Same issue msdcs-dc-_sites- -_TCP
Again there is no _ldap or –kerberos record pointing to DC1
Under Domain DNS Zones there is no entry for the server. This is the case for any _tcp folder in the DNS.
The server DC1 appears correctly as a name server in the Reverse Lookup Zone. There is a Host(A) record for DC1 but in the Forward Lookup Zone there is no (same as parent folder) Host(A) for the DC1 server but such an entry exists for the other DCs at branch sites and the other DC at the main office.
We have tried stopping and starting the netlogon service, restarting DNS and also dcdiag /fix.
Netdiag reports error:
Trust relationship test. . . . . . : Failed
[FATAL] Secure channel to domain 'XXX' is broken. [ERROR_NO_LOGON_SERVERS]
[WARNING] Failed to query SPN registration on DC- One entry for each branch DC
All braches lsit the problem server and it can be Pinged by name from any branch
Fixing is number one priority but also would like to determine the casue.
I have a postfix server configured with imap. Only the recipient with the user account in the system is accepted. For example: rcpt to: test@localhost will yield the following error:
550 5.1.1 <test@localhost>: Recipient address rejected: User unknown in local recipient table
What I want to achieve is setup virtual maps which accepts email to all the users (even if the user doesn't accept in the system) then forward all those emails to a specific user mailbox. Is something like this, possible?
I want to know how or what are the keywords by which a page can be searches on Google.
Is there any tool on web by which I can get keywords for the page I want to search.
Eg. If we search test on Google we will find this .
Now what do i have to search(keywords) to find a particular page lets say abc.com/test.php
Is there any tool by which i can get those keywords?
Sorry if I am not clear with the question?
I'm trying to use nginx for proxying requests to my internal backend.
My configuration reads as follows:
location /Shibboleth.sso {
proxy_pass internal-backend; # ip
proxy_redirect off;
}
But, my redirects are always rewritten.. My backend returns a response like https://www.google.de/test and my browser receives https://www.mydomain.de/test
How do I get nginx to just forward the response?
I'm trying to configure my Debian (6.0) server to forward emails sent to root to a mailing-list.
I set the ML address in /etc/aliases this way:
root: [email protected]
I then called newaliases.
It doesn't work but when I call mail from the command line it works :/
echo "test" | mail -s"test message" [email protected]
If I set my own email address in /etc/aliases it's working too.
Any idea where it could come from ?
Thanks
I'm learning to use IIS 7 but I don't understand how I can make my website available through a domain.
I have a domain as example I will call it www.test.com I have made a website in IIS, running on port 80 and can be viewed by typing the IP of the server in the address bar of my browser.
So if I type www.test.com in the address bar how do I make my IIS website show up, without a redirect of course, I don't want users to see the IP in the address bar.
I have DG43NB mobo, that have onboard X4500 graphics. Its supports 1900 x 1200 Resolution. But my LCD monitor is only capable of resolution 1024 x 768. I have to test some websites in resolution 1900 x 1200, how can i test?
Is there any concept of virtual desktop using which i can simulate resolution 1900 x 1200.
I have windows xp installed.
thanks
I would like to do an automatic audit of bandwidth of my remote offices. I understand that there are many websites where I could ask each user to go to a webpage and run the test. I was hoping there was some software that I could run on our web server and a script that I could send out that would run the test and record the results to a central web interface. The remote sites are all running some form of Windows and the server environment can be Linux or Windows based.
Hi,
I was wondering the steps I can take to change the localhost name to a test development domain name like "website.dev" on Win7 x64 ? Currently, when my test website builds its assigned to 127.0.0.1:81 but I want this to instead have a name like "website.dev" that is accessible on my local network ?
[and sure any Virtual PCs built on this local PC]
I think this is done via the hosts file but I am little unsure how to do this ? Would someone be able to assist ?
Thx
Hello, I have a web server running some PHP that checks for an image (curl -F 'imageName=@myimage') and it also checks the POST data for username=&password=.
When the PHP checks _REQUEST I can just do:
curl -F 'imageName=@myimage' 'http://www.example.com/?upload=1&username=test&password=test'
I need to instead check _POST for username and password due to specs. How can I upload the image and have the username=&password= post data?
Any help appreciated!
we have setup server ,mail server using HMail server and oyr RDNS / PTr is also solved but when do smtp test from mxtoolbox.com we are getting 220 *** kind of message.
our server configuration :
OS : windows XP
Mail Server : Hmail Server
IP : Staic IP
Router : Cisco LInksys WRT12N
is this some thing related to router or what .. becouse if telnet the smtp in the same PC where hmailerver installed we are getting 220 domain.com as message . which is fine for us but when test fromoutside the rotuer we are getting 220 *
how to fix this