Software :: Apache Won't Start (Gentoo): Could Not Find IPv4 Address
Jul 23, 2011
I installed it the standard way using emerge/portage, but it fails to start:
Code:
alpha skyer # /etc/init.d/apache2 start
* Caching service dependencies ... [ ok ]
* Starting apache2 ...
apache2: apr_sockaddr_info_get() failed for alpha
apache2: Could not reliably determine the server's fully qualified domain name, using 127.0.0.1 for ServerName [ !! ]
* ERROR: apache2 failed to start
I'm used to have Apache unable to find pc's FQDN, as I don't set it, and it works without it.
From /var/log/apache2/error.log
Code:
[Sat Jul 23 06:41:12 2011] [alert] (EAI 2)Name or service not known: mod_unique_id: unable to find IPv4 address of "alpha"
Computer has IPv4 address set. I suspect that the nature of the problem is in the fact, that alpha has two network interfaces (it is used as router also). I've checked Apache conf files, but didn't find any meaningful directives to set interface or something similar.
View 1 Replies
ADVERTISEMENT
Dec 17, 2015
I am setting up a server on a Intel Nuc PC. I have a problem though. I cannot get it to find a IPV4 address.
View 14 Replies
View Related
Jan 29, 2010
I just installed Fedora core 11 and am trying to get httpd to start, but it gives me a [failed] message. When I run it with -e DEBUG, I get an error message like: "failure in name resolution, unable to find IPv4 address of 'uaserver'" In the httpd.conf I have my hostName set to localhost.
View 7 Replies
View Related
Nov 16, 2010
what is the size of an IPV4 IP address?
View 2 Replies
View Related
May 31, 2011
When doing the ifconfig command I only receive the IPV6 address. How do I specify that I need the IPV4 address???
View 3 Replies
View Related
Sep 22, 2009
Linux has duplicate address detection mechanism for IPv6 and nothing for IPv4 in kernel. At boot time, initscripts take care to check for the duplicate address but when an IP address is assigned using ifconfig or ip utility, no error is generated.
View 2 Replies
View Related
Aug 14, 2010
I can connect & share my dual-boot PC with no problems under WinXPPro using wired or wireless. (I've another thread going trying to get the wireless-n usb adapter to work.) Two questions so I can get the wired shares to work. I want to copy beaucoup files from the Win7 PC to the dual-boot PC. When booting into XP, no problems. When booting into Ubuntu 10.04, nothing. I can see the Win7 PC but can't access it. My two questions then are these. First, is there some switch to enable fire & drive sharing under Lynx as there is under WinXP / 7? (Samba??) Second, how does one set the IPv4 address? Under WinXP it's one address and under Lynx it's another.
View 1 Replies
View Related
Aug 2, 2010
I am new to Linux so thought it would be a good learning exercise to try and setup an FTP server using linux.I have downloaded and installed Ubuntu 10 server edition and installed vsftpd, following instructions found on here I have configured the software and I can connect from an FTP client on my windows PC across the internal LAN.I have a couple of questions if I may:
1) a post on this forum suggests that local users can access the FTP server if the correct line is enabled in vsftpd.conf - I have done this and the fact that I can access it shows this is working I would think, however users added subsequently with the useradd command cannot access the server. Filezilla shows a could not connect to server error.
2) how do I give the server a fixed IPv4 address? It is currently using DHCP
3) I need to be able to put files into users folders for them to access offsite, but I don't want them to see each others filesfolders, can I do this?
View 5 Replies
View Related
Sep 1, 2011
On my 10.04 LTS Ubuntu Server installation, apache2 doesn't bind to ipv4. It does bind to ipv6. I didn't notice this at first, because from my home connection I could visit the webpages without trouble. I noticed it running netstats -ta:
Code:
tcp 0 0 localhost:10024 *:* LISTEN
tcp 0 0 localhost:10025 *:* LISTEN
tcp 0 0 localhost:mysql *:* LISTEN
tcp 0 0 localhost:spamd *:* LISTEN
[Code].....
View 2 Replies
View Related
Jan 5, 2011
how to make a Ubuntu 10.04 server VM look for an IPv4 address if it doesn't seem to by default?
View 3 Replies
View Related
Dec 5, 2010
I am new to slackware and linux at all. Today I have installed slackware 13.1 on my PC. Everything seems fine. Furthermore, I successfully installed mysql and edited the http.conf file throughout vim(this was also new to me). I discommented the line where it says "Include /etc/httpd/mod_php.conf" and moreover changed "DirectoryIndex index.html" to "DirectoryIndex index.php".
I assumed that the library "libltdl.so.7" is missing. When I tried to google it, I cannot find a proper version for slackware.I sincerely apologize if I have posted the thread in the wrong section.
View 2 Replies
View Related
Feb 25, 2011
I want to modify apache IPv4 configuration to IPv6 configOn both windows and ubuntu.
View 1 Replies
View Related
May 9, 2011
I am using Fedora 14 (64 bit version) Can't start XAWTV. Returns this error: $ xawtv This is xawtv-3.99.rc6, running on Linux/x86_64 (2.6.35.12-90.fc14.x86_64) xinerama 0: 1920x1080+0+0 WARNING: No DGA direct video mode for this display. WARNING: keeping fbuf pitch at: 7680, as no base addr was detected WARNING: couldn't find framebuffer base address, try manual configuration ("v4l-conf -a <addr>") v4l2: WARNING: framebuffer base address mismatch v4l2: me=(nil) v4l=(nil) Warning: Missing charsets in String to FontSet conversion Warning: Missing charsets in String to FontSet conversion Oops: can't load any font
View 1 Replies
View Related
Oct 29, 2010
I'm forging a gateway server, We have 2 Internet connection that goes to a load balancer router, and goes to my centos server and from our server goes to a switch for Internet distribution or routing.
OS-CentOS 5.5
[root@server etc]# uname -srio
Linux 2.6.18-194.el5 i386 GNU/Linux
My eth0 and eth1 has the following configuration and IP
[root@server etc]# cat /etc/sysconfig/network-scripts/ifcfg-eth0
# VIA Technologies, Inc. VT6105/VT6106S [Rhine-III]
DEVICE=eth0
BOOTPROTO=none
[code]....
Disabling IPv4 packet forwarding but i already changed it to 1 at sysctl.conf One of the online forum says i need to configure the named.conf deleted some and run it(named.conf) and successful but still when I run network service I still get the :"Disabling IPv4 packet forwarding: net.ipv4.ip_forward = 0" The network is getting the IP range but it doesnt get any Internet connection.
View 3 Replies
View Related
May 21, 2009
I'm trying to get CUPS running on a Gentoo install. When I try to start it it complains about libgnutls.so.13 not existing. I googled it and updated gnutls to the latest version and tried a sym-link to libgnutls.so.26.11.5, all to no avail.
View 2 Replies
View Related
Aug 4, 2011
If I give "ifconfig" in my laptop I get eth0,lo,wlan0.In that where do I find my Ip address in Ubuntu in 10.04. In eth0 I dont find inet address.Where can I find it?
View 2 Replies
View Related
Feb 16, 2010
I am trying to find out the mac address of the eth0 port on linux probe. This port is controlled by kernal and hence I don't have control over it. How do I find out the mac address of this port ? Is there any system call which will take the ip address and will do the lookup on the linux's ip table to get the mac address ?
View 6 Replies
View Related
May 11, 2010
i want to start apache and ktorrent on the systems start up, is there a program that will do it for me or do i need init scripts?
View 2 Replies
View Related
Feb 13, 2011
I have installed and configured Apache (Apache2). And I have website running so I wanted to configure it to run with an IP Address And I Searched Google and I can't find it.
View 5 Replies
View Related
Apr 4, 2011
I want to point my apache to ip address. Before this I point it to my /var/www/spec and I want to change it to ip address. So that when I enter my ip address my script code will appear.
View 1 Replies
View Related
Feb 25, 2010
I've setup a Ubuntu 9.10 LAMP server to host a word press blog on an intranet. I've got everything working except the url for the site.The IP address of the server will take me to the site URL.../But I'd rather use the server's name instead of the IP address URL...When i try to go to URL... in Firefox or IE it give me a server not found page and changes the URL to URL...I also have Webmin installed on the server and I've been playing around with the Apache module and can't figure out how to set it so i can use the server name instead of the IP address to get to the site.
View 6 Replies
View Related
Jul 2, 2010
What is the (officially) proper way to configure Apache so that a given IP address can have two or more virtual host names, each going to different distinct configurations (e.g. with different DocumentRoot, Alias, etc), and also do this for the IP address so that it goes to a designated configuration rather than defaulting to the first or a random host name?
Apache documentation does not appear to address this. If so, it has it hidden in a non-obvious place.
View 7 Replies
View Related
Jun 6, 2011
I am trying to get apache to listen to specific IP address and I have read up of the listen command (http://httpd.apache.org/docs/2.0/bind.html) I can get virtual sites to work but not the apache it self.
View 5 Replies
View Related
Mar 20, 2010
my Apache2 was running fine for a while. Bur yeserday when I tried to start it again after a couple of weeks of vacation, I got the message:
* Starting web server apache2 [Sat Mar 20 10:48:12 2010] [warn] The Alias directive in /etc/phpmyadmin/apache.conf at line 3 will probably never match because it overlaps an earlier Alias.
[code]....
View 7 Replies
View Related
Oct 25, 2009
i have installed fedora 11..when iam opening my apache default test page using
http://localhost its opening but when iam trying to open the same using my ip address i.e. http://172.31.73.4 its not opening..instead iam gettin an error message like this in firefox
ERROR
The requested URL could not be retrieved....While trying to retrieve the URL: http://172.31.73.4/can anyone tell me whats the problem because till now i was using fedora 8 and while using apache i never got this sort of problem..
View 1 Replies
View Related
May 17, 2010
I have no idea what is going on here and this is the second time it has done this but. I just installed Lucid Lynx Desktop Edition for my Server. I have installed apache php5 mysql binarys. I have 3 ips on the machine 10.0.1.30, 10.0.1.37, 10.0.1.38. .30 is the main ip 10/100 the rest are 10,100,1000 ports. I can only access Apache 2.2 over .37 or .38 but not .30
I have not used Ubuntu alot but I am starting to and this really pisses me off since all my computer have aliases to the machine through .30
View 5 Replies
View Related
Jun 2, 2011
I've been for a while trying to configure my apache to host 5 domains as virtualhosts in the same IP address, but seems that neither one makes it through... it always takes first one, because it is the default:
NameVirtualHost *:80
<VirtualHost *:80>
ServerAdmin xxxxxxx@xxxx.net
[code]....
As you can see I tried the ServerName with the http://, in quotes, without it...
View 11 Replies
View Related
Feb 22, 2011
I am trying to run two web servers (Virtual Hosts) on a single Linux Centos 5.5 box with a single IP address 192.168.0.182. I did all the pre-installation requirements such yum install mysql, yum install mysqladmin, service httpd start, service mysqld start etc etc.In /var/www/html directory, I have two folder called server1 and server2. These two folders have the necessary web server php script files and folders. I opened the browser and managed to install the script on one web server successfully. When I put the IP address 192.168.0.182 on the browser address bar, the page loads without any problem. Now I would like to be able to install the other web server script and I don't know how to?Here is my httpd configuration;
<VirtualHost *>
DocumentRoot /var/www/html/server1
ServerName development.mysite.com
[code]....
View 15 Replies
View Related
Jul 29, 2010
I want to restrict the access to my local web server by IP address. Im in a LAN (192.168.200.xx) so i have this:
[code]....
But when i try to connect from 192.168.200.4 it says i don't have permission to access
View 1 Replies
View Related
Nov 9, 2010
When try rcapache2 start
Starting httpd2 (prefork) startproc: exit status of parent of /usr/sbin/httpd2-prefork: 1
or
Warning: found stale pidfile (unclean shutdown?)code...
View 1 Replies
View Related