/srv/irclogs.ubuntu.com/2013/03/02/#ubuntu-server.txt

=== wedgwood is now known as wedgwood_away
KatronixHi all, if you want to enable quota is it common to have to recompile the kernel?00:38
sarnoldKatronix: you shouldn't have to; at least my config-3.5.0-25-generic shows CONFIG_QUOTA=y00:39
Katronix quotatool -u braitostees -bq 200M -l '250 Mb' /home00:40
Katronixquotatool: Error while detecting kernel quota version: No such process00:40
Katronixwould that indicate I have to?00:40
KatronixOr do I just need to enable something in the background?00:41
sarnoldKatronix: hrm, /usr/share/doc/quota/README.Debian suggests you need a new mount option in /etc/fstab00:43
sarnoldKatronix: have you added usrquota or grpquota options yet?00:43
Katronixyes looks like I needed to start the quota service00:44
sarnoldcool :)00:44
slideI'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 do03:22
slidei followed this guide to make the usb bootdisk, http://www.ubuntu.com/download/help/create-a-usb-stick-on-windows03:23
histo!nomodeset | slide03:26
ubottuslide: 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 parameter03:26
slidei tried that too03:26
histoslide: did you check the iso that you downloaded for errors?03:32
slidehisto lemmy run a md5sum03:43
slideyup md5 matches03:44
histoCan you boot the thumbdrive in another machine slide ?04:03
slideive 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 all04:04
histoslide: Are both machines the same?04:23
histoslide: I would think you need to recreate the thumb drive or it's bad04:23
slidenope, different machines04:24
slidei recreated it again, and used a different usb boot creator =\04:25
Nite_shadesi want to access my ubuntu server from outside my lan04:25
Nite_shadesare there certain configs i have to make on the server in order for this to happen04:27
histoslide: still not working?04:28
histoNite_shades: access it how via ssh?04:28
Nite_shadesssh04:28
slidenope :(04:28
roastedforward port 2204:29
Nite_shadeson my router04:29
roastedand/or change the ssh port and forward that04:29
roastedif your name is frank, and your domain is google.com, you would ssh via "ssh frank@google.com"04:29
roastedpending 22 (or whateve rssh port you changed to) is forwarded04:29
Nite_shadesforward port on my router or on ubuntu-server if possible04:30
roastedon your router04:31
Nite_shadesoh yeah and the server im running is a virtual server running on my ubuntu host04:31
roastedin my router I set the IP of the box and the port I want to forward04:32
roastedmy server has a static ip of 192.168.1.2004:32
roastedso my router has 22 forwarded to 192.168.1.2004:32
=== jetole_ is now known as jetole
roastedso 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_shadesok it said that connection failed04:41
slideok 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
slideeven though im using a usb drive05:45
dsmythiesleave05:50
holsteinslide: i have had that before as well..05:51
slideone thing i read was that some file names are truncated05:52
slideand ive found a few05:52
holsteinThe basic steps to install Ubuntu Server Edition from CD or USB stick are the same for installing any operating system is what the site says05:52
slidelies05:52
holsteinslide: i usually just make a CD... you can try minimal and add what you need05:53
slideif i only had any cds =\05:53
slideok fixed all the truncated filenames i think05:55
holsteinhttp://ubuntuforums.org/showthread.php?t=2052939 is relevant05:56
slidethanks05:57
holsteini would try dd'ing the iso.. are you using unetbooing?05:58
holsteinunetbootin*05:58
histoslide: how are you getting truncated file names?05:59
histoslide: how are you creating the thumb drive?05:59
slidehttp://www.ubuntu.com/download/help/create-a-usb-stick-on-windows05:59
histoor the cd or whatever05:59
histoslide: that will not truncate filenames06:00
slidehttp://ubuntuforums.org/showthread.php?t=169210406:01
slidehad the same problem06:01
slidethough my files are different06:01
histoslide: http://unetbootin.net/  use this06:10
slideyea trying that now :D06:11
slidestill makes bad names =\06:13
slidehttp://pastebin.com/KJkD948s06:13
slideand that one doesnt even boot up =\06:20
histowhy do you thihnk those are bad?06:20
histoand how is the thumb drive being formated?06:21
slidebecause the only other files are .deb and .udeb06:21
slideive tried fat32 and exfat06:21
histoslide: doesn't unetbootin have hte option to format it?06:45
slideused it06:46
slidef it, ill go get some cds in the morning06:47
histoslide: Not sure what is going on. This isn't that difficult06:50
slideyou would think heh06:50
Techdude1011<domainname>/AXFR/IN' denied using dig on localhost09:30
andolTechdude1011: allow-transfer would be the option you want to tune.09:40
andol(assuming Bind, that is)09:41
Techdude1011andol: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
Techdude1011thanks09:44
vedicHi 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
histovedic: what kind of access ssh?10:05
vedichisto: Remote Desktop10:06
vedicI 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
histovedic: What version of ubuntu?10:07
vedic10.0410:07
histovedic: yeah you need to port forward10:07
histoWhat service are you running on the remote pc ?10:07
vedicIts monitoring software (remote cameras etc)10:08
vedichisto: I don't have port forwaring on Dlink router. But I do have routing option -> Static, Policy routing10:08
histoWhy kind of dlink router?10:08
vedicDlink 2750U10:09
histohttp://screenshots.portforward.com/Dlink/DSL-2750U/Port_Forwarding.htm  yes you do10:09
histoAre you even running a desktop environment?10:10
histoYou realize you are in the #ubuntu-server channel right?10:10
vedichisto: Well I realize server should not have GUI but it is just for testing. I shall remove it later10:11
histoWell first you need something serve your desktop over the network. Something like xrdp or vnc10:12
lifelessspice ftw10:14
Techdude1011Is it possible to use a web interface for remote monitoring?10:15
histovedic: then you just need to forward whatever port that service uses to your internal ip of your sever10:15
andolTechdude1011: 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
histoTechdude1011: yes10:18
histo!zentyl10:18
histowhat is the name of that stupid app10:18
histo!zentyal10:19
ubottuzentyal 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
histoTechdude1011: ^^^^^^^^^^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
maswanpull the disk then power off13:02
crass_maswan: is that an informed answer, or are you being facetious?13:04
cfhowlett:013:05
RoyKcrass_: cache disk?13:06
RoyKOH, DISK CACH13:07
RoyKoops13:07
RoyKoh, disk cache...13:07
RoyKhow can that happen?13:07
maswancrass_: 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 kernel13:07
crass_is there a tool for getting the contents of the cache? I'd like to see what blocks might be modified13:07
maswanAt least if the blocks are dirty. But then they're probably going to be written back within seconds to minutes anyway.13:08
maswanOh, if they aren't dirty, you can just drop caches13:08
crass_yeah, I found vm/drop_caches13:08
crass_I need to figure out if anything is dirty13:08
RoyKcrass_: really, the disk cache contents are never "out of sync", that is, some parts may be dirty blocks (not written yet), but that's it13:09
RoyKcrass_: linux handles the cache far better if you don't meddle with it13:09
crass_RoyK: never say never, I bet I could create a reproducible test for you13:09
RoyKcrass_: what really happens?13:09
maswancrass_: 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 disk13:10
crass_maswan: well that's extremely reassuring13:11
RoyKssd or spinning rust?13:11
crass_the latter, using scsi writes with the ddisable page out bit set13:11
maswandirty 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 there13: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 coincidence13: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 along13:31
amarcolinoHi, now that resolv.cof is set automatically by resolvconf package how do I go about making my changes permanent?13:52
Davieyamarcolino: normally /etc/network/interfaces for server13:53
Davieyamarcolino: http://askubuntu.com/questions/157154/how-do-i-add-changes-to-resolv-conf-without-them-getting-overwritten-on-reboot ?13:55
amarcolinoDaviey, will check it out thanks, I wonder if the use of resolv.conf.d directory actually makes it more flexible to manage resolvconf13:57
Davieyamarcolino: i tend to favour /etc/network/interfaces.. but doesn't atter14:19
amarcolinoDaviey, weird all those config and interface does the job even after restart and sets up nameservers14:22
amarcolinoDaviey, thanks for the help14:22
histoamarcolino: you can add nameservers to resolv.conf.d/head file also15:03
blairis 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/113459215:11
uvirtbotLaunchpad bug 1134592 in logcheck "isc-dhcp 4.2.4-5's DHCPREQUEST messages no longer match ignore regex" [Undecided,New]15:11
amarcolinohisto, 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 directory15:16
=== intellitech_ is now known as intellitech
amarcolinohi, not exactly an ubuntut server question but does anyone know to install a headless virtualbox without the x11 dependencies?17:03
tedskiamarcolino: http://www.howtoforge.com/vboxheadless-running-virtual-machines-with-virtualbox-4.1-on-a-headless-ubuntu-11.10-server17:06
tedskigoogle turns that up for me17:07
amarcolinothanks tedski  but I want to install to safely install vbox while ignoring  the x11 dependecies17:08
tedskii'm sorry, did that link include the x11 deps?17:10
tedskii must have overlooked that17:10
tedskiamarcolino: https://answers.launchpad.net/ubuntu/+source/virtualbox-ose/+question/14456717:11
tedskisee there17:11
tedskipost #317:11
becom33I 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 page17:14
tedskibecom33: the most common cause of 403 errors are file permissions17:18
becom33tedski, could u help me ?17:18
tedskii have no experience with mod_security17:19
amarcolinotedski, wil check that out didn't know x11-commons didn't pull all the x11 libraries17:21
* becom33 anyone ?17:24
tedskibecom33: feel free to post more information, i might be able to help somewhere17:26
tedskirelevant logs... were you able to access this file before you setup mod_security, etc.17:26
Nite_shadesi want to access my server outside my lan, I already forwarded my routers ports to 22 but still to no avail17:28
Nite_shadesany suggestions17:29
RoyKif 22/tcp is indeed forwarded and no firewall is in the way (like one at the ISP), it should work17:30
amarcolinobecom33, 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=108107017:30
histoNite_shades: can you ssh while on your lan to server?17:30
Nite_shadeseverything on my lan interconnects fine17:31
tedskiNite_shades: do you have access to an outside host?17:32
Nite_shadesyes, im using connectbot on android to ssh17:32
tedskiNite_shades: if you provide your external ip, i can do a short portscan to tell you if it's open17:33
tedskiNite_shades: it is possible that your isp is blocking 22... you could try to forward 2222 to 2217:34
RoyKor, if the router doesn't support that, run sshd -p 222217:34
Nite_shadesyeah my isp is most likely the culprit17:34
Nite_shadesEven though im running my server on a virtualbox does it still matter17:36
tedskiit does17:37
tedskiif you're using nat'd networking17:37
tedskimake sure you're bridging17:37
Nite_shadesok i have it on bridged adapter17:37
tedskiso, it's int he same subnet as the router17:37
Nite_shadesyes17:38
tedskigood17:38
RoyKNite_shades: try another, high port (> 1024)17:39
Nite_shadesok im baffled on the start port and end port on port forwarding17:43
RoyKin the router?17:43
Nite_shadesyeah17:43
RoyKit's probably a port range17:43
Nite_shadesi think so17:44
Nite_shadesany suggestions17:44
RoyKjust try to forward 2222 and start sshd -p 222217:44
Nite_shadesyeah my isp is blocking from forwarding port 2217:55
Nite_shadesis there anyway around this17:55
tedskinope17:56
tedskijust use a high port17:56
tedskimany recommend listening on a port other than 22, anyway17:56
tedskisecurity by obscurity thing if you ask me17:56
Nite_shadeswhy would my isp block this port as its a secure one17:57
Nite_shadesis it for security on their part or what17:57
tedskianswers we'll never truly know18:00
tedskibut, they probably have some idiot infosec twit saying that if you're listening on 22, you're hosting a server!18:00
tedskiand then you need business class services18:00
Nite_shadesok finally got connected18:02
Nite_shadesThe problem i had was i was using the router  ip address instead of the external isp provided ip address18:03
Nite_shadeswhich got me connected quickly18:03
chronosscI 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
RoyKchronossc: what does /proc/partitions have to say while on esata?20:37
RoyKsata expanders may be a problem20:38
RoyKor port multipliers20:38
RoyKwhy don't you just use plain sata?20:38
chronosscRoyK: it shows only sdb120:41
chronosscI'm using e-sata cuz I need to copy a large amount of data and my wifi isnt doing good with it20:42
chronosscthis ME580J normally is connect to my Zbox running Ubuntu Server20:43
chronosscand my notebook is losting wifi from time to time, so I plugged e-sata on my note, and e-sata also not works on Zbox20:44
=== wedgwood_away is now known as wedgwood

Generated by irclog2html.py 2.7 by Marius Gedminas - find it at mg.pov.lt!