my local server here is not reachable when I type on the hostname so I am wanting to know if I am on the machine via ssh (I have a monitor and keyboard plugged into the tower)
How do I figure out what the servers IP address is? I have ubuntu server 9.10 and I looked at the etc/host, etc/hostname files and they have the correct server hostname
Is it possible to run two servers through one ip address? And I don't mean through apache to run virtual servers. Right now my set up is: Cable modem>router>server.
I am using Ubuntu Server 10.04 64bit. I am getting an Apache2 start up error after I setup my certificates and configure Apache2 for HTTPS. At the point on start up where I need to type in my certificate pass code I get a lockup due to the Apache2 process being in a hung state. I reboot if needed and switch to console tty2. When I type in the command.
Code:
I get the following error.
Code:
To correct the problem I do this.
Code:
From the output of the command above I look for the apache2 process and make note of its process ID. Then, I kill that process ID. For example, the command below has an apache2 process ID of 1131.
Code:
Next, when I run this command.
Code:
The apache2 server starts up and asks for my certificate password, accepts it when I type it in, and runs perfectly fine afterward.
Fortunately this instance of Ubuntu Server is running inside a VMWare virtual machine. I can just "pause" the virtual machine if I need to rather than going through this crude and tedious start up process too frequently.
Crude and tedious are feelings I'm having too frequently lately with Ubuntu Server.
I am running Ubuntu Server 10.04 on an old desktop PC. But after some uptime (not sure exactly how long) it simply loses connectivity. Odddly, I can get on to the Server (Plug a monitor and keyboard in) and connect out (ie use lynx to go online or ping various websites) but I can't connect in from anywhere. I can't connect on the same LAN and I can't connect to it from the WAN IP address.
I have http, squid http proxy, webmin, and ssh running. I can connect to none of them when this happens. I am using ufw (I don't need the versatility of iptables... too complicated for my needs). ummm I can't think of anything else extremely pertinent....
if i wanna monitor a ip address like 198.168.71.23should i edit switch.cfg or localhost.cfg?or other configure file?2nd question is about sambai did install every samba packages for folder sharingbut i still got error msg 'no such file/folder' when i start samba in terminali tried to restart nmbd and smbd; they r not working to fix this problem
Ubuntu Server 9.10, with apache, proftpd, mysql and the goodies.
I have wordpress installed and setup under /var/www/
The LAN IP address resolves perfectly to the index.php
However I can not get my WAN IP to resolve. My ISP blocks port 80, so I have my router setup to forward port 81 externally to port 80 of my server. I know the port forwarding is setup correctly and working, because I can go to websites like url and test that port 81 is indeed open.
I also have DynDNS setup on my router and through an account with them, to update my IP address with any changes, to a host name. But because port 80 is blocked I have to access it with, host.name.org:81. Ive had this system up and running before with no issues. Now I can not get the host.name.org:81 to resolve.
Neither can I get my ip address xx.xxx.xx.xxx:81 to resolve.
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.
I need to Install MySql Server somewhere that I can access. Instead on installing it in a Windows box like I have for years, I'm thinking of putting it on a Ubuntu Server box (or virtual machine) instead. Should I do it on a Ubuntu Server or a Ubunto desktop box? I have never installed Ubuntu as a server, is it more or less the same as installing the desktop version? Lastly, is there multiple versions of Ubuntu where one might be more appropriate than another? All I want is a machine that I can access MySql via an IP address. Don't need DHCP, dns, Mail server or anything.
I need to obtain daily dynamic IP address from my router for remote user. In order to get into the router page, I need to login to it with ID and password.
Can I tell the server to do this every time it started up to login to router and extract the ip address and send out via email?
The router can only access through web interface and below is what I copied from browser.
I have a bunch of windows machines connected to a server running samba. I would like to know if there's a way or hopefully a quick command I could type in the terminal that would tell me the machine name and the associated IP address?
Im running ubuntu server 10.10 on my wirtual mashine at home. For now i have few service installed and configured:apache with phpand mysql support,ftp,phpmyadmin.. My ip address is not static, i tryed to configure by following some guide but without success.
First i edit this in /etc/network/interfaces (changing dhcp to static
Code: # The primary network interface auto eth0 iface eth0 inet static
Basically I am trying to set up my own server so that I can ssh into it from anywhere. I am able to SSH into my server when I use the LAN IP of my server but I am not able to SSH into it if I use the public IP address. I have read many threads and in my opinion I've tried almost all of the common fixes suggested. One possibility may be that my ISP has blocked port 22. I have taken this into consideration and sent them an email and I'm presently waiting for a reply. However, I highly doubt that my ISP has restricted acess to port 22. I would really like to be able to SSH into my server from anywhere.
1). I installed openssh client/server using the following commands: Code: sudo apt-get install openssh-client sudo apt-get install openssh-client
2). I forwarded port 22 on my router. (see attachment for the settings)
3). I modified /etc/ssh/sshd_config such that my server has a static LAN address. contents of sshd_config file: Code: # Package generated configuration file # See the sshd_config(5) manpage for details # What ports, IPs and protocols we listen for Port 22 # Use these options to restrict which interfaces/protocols sshd will bind to ..... I then entered the command: Code: sudo /etc/init.d/ssh restart
4). I turned off the firewall using the command: Code: sudo ufw disable
5). Here is the output of the IP tables: Code: Chain INPUT (policy ACCEPT) target prot opt source destination Chain FORWARD (policy ACCEPT) target prot opt source destination Chain OUTPUT (policy ACCEPT) target prot opt source destination
I have a server hosted with greatseeder.com, its a dedicated ubuntu server using Ubuntu 10.4.I have set up apache2 together with php5, and build a website from that. If you go though the ip address (http://94.23.251.209) the website loads fine, but if you go though the domain (athenagaming.com) it don't.I have registered the domain at domain.com. The nameservers I got from the host did not work, so I used a free dns site, to refer the domain to the ip address. The site I use is, http://freedns.afraid.org. I have signed up the domain, and added the nameservers i got from free dns to domain.com. But still it can't find the server though the domain, even though when I trace the domain it comes back all[URL]
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.
I have two computers one with Ubuntu Server (just for fun) and another with Ubuntu Desktop. I connected them with one LAN cable so there is no internet and what I want is to open firefox in Ubuntu Desktop and view the apache test page but I can't find IP address, ifconfig just displays the ipv6 one?
I have configured DNS on ubuntu server 8.10 and it is working fine. There is one question I have though. Everytime I ping a LAN device by name I get the reply from the server with only the IP Address.
I am running a server with Ubuntu 10.04 and mysql v.5.4.41-3ubuntu12.1.I am unable to connect to my mysql server remotely, (error 111). I have added the port 3306 to iptables. It is able to connect to the loopback address (127.0.0.1) but not through its external address.
I know the who belongs to the IP address that created the file. (is there any way to verify what IP address created what file?) My concern is that it did not come from the address specified. I found this in /tmp/udp.pl.
I've got a Samba server (CentOS)(I swear all my non-work boxes are Ubuntu) that has been working fine in our Active Directory environment for a long time, now that Windows 7 has been forced upon us, we've noticed that Win 7 users aren't able to authenticate to this server unless they access it using the IP address, e.g. \192.168.1.22. We've tried the different Windows 7 registry hacks and nothing makes a difference. We were advised to update Samba and we did to 3.3.8. However, this being a virtual machine, upgrading a clone of this machine did work, the configuration was identical, except the hostname
I have a ubuntu server 10.04 that will not boot. I saysno ip address specified and hostname not found refer to mount cifs blah blah blahmountall mount /directory/share [863] terminate with status 32I know its because I had a share mounted at boot but the server cannot mount the share for some reason. is there a way around this so I can boot the machine.I can ping the server. I just cant ssh to it. I need to get to a prompt some how so I can remove the mount from fstab.
Very new to Ubuntu and Linux so this may be a simple one. I've recently setup an Ubuntu Server 10.04 box as a mail relay running Postfix and Amavisd-new (Spamassassin & ClamAV) and this has been working really well. I started to get a few emails through today with the following header[URL]..(removed domain name) The name's always in quotes and random. The fqdn is that which I configured in postfix as $myhostname. I can't figure out how this address is being used. This box is only used for incoming mail and acts as a relay to Exchange. Exchange doesn't send out through it. The only thing that may be going outwards is bounced messages from Exchange which are almost exclusively to linkedin.
The fqdn isn't public. This box isn't even part of our internal domain, it's just named that way with manual DNS added. Anyone seen this before? Will this header have been part of the message when it arrives at postfix or could this have been added by postfix itself?
Just Installed Fedora 10 on Dell PowerEdge 2950. Installation went fine. Problem is I cannot Assign a Ip address to eth0. Service "NetworkManager " dies on its own "ifconfig eth0 192168.0.8/24" works though.
I just setup an application (phpcollab) on a linux machine, I was able to browse the app using localhost, but each time i try browsing it using the ip address, a blank page loads with a message saying "No input specified".
Whenever I try browsing the app from other systems on the network, I get a page cannot be found error message even though the other machines are successfully pinging the linux machine's ip address.
I need to browse it with the ip address because the app is to be accessed from other machines on the network.
I have installed Fedora 11 and I have set it up as a web server with Apache. I have a domain name from GoDaddy that I own and I have set it to my web server. I am able to type the address into a browser on a computer outside of my network and it will pull up the web pages on the server. the problem that I am having is that after I type the URL, it gets replaced with the IP address. [URL] I know that I need a nameserver to resolve the IP address but I can not figure out how to do it. I have tried to use Bind but I can never seem to get it to work.
I was trying to assign the static IP address of my internet connection to my home server and managed to make a mess of it. I've configured the router to assign it the address every time but when I rebooted everything the server is cut off from the network completely (rather unfortunate with a headless server...). The only file I've edited on the server when trying to do this is /etc/network/interfaces, everything else network related is default. My intention in editing the file was to make the server accept the IP address assigned by the router since the router was already configured to assign the right one. I put in
Code: inet dhcp in the /etc/network/interfaces file, is that wrong? What is that line supposed to be?