Ubuntu Networking :: Server Inaccessible By Anyone Not From LAN
May 29, 2010
I've installed Ubuntu Server and set it up 3 weeks ago, it was working fine until today. Just recently, someone IM'd me @ jabber saying that none of services running on it work (http, ftp, svn, jabber, ssh). So I've checked stuff on my PC, and everything seemed to work well (at least for me). I've tried to see if http works via proxy, but it seemed like no. I've called my ISP, on their side everything looks fine, server was accessible via their machines too (well it's obvious). I asked them to see if other networks (TP, GTS Energis, Energis) could connect to it as well, the answer was - no. (I don't think it's firewall, since I didn't even had time to set it up...)
(hq.lime-entertainment.com). Running Ubu 10.04 LTS Server
I'm nearly at the end of creating a shell script that automates changing network settings by prompting the user for desired settings, then applying them.
In the course of my development, I created temporary copies of /etc/sysconfig/network-scripts/ifcfg-eth0 (/etc/sysconfig/network-scripts/ifcfg-eth0_tmp1, for example) so as to not alter the original file. Little did I know that on boot the system would attempt to load each of these kinds of files and associate it with an ethernet connection, in this case eth0.
So..... now there are multiple copies in the /etc/sysconfig/network-scripts diretory that essentially have the same settings. They are..
Now when the system boots, it attempts to load them all. The boot doesn't appear to complete, and I can't ping, login, or otherwise access the system through convention routes (putty, etc.).
The easy solution would be to delete the tmp files and reboot. Now, how do I do that without being able to log in to the server. It's a VM by the way, if that makes a difference.
I get the error: Sorry, could not display all the contents of "trash": Operation not supported.Of course I know I can remove all the contents of the trash directly via ~/.local/share/Trash/ however, I'd rather have Ubuntu the work the way it was intended.I've tried opening Nautilus using the gksu command, but the problem persists.As per another post, I also tried a fsck on the partition, and no errors were returned.
When I recently upgraded my desktop to Karmic, my postgresql 8.3 no longer starts. I've got data in 8.3 that I need, but now no way to access it. Karmic upgrades to Postgresql 8.4, but leaves 8.3. Problem is, I can't seem to start 8.3 no matter what I do (there's no error message. I even tried removing 8.4 entirely--without effect. When I try to start 8.3 (using command line or boot-up manager), there is no error message, either in system logs or in the postgresql log file. There is also no indication of an active postmaster in ps aux or anything listening to postgresql ports in nmap (for that matter, seems there's nothing listening even with 8.4 activated).
I could try to 'upgrade' my data cluster to 8.4. Never tried that before and am concerned about possibly losing data. Also, I made a load of tuning adjustments to 8.3 that I'd have to replicate with 8.4. I'd rather stay with 8.3, if possible. There are also two pieces of software, postgresql-common and postgresql-client-common, that presumably allow one to run two versions of postgresql simultaneously. Maybe this stuff is even the source of my start up problems. No idea where to learn how to use this software, and, esp., whether this would solve the 8.3 start problem.
I have a DLink 323 NAS with a USB port for a printer. Im trying to setup the printer. When I get to the part where I have to enter the username and password for the NAS, no matter what I put in for a password and username, I get the same error message (see attached screenshot). I can not get my network printer to work because of this.
One of our home school students, toying with the Power Management panel on our 700mHz iMac since there are no brightness control keys that work on it, set it for full display blackout and now can't get the screen back since we can't see the controls. We turned the machine off and on but his account keeps blacking out on log-in though it doesn't happen with other accounts. How can we fix this to retrieve all his work?
I'm running skype on my Debian squeeze with kde 4.4. If I minimize it, on a task bar it remain for a wile, and then disappear. I know it's still working because some times I see some message (user x it's online, user y it's off line etc etc) and if I type: ps -aux | grep skype, I receive the PID number. But I'm not able to bring it accessible in my desktop.
I have a Ubuntu - windows 7 dual boot (in two partitions of the same HDD) desktop PC for a few months. I was learning terminal commands and, although I don't think I made such a big mistake, but the fact is that the a very strange thing happenned: "Preferences" and "Administration" from System disappeared as it did also "Applications". After rebooting the same it remained the same. No big deal, I thought, because I haven't yet saved any important work on Ubuntu. So I reinstalled Ubuntu. Done that everything was nice until I booted Windows... Since then I counldn't start windows after GRUB due to:
Status: 0xc000000f Info: The boot selection failed because a required device is inaccessible."
Windows Live DVD Repair is useless. I've tried CHKDSK utilities, no result. Windows partition in Ubuntu's Disk Utility is OK but I can't access the files (all "broken links"), just can explore a few directories after which I find myself entering the same folder endlessly. I wanted to repair windows boot or at least recover some important files in Documents and I thought I had backup (but turns out that, for some reason that I'm still trying to understand, they aren't...).
I installed Ubuntu Server because I want to learn Linux and I want to learn about servers. I did a newbie tutorial and then shut down. When I booted up today, the files in my home directory were replaced by Access-your-private-data.desktop and readme.txt, but I have no idea why. I followed the instructions in readme.txt and typed ecryptfs-mount-private. It told me
INFO: Your private directory has been mounted. INFO: To see this change in your current shell: cd /home/rmob
But if I do ls /home/rmob, it still shows me Access-your-private-data.desktop and readme.txt instead of the files I created there yesterday. Every time I reboot, it tells me
keyctl_search: Required key not available Perhaps try the interactive 'ecryptfs-mount-private'
If I try ecryptfs-mount-private again, it still tells me it has mounted it, but still just shows me those same two files. Googling about this tells me this means the directory got encrypted somehow. I tried typing touch ~/.ecryptfs/auto-mount which I found in this tutorial, but it didn't make a difference and I can't find any other solution anywhere.
I upgraded from Fedora 12 to 13 a couple of days ago, and it seemed to go off without a hitch, but I can no longer boot into Windows. Disk Utility reports that partition as Unknown. It still says HPFS/NTFS (0x07), but it shows no flags, and it doesn't show the file system type the way the others do. Is there a way for me to recover this with a minimal loss of data (preferably none)?
I was looking for some way to make 'watch folder' and I found and installed inotify and incron. Explanations were perfect and everything seemed great. So I made test script and it worked as expected.
Now, bash script that was evoked by event by incron consisted this terrible line:
... mv * /some/folder/ ...
which I expected to be run from watched folder, but instead it is run on holy root /
Rest is tragedy: everything was moved to this folder and I can't access any command. Terminal was opened but it did not accept commands. I cd to '/some/folder/bin' then tried to execute command but no luck. I tried also Ctrl+Alt+F1 - same.
What can I do except reboot. Now what? Grub rescue failure prompt. I went in BIOS to make it boot from separate SATA HD with Windows 7, but it somehow isn't listed there. I can't think why. I tried from this Live CD to move folders to correct location, but it's Permission denied
[edit] Re-reading now, in terminal command 'cd' (change directory) was working, but sure not ls, mv and others. Maybe I could have done something, but probably not, network connection was lost, music stopped playing everything was vanishing...
I am running Karmic on my laptop, and I have three 1.5 TB external hard drives which I swap between frequently. My problem is that if I leave the drives in, and do not access them for a period of time, they become inaccessible, i.e. I will click on the icon on the desktop or in Places, and it will tell me there is no device mounted, even though I was using it fine just an hour before.
i have a feeling that it is because the USB drives spin down after a period, and Ubuntu detects them as being 'disconnected'. Would it help if I added individual entries for each in fstab?? Or do I need to adjust some settings elsewhere?
EDIT: If this information helps, the HD's are all Seagate Expansion drives, formatted to ext4.
I just realized that the "Documents" folder in my home directory has changed to a file which is a link to the /home/user/Documents and it is unaccessible. It does not (no longer) show in the "file browser" when I try to click it from "places" it says:
Error: Could not open location 'file:///home/user/Documents' No application is registered as handling this file When I list from the terminal (i.e. %ls -ltr ) it list the file (which was suppose to be the directory) as
lrwxrwxrwx 1 user user 24 2010-11-01 18:20 Documents -> /home/user/Documents
NB. user in this case is my user name on the system, I am just using user for this forum. how to retrieve the information from the folder and remove the linked file to remain with the original folder
I've two internet based server ( xx.xx.xx.xx and yy.yy.yy.yy ) The Y server is running VNC server and is responsible for answering to VNC sessions. But I need to hide the IP of Y server so I want X server to be as VNC Proxy and redirect all VNC sessions to Y server.
I guess the best way is to use iptables but actually I can't get it working so
Just something that struck me while working on our virtual servers today.
I have bonded 3 NICs at the host in Ubuntu Server 8.04 LTS. They are using mode 0 for Round-robin. Point is to increase the speed/performance of all the servers, but mainly the fileserver. The fileserver is a virtual server running Ubuntu Server 8.04 LTS on VMware Server 2.0.
1) I noticed the NIC in the slave OS reported link speed as 1000 and Im unable to change it as the NIC (virtual one) doesnt support it. Does this not really matter, as the NIC doesnt exist, and it will run at higher speeds anyway? Or do I have to remove the bond on the host, bridge all 3 interfaces from the host to the slave OS, and then make a bond in the slave OS?
2) While at it, does mode 0 only increase performance on data being sent from the host or does it also increase the available incoming bandwidth?
In Gnome Places->Connect To Server dialog, I am having problem using the Custom Location Service Type. I enter in the URI as
Code:
smb://username:password@ipaddress/share_name
I get an pop up error message that says:
Quote:
Cannot Connect To Server. You must enter a name for the server.
Which would be fine if there was actually a place for me to enter the name which there is not. What am I doing wrong. This is the first time I have tried using the Connect To Server dialog. Normally I just use a script I wrote to mount my share in a folder on my local drive as some programs cannot access the mounted network folder. In a browser all I have to do is:
Code:
smb://ipaddress/share_name
I tried using Windows Shares, but that did not work either. It does work if I click on network and access the share that way, but some programs like firefox and a few others that I want to save a file to my network drive do not show the network unless the share is mounted in a folder. So, I wrote a script:
I set up a ubuntu server 10.04 lts as file server in a network filled with xp, win 2003 and win 2008.
I noticed that if from any bill's SO machine i copy a file (for example a vob file of 1gb, or a lot of doc and pdf files) in the samba server, while the copy is in progress if in another windows I browse other folders shared in Samba, the copy process stops and say ' the name in the network is no more available( or something like this). It seems that samba pay attention on the fact that a user is browsing the share and doing so it seems that Samba forget that in one of its share there was a copy in progress, very annoing. A file server cannot do that, in this way is useless.
Im trying to make an ubuntu server box my entrypoint to my networking. Meaning itll function as a server, a firewall, and a gateway. so i already installed dhcp3 and a dns server.
I have 2 ethernet cards in it. So now i wonder, should i the second card into a router's modem/wan port and make the router a switch? or should i plug it into one of the routers lan ports?
I've got a machine running Ubuntu Server that is on several VLANs. Each VLAN has its own subnet and the server has an address on each subnet. The switches are set to allow tagged traffic to the server for each VLAN that it is on. Switch ports ending with workstations are given untagged ports on whatever VLAN is appropriate. Workstations are given addresses on a subnet for each VLAN via DHCP. All this works great and hosts on any subnet/VLAN can access the server as normal via its address on that subnet/VLAN.
Accessing the machine by its address on a non-local subnet is where I run into a problem. Inter-subnet traffic has to go through a router, which has been set up appropriately. Running tcpdump on the server and pinging it from a workstation on a subnet, using its address on a different subnet, shows the server receives the ping, but sends no response:
Code: sudo tcpdump -i vlan4 -n tcpdump: verbose output suppressed, use -v or -vv for full protocol decode
[notice] Digest: generating secret for digest authentication ... [notice] Digest: done [warn] RSA server certificate CommonName (CN) `srvspam' does NOT match server name!?
My Pug Server has worked faithfully for many years just sitting in a closet. It is designed wo that you never need to add a monitor or keyboard as it is administered through a web interface. Recently it had a problem with the motherboard and I had to replace it, but the machine is now working. However, it no longer is visible as a network drive on my Windows machine.Unfortunately I have no idea where to start looking to see what the problem is. I did attach a keyboard and monitor and logged on, but everything looks okay (I can see my files, etc.).
This is an old machine (c. 2003), so has an old version of Linux (I have no idea what version, or even how to find out). Since it is never meant to be used directly it doesn't have any GUI installed, so I have to do everything using command line.Does anyone have any suggestions as to how I can even start to determine what the problem is or how I can go about trying to fix it? At this point I would be happy just to get the files out and replace it with a newer NAS.
we have deployed linux Santos 5.4 server and window 2003 server. we are able to ping window server from linux but not linux server from window. all are in same network.
I would like to setup 2 linux machine each with two ethernet cards, and need to connect to two subnet e.g. 192.168.*.* and 10.0.*.* . If one linux machine out of order, the other will take over all the services(1 httpd and two named(192.168.*.1 and 10.0.0.1 as server ip). What network config is best and easy to failover to other machine?
I have 2 ethernet cards but when I look at the Network configuration in "Hardware Tab" I have another acx wireless network. How to delete that because In my system Idon't have wireless card..probably installed before but want delete it now.
[code]...
then windows can ping server and resolve ip address and browsing Internet but can't ping [URL]... result is Request time out. ICMP already enabled in iptables.
I have multiple public ip addresses.My DSL modem blocks ping from a server behind the modem (nb6+4w) modem lan ip (gateway) is xxx.xxx.xxx.105the server is xxx.xxx.xxx.107If I DMZ this server it responds to pings.If i don't want to use DMZ, what service is ping using.I have set up virtual server 443 to this 107 ip as it's a SSL server
i know exactly what i need to do, im just not familiar enough with command line to do it properly.i have 7 computers.the first 4 are connected to a router via wireless at one end of the house. of the last 3 only 1 will be able to access the router via wireless, so it needs to share it's one wireless connection via ethernet. this computer i'm going to call 'server'server will have two IP'swlan0 192.168.1.6 this connects to the router that has internet access.eth0 i intend to have the following settingsip:192.168.0.1sub: 255.255.0eth0 will connect to a second router, where the cat5 cable goes from the server, into the internet port of the router where i will define the router's static IP:IP: 192.168.0.100sub: 255.255.255.0gateway 192.168.0.1i have then set the router IP for LAN handling as 192.168.27.1 and all ethernet connections will have a 192.168.27.x IP.
so i need to know how to, without a gui application, use the terminal to assign server eth0 a proper IP address, and tell the server to take the connection it has and share it through eth0 to supply internet for the last 2 computers via ethernet.i had it set up in this way with a windows machine being the one that had the wifi access, but i'd rather have it setup for the ubuntu server to do this task. security is imperative for these 3 remaining machines, so just getting 2 more wifi adapters for a connection to the initial router isn't an option.the 2 that connect to server do so through SSH and though server IS connected via wireless it only makes outward connections through