RemoteException LOCALHOST is non-local host

Hello RMI gurus,
I am trying to run an example RMI application to get a better understanding of how RMI works, but I have encountered this problem. The error I am getting is this:
Error: RemoteException occured in server thread; nested exception is:
java.rmi.AccessException: Registry.Registry.rebind disallowed;
origin
LOCALHOST/127.0.0.1 is non-local host
I have the rmiregistry running on the default port on the same system that I am trying to run the server part of the program, and am using Java 1.3. Here is how I start the program:
java -Djava.rmi.server.codebase=file:///java/verify/ -cp /java/verify FibonacciServerAlso, I bind my object to rmi with this call in the FibonacciServer class:
Naming.bind("fibonacci", f);
I am guessing it is choking on this.
Any way...thanks in advance for any help with this!
C.M.

Naming.bind("fibonacci", f);
Naming.bind("//localhost/fibonacci",f);You can add rmi: in front of localhost but it is not essential.

Similar Messages

  • Registry.rebind disallowed; origin /11.0.10.31 is non-local host.

    Hello everyone.
    I have a problem.
    I have a server that I register in the RMI registry. Client from a remote machine get the server (as a remote object) and calls his method for the generation of another object on the parameters passed. The server creates this object and tries to register it in the RMI registry, and this raises an exception Registry.Registry.rebind disallowed; origin /11.0.10.31 is non-local host.
    What could be the problem and how to solve it?
    Thanks.

    Ah, this is the problem. It's a bit difficult to explain but if you create an in-JVM Registry and then call rebind() on the result while executing a remote method on behalf of a client, your are doing a local method invocation on the Registry instance so the client host appears to be the calling client rather than yourself. Change the rebind() call to use Naming.rebind() and the problem will go away.

  • Rebind invoked from non-local host (AccessException)

    Hi all,
    I have a simple RMI setup where a client class asks for a new object from a server class, however, I use this call to create the new object on the server and then attempt to register it with the rmiregistry before passing the remote reference back (ie UnicastRemoteObject). This is because I want the client to access a new remote object on the server (the new object may not be serializable).
    The problem is after I tried it with a remote machine, I got an AccessException, Registry.rebind disallowed. This seems to be because you can't get a client (non-local) to affect the registry for security. Fair enough. Although I thought becuase it is a method on the server which does the actual object creation and registration that it IS local and it would work...
    any comments...?
    is there a way around this...?
    Thanks in advance,
    Toby

    Hi...You can rebind a object only from the local machine...RMI does not allow remote binding of the objects because of security reasons and whenever you try to do so you get an Access Exception.
    Hope this Helps.

  • Can't see design view after changing connections file from localhost to a remote host & back again

    I was using localhost to test files before changing the connections document over to a remote host, since I couldn't get dreamweaver to connect to the remote host, I changed back to localhot. My files are all .php files. This is a dynamic site. After I changed my connection back to my local host my design view no longer works. It's competly grey with 3 small icons at the top on the left. I can view in live view and I can view in the browser. But no longer in design view after being able to for 6 months. The 3 icons are a hard drive case, a document, and a link symbol . When I click in code view the design view turns grey when I click in design view it turns white. I am using wamp for the localhost, Windows XP home, Dreamweaver CS5. Can someone please tell me how to go back to design view. This happens with any & all files including non dynamic .html files. Also having a problem connecting to my remote host. using godaddy, and they have tried with me for 2 hours to connect, I just keep getting password is incorrect. Thank you for any help, Stacey

    I would also recommend clearing the Site cache, which may help with the connection failure. To do so, choose Site > Advanced > Recreate Site Cache.
    After doing so, be sure to go back into your Site Setup, and make sure the FTP address, user name, and password are all correct. (Click the Test button in there to verify.)
    If that doesn't help with getting connected to your server, you might try an alternate FTP client (e.g. FileZilla) to just make sure you are entering the right connection information. It could be that GoDaddy is having some issue, or maybe you just mistyped something (I know I do this often when I type too fast).
    As for the issue with Design View, try clearing the Dreamweaver cache. Instructions are here: http://forums.adobe.com/thread/494811
    You might also try toggling the location of Design View. That is, when in Split View, choose View > Design View On Left. Then, choose that menu option again to reset the location back to the right.
    Resetting the workspace might also be recommended. Window > Worksapce Layout > Reset 'name of current workspace'

  • Assigning ip address to local host with 2 interfaces

    Hi,
    I have not received any replies to my question yet. I am not sure if my question is unclear or the information provided insufficient. Please ask for any clarifications if that can help to solve this problem.
    (My final goal is to send a msg using a java program from one node to another using the wireless interface ath0 with aodv routing protocol).
    Thanks.
    Hi,
    I am a newbie, so please forgive me for any mistakes. My linux operating system has an ethernet interface which is already set to an ip by default to 20.20.1.2 I use the following command to assign a random ip addr to the ath0 interface
    ifconfig ath0 192.170.1.1 netmask 255.255.255.0 up
    Now, we have 2 ip address assigned to the local host.
    When I use the foll. statement InetAddress.getLocalHost().getHostAddress(), I get the ethenet ip addr which is 20.20.1.2
    I want to somehow bind the localhost to the ip address assigned to the ath0 interface.
    My initial /etc/hosts file on boot up is :
    127.0.0.1 localhost
    ::1 localhost ip6-localhost ip6-loopback
    fe00::0 ip6-localnet
    ff00::0 ip6-mcastprefix
    ff02::1 ip6-allnodes
    ff02::2 ip6-allrouters
    ff02::3 ip6-allhosts
    and the /etc/network/interfaces file is:
    auto lo eth1
    iface lo inet loopback
    iface eth1 inet dhcp
    I have already read all the posts in this forum relating to InetAddress, and from what I understood I tried a few things like manually assigning this new ip addr to the local host name in /etc/hosts file (which works only partially in the sense that the statement does return the ath0 ip 192.170.1.1 but when I try to ping the local host by name from another machine it still shows that the local host is bound to the ethernet ip 20.20.1.2) and also tried changing the /etc/network/interfaces file so that it also includes the ath0 interface but none of them seem to work.
    Any help in this matter is highly appreciated.
    Thank You.
    Edited by: lbw on May 9, 2008 9:02 PM

    hi jverd,
    I have tried what you have sent but I can't figured out if I supplied the correct parameter.
         public static void main(String[] args)
              String host="10.199.30.59";
              try {
                   String hostname = InetAddress.getByName(host).getHostName();
                   System.out.println("HostName is " + hostname);
              } catch (UnknownHostException e) {
                   // TODO Auto-generated catch block
                   e.printStackTrace();
         }But the result remains: "HostName is 10.199.30.59".
    I was expecting to get "MyComputerName" as local host pc name.
    Thanks..

  • How do you connect Flash Builder to a NON-LOCAL PHP Server?

    Is it possible to connect Flash Builder 4 to a non-local PHP Server?  In my case, I want to connect to a PHP server on my web-host (similar to GoDaddy).
    This seems like a really stupid question, but every single tutorial or forum post I've Googled in the past 2 hours talk about how easy this is but all of them use "...localhost..." in the Root URL and I can't find anywhere in Flash Builder to enter FTP style credientals!
    I do not want to turn my PC into a PHP/SQL/IIS server.  I want to be able to do all of my work remotely as I do with Dreamweaver. 
    I've been trying to do this one simple thing for the better part of 2 days and can't believe how under-documented this feature is.
    Please please please help!
    Thanks
    Charles

    Upload your services to a directory on your host, upload your remoting app (Zend AMF etc) and configure it, then change the end point in your code to the gateway.php on your server:
    yourService.endpoint = "http://www.yoururl.com/pathway-to-your/gateway.php";
    For instance, one of mine are:
    protected function updateButton_Click(event:MouseEvent):void
                    // TODO Auto-generated method stub
                    support_Requests.ticket_id = supportGrid.selectedItem.ticket_id;
                    support_Requests.hub = supportGrid.selectedItem.hub;
                    support_Requests.username = supportGrid.selectedItem.username;
                    support_Requests.contactNumber = supportGrid.selectedItem.contactNumber;
                    support_Requests.email = supportGrid.selectedItem.email;
                    support_Requests.request = supportGrid.selectedItem.request;
                    support_Requests.status = statusButtons.selectedValue.toString();
                    support_Requests.note = noteUpdate.text;
                    supportRequestsService.endpoint = "http://www.not-telling-you-my-url/app-resources/gateway.php";
                    updateSupport_RequestsResult.token = supportRequestsService.updateSupport_Requests(support_Requests);
                    currentState='Home';

  • Is there a way to run using local host ip (127.0.0.1)?

    I am trying to get a working system at home. Obviously I cannot use a dialup
    dynamic IP address, but is there a way to enable iAS 6.0 SP3 to use the
    local host address of 127.0.0.1?
    kas.exe complains 'value of admin host in registry is invalid (localhost IP
    is not acceptable)'. I am running Windows 2000 and I do have a network card
    that I sporadically use to connect a laptop. It appears that with Windows
    2000, I can not use my Ethernet cards PI address unless I actually have it
    connected to a network.
    Any assistance would be appreciated.
    Thanks,
    Bret Hansen

    Yes. Use the loopback adapter.
    Bret Hansen wrote:
    I am trying to get a working system at home. Obviously I cannot use a dialup
    dynamic IP address, but is there a way to enable iAS 6.0 SP3 to use the
    local host address of 127.0.0.1?

  • Event ID 1012 - There was an error while attempting to read the local hosts file

    When I start my Computer after it has been turned off overnight (switched off at the Power supply) I get a Blue screen and have to reboot the PC. in the Event log it has this error: Event ID 1012 - DNS client events - There was an error while attempting
    to read the local hosts file.
    Once the PC has booted evrything is O.K. I can restart the PC with no problems, it only seems to happen if the PC has been switched off for a while.
    I am connected to the net via an Netgear dg834v4 Modem/Router
    Windows 7 Ultimate
    Intel Q8200 CPU
    2 x 360 Gb HDD
    ATI 4680 !Gb Video Card
    Digital HDA X-Mystique 7.1 Sound Card
    Aver media 777 TV Tuner card.
    Thank you
    jeepers01
    After further Investigation it seems that this error is Not responsible for my Blue screening......I started my PC after leaving it off all night, and it started normally, but i still have this error in the Event Log - System.....I have searched the Technet
    forums (and there is a lot of ID 1012 errors) but non relating to my problem....If anyone knows what is causing this error and how to fix it, i'd be Grateful....although it does not seem to affect the PC in any way that i can see.
    thanks
    jeepers01

    Since Windows system uses separated user mode and kernel mode memory space, stop errors are always caused by kernel portion components, such as a third-party device drivers, backup software or anti-virus services (buggy services).
    The system goes to a BSOD because there is some exceptions happened in the kernel (either the device driver errors or the service errors), and Windows implements this mechanism: When it detects some errors occur in the kernel, it will kill the box in case
    some more severe damage happens. Then we get a blue screen or the system reboots (it depends on what the system settings are).
    To troubleshoot this kind of kernel crash issue, we need to debug the crashed system dump. Unfortunately, debugging is beyond what we can do in the forum. A suggestion would be to contact Microsoft Customer Service and Support (CSS) via telephone so that
    a dedicated Support Professional can assist with your request. Please be advised that contacting phone support will be a charged call.
    To obtain the phone numbers for specific technology request please take a look at the web site listed below:
    Microsoft - Help and Support
    If you are outside the US please see
    Microsoft Worldwide Home for regional support phone numbers.
    Meantime we can try some available steps as a general troubleshoot.
    1. Please remove the antivirus and run the system with a period. If the issue does not occur, mainly focus on antivirus settings and compatibility. 
    2. Disable Automatic Restart and see detail information on the blue screen.
    1).Click Start, in the Start Search box enter sysdm.cpl.
    2).Click the tab Advanced. Under Startup and Recovery, click the Settings button.
    3). Uncheck “Automatically restart”.
    4). On the drop-down menu “Write debugging information”, choose “Small memory dump”.
    5). Click OK.
    When Blue Screen displays, you may find some useful information.
    Arthur Xie - MSFT

  • Creating a Socket to non-existent host very slow

    Why does it take a long time to try to create a Socket to a non-existent host on a Linux machine? On a Windows machine it takes approx. 20 sec., but when I try it on a Linux machine it takes approx. 180 sec.!
    Here's the code I'm using (very simple):
    import java.io.IOException;
    import java.net.Socket;
    import java.net.UnknownHostException;
    public class SocketCreator {
    public static void
    main(String[] args) {
    long _begin = System.currentTimeMillis();
    try {
    new Socket("10.10.10.10", 2000);
    } catch (UnknownHostException exception) {
    exception.printStackTrace();
    } catch (IOException exception) {
    exception.printStackTrace();
    long _end = System.currentTimeMillis();
    System.out.println("It took: " + (_end - _begin) + " ms.");
    Some additional info:
    - Java2 SDK 1.1.x, 1.3.x and 1.4.x
    - Windows XP
    - Red Hat 7.2, 9

    This is really a Linux system-wide problem. If you wanted to fix this in Java, you might even have to resort to JNI to sent yourself a signal and interrupt your system call (the system call is connect()).
    Unfortunately, the page give by "man tcp" on Linux is often not kept up-to-date with the many options available in /proc/sys/net/ipv4 .
    Also, access to the local LAN will often give a quick "No route to host" message.
    To test the long-timeout, you have to access a remote IP that does not exist. For instance, on Linux, if you start two xterms, and on the firxt you enter:
    telnet 66.120.89.14
    and on that second your enter
    netstat -an
    You will see something like this line:
    tcp 0 1 192.168.5.18:32836 66.120.89.14:23 SYN_SENT
    So now you know that the socket is sitting in SYN_SENT.
    Now, if you look on a nice, full man page of tcp, like
    http://www.die.net/doc/linux/man/man7/tcp.7.html
    You will see
    tcp_syn_retries
    The maximum number of times initial SYNs for an active TCP connection attempt will be retransmitted. This value should not be higher than 255. The default value is 5, which corresponds to approximately 180 seconds.
    Back on the second xterm, try:
    % cat /proc/sys/net/ipv4/tcp_syn_retries
    5
    I bet you got five also. You could turn it down to two (decreases time to around 20 seconds).
    You could try this as root:
    # sysctl -w net.ipv4.tcp_syn_retries=2
    or even add this command to your /etc/rc.d/rc.local file

  • Failed to get IP address for Local Host (2) , OPMNCTL: opmn start failed

    HI,
    Hi, I have installed on Oracle 10g on Redhat Enterprise Linux V.2.1 . I was able to start OEM without any issues. Recently I had changed the static IP address and I couldn't able to start OPMNCTL and getting the following error while starting opmnctl start. error message is as follows.
    Failed to get IP address for local host(2).....
    Failed to get IP address for local host(2).....
    Failed to get IP address for local host(2).....
    my current configuration in /etc/hosts file is as follows.
    127.0.0.1 localhost.localdomain servername
    After going through some of threads available in Oracle, I have added the static IP address in the /etc/hosts but still I am getting the same error.
    my new hosts file is as follows.
    127.0.0.1 localhost.localdomain servername
    10.21.253.102 localhost.localdomain servername
    I don't know why this is looking for localhost (2). I did not set up any local host (2) and I could not see anything in my network confiuration also.
    could you please help me in this issue? I appreciate your help in this regard.
    Thanks
    venkat

    Hi, i think that the application server part is looking for a /etc/hosts entry
    in this format:
    127.0.0.1 localhost
    As i noticed, this is used for internal communication.
    Try this entry as is, without a domain...

  • Local host

    I am having a tough time getting the local host to work.
    I am using dw 8.0
    firefox 2.0 is my primary
    IE 7.0 is secondary.
    everytime I attempt it I get a connect error.
    it has
    http://localhost/sitename.com/TMP8vew5uykvv.php
    the .php name is not correct. it is a different folder name.
    I am not sure I have it set up correctly under manage sites.

    When you elect to preview using temp files, several things
    happen BEFORE DW
    hands the file to the browser. DW builds a temporary file in
    which -
    1. The content of all include files or externally linked
    files in included
    in the markup.
    2. All root relative links are changed to absolute file links
    so that they
    will work in the page being previewed, for example, this -
    <img src="/images/whatever.jpg"...
    would be changed to this -
    <img src=''file:///c:/.../images/whatever.jpg''...
    (where the "..." represents the absolute path to that images
    folder on YOUR
    hard drive)
    3. The filename for the temp file is a temporary filename
    That is the file that is given to the browser to preview.
    Your problem has nothing to do with those transitions.
    What happens when you browse to
    http://localhost?
    Murray --- ICQ 71997575
    Adobe Community Expert
    (If you *MUST* email me, don't LAUGH when you do so!)
    ==================
    http://www.projectseven.com/go
    - DW FAQs, Tutorials & Resources
    http://www.dwfaq.com - DW FAQs,
    Tutorials & Resources
    ==================
    "IowaHusker" <[email protected]> wrote in
    message
    news:fn25g3$7ep$[email protected]..
    > I"ll search some more. I tried earlier with no luck.
    >
    > thanks
    >

  • 10.4.3 Local Host Aliases vs. Locally Hosted Virtual Domains

    We had been running 10.4.1 for about eight months with no problems.
    1) Under the Local Host Aliases setting in Server Admin (Mail, Settings, Advanced. Hosting) we had only "localhost" listed. All the other virtual domains we hosted email for were listed under Locally Hosted Virtual Domains.
    2) We added all mail users via WGM and only listed one shortname without the "@domainname.com" suffix. I.E. "user1".
    3) All mail account aliases are handled by editing the /etc/postfix/virtualaliasmaps.
    A few weeks ago, we upgraded to 10.4.3. All mail was being rejected with an unknown user message. Checking forums around the net, we saw a post which suggested that all domains previously listed only under Locally Hosted Virtual Domains should also be added under Local Host Aliases for 10.4.3 via Server Admin.
    We did this and all mail began working OK as before the upgrade. However we are getting log entry warnings everytime an email is processed:
    postfix/trivial-rewrite[3921]: warning: do not list domain oneofourdomains.com in BOTH mydestination and virtualmailboxdomains
    I'd like to straighten this out so everybody is happy and no more log warnings occur.
    However, we don't want to:
    1) remove the virtual domains from the Locally Hosted Virtual Domains entries and have them only under Local Host Aliases since there are mail aliases with the same name under different domains, and
    2) we don't want to have to go into WGM and add a domain suffix to each shortname
    Does anyone know what changed between 10.4.1 and 10.4.3 and why? More importantly, how do we best go about correcting this situation. Or is this an Apple bug that will be fixed in the future and we can live with the log warnings until then?
    We've searched all the posts in different forums and haven't seen anything that addresses this problem directly.
    Thanks in advance for your help.
    Don

    We had been running 10.4.1 for about eight months with no problems.
    1) Under the Local Host Aliases setting in Server Admin (Mail, Settings, Advanced. Hosting) we had only "localhost" listed. All the other virtual domains we hosted email for were listed under Locally Hosted Virtual Domains.
    2) We added all mail users via WGM and only listed one shortname without the "@domainname.com" suffix. I.E. "user1".
    3) All mail account aliases are handled by editing the /etc/postfix/virtualaliasmaps.
    A few weeks ago, we upgraded to 10.4.3. All mail was being rejected with an unknown user message. Checking forums around the net, we saw a post which suggested that all domains previously listed only under Locally Hosted Virtual Domains should also be added under Local Host Aliases for 10.4.3 via Server Admin.
    We did this and all mail began working OK as before the upgrade. However we are getting log entry warnings everytime an email is processed:
    postfix/trivial-rewrite[3921]: warning: do not list domain oneofourdomains.com in BOTH mydestination and virtualmailboxdomains
    I'd like to straighten this out so everybody is happy and no more log warnings occur.
    However, we don't want to:
    1) remove the virtual domains from the Locally Hosted Virtual Domains entries and have them only under Local Host Aliases since there are mail aliases with the same name under different domains, and
    2) we don't want to have to go into WGM and add a domain suffix to each shortname
    Does anyone know what changed between 10.4.1 and 10.4.3 and why? More importantly, how do we best go about correcting this situation. Or is this an Apple bug that will be fixed in the future and we can live with the log warnings until then?
    We've searched all the posts in different forums and haven't seen anything that addresses this problem directly.
    Thanks in advance for your help.
    Don

  • Local host give errors 403

    I have a local host set up using XAMPP. Until recently this worked fine. Now, when I try to access files using http://local host, I get error 403 Forbidden.
    == URL of affected sites ==
    http://

    iam using xp professional
    and firefox 3.6.
    i have instled iis
    iam gettin problem in getting localhost
    iamgetting error
    "firefo cannot estblish a connection to the localhost "

  • [SOLVED] Local Hosting Using a Dynamic DNS

    I've been trying to self host a domain to use owncloud with, through www.mydomainname/owncloud.com or something similar. I've gotten a LAMP set up with a virtual host, have signed up with https://freedns.afraid.org/, set the afraid nameservers, set my IP as an A record through my domain provider and have tried to install a dynamic DNS client on my server computer, though I have not gotten successful results. On my LAMP I've set a virtual host for my domain and I've been able to connect to it locally but not outside of my network. I was able to ping my domain that would in result ping my home IP address but now I get an unknown host. I've also tried to set up my DDWRT router with the provided dyndns. At this point I'm not sure what I'm doing incorrectly.
    Another issue I've been having has been finding a working dyndns client, afraid-dyndns-uv from the AUR gives me a hash error, and the only promising client I've been able to find is freedns-afraid, but it's an RPM package and I don't know how to make use of the files in the tarball.
    I can provide any needed configs, though I don't think that a config would be an error as I've been able to start up my httpd service and connect to it locally perfectly fine. I would greatly appreciate any help c:
    Last edited by 0X1A (2013-06-16 20:19:10)

    0X1A wrote:Alright, so the problem with not being able to ping my IP again was with my registrar nameservers, I had to remove the provided nameservers from them and only use the afraid ones. Now I can ping my IP address but I still can't connect to my domain through my LAMP so now I'm guessing it's either a port forwarding issue or a issue with my apache configuration. What exactly should I have on my httpd conf? I have the ServerName set to my domain name, is there something I'm missing?
    My "ServerName" isn't set to anything particularly special. It's "archsystem:80", which is what I call my computer locally. Here's the entire file for reference:
    # This is the main Apache HTTP server configuration file. It contains the
    # configuration directives that give the server its instructions.
    # See <URL:http://httpd.apache.org/docs/2.2> for detailed information.
    # In particular, see
    # <URL:http://httpd.apache.org/docs/2.2/mod/directives.html>
    # for a discussion of each configuration directive.
    # Do NOT simply read the instructions in here without understanding
    # what they do. They're here only as hints or reminders. If you are unsure
    # consult the online docs. You have been warned.
    # Configuration and logfile names: If the filenames you specify for many
    # of the server's control files begin with "/" (or "drive:/" for Win32), the
    # server will use that explicit path. If the filenames do *not* begin
    # with "/", the value of ServerRoot is prepended -- so 'log/access_log'
    # with ServerRoot set to '/www' will be interpreted by the
    # server as '/www/log/access_log', where as '/log/access_log' will be
    # interpreted as '/log/access_log'.
    # ServerRoot: The top of the directory tree under which the server's
    # configuration, error, and log files are kept.
    # Do not add a slash at the end of the directory path. If you point
    # ServerRoot at a non-local disk, be sure to point the LockFile directive
    # at a local disk. If you wish to share the same ServerRoot for multiple
    # httpd daemons, you will need to change at least LockFile and PidFile.
    ServerRoot "/etc/httpd"
    # Listen: Allows you to bind Apache to specific IP addresses and/or
    # ports, instead of the default. See also the <VirtualHost>
    # directive.
    # Change this to Listen on specific IP addresses as shown below to
    # prevent Apache from glomming onto all bound IP addresses.
    #Listen 12.34.56.78:80
    Listen 80
    # Dynamic Shared Object (DSO) Support
    # To be able to use the functionality of a module which was built as a DSO you
    # have to place corresponding `LoadModule' lines at this location so the
    # directives contained in it are actually available _before_ they are used.
    # Statically compiled modules (those listed by `httpd -l') do not need
    # to be loaded here.
    # Example:
    # LoadModule foo_module modules/mod_foo.so
    LoadModule authn_file_module modules/mod_authn_file.so
    LoadModule authn_dbm_module modules/mod_authn_dbm.so
    LoadModule authn_anon_module modules/mod_authn_anon.so
    LoadModule authn_dbd_module modules/mod_authn_dbd.so
    LoadModule authn_default_module modules/mod_authn_default.so
    LoadModule authz_host_module modules/mod_authz_host.so
    LoadModule authz_groupfile_module modules/mod_authz_groupfile.so
    LoadModule authz_user_module modules/mod_authz_user.so
    LoadModule authz_dbm_module modules/mod_authz_dbm.so
    LoadModule authz_owner_module modules/mod_authz_owner.so
    LoadModule authnz_ldap_module modules/mod_authnz_ldap.so
    LoadModule authz_default_module modules/mod_authz_default.so
    LoadModule auth_basic_module modules/mod_auth_basic.so
    LoadModule auth_digest_module modules/mod_auth_digest.so
    LoadModule file_cache_module modules/mod_file_cache.so
    LoadModule cache_module modules/mod_cache.so
    LoadModule disk_cache_module modules/mod_disk_cache.so
    LoadModule mem_cache_module modules/mod_mem_cache.so
    LoadModule dbd_module modules/mod_dbd.so
    LoadModule dumpio_module modules/mod_dumpio.so
    LoadModule reqtimeout_module modules/mod_reqtimeout.so
    LoadModule ext_filter_module modules/mod_ext_filter.so
    LoadModule include_module modules/mod_include.so
    LoadModule filter_module modules/mod_filter.so
    LoadModule substitute_module modules/mod_substitute.so
    LoadModule deflate_module modules/mod_deflate.so
    LoadModule ldap_module modules/mod_ldap.so
    LoadModule log_config_module modules/mod_log_config.so
    LoadModule log_forensic_module modules/mod_log_forensic.so
    LoadModule logio_module modules/mod_logio.so
    LoadModule env_module modules/mod_env.so
    LoadModule mime_magic_module modules/mod_mime_magic.so
    LoadModule cern_meta_module modules/mod_cern_meta.so
    LoadModule expires_module modules/mod_expires.so
    LoadModule headers_module modules/mod_headers.so
    LoadModule ident_module modules/mod_ident.so
    LoadModule usertrack_module modules/mod_usertrack.so
    LoadModule unique_id_module modules/mod_unique_id.so
    LoadModule setenvif_module modules/mod_setenvif.so
    LoadModule version_module modules/mod_version.so
    LoadModule proxy_module modules/mod_proxy.so
    LoadModule proxy_connect_module modules/mod_proxy_connect.so
    LoadModule proxy_ftp_module modules/mod_proxy_ftp.so
    LoadModule proxy_http_module modules/mod_proxy_http.so
    LoadModule proxy_scgi_module modules/mod_proxy_scgi.so
    LoadModule proxy_ajp_module modules/mod_proxy_ajp.so
    LoadModule proxy_balancer_module modules/mod_proxy_balancer.so
    LoadModule ssl_module modules/mod_ssl.so
    LoadModule mime_module modules/mod_mime.so
    LoadModule dav_module modules/mod_dav.so
    LoadModule status_module modules/mod_status.so
    LoadModule autoindex_module modules/mod_autoindex.so
    LoadModule asis_module modules/mod_asis.so
    LoadModule info_module modules/mod_info.so
    LoadModule suexec_module modules/mod_suexec.so
    LoadModule cgi_module modules/mod_cgi.so
    LoadModule cgid_module modules/mod_cgid.so
    LoadModule dav_fs_module modules/mod_dav_fs.so
    LoadModule vhost_alias_module modules/mod_vhost_alias.so
    LoadModule negotiation_module modules/mod_negotiation.so
    LoadModule dir_module modules/mod_dir.so
    LoadModule imagemap_module modules/mod_imagemap.so
    LoadModule actions_module modules/mod_actions.so
    LoadModule speling_module modules/mod_speling.so
    LoadModule userdir_module modules/mod_userdir.so
    LoadModule alias_module modules/mod_alias.so
    LoadModule rewrite_module modules/mod_rewrite.so
    LoadModule php5_module modules/libphp5.so
    <IfModule !mpm_netware_module>
    <IfModule !mpm_winnt_module>
    # If you wish httpd to run as a different user or group, you must run
    # httpd as root initially and it will switch.
    # User/Group: The name (or #number) of the user/group to run httpd as.
    # It is usually good practice to create a dedicated user and group for
    # running httpd, as with most system services.
    User http
    Group http
    </IfModule>
    </IfModule>
    # 'Main' server configuration
    # The directives in this section set up the values used by the 'main'
    # server, which responds to any requests that aren't handled by a
    # <VirtualHost> definition. These values also provide defaults for
    # any <VirtualHost> containers you may define later in the file.
    # All of these directives may appear inside <VirtualHost> containers,
    # in which case these default settings will be overridden for the
    # virtual host being defined.
    # ServerAdmin: Your address, where problems with the server should be
    # e-mailed. This address appears on some server-generated pages, such
    # as error documents. e.g. [email protected]
    ServerAdmin [email protected]
    # ServerName gives the name and port that the server uses to identify itself.
    # This can often be determined automatically, but we recommend you specify
    # it explicitly to prevent problems during startup.
    # If your host doesn't have a registered DNS name, enter its IP address here.
    ServerName archsystem:80
    # DocumentRoot: The directory out of which you will serve your
    # documents. By default, all requests are taken from this directory, but
    # symbolic links and aliases may be used to point to other locations.
    DocumentRoot "/home/http"
    # Each directory to which Apache has access can be configured with respect
    # to which services and features are allowed and/or disabled in that
    # directory (and its subdirectories).
    # First, we configure the "default" to be a very restrictive set of
    # features.
    <Directory />
    Options FollowSymLinks
    AllowOverride None
    Order deny,allow
    Deny from all
    </Directory>
    # Note that from this point forward you must specifically allow
    # particular features to be enabled - so if something's not working as
    # you might expect, make sure that you have specifically enabled it
    # below.
    # This should be changed to whatever you set DocumentRoot to.
    <Directory "/home/http">
    # Possible values for the Options directive are "None", "All",
    # or any combination of:
    # Indexes Includes FollowSymLinks SymLinksifOwnerMatch ExecCGI MultiViews
    # Note that "MultiViews" must be named *explicitly* --- "Options All"
    # doesn't give it to you.
    # The Options directive is both complicated and important. Please see
    # http://httpd.apache.org/docs/2.2/mod/core.html#options
    # for more information.
    Options Indexes FollowSymLinks
    # AllowOverride controls what directives may be placed in .htaccess files.
    # It can be "All", "None", or any combination of the keywords:
    # Options FileInfo AuthConfig Limit
    AllowOverride All
    # Controls who can get stuff from this server.
    Order allow,deny
    Allow from all
    </Directory>
    # DirectoryIndex: sets the file that Apache will serve if a directory
    # is requested.
    <IfModule dir_module>
    DirectoryIndex index.html index.php
    </IfModule>
    # The following lines prevent .htaccess and .htpasswd files from being
    # viewed by Web clients.
    <FilesMatch "^\.ht">
    Order allow,deny
    Deny from all
    Satisfy All
    </FilesMatch>
    # ErrorLog: The location of the error log file.
    # If you do not specify an ErrorLog directive within a <VirtualHost>
    # container, error messages relating to that virtual host will be
    # logged here. If you *do* define an error logfile for a <VirtualHost>
    # container, that host's errors will be logged there and not here.
    ErrorLog "/var/log/httpd/error_log"
    # LogLevel: Control the number of messages logged to the error_log.
    # Possible values include: debug, info, notice, warn, error, crit,
    # alert, emerg.
    LogLevel warn
    <IfModule log_config_module>
    # The following directives define some format nicknames for use with
    # a CustomLog directive (see below).
    LogFormat "%h %l %u %t \"%r\" %>s %b \"%{Referer}i\" \"%{User-Agent}i\"" combined
    LogFormat "%h %l %u %t \"%r\" %>s %b" common
    <IfModule logio_module>
    # You need to enable mod_logio.c to use %I and %O
    LogFormat "%h %l %u %t \"%r\" %>s %b \"%{Referer}i\" \"%{User-Agent}i\" %I %O" combinedio
    </IfModule>
    # The location and format of the access logfile (Common Logfile Format).
    # If you do not define any access logfiles within a <VirtualHost>
    # container, they will be logged here. Contrariwise, if you *do*
    # define per-<VirtualHost> access logfiles, transactions will be
    # logged therein and *not* in this file.
    CustomLog "/var/log/httpd/access_log" common
    # If you prefer a logfile with access, agent, and referer information
    # (Combined Logfile Format) you can use the following directive.
    #CustomLog "/var/log/httpd/access_log" combined
    </IfModule>
    <IfModule alias_module>
    # Redirect: Allows you to tell clients about documents that used to
    # exist in your server's namespace, but do not anymore. The client
    # will make a new request for the document at its new location.
    # Example:
    # Redirect permanent /foo http://www.example.com/bar
    # Alias: Maps web paths into filesystem paths and is used to
    # access content that does not live under the DocumentRoot.
    # Example:
    # Alias /webpath /full/filesystem/path
    # If you include a trailing / on /webpath then the server will
    # require it to be present in the URL. You will also likely
    # need to provide a <Directory> section to allow access to
    # the filesystem path.
    # ScriptAlias: This controls which directories contain server scripts.
    # ScriptAliases are essentially the same as Aliases, except that
    # documents in the target directory are treated as applications and
    # run by the server when requested rather than as documents sent to the
    # client. The same rules about trailing "/" apply to ScriptAlias
    # directives as to Alias.
    ScriptAlias /cgi-bin/ "/srv/http/cgi-bin/"
    </IfModule>
    <IfModule cgid_module>
    # ScriptSock: On threaded servers, designate the path to the UNIX
    # socket used to communicate with the CGI daemon of mod_cgid.
    #Scriptsock /run/httpd/cgisock
    </IfModule>
    # "/srv/http/cgi-bin" should be changed to whatever your ScriptAliased
    # CGI directory exists, if you have that configured.
    <Directory "/srv/http/cgi-bin">
    AllowOverride None
    Options None
    Order allow,deny
    Allow from all
    </Directory>
    # DefaultType: the default MIME type the server will use for a document
    # if it cannot otherwise determine one, such as from filename extensions.
    # If your server contains mostly text or HTML documents, "text/plain" is
    # a good value. If most of your content is binary, such as applications
    # or images, you may want to use "application/octet-stream" instead to
    # keep browsers from trying to display binary files as though they are
    # text.
    DefaultType text/plain
    <IfModule mime_module>
    # TypesConfig points to the file containing the list of mappings from
    # filename extension to MIME-type.
    TypesConfig conf/mime.types
    # AddType allows you to add to or override the MIME configuration
    # file specified in TypesConfig for specific file types.
    #AddType application/x-gzip .tgz
    # AddEncoding allows you to have certain browsers uncompress
    # information on the fly. Note: Not all browsers support this.
    #AddEncoding x-compress .Z
    #AddEncoding x-gzip .gz .tgz
    # If the AddEncoding directives above are commented-out, then you
    # probably should define those extensions to indicate media types:
    AddType application/x-compress .Z
    AddType application/x-gzip .gz .tgz
    # AddHandler allows you to map certain file extensions to "handlers":
    # actions unrelated to filetype. These can be either built into the server
    # or added with the Action directive (see below)
    # To use CGI scripts outside of ScriptAliased directories:
    # (You will also need to add "ExecCGI" to the "Options" directive.)
    #AddHandler cgi-script .cgi
    # For type maps (negotiated resources):
    #AddHandler type-map var
    # Use for PHP 5.x:
    AddHandler php5-script php
    # Filters allow you to process content before it is sent to the client.
    # To parse .shtml files for server-side includes (SSI):
    # (You will also need to add "Includes" to the "Options" directive.)
    #AddType text/html .shtml
    #AddOutputFilter INCLUDES .shtml
    </IfModule>
    # The mod_mime_magic module allows the server to use various hints from the
    # contents of the file itself to determine its type. The MIMEMagicFile
    # directive tells the module where the hint definitions are located.
    #MIMEMagicFile conf/magic
    # Customizable error responses come in three flavors:
    # 1) plain text 2) local redirects 3) external redirects
    # Some examples:
    #ErrorDocument 500 "The server made a boo boo."
    #ErrorDocument 404 /missing.html
    #ErrorDocument 404 "/cgi-bin/missing_handler.pl"
    #ErrorDocument 402 http://www.example.com/subscription_info.html
    # MaxRanges: Maximum number of Ranges in a request before
    # returning the entire resource, or one of the special
    # values 'default', 'none' or 'unlimited'.
    # Default setting is to accept 200 Ranges.
    #MaxRanges unlimited
    # EnableMMAP and EnableSendfile: On systems that support it,
    # memory-mapping or the sendfile syscall is used to deliver
    # files. This usually improves server performance, but must
    # be turned off when serving from networked-mounted
    # filesystems or if support for these functions is otherwise
    # broken on your system.
    #EnableMMAP off
    #EnableSendfile off
    # Supplemental configuration
    # The configuration files in the conf/extra/ directory can be
    # included to add extra features or to modify the default configuration of
    # the server, or you may simply copy their contents here and change as
    # necessary.
    # Server-pool management (MPM specific)
    #Include conf/extra/httpd-mpm.conf
    # Multi-language error messages
    Include conf/extra/httpd-multilang-errordoc.conf
    # Fancy directory listings
    Include conf/extra/httpd-autoindex.conf
    # Language settings
    Include conf/extra/httpd-languages.conf
    # User home directories
    Include conf/extra/httpd-userdir.conf
    # Real-time info on requests and configuration
    #Include conf/extra/httpd-info.conf
    # Virtual hosts
    #Include conf/extra/httpd-vhosts.conf
    # Local access to the Apache HTTP Server Manual
    #Include conf/extra/httpd-manual.conf
    # Distributed authoring and versioning (WebDAV)
    #Include conf/extra/httpd-dav.conf
    # Various default settings
    Include conf/extra/httpd-default.conf
    # Secure (SSL/TLS) connections
    #Include conf/extra/httpd-ssl.conf
    # Note: The following must must be present to support
    # starting without SSL on platforms with no /dev/random equivalent
    # but a statically compiled-in mod_ssl.
    <IfModule ssl_module>
    SSLRandomSeed startup builtin
    SSLRandomSeed connect builtin
    </IfModule>
    # PHP
    Include conf/extra/php5_module.conf
    # phpMyAdmin
    Include conf/extra/httpd-phpmyadmin.conf
    # General shared files
    Include conf/extra/httpd-drcouzelis.conf
    # Angela's files
    Include conf/extra/httpd-angela.conf
    I'm sorry, I'm having a really hard time understanding the terminology you're using (maybe because I'm just not educated enough). Even so, I'll look into what else might be the problem...

  • Spamassassin Ignores Local Host Aliases?

    wacondatrader.com is the primary domain for my server. I also have local host aliases for beloit-kansas.com, kvsvradio.com and plainstrader.com. My ISP has pointed his DNS records to my server and my user account "joe" receives email to all of these domains, as do all of my user accounts setup to use mail services.
    I am running MacOS X 10.4.4 Server (just upgraded from 10.3.9).
    I have Spamassassin and ClamAV running. Junk mail is being scored and filtered, but for wacondatrader.com ONLY. For email sent to any of the other domains, I am not getting any X-SPAM headers in the email to show that Spamassassin has been there. However, I am getting X-VIRUS headers on email to all of the domains. What do I have to do to get my Server's Spamassassin to process email for all of the domains, and not just the primary one?

    If above fix works, none Did you try?
    If not, the output of postconf -n would be a start.
    Plus the settings you chose for content-filtering
    (amavisd.conf is to big to post)
    Also, did you have spamassassin on your Panther
    install already or only since you updated to Tiger?
    I tried your suggestion, but no success. Here is what I wrote on the MacOS X Server mailing list:
    I have wacondatrader.com setup as my primary mail server in the general Mail Services settings pane. I also have several other domains that resolve to my server that I have setup in the Virtual Host Aliases in the Advanced Settings/Hosting panes. I recently upgraded from Server 10.3.9 to Server 10.4.4 and I did NOT have an existing Spamassassin/ClamAV installation. What is there is what the 10.4 installer placed there.
    Is it the default install behavior for only the default domain to be tagged with the X-SPAM tags? I have in the amavisd log, compared an email to the default domain and one to a virtual hosted alias domain, and the log shows that amavis is scanning both for viruses (the X-Virus tags show up in all emails), and it even shows that all emails are being scanned for spam. The ONLY difference is that the log entry that says "SPAM-TAG . . ." is missing from the virtual host alias domains. The virtual host aliases domains even show that a hit count is being generated, so it looks like everything is being processed except the part that adds the spam tag headers to the email. The default domain emails are the only one that the spam tag headers are added to.
    Do I need to assume that I need to modify the amavisd.conf file some how, or should Spamassassin be expected to scan the default domain and virtual host aliases in a default Tiger server install?
    I tried the following advice from the Server discussions board at Apple's support area of their website (and also from similar instructions from this mailing list from about a month ago, that I found by searching the archives):
    In a text editor open /etc/amavisd.conf
    Search for the section that reads:
    @localdomainsacl = ( ".$mydomain" );
    below it add this line:
    @localdomainsmaps = ( 1 );
    Save.
    Stop and Start Mail Services
    I logged into my server locally with the root account, followed the above instructions, opened amavisd.conf in TextEdit, but the desired change did not happen.
    Joe

Maybe you are looking for