Forum Replies Created
-
AuthorPosts
-
March 18, 2009 at 9:11 pm in reply to: Slow AFP authentication since latest patches with Leopard clients (10.5.5 & 10.4.11 Server) #375749
ElgertS
ParticipantThe client has had their entire network redone since this time following a merger. The problem seems to be resolved now so I don’t have a good answer for you as to what the issue was.
January 21, 2009 at 10:58 pm in reply to: Rebuilding or repairing problematic Leopard Server #375192ElgertS
ParticipantI believe my problem is that I am missing receipts so I can’t run permissions repair and I have failures with these software updates. Where can I get the correct receipt files so I can hopefully rectify this? I have run the delta updates up to 10.5.5, can I drop in the combo updater for 10.5.5 from another server?
January 13, 2009 at 10:47 pm in reply to: Rebuilding or repairing problematic Leopard Server #375134ElgertS
ParticipantI wonder if another directory might have bad permissions. I found .Trashes had group ownership of “_unknown”. I am going to explore further in hopes of finding the culprit.
January 13, 2009 at 10:36 pm in reply to: Rebuilding or repairing problematic Leopard Server #375132ElgertS
ParticipantI was really hoping you had it there, but those look to be fine as far as ownership.
ElgertS
ParticipantFor me the problem was I was using the default admin account, not an account in the Open Directory that had admin privileges.
ElgertS
ParticipantIn our case it was that the ownership for /var/mysql had changed to root. Changing it back to mysql fixed the problem.
ElgertS
ParticipantGallery 2 – Step 5: Download Gallery
Next, make a new database in MySQL using phpMyAdmin or the handly MySQL Adminstrator application for Mac OS X from mysql.com.
Download Gallery using the Full installer:
Decompress and move to your chosen web location. Configure Server Admin as needed to host the website and set the entire directory to be owned by www.
Now, load the url for your new Gallery website and following the installation sequence.
Once completed, authenticate into Gallery and go to "Site Admin" and then to "Modules". Enable the ImageMagick module and provide the location for it:
/usr/local/graphicslibs/bin/
Activate ImageMagick and you will find its controls listed on the left next to GD2. Click on ImageMagick controls and test. If all is well you should see support for PDF, Postscript, EPS, and AI files.
Enable CYMK support if you require it. If you edited the files in the previous step, when uploading a CMYK EPS file, an RGB JPEG preview will be generated for display in a web browser, but the actual asset will remain a CYMK file.
ElgertS
ParticipantGallery 2 – Step 4: Edit ImageMagick
Note: The first part of this step is a total kludge and I hope someone will berate me with the correct solution instead. I have tried to add the location of the Ghostscript binary to the system Profile, but have not had success in getting ImageMagick to find Ghostscript. If you don’t have a problem with this, skip the first half of this step, otherwise:
Edit the following file using Text Wrangler or your favorite text editor:
/usr/local/graphicslibs/ImageMagick-6.2.6/config/delegates.xml
Replace all instances of:
gs
with:
/usr/local/bin/gs
There should be ten instances replaced.
Next, if you are going to be posting any CMYK files you need to adjust Gallery 2.1.1a. Note this may be resolved in a future version of Gallery. Follow the instructions on this url:
ElgertS
ParticipantGallery 2 – Step 3: Download Ghostscript
Next we want to compile Ghostscript to support EPS, Postscript, Adobe Illustrator, and PDF file formats. First, we download Ghostscript:
Make sure you download both Ghostscript and the Ghostscript fonts as both are necessary.
Uncompress on your Desktop and fire up the terminal and cd into the decompressed ghoscript directory on your Desktop. Run the following commands as sudo:
./configure
Once the configure command is done:
make
and when make is complete:
make install
Your final step is to copy the fonts you downloaded to their correct location on your server:
cp -R ~/Desktop/fonts /usr/local/share/ghostscript/fonts
ElgertS
ParticipantGallery 2 – Step 2: Graphics Libraries
Gallery operates with a variety of graphic libraries of which the most comprehensive is ImageMagick. In this project we will use an installer that loads a recent version of ImageMagick and offers two compiled versions to choose from. One is an 8-bit version and the second offers 16-bit image support. 16-bit images are of course larger and should only be used if you have need of 16-bit image support. 16-bit images are mostly for photographic master files and offer greater quality and freedom to manipulate the image without loss in image quality.
Download and install the Graphic Libraries:
ElgertS
ParticipantGallery 2 – Step 1: PHP with GD2 support
If your PHP doesn’t already support GD2, please follow the instructions in the Easy PHP4 and PHP5 project in this same area. You can work with either version of PHP you prefer depending on the requirements of other software you are running on your server.
Also verify you have MySQL configured on your server using either the MySQL Apple ships with Mac OS X Server or your own installation. All versions of MySQL including the new MySQL 5 are supported.
ElgertS
ParticipantAn alternative to this method is to install PHP5 on Tiger Server. Do note, however, that not all AMP software is compatible with PHP5. Some can be made compatible by turning “register_long_arrays=On”.
ElgertS
ParticipantYou are a saint for posting this clean and effective solution to a problem that drove me to distraction on Monday. All the other solutions I found and attempted failed miserably. I can’t thank you enough for taking the time to post this.
On a related note, can anyone verify if the MySQL that Apple ships with Tiger is optimized to run faster than the MySQL you can download from mysql.com? Apple claims this to be the case in answer to an article on AMP performance at Anandtech
ElgertS
ParticipantStep 6: Log into PHP Gift Registry
At this point you can log into the website using the administrator account you configured earlier. You can also invite users to register on the site. Once they register, the system will ask you to approve them before they can log in and begin adding their gift requests.
Each user must make an individual request to other users if they wish to view each other’s gift request lists. Those users must either accept or deny this request.
ElgertS
ParticipantStep 5: Edit db.php
Using an editor, open the db.php file and correctly set the following with your server name, MySQL user name, and MySQL password:
mysql_connect(“host”,”username”,”password”)
or die(“Could not connect: ” . mysql_error()); -
AuthorPosts
Recent Comments