Visit Our UNIX and Linux User Community


Migration from solaris to linux


 
Thread Tools Search this Thread
Operating Systems Linux Migration from solaris to linux
# 1  
Old 08-30-2011
Question Migration from solaris to linux

Hi,

Currently I can able to access php script from solaris. I want to access from Linux
I have done the following things:

1) I have copied all the scripts from solaris to linux.
2) I have installed php,mysql,apache.

I tried with http://Hostname/username/test.php . This is not working . Please guild me

For Example:

If i try : http://Solaris Host Name/ then its look like good.

If i try : http://Linux Host Name / then its show page can not be displayed .

Please guild me where am i wrong ?

Thanks,
Mani
# 2  
Old 08-30-2011
You need to set up your a web server i.e Apache webserver it seems to be not installed or even started .
# 3  
Old 08-30-2011
No, See the output

httpd (pid 15925) is running...
# 4  
Old 08-30-2011
What I understand is, you wanted to run apache/php from linux machine, which is currently running fine from solaris machine. Is that so?

Now, shooting in blind, there may couple of problems/queries:
1. Are you trying to access from same host or from some other desktop?
2. Can you check if "Linux" is getting resolved from your desktop? Go to Run->cmd-> nslookup Linux. Also check for nslookup Solaris. If both are getting resolved then your DNS settings are working fine.
3. Can you check if apache process is running? Port 80 is in listening mode or not?
Code:
 ps -ef | grep httpd 
netstat -an | grep "80"

4. Did you copy files to proper DocumentRoot?
And a lot more!!!!

In short, please understand and check basic configuration and reply if still have problems.
# 5  
Old 08-30-2011
1. Are you trying to access from same host or from some other desktop?
Ans : I am using different host name
2 Can you check if "Linux" is getting resolved from your desktop? Go to Run->cmd-> nslookup Linux. Also check for nslookup Solaris. If both are getting resolved then your DNS settings are working fine.
Ans : Its showing Name and address for both of them(Linux/Solaris).

3. Can you check if apache process is running? Port 80 is in listening mode or not?
Ans: I have used both the comments that was working fine.

4. Did you copy files to proper DocumentRoot?
Ans : I have copied the all files properly.

Any guild lines appreciable .
# 6  
Old 08-30-2011
Okay , Try to put an index.htm or index.html in your root directory of the web server
with following code.
and try to call web server in webbroser from localhost and from the other machine by IP.
If it works then your webserver is running very well all you need is to configure Apache and php to integrate

PHP Code:
<html>
<
title>
It Works,
</
title>
<
body>
<
h1>It Works,</h1>
</
body>
</
html
# 7  
Old 09-01-2011
Hi, Sorry for late response

I have checked both server like below

Solaris : http://Hostname/test.html --> its show about php config details.
Linux : http://Hostname/test.html -- > its shows Page can not be found.

Note: I dont know that where that test.html file.

Please advice.

Thanks,
Mani

Previous Thread | Next Thread
Test Your Knowledge in Computers #103
Difficulty: Easy
In 2019, Linux was the most popular Unix variant on the market.
True or False?

10 More Discussions You Might Find Interesting

1. Solaris

Migration from AIX to Solaris

We are going to work on a project which aims at migrating set of applications from AIX to Solaris. The major portion of the source code involves C, C++, Shell/PERL scripts and Oracle database. We are grateful hear about any commercial tools available for porting AIX to Solaris. Another... (2 Replies)
Discussion started by: Namitap
2 Replies

2. Solaris

Experience sharing and questions for NIS migration from Solaris 8 to Linux

I'd like to share some experiences and what I found for NIS migration from Solaris 8 NIS to Linux platform. I'm not an expert for both platforms, it's just when I tested both systems and found something really tricky. That might takes a lot of time for you to find the root cause. So, I think I can... (11 Replies)
Discussion started by: bestard
11 Replies

3. Solaris

Migration of Solaris 10 on physical host to Solaris Zones

Hi All Kindly let me know how can I move Solaris 10 OS running update 10 on physical machine to another machine solaris zone running Solaris 10 update 11 (2 Replies)
Discussion started by: amity
2 Replies

4. Shell Programming and Scripting

ksh script migration from Solaris to Linux.

We are migrating some scripts (ksh) from Solaris 10 to Linux 2.6.32. Can someone share list of changes i need to take care for this ? Have found few of them but i am looking for a exhaustive list. Thanks. (6 Replies)
Discussion started by: Shivdatta
6 Replies

5. UNIX for Advanced & Expert Users

HP_UX to Linux migration

I need set of commands, names and location that differ between HPUX and Linux. I have the same for Solaris to Linux migration guide in Red book from IBM. I need for HPUX and Linux on the same lines. (1 Reply)
Discussion started by: mohtashims
1 Replies

6. Solaris

Migration from AIX to Solaris

Hi All, We are planing to do a migration of our server from AIX 5.3 to Solaris (Linux). But we are not aware about the gap between the both and also impact of that gap. We want to migrate following things, - Common directories setup (like control-M, emer,sysout, and others) - Inbound &... (1 Reply)
Discussion started by: vinod369
1 Replies

7. Solaris

Migration from solaris 8 to 10

Hello, We have upgraded our system from SunOS 5.8 to Solaris 10. I would like to know if the applications (written in c, c++, pro*c, java,..) running on the 5.8 can run on the Solaris 10 without code modification or the need to be recompiled ? thanks you for your help. (4 Replies)
Discussion started by: Jidma
4 Replies

8. HP-UX

Migration from HP-UX to Solaris/Linux

Hi eveyone Ours is an application hosted on HP-UX 11 and we are trying to migrate the server to different flavour of UNIX. We are actually looking at the option of migrating it to Sun Solaris or Linux. We are trying to evaulate the pros and cons of migrating our application to Solaris/Linux.... (6 Replies)
Discussion started by: turaga.krishna
6 Replies

9. UNIX for Advanced & Expert Users

Solaris migration

Hi , There is going to be a server migration from Solaris 8.0 to Solaris10.0. Could anyone give me some tips and documents regarding the steps to be remembered,tips to be followed etc. like syntax differences any new changes to the existing commands and tools we use whatever the... (1 Reply)
Discussion started by: mohanpadamata
1 Replies

10. Solaris

Migration Solaris 5.8 to 10

Hi, it is necessary to make the migration of Solaris 5.8 for Solaris 10, would like to know which the best form to execute this task, if to be able to say me where I can arrange some manual that helps me to make this task. Thanks :o (2 Replies)
Discussion started by: bruno_a_correia
2 Replies

Featured Tech Videos