1831599 Members
2599 Online
110027 Solutions
New Discussion

Re: Migration Problems

 
kcpant
Trusted Contributor

Migration Problems

Hi Friends,

I'm working on a migration project from RHL 8.0 server to a new Hardware with RH FC3 . The old server is a sendmail server, a web server +web mail sevrer (apache+ squirrelmail) and using Mysql for web page authentication.

Now, the problems:
1. I've copied /etc/password,group & shadow files to new server, migrated mysql databases, copied /home/user directories and /var/spool/mail to new server. Now, when a user logs in to new server, he can login successfully, but gets a basic bash prompt ( 2.05b$) instead of normal bash prompt. Im not able to understand why it's happening.

2. second thing is, sendmail giving me error " /var/spool/mail/username is not a valid mailbox". Please tell me how I can restore the mail data in new server.

Thanks in advance, any other suggestion regarding migration will be apreciated.
regards,
PreSales Specialist
4 REPLIES 4
njia_1
Trusted Contributor

Re: Migration Problems

Looks like that in Redhat 8.0 the prompt is decided by /etc/bashrc. (for bash shell only of course) In FC 3.0 it may be different.
Steven E. Protter
Exalted Contributor

Re: Migration Problems

You seem to have overwritten either /etc/profile or the users .bash_profile with files with no contents or invalid contents.

You seem to have almost no environment.

If you find a good copy, replicate it.

SEP
Steven E Protter
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
Ivan Ferreira
Honored Contributor

Re: Migration Problems

It seems an ownership problem. Are the owners of the home directories and the mailbox files correct? Also you should verify the permissions of these files.
Por que hacerlo dificil si es posible hacerlo facil? - Why do it the hard way, when you can do it the easy way?
kcpant
Trusted Contributor

Re: Migration Problems

Closing threads open from a long time....
PreSales Specialist