Sponsored Content
Full Discussion: dns problem in apache
Special Forums IP Networking dns problem in apache Post 302535877 by programAngel on Saturday 2nd of July 2011 12:02:49 PM
Old 07-02-2011
dns problem in apache

Hi,

I am running scientific linux (which is clone of red hat linux) on virtual machine that is virtual box.
Code:
I tried to start the apache but I got the following message.
starting httpd: httpd: arp_sockaddr_info_get() failed for scientific-linux
httpd: could not reliably determine the server's fully qualified domain name, using 127.0.0.1 for ServerName

and when I try to access the server from my host computer (the host of the guest OS that run in the virtual box) I get a message that it could not reach the server.

How can I solve it and allow the httpd server to consider its IP address as it server name?
 

10 More Discussions You Might Find Interesting

1. IP Networking

DNS problem

Hello! I´ve got a problem with the dns on one of our servers. When i try to look someting up with either nslookup or ping i get the folowing error message. -------------------------------------------------------------------------------- # nslookup sun.com *** Can't find server name for... (4 Replies)
Discussion started by: dozy
4 Replies

2. UNIX for Advanced & Expert Users

Apache and DNS

Hi All Say a customer owns a domain abc.com. The DNS records for abc.com are on DNS servers I do not own. However I own a web server and the customer would like to host his site on this server. If I setup a Virtual Host container within Apache which contains the following for the ServerName and... (1 Reply)
Discussion started by: saabir
1 Replies

3. IP Networking

DNS Problem

Hello Everyone, I am working on a HP-Unix machine and I am trying to get it to use the University's DNS servers. Long story short... the resolv.conf file is ok : nameserver 149.150.51.1 nameserver 149.150.51.2 search shu.edu The hosts file is ok. And when I make the nsswitch.conf file... (1 Reply)
Discussion started by: loslappy
1 Replies

4. Shell Programming and Scripting

DNS problem

sorry guys, I had big problem solving this simple problem..:D hope expertise here can solve this problem. ;; ->>HEADER<<- opcode: QUERY, status: SERVFAIL, id: 1361 ;; flags: qr rd ra; QUERY: 1, ANSWER: 0, AUTHORITY: 0, ADDITIONAL: 0 ;; QUESTION SECTION: ;. IN... (0 Replies)
Discussion started by: unknown2205
0 Replies

5. UNIX for Advanced & Expert Users

DNS problem

Hello again I having a wired problem if use nslookup to check some changes that I made to the blackhole list.First I'll check a site that I know has access throught our sever and it would time out. Then If I'll try it 10 seconds later it would work. Isn't that wierd. But my blackhole list site... (0 Replies)
Discussion started by: aojmoj
0 Replies

6. IP Networking

Apache mod_proxy +DNS slow response problem

My company has a private network, including a Apache web server (Linux) and some WinXP machines. The web server had been configured to use mod_proxy to connect to window update site via another company proxy server. It works for few years. Recently, some parties had setup a DNS server on the... (2 Replies)
Discussion started by: donaldfung
2 Replies

7. Ubuntu

dns problem

hello. i'm running ubuntu desktop 8.04 and i use it ot host some sites (actually i'm trying ) well i'm running to websites (with the same dns,ip) site1.com work fine but site2.com give me this Hmm, site2.com isn't loading right now. The computers that run site2.com are having some trouble.... (2 Replies)
Discussion started by: mazi
2 Replies

8. Red Hat

Mail Problem. Maybe, it is a DNS Problem!

Hi, i've a redhat linux 9 upadated by redhat from 7 version to 9 version. A couple of days ago i was a problem with my mail, in other words i'm not able to get any email nor to send any email. I've a proxy configuration and i tried to set iptables in order to verify the port. The 110,255 and 995... (1 Reply)
Discussion started by: pintalgi
1 Replies

9. Web Development

apache ssl routing 2 dns

Hi i'm looking for some advice on apache ssl routing for 2 url.Fyi one url is certificate is verified by GeoTrust and another url on the other site certificate is verified by Verisgn.Is that possible to routing between this two url. Here is my scenario I have an https:// site running on an... (0 Replies)
Discussion started by: netxus
0 Replies

10. Debian

Need help with DNS problem

I have a standalone PC running Debian 6. DNS stopped working suddenly. I haven't changed anything. Email works because it has the ip address of the mail server. Firefox can apparently fend for itself. nslookup some_url or nslookup some_ip_address returns: nslookup: parse of /etc/resolv.conf... (4 Replies)
Discussion started by: snorkack59
4 Replies
MOD_APPARMOR(8) 						     AppArmor							   MOD_APPARMOR(8)

NAME
mod_apparmor - fine-grained AppArmor confinement for Apache DESCRIPTION
An AppArmor profile applies to an executable program; if a portion of the program needs different access permissions than other portions, the program can "change hats" via aa_change_hat(2) to a different role, also known as a subprofile. The mod_apparmor Apache module uses the aa_change_hat(2) mechanism to offer more fine-grained confinement of dynamic elements within Apache such as individual php and perl scripts, while still allowing the performance benefits of using mod_php and mod_perl. To use mod_apparmor with Apache, ensure that mod_apparmor is configured to be loaded into Apache, either via a2enmod, yast or manual editing of the apache2(8)/httpd(8) configuration files, and restart Apache. Make sure that apparmor is also functioning. Once mod_apparmor is loaded within Apache, all requests to Apache will cause mod_apparmor to attempt to change into a hat named by the URI (e.g. /app/some.cgi). If no such hat is found, it will fall back to attempting to use the hat DEFAULT_URI; if that also does not exist, it will fall back to using the global Apache profile. Most static web pages can simply make use of the DEFAULT_URI hat. Additionally, before any requests come in to Apache, mod_apparmor will attempt to change hat into the HANDLING_UNTRUSTED_INPUT hat. mod_apparmor will attempt to use this hat while Apache is doing the initial parsing of a given http request, before its given to a specific handler (like mod_php) for processing. Because defining hats for every URI/URL often becomes tedious, mod_apparmor provides the AAHatName and AADefaultHatName Apache configuration options. AAHatName AAHatName allows you to specify a hat to be used for a given Apache <Directory>, <DirectoryMatch>, <Location> or <LocationMatch> directive (see the Apache documenation for more details). Note that mod_apparmor behavior can become confused if <Directory*> and <Location*> directives are intermingled and it is recommended to use one type of directive. If the hat specified by AAHatName does not exist in the Apache profile, then it falls back to the behavior described above. AADefaultHatName AADefaultHatName allows you to specify a default hat to be used for virtual hosts and other Apache server directives, so that you can have different defaults for different virtual hosts. This can be overridden by the AAHatName directive and is checked for only if there isn't a matching AAHatName or hat named by the URI. If the AADefaultHatName hat does not exist, it falls back to the DEFAULT_URI hat if it exists (as described above). URI REQUEST SUMMARY
When profiling with mod_apparmor, it is helpful to keep the following order of operations in mind: On each URI request, mod_apparmor will first aa_change_hat(2) into ^HANDLING_UNTRUSTED_INPUT, if it exists. Then, after performing the initial parsing of the request, mod_apparmor will: 1. try to aa_change_hat(2) into a matching AAHatName hat if it exists and applies, otherwise it will 2. try to aa_change_hat(2) into the URI itself, otherwise it will 3. try to aa_change_hat(2) into an AADefaultHatName hat if it has been defined for the server/vhost, otherwise it will 4. try to aa_change_hat(2) into the DEFAULT_URI hat, if it exists, otherwise it will 5. fall back to the global Apache policy BUGS
mod_apparmor() currently only supports apache2, and has only been tested with the prefork MPM configuration -- threaded configurations of Apache may not work correctly. There are likely other bugs lurking about; if you find any, please report them at <http://https://bugs.launchpad.net/apparmor/+filebug>. SEE ALSO
apparmor(7), subdomain.conf(5), apparmor_parser(8), aa_change_hat(2) and <http://wiki.apparmor.net>. AppArmor 2.7.103 2012-06-28 MOD_APPARMOR(8)
All times are GMT -4. The time now is 11:33 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy