Mac OS X Lion Server :: Restart Apache With Server-admin Environment Variables Set?

May 21, 2012

With any Unix machine, one can run at the command line:-  apachectl -S This will show all virtual servers configured in Apache, and will break if there are any obvious problems in the httpd .conf files. It's very handy for testing a new configuration before restarting the server. With Mac OS X Server though, this doesn't work properly. Sure, I can run that command and see a virtual server or two, but with the introduction of the server Apache wrappers, the command line tools read a very different configuration than the `serveradmin` tool does.

e.g. Wrappers like:-<IfDefine MACOSXSERVER>
....
</IfDefine>
or <IfDefine WEBSERVICE_ON>

[code]....

ps. Running `sudo serveradmin stop web && sudo serveradmin start web` really compared to `apachectl graceful`; it's painfully slow and doesn't provide a way to test a custom configuration before attempting to restart.

Info:
Mac Pro mid-2010, Mac OS X (10.6.4)

View 2 Replies


ADVERTISEMENT

OS X Server V10.6 Snow Leopard :: Server-admin Lost Config After Restart?

Apr 6, 2012

my problem is that on a restart of one of my 10.6.8 Servers parts of the Serveradmin configs are gone while some of them persists. The lost configs are everytime the same: VPN (complete) and iChat (a secondary but very important Host-Domain). Of course a can restore them from a backup but that shouldn't the standard procedure after a restart.... 

View 11 Replies View Related

OS X V10.7 Lion :: Set PATH Environment Variables When There Is No ~/.profile?

Apr 18, 2012

I have a MacBook Air and just installed MySQL.I read the doc which I downloaded and should be able to run "mysql" from terminal as descibed below:Suppose that your MySQL programs are installed in /usr/local/mysql/bin and that you want to make it easy to invoke these programs. To do this, set the value of the PATH environment variable to include that directory. For example, if your shell is bash, add the following line to your .bashrc file: PATH=${PATH}:/usr/local/mysql/bin I checked on my terminal with ls -al, but no ~/.bashrc also no ~/.profile files.  Echo $SHELL shows me that I am using /bin/bash as shell.When I run export PATH=$PATH:/usr/local/mysql/bin  then it works and I just have to type "mysql" to get the mysql command line but as soon as I kill my terminal and open a new terminal this setting is lost.

Info:
MacBook Air, Mac OS X (10.7.3)

View 1 Replies View Related

Mac OS X Lion Server :: Server Admin Tools 10.7.3 Not Up To Date?

Feb 2, 2012

just installed the Server Admin Tools 10.7.3 but Server Admin and Work-group Manager are still 10.7. Only the System Image Utility is 10.7.3. 

View 7 Replies View Related

Mac OS X Lion Server :: Set Apache To Listen To Certain IP?

Mar 28, 2012

how to set apache to listen to onlt certain ip's?  I tried changing the httpd.conf file using the listen command, but it still listens to all ips. If I adjust the default website to listen to lets say 192.168.2.2:80 it does, but then seems like it breaks server admin, where changes do not save. 

Info:
Lion Server 10.7.3, Mac OS X (10.7.3)

View 2 Replies View Related

OS X Server V10.6 Snow Leopard :: Cannot Login As Root Or Admin Anymore After OSX Update And Restart

Jun 1, 2012

[URL] I can access via server admin but cannot log into the server from the login window at the server itself with the exact same admin credentials that I used through server admin. 

View 5 Replies View Related

OS X Server V10.5 :: Show Page Hits Server Admin?

Feb 22, 2012

Is there any way to retrieve the number of page hits from Server Admin?  All I can seem to find is requests/second but would prefer to have page hit count instead. how to get this number via Server Admin

View 1 Replies View Related

OS X Server V10.6 Snow Leopard :: Server Admin Cannot Connect

Mar 20, 2012

I'm trying to using Server admin on a remote Mac to manage our xserve. Both are running 10.6.8 and I've installed the Server Admin tools onto the mac. Both the Workgroup manager and Server Monitor work OK on the mac, but whenever I try and connect the Server Admin it always comes up with the error : "The login information is incomplete for this server or is not valid. The server failed to accept the login information you provided for <servername>. Check the name and password and try to log on again" I can't connect using the server name, FQDN, or IP address. The macs are all using OD and AD and I've tried both AD and local OD accounts (all administrative) but to no avail. DNS is working OK and I can resolve the server-name with dig and dig -x. I can screen share the server so connectivity isn't the problem. 

View 8 Replies View Related

Software :: Reset All Paths & Environment Variables To Default

Dec 21, 2009

Quite a while back, I had a real problem after installing some software from source that changed a lot of environment variables and stuff. Undoubtably, trying to rectify the situation without enough knowledge just exacerbated the problem.

Anyway, I still have a lot of frustrating problems when working in command line. For example, I just got an error telling me gcc isn't installed. Well that's unlikely, considering how much compiling I tend to do outside command line! However, whereis gcc does nothing.

Basically, I want to just reset all the problems I have caused and just set my paths back to default. I mean everything. Problem is, I dunno what they should be, and I don't know where to start. I know I have to sort my .profile, but even that is a bit taxing.

Which files should I be changing, and what changes should I make

View 2 Replies View Related

OS X Server V10.5 :: Leopard Getting Apache Error In Log

May 3, 2012

I have a Mac mini running Leopard server (10 user) and I am getting an error in the system log: "May 3 14:52:25 mini01 org.apache.httpd[941]: SSLCertificateFile: file '/etc/certificates/Default.crt' does not exist or is empty". I do not have web services running, nor is Apache 1.2 running. I was trying to update to Apache 2.2 but it constantly failed so I just shut web services down (using this system for training NOT critical). How do I stop what appears to be Apache 2.2 from launching/looking for a non-existant SSL certificate?

Info:
Mac mini, Mac OS X (10.5.8)

View 1 Replies View Related

OS X Server :: Editing Root Pages On Apache?

Oct 17, 2010

how can I edit "root" pages, such as [URL] instead of ones under my user directory [URL] on MacOSX 10.5.8?

View 1 Replies View Related

Software :: Unable To Use MAC OSX 10.6 Server Apache Update

Aug 13, 2010

Currently I'm using Apache version 2.2.14 and wanted to upgrade to 2.2.16 but after upgrade I found that it still running in old version.

View 1 Replies View Related

OS :: Server Admin App Can't Connect To The Server?

Feb 9, 2007

On my Xserve, the Server Admin app has quit working. It wascomplaining that the servermgr_info plugin had failed. NowServer Admin reports the following message;
There is no server available at the address you entered. Xserve Dual 1.33GHz G4
10.4.8 Server Admin 10.4.7I have tried repairing permissions; rebooting; deleting the server admin preference file; ran fsck; using the FQDN, or the127.0.0.1 or hostname.local. Nothing works to get server adminto run again. Server won't run on the local xserve, or from another machine remotely.

View 6 Replies View Related

OS :: How Can I Delete Old Server In Server Admin?

Mar 4, 2009

First off: my apologies if this is a redundant post.... but I read through tons of posts with no luck in finding this one. I'm a 20+ year Mac user but new to server set up and this must have an easy answer.I got an "already set up" Panther server that was retired and put to pasture. I wanted to set it up in my home office for my kids to use with the various clients we have there. All I wanted to do was delete the server settings and start anew but am running into DNS issue with the previous server settings still being present in the server admin settings.I do not want this server "seen" outside my home network. I am connected to the net via a Westell 327W router. My internal clients need to see this "server" for AFP/file services but also need to access the web via the DHCP settings coming from the Verizon router.

View 2 Replies View Related

OS X Server :: Mac Integrating Into AD Environment

Aug 28, 2006

-Essentially what im trying to obtain is any and all information that would help me convince a Windows-based IT team that a Mac Server with network home folders is a much better solution for a Mac-based design studio, than trying to create these home folders on a Windows 2003 AD server (which i believe doesn't work).

-I have seen and heard that connecting from a Mac to 2K3 via SMB causes corruption to all sorts of files (not all the time, but some times) -I have read pages and pages of forums listing all sorts of glitches that people using 10.4.X are having with integrating into the AD. -I also believe that "home" folders on the 2K3 box isn't proper Mac "home" folders, but instead is just a sharepoint that isn't capable of taking all the library, prefs folder, etc.

-I need to convince this IT dept that Mac really would be best for the Mac environment, and while i know im right and it would be so much better and work much more reliably, etc, im having trouble digging up really good evidence to hand to them. Anything from Apple's or Microsoft's websites is preferable but at this stage anything will help me out!

Any help is greatly appreciated, my meeting is in about 15 hrs but the info will help me beyond this one particular client.

View 3 Replies View Related

OS X :: Apache Server Won't Start: - Unable To Open Logs

Jun 11, 2010

I am running mac os x 10.5.8. I want to run the apache server, but i get the following error: (2)No such file or directory: httpd: could not open error log file /private/var/log/apache2/error_log. Unable to open logs. It is the first time I try using Web Sharing on my machine, but somehow it seems some files are missing. Is it possible to install the apache server anew?

View 4 Replies View Related

Mac Mini :: OS X Server In Windows Environment

Jul 6, 2010

I am thinking about getting the mac mini server for my fathers business. Everyone uses a Windows machines in his business, so I was wondering if anyone has this setup (with the back end being the mini). I was hoping people could let me know how well it works, and how they use calendars emails without outlook etc.

View 15 Replies View Related

IMac (Intel) :: What Does Apache 2.2.22 (ubuntu) Server Port 80 Forbidden Mean

Jun 5, 2014

What does apache 2.2.22 (ubuntu) server port 80 forbidden user mean?

View 4 Replies View Related

Mac OS X Lion Server :: It Cannot Accept Airport Admin Password

May 18, 2012

Problem detected lately: When managing units (Airport Extreme) the Main Password to manage the Airport is not longer accepted when entered (asked by) server application. The password is valid and I am able to have full control over the base station when I am using the Airport utility application. Reseting and complete new installation of the Airoprt Extreme does not bring the wished result of being capable to manage the Airport Extreme thru Server Software.

View 4 Replies View Related

MacBook Pro :: Turning Into A Forum Server Using Apache - Finding Compatible Software

Jul 19, 2009

I have a 2007 MacBook Pro. I was wondering if it were possible to turn it into a server using Apache. Also, if I used Apache to turn my computer into a server, would it be compatible with SMF or vBulletin and able to host one of these software?

View 3 Replies View Related

Mac OS X Lion Server :: Active Directory And Local Admin Account?

Jun 27, 2012

We have a local Admin account on all Macs, enterprise wide, for local and remote administration.

All Macs are joined to Active Directory. Our users DO NOT have Admin rights. 

On ALL our LION Macs (10.7.4), when joined to Active Directory, we lose functionality to the local Admin account.

We can log into the local Admin account, but the desktop is useless. Nothing opens. We cannot create any files/folders without getting an Access Denied error.

AND then best part... everything on the Desktop, files/folders, are gone! Almost like a bran spankin' new account. With no access to anything locally. 

Info:
Mac Pro, Mac OS X (10.7.3)

View 4 Replies View Related

Mac OS X Lion Server :: Does The Open Directory Export In Admin App Include LDAP Information

Apr 20, 2012

I'm getting ready to migrate our company server to a new server box.  I'm doing a complete clean install, and migrating specific information over (we had some corruptions from the initial installation Lion Server).  All our users are in LDAP, not the Local directory, and I can't seem to figure out (and don't have the ability to test) if using the Ser Admin app's Archive feature of Open Directory, will include all LDAP information.  My understanding is that if I create an archive and restore to it, then all of my users and there information will be put back like nothing happen, but can't get any clarification on it.

Info:
Macbook Pro, Mac OS X (10.7.2)

View 10 Replies View Related

Mac OS X Lion Server :: AD LDAP Connects To Lion Server But Does Not Show Users / Groups

Feb 19, 2012

I have a server in our DMZ that connects to Active Directory LDAP server (non-ssl over 389) but no objects actually show up in the directory editor. I get a green light in my Network Account Server, but queries against LDAP return no results. My end goal is to be able to dictate to Profile Manager what LDAP groups are allowed to enroll devices. I tested on our internal network on a test server and get the same results. Anyone have any luck connecting a Lion Server to LDAP and actually being able to view and utilize users and groups?

Info:
Mac mini, Mac OS X (10.7.3), Server

View 1 Replies View Related

Mac OS X Lion Server :: Data Drive On Server For Student Files But Only Using 40gb And Says Out Of Space?

Apr 16, 2012

I have 1 tb data drive on server for student files but only using 40gb and says out of space. I cannot figure out where the space is located.

Info:
Mac Pro, Mac OS X (10.7.3)

View 1 Replies View Related

Mac OS X Lion Server :: Profile Manager - Not Found The Requested URL /wiki Was Not Found On This Server

May 2, 2012

I have installed Lion Server with Web and Profile Manager services. When I log into the profile manager web page I receive the message "Not Found  The requested URL /wiki was not found on this server." 

Info:
Mac mini, Mac OS X (10.7.3)

View 3 Replies View Related

Mac OS X Lion Server :: 10.7.3 Server Update - Single Sign No Longer Works

Feb 9, 2012

I recently updated my Server running 10.7.0 to version 10.7.3 and single-sign-on no longer works for my users. The 10.7.3 Lion Server System is bound to our Active Directory Server running on Win2003 R2 Server. I tried un-binding and rebinding the system but.. no luck. When a user now tries to login to our shares via AFP with SSO credentials they recieve the message  

I can run the id command from terminal on the OS X server and it is seeing AD users. Unfortunately, no one can log into the server shares via AFP with an AD user. 

Info:
Xserve, Mac OS X (10.6.6)

View 3 Replies View Related

Mac OS X Lion Server :: SSL Server Certificate Does Not Work (copy Of Cert Included)

Mar 12, 2012

I am desperate for help because whatever I do I cannot get my own certificates to work. When I first set up Lion Server a so-called Intermediate CA and a corresponding SSL server certificate was automatically  installed and that works fine. Now, I wanted to create my own Certificate Authority (CA) and a leaf SSL server certificate.[URL]First I created my own CA, and then I created a new certificate with the Server App (ID type "leaf", certificate type "SSL server". (see screenshots below), and I had it signed by my own CA. When I checked the certificate it said "valid".Next, I exported the certificate from the keychain (as .p12) and then I went to Server App's "Import a certificate identity" to drag and drop the certificate onto the window. So far so good.

When I opened the list of certificates (Server App -> Hardware -> SSL -> Edit ) the new certificate showed up once, and after the Server App had tried to install the certificate it simply did not show up any more. I have copied the important parts of the certificate below (private parts have been cropped).The common name and the DNS name  are "myserver.domain.private", and yes, DNS is working fine.(I stopped started services and re-booted in between creating and importing the new certificate.) 

Info:
Mac mini (Mid 2010), Mac OS X (10.7.3)

View 1 Replies View Related

Mac OS X Lion Server :: Software Update Server Blew The Data Limit?

Apr 1, 2012

I don't understand how it happened, but a school I work with has had the SUS rip through 80Gig in a few days (Snow Leopard Server 10.6.8). Same as with my home server (Lion Server 10.7.3).

View 3 Replies View Related

Mac OS X Lion Server :: Web-mail Not Working Since Installing File-maker Server 12?

Apr 18, 2012

Since installing Filemaker Server 12 on our Lion Server 10.7.3, the Webmail is no longer working. I know with previous installations of Filemaker Server I have been asked whether I wanted to keep the system version of PHP or install PHP which comes with Filemaker Server, but I don't recall being prompted about it on this occasion. Previously I had always opted to retain the system PHP.

[code]...

And from the WAN I get just a screen saying webmail is turned off and that I can turn it on by using the Server app on the server (It is already checked in the server app). 

Info:
Mac mini Server (Mid 2011), Mac OS X (10.7.3)

View 1 Replies View Related

Mac OS X Lion Server :: GUI Navigation, Missing Folder Hierarchy Triangle In 10.7.4 Server?

May 23, 2012

not quite so dire if you clicked this wondering ??? And why is this bing posted on Server forum? Well it happens to be on a server and I am trying to iron out what happens when you completely trash the system and start over.  This problem occured in a subdirectory on one folder. It (the triangles ->) are there for all the other folders.  However, there is one folder I had on a backup (backup, meaning still being a previous version of Lion) that at one point that any group of folders I place into it. there is no browsing triangle that lets you go down furthur.  Yes you can open the folder and go further in, so its not prefs that I am aware of.  

At this level...Triangles Here Still? Triangles still here. (Must say in Cookie Monster voice if you've watched the "Cookies done yet" bit you might giggle or at least be mildly annoyed.)

If you browse from this part of the hierarchy you get the expected behavior...Triangles Here Still? Triangles still here. however if you open the folder here is what you get...Triangles Here Still? (uh oh).

[Code]...

Anyway, sorry for the "less professional" candor of this post, but I have kids and a wife, and they think I am boring at times, and I love them - and while I am struggling with this, I am thinking of them, and obviously not with them. Ok Universe, this is where I need you the most: I'm counting on you do to something or say something to make it all better. Ok...Go

Info:
Mac mini, Mac OS X (10.7.4), Lion Server

View 1 Replies View Related







Copyrights 2005-15 www.BigResource.com, All rights reserved