From: dorayme on 14 Mar 2010 22:04 I migrated my Tiger Powermac start up disk to my Snow Macbook by 1. Wiping MB and installing from DVDs including everything like Rosetta... that was available as options. 2. Using latest Mac combo update for SL to make sure all is up to date. 3. Backing up my Tiger main startup volume to an external HD, bootable copy. 4. Using Migrant Assistant on the MB to migrate the external. 5. When I log in to the account created by the migration (one of the ones that was on my Powermac, I am getting surprisingly good results! I scarcely believe that even my CS PS and Illustrator and Fireworks MX 2004 all seem to work... but I have not used these in anger yet on the MB. Mail seems to be OK. Usenet with MT I think is OK, but I have not fully tested. The desktop was crazy (the migration ignored that I had carefully removed nearly all files from the powermac desktop itself and put all the icons into just three or four folders. But I have sorted this. But come time to look at my created sites (with PHP and includes) that worked on the old machine brilliantly, nothing but confusion! Mostly a notice to say I am unconnected to the internet. I presume this is coming from some config server file and does not really mean what it says. The local web server should work *off line*. I can get some pages to work by moving them directly into the Macbook library/WebServer/documents instead of just into the user Sites folder. I have not got the php or php includes working though. Too complicated to describe in detail now but basically this bit of the migration has not been a success! The sharing panel is rather different and the local http address given is different. I am sort of wondering if the account that I formed when I installed OS 10.6 (call it macbook) should be deleted now. It is the basic installed first user account. The one where nearly everything works for me as before is the imported one (call it powermac). I would really love to be rid of powermac and instead have everything in this user account transferred to the clean "macbook" user account. Have no idea at all how this is to be done right. Am wary of doing anything drastic when so much works. By examining the server I probably can reconfigure things but perhaps there is something I am missing about the differences in server set up between Tiger and Snow. Anyone read anything where it is explained in clear fashion please? -- dorayme
From: David Empson on 15 Mar 2010 00:07 dorayme <dorayme(a)optusnet.com.au> wrote: > I migrated my Tiger Powermac start up disk to my Snow Macbook by > > 1. Wiping MB and installing from DVDs including everything like > Rosetta... that was available as options. > > 2. Using latest Mac combo update for SL to make sure all is up to > date. > > 3. Backing up my Tiger main startup volume to an external HD, > bootable copy. > > 4. Using Migrant Assistant on the MB to migrate the external. > > 5. When I log in to the account created by the migration (one of > the ones that was on my Powermac, I am getting surprisingly good > results! I scarcely believe that even my CS PS and Illustrator > and Fireworks MX 2004 all seem to work... but I have not used > these in anger yet on the MB. Mail seems to be OK. Usenet with MT > I think is OK, but I have not fully tested. The desktop was crazy > (the migration ignored that I had carefully removed nearly all > files from the powermac desktop itself and put all the icons into > just three or four folders. But I have sorted this. > > But come time to look at my created sites (with PHP and includes) > that worked on the old machine brilliantly, nothing but > confusion! Not surprising. In my experience, Apple rarely preserves custom Apache configuration when you upgrade to a later version of Mac OS X, and doesn't attempt to migrate it either. You usually end up with Apple's default Apache configuration. To avoid losing my changes, I make sure I comment each one so I can find them again to reapply them on the new system. Another issue is that between 10.4 and 10.5, Apple switched from using Apache 1.x to 2.x, and the configuration file syntax has changed, as well as the location of the files - they are now in /private/etc/apache2 instead of /private/etc/httpd. You have to identify what you changed in the 10.4 configuration files, and repeat those changes (modified as appropriate for Apache 2.x) in the new system. At a minimum, you would have to re-enable PHP, since it is disabled by default. > Mostly a notice to say I am unconnected to the internet. I presume this is > coming from some config server file and does not really mean what it says. > The local web server should work *off line*. If Safari (or whatever) says you are not connected to the Internet, that is likely to be a client-side issue, not a server-side one. You should be able to connect to 127.0.0.1 without any external network interfaces configured. If your DNS configuration requires an external server, then you might have problems trying to access "localhost" as it may try to do a DNS lookup, which would fail. > I can get some pages to work by moving them directly into the Macbook > library/WebServer/documents instead of just into the user Sites folder. I > have not got the php or php includes working though. You might have a separate issue where the user Sites folders are not enabled by default, or migrated accounts don't have the necessary files to get it working. I recall some issue with the default Apache configuration files which caused this, but I was able to fix it easily. (I think it was in an early version of Leopard, not Snow Leopard.) I'd have to find a computer with fresh configuration to see what might be wrong. I can't see evidence of what I might have changed. The Sites folders are supposed to be enabled through Apache loading the configuration file /private/etc/apache2/extra/httpd-userdir.conf which processes every file in /private/etc/apaches/users/ There should be a file in that directory for each user account, which contains something like this: <Directory "/Users/dempson/Sites/"> Options Indexes MultiViews AllowOverride None Order allow,deny Allow from all </Directory> > Too complicated to describe in detail now but basically this bit > of the migration has not been a success! The sharing panel is > rather different and the local http address given is different. > > I am sort of wondering if the account that I formed when I > installed OS 10.6 (call it macbook) should be deleted now. It is > the basic installed first user account. That is probably the one with ID 501. > The one where nearly everything works for me as before is the imported one > (call it powermac). Probably ID 502. You can find out the ID of your current account with 'id' in Terminal. I find it quite handy having my main account as ID 501, since that is the default user ID on every Mac OS X computer; this means that files copied onto an HFS-formatted USB flash drive from most other Macs look like they are owned by my account without having to muck around with "ignore ownership". > I would really love to be rid of powermac and instead have everything in > this user account transferred to the clean "macbook" user account. Have no > idea at all how this is to be done right. Depends on exactly what you want to achieve in terms of copying preferences, bookmarks, mail accounts, address book, etc. Seletively copying some of this stuff is not straightforward. It is much easier to just keep using the same account and not worrying about "cleaning" it up. If you want to go to the trouble of renaming the account or copying everything from 'powermac' to 'macbook' (with ownership changed accordingly) there are ways to do that. > Am wary of doing anything drastic when so much works. By > examining the server I probably can reconfigure things but > perhaps there is something I am missing about the differences in > server set up between Tiger and Snow. Anyone read anything where > it is explained in clear fashion please? -- David Empson dempson(a)actrix.gen.nz
From: Warren Oates on 15 Mar 2010 08:31 In article <dorayme-7F28F7.13045815032010(a)news.albasani.net>, dorayme <dorayme(a)optusnet.com.au> wrote: > But come time to look at my created sites (with PHP and includes) > that worked on the old machine brilliantly, nothing but > confusion! Mostly a notice to say I am unconnected to the > internet. I presume this is coming from some config server file > and does not really mean what it says. The local web server > should work *off line*. I can get some pages to work by moving > them directly into the Macbook library/WebServer/documents > instead of just into the user Sites folder. I have not got the > php or php includes working though. I've read Mr. Empson's reply, and he seems to understand the Apple and Apache standard setup. How do you use it? He's probably right that the Apache has gone from 1.3.x to 2.x (and PHP has probably gone from 4 to 5). I discovered a long time ago that the best way to do any kind of serious development on an Apple machine is to maintain my own Apache server and PHP distribution separately from Apple's, running on a different port if need be. So instead of Sites, I have ~/apache2/htdocs and so on. That way Apple won't step all over my "stuff" when they upgrade theirs. Do you know what versions of Apache and PHP you were using before your upgrade? -- Very old woody beets will never cook tender. -- Fannie Farmer
From: dorayme on 15 Mar 2010 18:00 In article <1jfelzh.1xh4r52dyxdpvN%dempson(a)actrix.gen.nz>, dempson(a)actrix.gen.nz (David Empson) wrote: > dorayme <dorayme(a)optusnet.com.au> wrote: > > > I migrated my Tiger Powermac start up disk to my Snow Macbook by > > > > 1. Wiping MB and installing from DVDs .... > > 4. Using Migrant Assistant on the MB... > > .... > > > > But come time to look at my created sites (with PHP and includes) > > that worked on the old machine brilliantly, nothing but > > confusion! > > Not surprising. In my experience, Apple rarely preserves custom Apache > configuration when you upgrade to a later version of Mac OS X, and > doesn't attempt to migrate it either. You usually end up with Apple's > default Apache configuration. > .... > ... between 10.4 and 10.5, Apple switched from using > Apache 1.x to 2.x, and the configuration file syntax has changed, as > well as the location of the files - they are now in /private/etc/apache2 > instead of /private/etc/httpd. > > You have to identify what you changed in the 10.4 configuration files, > and repeat those changes (modified as appropriate for Apache 2.x) in the > new system. > > At a minimum, you would have to re-enable PHP, since it is disabled by > default. > > > Mostly a notice to say I am unconnected to the internet. I presume this is > > coming from some config server file and does not really mean what it says. > > The local web server should work *off line*. > > If Safari (or whatever) says you are not connected to the Internet, that > is likely to be a client-side issue, not a server-side one. You should > be able to connect to 127.0.0.1 without any external network interfaces > configured. > > If your DNS configuration requires an external server, then you might > have problems trying to access "localhost" as it may try to do a DNS > lookup, which would fail. > Helps me to know I probably have done nothing easily identifiably wrong re server migration and that there have been significant changes. Looks like I am going to have to study this hard! On Tiger *all* that was needed was an index.html file in the user sites folder and clicking the address given there, the http://10.1.1.3/~user. The option in the sharing panel was called by a name that suggested my very purpose - using a local web server *personally*! - "Personal Web Sharing". But on Snow, the option is differently named ("web sharing"). And the address is http://computername/~user/ Your last comment especially strikes a bell. I just made a test: I logged into the clean macbook account (the one that I set up before migration) and turned on "web sharing" and, being offline on that laptop, went to the address it says in the panel to go - http://computername/~user/ to but "Safari cannot open the page because your computer isn't connected to the internet" http://computername.local/~user/ gets me a "Forbidden" in Safari, "no permission to access..." http://10.1.1.3/~user/ gets a "... can't connect to the server" So maybe I should break this down a bit and first solve this problem first before anything about enabling php, includes and paths for them etc. These latter I might be able to figure later. I have read your rest but I will just reply for now with this to acknowledge your post. Not sure I have time to fiddle with the MB seriously today... Will come back. > > I can get some pages to work by moving them directly into the Macbook > > library/WebServer/documents instead of just into the user Sites folder. I > > have not got the php or php includes working though. > > You might have a separate issue where the user Sites folders are not > enabled by default, or migrated accounts don't have the necessary files > to get it working. I recall some issue with the default Apache > configuration files which caused this, but I was able to fix it easily. > (I think it was in an early version of Leopard, not Snow Leopard.) > > I'd have to find a computer with fresh configuration to see what might > be wrong. I can't see evidence of what I might have changed. > > The Sites folders are supposed to be enabled through Apache loading the > configuration file > > /private/etc/apache2/extra/httpd-userdir.conf > > which processes every file in > > /private/etc/apaches/users/ > > There should be a file in that directory for each user account, which > contains something like this: > > <Directory "/Users/dempson/Sites/"> > Options Indexes MultiViews > AllowOverride None > Order allow,deny > Allow from all > </Directory> > > > Too complicated to describe in detail now but basically this bit > > of the migration has not been a success! The sharing panel is > > rather different and the local http address given is different. > > > > I am sort of wondering if the account that I formed when I > > installed OS 10.6 (call it macbook) should be deleted now. It is > > the basic installed first user account. > > That is probably the one with ID 501. > > > The one where nearly everything works for me as before is the imported one > > (call it powermac). > > Probably ID 502. > > You can find out the ID of your current account with 'id' in Terminal. > > I find it quite handy having my main account as ID 501, since that is > the default user ID on every Mac OS X computer; this means that files > copied onto an HFS-formatted USB flash drive from most other Macs look > like they are owned by my account without having to muck around with > "ignore ownership". > > > I would really love to be rid of powermac and instead have everything in > > this user account transferred to the clean "macbook" user account. Have no > > idea at all how this is to be done right. > > Depends on exactly what you want to achieve in terms of copying > preferences, bookmarks, mail accounts, address book, etc. Seletively > copying some of this stuff is not straightforward. > > It is much easier to just keep using the same account and not worrying > about "cleaning" it up. > > If you want to go to the trouble of renaming the account or copying > everything from 'powermac' to 'macbook' (with ownership changed > accordingly) there are ways to do that. > > > Am wary of doing anything drastic when so much works. By > > examining the server I probably can reconfigure things but > > perhaps there is something I am missing about the differences in > > server set up between Tiger and Snow. Anyone read anything where > > it is explained in clear fashion please? -- dorayme
From: David Empson on 15 Mar 2010 19:21 dorayme <dorayme(a)optusnet.com.au> wrote: > In article <1jfelzh.1xh4r52dyxdpvN%dempson(a)actrix.gen.nz>, > dempson(a)actrix.gen.nz (David Empson) wrote: > > > dorayme <dorayme(a)optusnet.com.au> wrote: > > > > > I migrated my Tiger Powermac start up disk to my Snow Macbook by > > > > > > 1. Wiping MB and installing from DVDs > ... > > > 4. Using Migrant Assistant on the MB... > > > > ... > > > > > > But come time to look at my created sites (with PHP and includes) > > > that worked on the old machine brilliantly, nothing but > > > confusion! > > > > Not surprising. In my experience, Apple rarely preserves custom Apache > > configuration when you upgrade to a later version of Mac OS X, and > > doesn't attempt to migrate it either. You usually end up with Apple's > > default Apache configuration. > > > ... > > ... between 10.4 and 10.5, Apple switched from using > > Apache 1.x to 2.x, and the configuration file syntax has changed, as > > well as the location of the files - they are now in /private/etc/apache2 > > instead of /private/etc/httpd. > > > > You have to identify what you changed in the 10.4 configuration files, > > and repeat those changes (modified as appropriate for Apache 2.x) in the > > new system. > > > > At a minimum, you would have to re-enable PHP, since it is disabled by > > default. > > > > > Mostly a notice to say I am unconnected to the internet. I presume this is > > > coming from some config server file and does not really mean what it says. > > > The local web server should work *off line*. > > > > If Safari (or whatever) says you are not connected to the Internet, that > > is likely to be a client-side issue, not a server-side one. You should > > be able to connect to 127.0.0.1 without any external network interfaces > > configured. > > > > If your DNS configuration requires an external server, then you might > > have problems trying to access "localhost" as it may try to do a DNS > > lookup, which would fail. > > > > Helps me to know I probably have done nothing easily identifiably > wrong re server migration and that there have been significant > changes. Looks like I am going to have to study this hard! > > On Tiger *all* that was needed was an index.html file in the user > sites folder and clicking the address given there, the > http://10.1.1.3/~user. The option in the sharing panel was called > by a name that suggested my very purpose - using a local web > server *personally*! - "Personal Web Sharing". > > But on Snow, the option is differently named ("web sharing"). The previous description's "Personal" was misleading. Enabling the feature (whatever the system calls it) enables sharing of the computer-wide web site located in /Library/WebServer/Documents, as well as personal web sites in every user's Sites folder. > And the address is http://computername/~user/ That's just an easier to remember (and consistent) name. Your IP address might not be the same each time you turn on your computer (depending on how your network is configured). As long as your computer is plugged into some kind of local network (Internet connectivity is not important), then http://your.local.ip.address/~user/ or http://computername.local/~user/ or http://127.0.0.1/~user/ or http://localhost/~user/ should work. If it doesn't, but any of these URLs without the ~user/ suffix are OK, then something is wrong with the Apache configuration associated with accessing your Sites folder, probably in the areas I mentioned in the previous post. > Your last comment especially strikes a bell. I just made a test: > > I logged into the clean macbook account (the one that I set up > before migration) and turned on "web sharing" and, being offline > on that laptop, went to the address it says in the panel to go - > http://computername/~user/ to but "Safari cannot open the page > because your computer isn't connected to the internet" Snow Leopard's Web Sharing panel is wrong. You can't connect to http://computername/ but you should be able to connect to http://computername.local/ (The bare computer name might have worked with AppleTalk, but Snow Leopard doesn't support AppleTalk. It might also work if you are using Samba a.k.a. Windows file sharing.) If I'm plugged into a network, it suggests using my IP address on that network (currently 192.168.20.2). If I'm not plugged into a network, it suggests using the bare computer name, which is wrong. > http://computername.local/~user/ gets me a "Forbidden" in Safari, > "no permission to access..." > > http://10.1.1.3/~user/ gets a "... can't connect to the server" Is that your IP address and are you connected to a local network? Try 127.0.0.1 or localhost, which should always work. > So maybe I should break this down a bit and first solve this > problem first before anything about enabling php, includes and > paths for them etc. These latter I might be able to figure later. > > > I have read your rest but I will just reply for now with this to > acknowledge your post. Not sure I have time to fiddle with the MB > seriously today... > > Will come back. > > > > > I can get some pages to work by moving them directly into the Macbook > > > library/WebServer/documents instead of just into the user Sites folder. I > > > have not got the php or php includes working though. > > > > You might have a separate issue where the user Sites folders are not > > enabled by default, or migrated accounts don't have the necessary files > > to get it working. I recall some issue with the default Apache > > configuration files which caused this, but I was able to fix it easily. > > (I think it was in an early version of Leopard, not Snow Leopard.) > > > > I'd have to find a computer with fresh configuration to see what might > > be wrong. I can't see evidence of what I might have changed. > > > > The Sites folders are supposed to be enabled through Apache loading the > > configuration file > > > > /private/etc/apache2/extra/httpd-userdir.conf > > > > which processes every file in > > > > /private/etc/apaches/users/ > > > > There should be a file in that directory for each user account, which > > contains something like this: > > > > <Directory "/Users/dempson/Sites/"> > > Options Indexes MultiViews > > AllowOverride None > > Order allow,deny > > Allow from all > > </Directory> > > > > > Too complicated to describe in detail now but basically this bit > > > of the migration has not been a success! The sharing panel is > > > rather different and the local http address given is different. > > > > > > I am sort of wondering if the account that I formed when I > > > installed OS 10.6 (call it macbook) should be deleted now. It is > > > the basic installed first user account. > > > > That is probably the one with ID 501. > > > > > The one where nearly everything works for me as before is the imported one > > > (call it powermac). > > > > Probably ID 502. > > > > You can find out the ID of your current account with 'id' in Terminal. > > > > I find it quite handy having my main account as ID 501, since that is > > the default user ID on every Mac OS X computer; this means that files > > copied onto an HFS-formatted USB flash drive from most other Macs look > > like they are owned by my account without having to muck around with > > "ignore ownership". > > > > > I would really love to be rid of powermac and instead have everything in > > > this user account transferred to the clean "macbook" user account. Have no > > > idea at all how this is to be done right. > > > > Depends on exactly what you want to achieve in terms of copying > > preferences, bookmarks, mail accounts, address book, etc. Seletively > > copying some of this stuff is not straightforward. > > > > It is much easier to just keep using the same account and not worrying > > about "cleaning" it up. > > > > If you want to go to the trouble of renaming the account or copying > > everything from 'powermac' to 'macbook' (with ownership changed > > accordingly) there are ways to do that. > > > > > Am wary of doing anything drastic when so much works. By > > > examining the server I probably can reconfigure things but > > > perhaps there is something I am missing about the differences in > > > server set up between Tiger and Snow. Anyone read anything where > > > it is explained in clear fashion please? -- David Empson dempson(a)actrix.gen.nz
|
Next
|
Last
Pages: 1 2 Prev: File compare between ipod and computer? Next: Intel Core i9 Gulftown 12 core processor. |