=== wedgwood is now known as wedgwood_away [00:38] Hi all, if you want to enable quota is it common to have to recompile the kernel? [00:39] Katronix: you shouldn't have to; at least my config-3.5.0-25-generic shows CONFIG_QUOTA=y [00:40] quotatool -u braitostees -bq 200M -l '250 Mb' /home [00:40] quotatool: Error while detecting kernel quota version: No such process [00:40] would that indicate I have to? [00:41] Or do I just need to enable something in the background? [00:43] Katronix: hrm, /usr/share/doc/quota/README.Debian suggests you need a new mount option in /etc/fstab [00:43] Katronix: have you added usrquota or grpquota options yet? [00:44] yes looks like I needed to start the quota service [00:44] cool :) [03:22] I'm trying to install 12.04 with a usb disk, but after I select to install ubuntu, it just sits at a black screen forever. I'm not sure what else to do [03:23] i followed this guide to make the usb bootdisk, http://www.ubuntu.com/download/help/create-a-usb-stick-on-windows [03:26] !nomodeset | slide [03:26] slide: A common kernel (boot)parameter is nomodeset, which is needed for some graphic cards that otherwise boot into a black screen or show corrupted splash screen. See http://ubuntuforums.org/showthread.php?t=1613132 on how to use this parameter [03:26] i tried that too [03:32] slide: did you check the iso that you downloaded for errors? [03:43] histo lemmy run a md5sum [03:44] yup md5 matches [04:03] Can you boot the thumbdrive in another machine slide ? [04:04] ive tried 2, with 1 it just goes to a black screen, in the second it goes to the next step, but i cant move the selection at all [04:23] slide: Are both machines the same? [04:23] slide: I would think you need to recreate the thumb drive or it's bad [04:24] nope, different machines [04:25] i recreated it again, and used a different usb boot creator =\ [04:25] i want to access my ubuntu server from outside my lan [04:27] are there certain configs i have to make on the server in order for this to happen [04:28] slide: still not working? [04:28] Nite_shades: access it how via ssh? [04:28] ssh [04:28] nope :( [04:29] forward port 22 [04:29] on my router [04:29] and/or change the ssh port and forward that [04:29] if your name is frank, and your domain is google.com, you would ssh via "ssh frank@google.com" [04:29] pending 22 (or whateve rssh port you changed to) is forwarded [04:30] forward port on my router or on ubuntu-server if possible [04:31] on your router [04:31] oh yeah and the server im running is a virtual server running on my ubuntu host [04:32] in my router I set the IP of the box and the port I want to forward [04:32] my server has a static ip of 192.168.1.20 [04:32] so my router has 22 forwarded to 192.168.1.20 === jetole_ is now known as jetole [04:32] so if I'm running DDNS, and my domain is google.com, ssh frank@google.com hits my router, router passes off to server, server allows SSH magic to happen. [04:41] ok it said that connection failed [05:44] ok so now im trying to do it on my laptop, and im getting "There was a problem reading data from the CD-ROM. Please make sure it is in the drive. If retrying does not work, you should check the integrity of your CD-ROM." [05:45] even though im using a usb drive [05:50] leave [05:51] slide: i have had that before as well.. [05:52] one thing i read was that some file names are truncated [05:52] and ive found a few [05:52] The basic steps to install Ubuntu Server Edition from CD or USB stick are the same for installing any operating system is what the site says [05:52] lies [05:53] slide: i usually just make a CD... you can try minimal and add what you need [05:53] if i only had any cds =\ [05:55] ok fixed all the truncated filenames i think [05:56] http://ubuntuforums.org/showthread.php?t=2052939 is relevant [05:57] thanks [05:58] i would try dd'ing the iso.. are you using unetbooing? [05:58] unetbootin* [05:59] slide: how are you getting truncated file names? [05:59] slide: how are you creating the thumb drive? [05:59] http://www.ubuntu.com/download/help/create-a-usb-stick-on-windows [05:59] or the cd or whatever [06:00] slide: that will not truncate filenames [06:01] http://ubuntuforums.org/showthread.php?t=1692104 [06:01] had the same problem [06:01] though my files are different [06:10] slide: http://unetbootin.net/ use this [06:11] yea trying that now :D [06:13] still makes bad names =\ [06:13] http://pastebin.com/KJkD948s [06:20] and that one doesnt even boot up =\ [06:20] why do you thihnk those are bad? [06:21] and how is the thumb drive being formated? [06:21] because the only other files are .deb and .udeb [06:21] ive tried fat32 and exfat [06:45] slide: doesn't unetbootin have hte option to format it? [06:46] used it [06:47] f it, ill go get some cds in the morning [06:50] slide: Not sure what is going on. This isn't that difficult [06:50] you would think heh [09:30] /AXFR/IN' denied using dig on localhost [09:40] Techdude1011: allow-transfer would be the option you want to tune. [09:41] (assuming Bind, that is) [09:44] andol:sorted - was missing ip of server in allow-transfer {}. I had the ip addresses of other pc's that I want to allow. [09:44] thanks [09:58] Hi I have taken static ip from my ISP which is connected to my remote pc via DLink Router. How can I configure to access server running on my remote PC? === zeppo_ is now known as zeppo [10:05] vedic: what kind of access ssh? [10:06] histo: Remote Desktop [10:07] I have required service running on Remote Server. I need to access that from my PC via Remote Desktop. My ISP says configure your router to do that. [10:07] vedic: What version of ubuntu? [10:07] 10.04 [10:07] vedic: yeah you need to port forward [10:07] What service are you running on the remote pc ? [10:08] Its monitoring software (remote cameras etc) [10:08] histo: I don't have port forwaring on Dlink router. But I do have routing option -> Static, Policy routing [10:08] Why kind of dlink router? [10:09] Dlink 2750U [10:09] http://screenshots.portforward.com/Dlink/DSL-2750U/Port_Forwarding.htm yes you do [10:10] Are you even running a desktop environment? [10:10] You realize you are in the #ubuntu-server channel right? [10:11] histo: Well I realize server should not have GUI but it is just for testing. I shall remove it later [10:12] Well first you need something serve your desktop over the network. Something like xrdp or vnc [10:14] spice ftw [10:15] Is it possible to use a web interface for remote monitoring? [10:15] vedic: then you just need to forward whatever port that service uses to your internal ip of your sever [10:16] Techdude1011: Well, the web interface might not neccesarily do the remote monitoring, but I think most monitoring solutions has some kind of web gui, Nagios being the classic example. I guess the main distinction being whatever you configure the monitoring using the web interface or not. [10:18] Techdude1011: yes [10:18] !zentyl [10:18] what is the name of that stupid app [10:19] !zentyal [10:19] zentyal is a web-based GUI interface for administering a server. It is designed to work with Ubuntu/Debian style configuration management. See https://help.ubuntu.com/community/Zentyal (Project formally known as eBox - including in Lucid/10.04). [10:19] Techdude1011: ^^^^^^^^^^ [12:57] shit! the kernel's disk cache has become out of sync with the disk, how can I tell it to clear the cache and _not_ write to the disk anything from the cache? [13:02] pull the disk then power off [13:04] maswan: is that an informed answer, or are you being facetious? [13:05] :0 [13:06] crass_: cache disk? [13:07] OH, DISK CACH [13:07] oops [13:07] oh, disk cache... [13:07] how can that happen? [13:07] crass_: It's the only obvious way i can think of, yes. Hitting the power hard might or might not be enough, depending on if it gets a signal to shutdown before the power gets pulled out from underneath the kernel [13:07] is there a tool for getting the contents of the cache? I'd like to see what blocks might be modified [13:08] At least if the blocks are dirty. But then they're probably going to be written back within seconds to minutes anyway. [13:08] Oh, if they aren't dirty, you can just drop caches [13:08] yeah, I found vm/drop_caches [13:08] I need to figure out if anything is dirty [13:09] crass_: really, the disk cache contents are never "out of sync", that is, some parts may be dirty blocks (not written yet), but that's it [13:09] crass_: linux handles the cache far better if you don't meddle with it [13:09] RoyK: never say never, I bet I could create a reproducible test for you [13:09] crass_: what really happens? [13:10] crass_: well, if they are dirty, /proc/sys/vm/dirty_writeback_centisecs tells you how long you have before they'd get flushed to disk. Shorter than this conversation certainly. [13:10] ok, actually, I'm not sure if its an inconsistency with the kernel cache or perhaps a volatile cache on the disk [13:11] maswan: well that's extremely reassuring [13:11] ssd or spinning rust? [13:11] the latter, using scsi writes with the ddisable page out bit set [13:11] dirty pages aren't meant to stay dirty for that long, since then you'd lose state in case of a power outage. [13:12] yeah, I should hope so, but I'm still afraid of drop caches. I'd like to see if I can figure a way to get the cache and verify there's nothing dirty in there [13:30] whew, it seems to be good now. The number of dirty pages is indeed small, as seen in /proc/meminfo. This resolved apparently after echo "1" > /proc/sys/vm/drop_caches, but taht might have been a coincidence [13:31] In order to see the real data, I had to bypass the volatile cache on the disk, so that might have been the problem all along [13:52] Hi, now that resolv.cof is set automatically by resolvconf package how do I go about making my changes permanent? [13:53] amarcolino: normally /etc/network/interfaces for server [13:55] amarcolino: http://askubuntu.com/questions/157154/how-do-i-add-changes-to-resolv-conf-without-them-getting-overwritten-on-reboot ? [13:57] Daviey, will check it out thanks, I wonder if the use of resolv.conf.d directory actually makes it more flexible to manage resolvconf [14:19] amarcolino: i tend to favour /etc/network/interfaces.. but doesn't atter [14:22] Daviey, weird all those config and interface does the job even after restart and sets up nameservers [14:22] Daviey, thanks for the help [15:03] amarcolino: you can add nameservers to resolv.conf.d/head file also [15:11] is anybody running raring in OpenStack or EC2? the new isc-dhcp's log messages are not being filtered out by logcheck: https://bugs.launchpad.net/ubuntu/+source/logcheck/+bug/1134592 [15:11] Launchpad bug 1134592 in logcheck "isc-dhcp 4.2.4-5's DHCPREQUEST messages no longer match ignore regex" [Undecided,New] [15:16] histo, I can but what is the point when interface does it all and it is easier considering that I am not aware of the new file types in resolv.conf.d directory === intellitech_ is now known as intellitech [17:03] hi, not exactly an ubuntut server question but does anyone know to install a headless virtualbox without the x11 dependencies? [17:06] amarcolino: http://www.howtoforge.com/vboxheadless-running-virtual-machines-with-virtualbox-4.1-on-a-headless-ubuntu-11.10-server [17:07] google turns that up for me [17:08] thanks tedski but I want to install to safely install vbox while ignoring the x11 dependecies [17:10] i'm sorry, did that link include the x11 deps? [17:10] i must have overlooked that [17:11] amarcolino: https://answers.launchpad.net/ubuntu/+source/virtualbox-ose/+question/144567 [17:11] see there [17:11] post #3 [17:14] I followed this tutorial to install mod_security http://www.thefanclub.co.za/how-to/how-install-apache2-modsecurity-and-modevasive-ubuntu-1204-lts-server but I'm getting a forbidden error on a web page [17:18] becom33: the most common cause of 403 errors are file permissions [17:18] tedski, could u help me ? [17:19] i have no experience with mod_security [17:21] tedski, wil check that out didn't know x11-commons didn't pull all the x11 libraries [17:24] * becom33 anyone ? [17:26] becom33: feel free to post more information, i might be able to help somewhere [17:26] relevant logs... were you able to access this file before you setup mod_security, etc. [17:28] i want to access my server outside my lan, I already forwarded my routers ports to 22 but still to no avail [17:29] any suggestions [17:30] if 22/tcp is indeed forwarded and no firewall is in the way (like one at the ISP), it should work [17:30] becom33, google got me this with the search criteria [mod_security 403], this links seems relevant if you have access to your logs http://www.webhostingtalk.com/showthread.php?t=1081070 [17:30] Nite_shades: can you ssh while on your lan to server? [17:31] everything on my lan interconnects fine [17:32] Nite_shades: do you have access to an outside host? [17:32] yes, im using connectbot on android to ssh [17:33] Nite_shades: if you provide your external ip, i can do a short portscan to tell you if it's open [17:34] Nite_shades: it is possible that your isp is blocking 22... you could try to forward 2222 to 22 [17:34] or, if the router doesn't support that, run sshd -p 2222 [17:34] yeah my isp is most likely the culprit [17:36] Even though im running my server on a virtualbox does it still matter [17:37] it does [17:37] if you're using nat'd networking [17:37] make sure you're bridging [17:37] ok i have it on bridged adapter [17:37] so, it's int he same subnet as the router [17:38] yes [17:38] good [17:39] Nite_shades: try another, high port (> 1024) [17:43] ok im baffled on the start port and end port on port forwarding [17:43] in the router? [17:43] yeah [17:43] it's probably a port range [17:44] i think so [17:44] any suggestions [17:44] just try to forward 2222 and start sshd -p 2222 [17:55] yeah my isp is blocking from forwarding port 22 [17:55] is there anyway around this [17:56] nope [17:56] just use a high port [17:56] many recommend listening on a port other than 22, anyway [17:56] security by obscurity thing if you ask me [17:57] why would my isp block this port as its a secure one [17:57] is it for security on their part or what [18:00] answers we'll never truly know [18:00] but, they probably have some idiot infosec twit saying that if you're listening on 22, you're hosting a server! [18:00] and then you need business class services [18:02] ok finally got connected [18:03] The problem i had was i was using the router ip address instead of the external isp provided ip address [18:03] which got me connected quickly [20:19] I own a ME580J dual 3.5" hdd enclosure. It has chip JMB352 and while using as usb device I can recognize two disks I have in enclosure. With e-sata, I can regonize only first one. Did guys have idea what I can do? [20:37] chronossc: what does /proc/partitions have to say while on esata? [20:38] sata expanders may be a problem [20:38] or port multipliers [20:38] why don't you just use plain sata? [20:41] RoyK: it shows only sdb1 [20:42] I'm using e-sata cuz I need to copy a large amount of data and my wifi isnt doing good with it [20:43] this ME580J normally is connect to my Zbox running Ubuntu Server [20:44] and my notebook is losting wifi from time to time, so I plugged e-sata on my note, and e-sata also not works on Zbox === wedgwood_away is now known as wedgwood