=== wedgwood is now known as wedgwood_away | ||
Katronix | Hi all, if you want to enable quota is it common to have to recompile the kernel? | 00:38 |
---|---|---|
sarnold | Katronix: you shouldn't have to; at least my config-3.5.0-25-generic shows CONFIG_QUOTA=y | 00:39 |
Katronix | quotatool -u braitostees -bq 200M -l '250 Mb' /home | 00:40 |
Katronix | quotatool: Error while detecting kernel quota version: No such process | 00:40 |
Katronix | would that indicate I have to? | 00:40 |
Katronix | Or do I just need to enable something in the background? | 00:41 |
sarnold | Katronix: hrm, /usr/share/doc/quota/README.Debian suggests you need a new mount option in /etc/fstab | 00:43 |
sarnold | Katronix: have you added usrquota or grpquota options yet? | 00:43 |
Katronix | yes looks like I needed to start the quota service | 00:44 |
sarnold | cool :) | 00:44 |
slide | 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:22 |
slide | i followed this guide to make the usb bootdisk, http://www.ubuntu.com/download/help/create-a-usb-stick-on-windows | 03:23 |
histo | !nomodeset | slide | 03:26 |
ubottu | 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 |
slide | i tried that too | 03:26 |
histo | slide: did you check the iso that you downloaded for errors? | 03:32 |
slide | histo lemmy run a md5sum | 03:43 |
slide | yup md5 matches | 03:44 |
histo | Can you boot the thumbdrive in another machine slide ? | 04:03 |
slide | 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:04 |
histo | slide: Are both machines the same? | 04:23 |
histo | slide: I would think you need to recreate the thumb drive or it's bad | 04:23 |
slide | nope, different machines | 04:24 |
slide | i recreated it again, and used a different usb boot creator =\ | 04:25 |
Nite_shades | i want to access my ubuntu server from outside my lan | 04:25 |
Nite_shades | are there certain configs i have to make on the server in order for this to happen | 04:27 |
histo | slide: still not working? | 04:28 |
histo | Nite_shades: access it how via ssh? | 04:28 |
Nite_shades | ssh | 04:28 |
slide | nope :( | 04:28 |
roasted | forward port 22 | 04:29 |
Nite_shades | on my router | 04:29 |
roasted | and/or change the ssh port and forward that | 04:29 |
roasted | if your name is frank, and your domain is google.com, you would ssh via "ssh frank@google.com" | 04:29 |
roasted | pending 22 (or whateve rssh port you changed to) is forwarded | 04:29 |
Nite_shades | forward port on my router or on ubuntu-server if possible | 04:30 |
roasted | on your router | 04:31 |
Nite_shades | oh yeah and the server im running is a virtual server running on my ubuntu host | 04:31 |
roasted | in my router I set the IP of the box and the port I want to forward | 04:32 |
roasted | my server has a static ip of 192.168.1.20 | 04:32 |
roasted | so my router has 22 forwarded to 192.168.1.20 | 04:32 |
=== jetole_ is now known as jetole | ||
roasted | 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:32 |
Nite_shades | ok it said that connection failed | 04:41 |
slide | 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:44 |
slide | even though im using a usb drive | 05:45 |
dsmythies | leave | 05:50 |
holstein | slide: i have had that before as well.. | 05:51 |
slide | one thing i read was that some file names are truncated | 05:52 |
slide | and ive found a few | 05:52 |
holstein | 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 |
slide | lies | 05:52 |
holstein | slide: i usually just make a CD... you can try minimal and add what you need | 05:53 |
slide | if i only had any cds =\ | 05:53 |
slide | ok fixed all the truncated filenames i think | 05:55 |
holstein | http://ubuntuforums.org/showthread.php?t=2052939 is relevant | 05:56 |
slide | thanks | 05:57 |
holstein | i would try dd'ing the iso.. are you using unetbooing? | 05:58 |
holstein | unetbootin* | 05:58 |
histo | slide: how are you getting truncated file names? | 05:59 |
histo | slide: how are you creating the thumb drive? | 05:59 |
slide | http://www.ubuntu.com/download/help/create-a-usb-stick-on-windows | 05:59 |
histo | or the cd or whatever | 05:59 |
histo | slide: that will not truncate filenames | 06:00 |
slide | http://ubuntuforums.org/showthread.php?t=1692104 | 06:01 |
slide | had the same problem | 06:01 |
slide | though my files are different | 06:01 |
histo | slide: http://unetbootin.net/ use this | 06:10 |
slide | yea trying that now :D | 06:11 |
slide | still makes bad names =\ | 06:13 |
slide | http://pastebin.com/KJkD948s | 06:13 |
slide | and that one doesnt even boot up =\ | 06:20 |
histo | why do you thihnk those are bad? | 06:20 |
histo | and how is the thumb drive being formated? | 06:21 |
slide | because the only other files are .deb and .udeb | 06:21 |
slide | ive tried fat32 and exfat | 06:21 |
histo | slide: doesn't unetbootin have hte option to format it? | 06:45 |
slide | used it | 06:46 |
slide | f it, ill go get some cds in the morning | 06:47 |
histo | slide: Not sure what is going on. This isn't that difficult | 06:50 |
slide | you would think heh | 06:50 |
Techdude1011 | <domainname>/AXFR/IN' denied using dig on localhost | 09:30 |
andol | Techdude1011: allow-transfer would be the option you want to tune. | 09:40 |
andol | (assuming Bind, that is) | 09:41 |
Techdude1011 | 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 |
Techdude1011 | thanks | 09:44 |
vedic | 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? | 09:58 |
=== zeppo_ is now known as zeppo | ||
histo | vedic: what kind of access ssh? | 10:05 |
vedic | histo: Remote Desktop | 10:06 |
vedic | 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 |
histo | vedic: What version of ubuntu? | 10:07 |
vedic | 10.04 | 10:07 |
histo | vedic: yeah you need to port forward | 10:07 |
histo | What service are you running on the remote pc ? | 10:07 |
vedic | Its monitoring software (remote cameras etc) | 10:08 |
vedic | histo: I don't have port forwaring on Dlink router. But I do have routing option -> Static, Policy routing | 10:08 |
histo | Why kind of dlink router? | 10:08 |
vedic | Dlink 2750U | 10:09 |
histo | http://screenshots.portforward.com/Dlink/DSL-2750U/Port_Forwarding.htm yes you do | 10:09 |
histo | Are you even running a desktop environment? | 10:10 |
histo | You realize you are in the #ubuntu-server channel right? | 10:10 |
vedic | histo: Well I realize server should not have GUI but it is just for testing. I shall remove it later | 10:11 |
histo | Well first you need something serve your desktop over the network. Something like xrdp or vnc | 10:12 |
lifeless | spice ftw | 10:14 |
Techdude1011 | Is it possible to use a web interface for remote monitoring? | 10:15 |
histo | vedic: then you just need to forward whatever port that service uses to your internal ip of your sever | 10:15 |
andol | 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:16 |
histo | Techdude1011: yes | 10:18 |
histo | !zentyl | 10:18 |
histo | what is the name of that stupid app | 10:18 |
histo | !zentyal | 10:19 |
ubottu | 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 |
histo | Techdude1011: ^^^^^^^^^^ | 10:19 |
crass_ | 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? | 12:57 |
maswan | pull the disk then power off | 13:02 |
crass_ | maswan: is that an informed answer, or are you being facetious? | 13:04 |
cfhowlett | :0 | 13:05 |
RoyK | crass_: cache disk? | 13:06 |
RoyK | OH, DISK CACH | 13:07 |
RoyK | oops | 13:07 |
RoyK | oh, disk cache... | 13:07 |
RoyK | how can that happen? | 13:07 |
maswan | 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 |
crass_ | is there a tool for getting the contents of the cache? I'd like to see what blocks might be modified | 13:07 |
maswan | At least if the blocks are dirty. But then they're probably going to be written back within seconds to minutes anyway. | 13:08 |
maswan | Oh, if they aren't dirty, you can just drop caches | 13:08 |
crass_ | yeah, I found vm/drop_caches | 13:08 |
crass_ | I need to figure out if anything is dirty | 13:08 |
RoyK | 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 |
RoyK | crass_: linux handles the cache far better if you don't meddle with it | 13:09 |
crass_ | RoyK: never say never, I bet I could create a reproducible test for you | 13:09 |
RoyK | crass_: what really happens? | 13:09 |
maswan | 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 |
crass_ | ok, actually, I'm not sure if its an inconsistency with the kernel cache or perhaps a volatile cache on the disk | 13:10 |
crass_ | maswan: well that's extremely reassuring | 13:11 |
RoyK | ssd or spinning rust? | 13:11 |
crass_ | the latter, using scsi writes with the ddisable page out bit set | 13:11 |
maswan | dirty pages aren't meant to stay dirty for that long, since then you'd lose state in case of a power outage. | 13:11 |
crass_ | 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:12 |
crass_ | 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:30 |
crass_ | 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:31 |
amarcolino | Hi, now that resolv.cof is set automatically by resolvconf package how do I go about making my changes permanent? | 13:52 |
Daviey | amarcolino: normally /etc/network/interfaces for server | 13:53 |
Daviey | amarcolino: http://askubuntu.com/questions/157154/how-do-i-add-changes-to-resolv-conf-without-them-getting-overwritten-on-reboot ? | 13:55 |
amarcolino | Daviey, will check it out thanks, I wonder if the use of resolv.conf.d directory actually makes it more flexible to manage resolvconf | 13:57 |
Daviey | amarcolino: i tend to favour /etc/network/interfaces.. but doesn't atter | 14:19 |
amarcolino | Daviey, weird all those config and interface does the job even after restart and sets up nameservers | 14:22 |
amarcolino | Daviey, thanks for the help | 14:22 |
histo | amarcolino: you can add nameservers to resolv.conf.d/head file also | 15:03 |
blair | 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 |
uvirtbot | Launchpad bug 1134592 in logcheck "isc-dhcp 4.2.4-5's DHCPREQUEST messages no longer match ignore regex" [Undecided,New] | 15:11 |
amarcolino | 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 | 15:16 |
=== intellitech_ is now known as intellitech | ||
amarcolino | hi, not exactly an ubuntut server question but does anyone know to install a headless virtualbox without the x11 dependencies? | 17:03 |
tedski | amarcolino: http://www.howtoforge.com/vboxheadless-running-virtual-machines-with-virtualbox-4.1-on-a-headless-ubuntu-11.10-server | 17:06 |
tedski | google turns that up for me | 17:07 |
amarcolino | thanks tedski but I want to install to safely install vbox while ignoring the x11 dependecies | 17:08 |
tedski | i'm sorry, did that link include the x11 deps? | 17:10 |
tedski | i must have overlooked that | 17:10 |
tedski | amarcolino: https://answers.launchpad.net/ubuntu/+source/virtualbox-ose/+question/144567 | 17:11 |
tedski | see there | 17:11 |
tedski | post #3 | 17:11 |
becom33 | 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:14 |
tedski | becom33: the most common cause of 403 errors are file permissions | 17:18 |
becom33 | tedski, could u help me ? | 17:18 |
tedski | i have no experience with mod_security | 17:19 |
amarcolino | tedski, wil check that out didn't know x11-commons didn't pull all the x11 libraries | 17:21 |
* becom33 anyone ? | 17:24 | |
tedski | becom33: feel free to post more information, i might be able to help somewhere | 17:26 |
tedski | relevant logs... were you able to access this file before you setup mod_security, etc. | 17:26 |
Nite_shades | i want to access my server outside my lan, I already forwarded my routers ports to 22 but still to no avail | 17:28 |
Nite_shades | any suggestions | 17:29 |
RoyK | if 22/tcp is indeed forwarded and no firewall is in the way (like one at the ISP), it should work | 17:30 |
amarcolino | 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 |
histo | Nite_shades: can you ssh while on your lan to server? | 17:30 |
Nite_shades | everything on my lan interconnects fine | 17:31 |
tedski | Nite_shades: do you have access to an outside host? | 17:32 |
Nite_shades | yes, im using connectbot on android to ssh | 17:32 |
tedski | Nite_shades: if you provide your external ip, i can do a short portscan to tell you if it's open | 17:33 |
tedski | Nite_shades: it is possible that your isp is blocking 22... you could try to forward 2222 to 22 | 17:34 |
RoyK | or, if the router doesn't support that, run sshd -p 2222 | 17:34 |
Nite_shades | yeah my isp is most likely the culprit | 17:34 |
Nite_shades | Even though im running my server on a virtualbox does it still matter | 17:36 |
tedski | it does | 17:37 |
tedski | if you're using nat'd networking | 17:37 |
tedski | make sure you're bridging | 17:37 |
Nite_shades | ok i have it on bridged adapter | 17:37 |
tedski | so, it's int he same subnet as the router | 17:37 |
Nite_shades | yes | 17:38 |
tedski | good | 17:38 |
RoyK | Nite_shades: try another, high port (> 1024) | 17:39 |
Nite_shades | ok im baffled on the start port and end port on port forwarding | 17:43 |
RoyK | in the router? | 17:43 |
Nite_shades | yeah | 17:43 |
RoyK | it's probably a port range | 17:43 |
Nite_shades | i think so | 17:44 |
Nite_shades | any suggestions | 17:44 |
RoyK | just try to forward 2222 and start sshd -p 2222 | 17:44 |
Nite_shades | yeah my isp is blocking from forwarding port 22 | 17:55 |
Nite_shades | is there anyway around this | 17:55 |
tedski | nope | 17:56 |
tedski | just use a high port | 17:56 |
tedski | many recommend listening on a port other than 22, anyway | 17:56 |
tedski | security by obscurity thing if you ask me | 17:56 |
Nite_shades | why would my isp block this port as its a secure one | 17:57 |
Nite_shades | is it for security on their part or what | 17:57 |
tedski | answers we'll never truly know | 18:00 |
tedski | but, they probably have some idiot infosec twit saying that if you're listening on 22, you're hosting a server! | 18:00 |
tedski | and then you need business class services | 18:00 |
Nite_shades | ok finally got connected | 18:02 |
Nite_shades | The problem i had was i was using the router ip address instead of the external isp provided ip address | 18:03 |
Nite_shades | which got me connected quickly | 18:03 |
chronossc | 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:19 |
RoyK | chronossc: what does /proc/partitions have to say while on esata? | 20:37 |
RoyK | sata expanders may be a problem | 20:38 |
RoyK | or port multipliers | 20:38 |
RoyK | why don't you just use plain sata? | 20:38 |
chronossc | RoyK: it shows only sdb1 | 20:41 |
chronossc | I'm using e-sata cuz I need to copy a large amount of data and my wifi isnt doing good with it | 20:42 |
chronossc | this ME580J normally is connect to my Zbox running Ubuntu Server | 20:43 |
chronossc | 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 | 20:44 |
=== wedgwood_away is now known as wedgwood |
Generated by irclog2html.py 2.7 by Marius Gedminas - find it at mg.pov.lt!