very strange behaviour on unix server


 
Thread Tools Search this Thread
Top Forums UNIX for Dummies Questions & Answers very strange behaviour on unix server
# 1  
Old 02-23-2005
very strange behaviour on unix server

Hi guys, im encountering some very strange behaviour (intermittently) when visiting my domain. We have a dedicated unix server hosting a number of sites with the problem currently reported on one site.

I go to mydomain.com, and am directed to http://www.mydomain.com/?fnf=1

Classified ads are displayed on this page. Viewing the source of the page displays a base href of http://www.mydomain.com/common/roar/landing/rpos/ - the page is adware classified advertising.

The directory does not exist on the server (well not accessible via the virtual directory - so a virtual alais is being set to be displayed at times instead of the actual site. The problem occurs 2/3 times a day and last around 15 minutes. I am unable to connect via FTP when the problem occurs or view any page of my actual site when visiting either using the domain name or the ip address. it is not a local problem due to the issue being reported from people connecting from different geographic locations.

My Hosts Help team are also a little baffled as am I. Is spyware on a unix server a possibility and if so what do you guys recommend i do? If not has anyone enocuntered similar problems or ever seen anything related to /common/roar/landing/rpos/

thanks i really look forward to some advise as im pulling my hair out!
# 2  
Old 02-23-2005
Not too much info here, so I'm taking a wild guess. I would take a long look at DNS. Let's say that www.mydomain.com == 1.2.3.4. So when stuff is working right, your resolver reports that. When stuff isn't working right, your resolver might be returning, say, 2.3.4.5. You can't ftp to www.mydomain.com during this time because 2.3.4.5 has no ftp server. But if you bypass DNS and ftp to the ip address 1.2.3.4 directly, I'll bet it would work. So you need to use nslookup or dig or whatever your version of unix uses and periodically check www.mydomain.com. When it returns something other than the correct address, a DNS expert needs to figure out why. And capture the bogus ip address and track down the owner.

But then again, it could be something else entirely. This is a wild guess.
# 3  
Old 02-23-2005
good idea

i can try this when i encoounter the problem tomorrow morning. Thanks for the info although im quite sure ive tried connecting directly to the IP address i might be mistaken though!

im happy to provide any additional information that you think might help to resolve this, you have provided me with a start which is helpful.

Thank you, ill let you know what i discover..
# 4  
Old 02-27-2005
problem continues

hi the problem continues. I tried ftp using the ip address but recieve the same msg ' connection closed by remote host' A tracert to the ip address and to the domain name are identical.

if theres any additional info i can provide, please let me know. my hosts have not been able to help solve this one!
# 5  
Old 02-27-2005
Quote:
Originally Posted by bolo77
Is spyware on a unix server a possibility and if so what do you guys recommend i do?
I don't think this is a spyware problem.

Neo
# 6  
Old 02-27-2005
My next theory would be an IP address collision. Under this scenario, some other system on the same subnet has the IP address as the system in question. To check this out, you will need to be on the same subnet as the system in question. Display the arp table, probably with the command "arp -a". This will show the mapping between IP addresses and ethernet addresses. Sometimes the ethernet address will be right and sometimes it will be wrong. The solution, of course, will be to give each system a separate IP address.
# 7  
Old 02-27-2005
Quote:
Originally Posted by bolo77
Viewing the source of the page displays a base href of http://www.mydomain.com/common/roar/landing/rpos/ - the page is adware classified advertising.
BTW, I looked at the source and did not see the base reference above in the source code.
 
Login or Register to Ask a Question

Previous Thread | Next Thread

9 More Discussions You Might Find Interesting

1. Shell Programming and Scripting

Strange behaviour on my Linux Server.

Hi, I keep getting this error when i run my script: No matter how many times i run this rm -rf /siebel/sfs/tmp/dump it succeeds when i expect it only the first time to succeed becoz i expect the second to fail as the directory should be gone in the first run. i had earlier mentioned... (5 Replies)
Discussion started by: mohtashims
5 Replies

2. Shell Programming and Scripting

Strange RegExp Behaviour

Hello, I was trying to identify lines who has a word of the following pattern "xyyx" (where x, and ys are different characters). I was trying the following grep - egrep '(\S)()\2\1' This pattern do catches the wanted pattern, but it also catches "GGGG" or "CCCC" patterns. I was trying to... (5 Replies)
Discussion started by: itskov
5 Replies

3. HP-UX

Strange login behaviour

Hi all, I am using HP-UX and I have just noticed that when I log into the network it seems to save the previous windows that were subsequently closed on previous occasions. Does anyone know when I log in, it seems to display these previous windows, e.g. nedit windows open again? Does... (1 Reply)
Discussion started by: cyberfrog
1 Replies

4. Shell Programming and Scripting

Strange behaviour with perl i/o?

Hi All, I got a strange problem here. I have a perl script which is fetching data from a database table and writing a file with that data. If i run that script from linux command line, the file it creates is a normal ascii text file without any binary character in it.But... (9 Replies)
Discussion started by: DILEEP410
9 Replies

5. Shell Programming and Scripting

strange behaviour from sed???

Hi all, I want to do a very simple thing with sed. I want to print out the line number of a disk I have defined in /etc/exports, so I do: It's all good, but here's the problem. When I define md0 in a variable, I get nothing from sed: Why is that? can anybody please help? Thanks (2 Replies)
Discussion started by: alirezan
2 Replies

6. UNIX for Dummies Questions & Answers

Strange Program behaviour

Had a strange thing going on with my code. It's ok I figured it out for myself.... (2 Replies)
Discussion started by: mrpugster
2 Replies

7. UNIX for Advanced & Expert Users

Strange sed behaviour

$ echo a.bc | sed -e "s/\|/\\|/g" |a|.|b|c| $ Is the behavior of the sed statement expected ? Or is this a bug in sed ? OS details Linux 2.6.9-55.0.0.0.2.ELsmp #1 SMP Wed May 2 14:59:56 PDT 2007 i686 i686 i386 GNU/Linux (8 Replies)
Discussion started by: vino
8 Replies

8. Shell Programming and Scripting

A Strange Behaviour!!!

Can some-one give me a view to this : I have a directory in an unix server, having permissions r-xr-xr-x .This directory is basically a source directory. Now there is another directory basically the destination directory which has all the permissions. Note:I log in as not the owner,but user... (5 Replies)
Discussion started by: navojit dutta
5 Replies

9. Linux

/etc/passwd strange behaviour!

Hi there, first of all, here is my conf of a uname -a Linux SAMBA 2.4.18-4GB #1 Wed Mar 27 13:57:05 UTC 2002 i686 unknown on a fedora machine. Here is my problem: every once in a while, the line containing root disappears in the /etc/passwd, disabling all logging on my server. Any one have... (0 Replies)
Discussion started by: penguin-friend
0 Replies
Login or Register to Ask a Question