Submit Hint Search The Forums LinksStatsPollsHeadlinesRSS
14,000 hints and counting!

How to install Mac OS X Server 10.2.0 on a G4 FW800 OS X Server
Because of a incomptability between the boot ROM on the shipping OS X Server 10.2.0, and the latest G4 FW800, I was facing serious problems trying to install or even boot from the install CD. The following information is a combination of two Apple KBase articles: 107496 and 107124.

First install an OS X Client (minimum version 10.2.3). Be careful to choose a login name no longer than eight characters, because that is the maximum OS X Server allows. Then follow these steps to enable an install of an older OS X Server over a newer OS X Client. Start up normally from the target computer's Mac OS X startup disk, and log in as an Admin user. Then open Terminal (in /Applications/Utilities/) and type:
 % sudo mkdir /Library/Receipts/Previous_Receipts
 % sudo mv /Library/Receipts/French.pkg \
     /Library/Receipts/Previous_Receipts/
 % sudo mv /Library/Receipts/German.pkg  \
     /Library/Receipts/Previous_Receipts/
 % sudo mv /Library/Receipts/Japanese.pkg \
     /Library/Receipts/Previous_Receipts/
 % sudo mv /Library/Receipts/BSD.pkg \
     /Library/Receipts/Previous_Receipts/
When you're done, quit the Terminal. Now install the Server without booting from the Install CD by opening "MacOSXServerInstall.mpkg" inside the "MacOSXServerInstall" directory. There you go!

PS: When trying to update your new system, you have to run at least a Mac OS X Server 10.2.3 Combo Update!
  Post a comment  •  Comments (3)  
  • Currently 1.86 / 5
  You rated: 3 / 5 (7 votes cast)
 
[6,531 views] Email Article To a Friend View Printable Version
Set the localized keyboard in the login window OS X Server
For some unknown reason, the login window keyboard was in English instead of French (OS X server10.2.5). After a long search, I have found the preference to modify.

First, you have to su root, and cd to /var -> root -> Library -> Preferences. Then type pico .GlobalPreferences.plist, and modify the order of the following item in this array:

<key>AppleLanguages</key>
<array>
  <string>French</string>
  <string>English</string>
  <string>German</string>   
  <string>Japanese</string>
</array>
The first <string> will be the keyboard used for typing in the login window. I don't know is this is the same for Mac OS X client.
  Post a comment  •  Comments (6)  
  • Currently 1.67 / 5
  You rated: 2 / 5 (6 votes cast)
 
[5,368 views] Email Article To a Friend View Printable Version
Configuring a headless Xserve with more than two drives OS X Server
Just setting up a new Xserve with four 180GB drives headlessly (no monitor or keyboard attached). All the drives (other than the boot volume) were named the same from apple (ServerHD). In WGM, the drives would just show up as one drive. Also, if I tried to connect via AFP, only one drive would show up. I called Apple and they offered little help to configure it headless, since they don't support CLI tools.

The only work around is to attach a monitor and keyboard and rename the drives the old fashion way.

Just a heads up for anyone who wants to configure a headless Xserve with more than two factory installed drives.
  Post a comment  •  Comments (12)  
  • Currently 1.71 / 5
  You rated: 3 / 5 (7 votes cast)
 
[8,634 views] Email Article To a Friend View Printable Version
Resetting permissions on multiple user folders OS X Server
The permissions on OS X Server home directories can get screwed up during reinstalls, hard drive swapping, or by users who know enough to be dangerous. This shell script goes through and corrects the permissions and owners on all user folders so you don't have to do it manually. Just put this in a text file (without any extension), name it something like "resetusers," and drop it in a command folder like /sbin. Then type sudo resetusers to run it.
#! /bin/csh

cd /Users
set full=`nireport -t my_server/network /users name | egrep -v '(root|user1|user2)'`
chmod -R 700 $full
foreach current ($full)               
chmod 755 $current
chmod -R 755 $current/Public
chmod -R 755 $current/Sites
chown -R $current $current
end
The way this works is:
  1. Switch to the Users folder.
  2. Use nireport -t my_server/network /users name to get a list of the users on the server. If you are not running a NetInfo domain, use nireport . /users name instead.
  3. Use egrep to subtract any users who either have home directories in a different location (like root) or don't have home directories at all.
  4. Make every folder of every user private.
  5. For each user, allow public access to the Public and Sites folders and the top-level user folder.
  6. Make sure the user is the owner of all files in their folder.
If you run into "Operation not permitted" errors on certain files, those files are probably locked. If you want to unlock them, run sudo chflags nouchg filename or sudo chflags -R nouchg foldername.
  Post a comment  •  Comments (13)  
  • Currently 1.50 / 5
  You rated: 2 / 5 (8 votes cast)
 
[12,987 views] Email Article To a Friend View Printable Version
Display resolutions and headless G4 Server reboots OS X Server
Ever tried to remotely restart your Server when there is no monitor attached? OS X automatically defaults to 800x600 on restart, and if you're running OS X Server on a G4 tower, it can be a royal pain in the butt - especially because once it's restarted, you don't get any choices for different resolutions ... and Workgroup Manager requires 1024x768 to run!

Here's a simple solution ... with your display attached, set your preffered resolution using the System Preferences pane. Once that's done, open the Terminal and lock the preference file (com.apple.windowserver.plist file) by typing:
 % sudo chflags uchg /Library/Preferences/com.apple.windowserver.plist
If you want to make changes to your display settings at a later date, you'll have to unlock the file using sudo chflags nouchg... instead of uchg.

Happy remote restarting!
  Post a comment  •  Comments (6)  
  • Currently 1.50 / 5
  You rated: 4 / 5 (6 votes cast)
 
[12,552 views] Email Article To a Friend View Printable Version
Force Server to win the Windows browser election OS X Server
When installing an OSX Server at client locations that required serving to PC's as well as Macs, I ran into problems with PC's winning the browser election instead of the server. Now traditional SAMBA expertise would say that setting the OS level high (like 65 or so) would cause the machine to win the election. But this is no longer true with Win2000 and XP. A Win2000 machine will trump Samba or Win98 regardless of OS level. An XP machine will trump everything else too.

So to solve this you need to edit the registry on the PC's. Here is how I solved it.
read more (224 words)   Post a comment  •  Comments (4)  
  • Currently 2.29 / 5
  You rated: 5 / 5 (7 votes cast)
 
[17,309 views] Email Article To a Friend View Printable Version
Fixing a login window failure on Server OS X Server
My OS X Server 10.2.3 system went through a power outage a few days ago. I rebooted it this morning and it dumped me into the console login just before showing the normal login screen. A look at system.log shows the following: loginwindow[376]: AuthorizationRef doesn't have a userID loginwindow[376]: exiting to console WindowServer[185]: loginwindow connection closed; closing server. I tried a couple of things (fsck, diskutil repairPermissions) before looking at the system log. After that I tried deleting these two files:
/Library/Preferences/com.apple.loginwindow.plist
~/Library/Preferences/com.apple.loginwindow.plist
This fixed the problem -- a good thing, since I'm not sure what I would have done next!
  Post a comment  •  Comments (1)  
  • Currently 2.44 / 5
  You rated: 2 / 5 (9 votes cast)
 
[9,803 views] Email Article To a Friend View Printable Version
Install MovableType on OS X Server OS X Server
With the Help of several people in the Forums (and other sources), I've come up with these directions to install MovableType (a blogging system) on OS X Server so that MovableType uses MySQL as its databasing system.

Read the rest of the article for the how-to...


Panther broken!
read more (306 words)   Post a comment  •  Comments (17)  
  • Currently 1.14 / 5
  You rated: 1 / 5 (7 votes cast)
 
[51,952 views] Email Article To a Friend View Printable Version
Create SLP scopes without Mac OS X Server OS X Server
In "Connect To Server...", all AFP servers show up in the "Local" SLP scope unless the network has been divided into scopes. Here is a method to do this without Mac OS X Server (based on a French Usenet article by Patrick Stadelmann). Just open /etc/slpsa.conf with a text editor and add the following line:
  com.apple.slp.defaultRegistrationScope=My Scope
The name of the scope may contain spaces. After restart, the scope will show up in Connect To Server..., with your computer in it. If there is already an AppleTalk zone with the same name, the list of AFP and Appletalk servers will be merged.

[Editor's note: I have not tested this hint.]
  Post a comment  •  Comments (0)  
  • Currently 1.83 / 5
  You rated: 2 / 5 (6 votes cast)
 
[4,810 views] Email Article To a Friend View Printable Version
Installing ProFTPd with MySQL user tables on Server OS X Server
afp548.com published my article on how to replace the Apple-supplied FTP server with ProFTPd, with authentication through users and groups kept in MySQL instead of NetInfo or a simple passwd file. This is a nice tip if you're looking to serve up a lot of different users on a system without wanting them to be able to login via SSH and such. Read "ProFTPd, for the pro?" for the how-to.

[Editor's note: The article discusses the installation on OS X Server; I don't know for sure, but I suspect it would work as described for OS X Client as well.]
  Post a comment  •  Comments (5)  
  • Currently 2.00 / 5
  You rated: 4 / 5 (6 votes cast)
 
[9,585 views] Email Article To a Friend View Printable Version