/srv/irclogs.ubuntu.com/2015/12/19/#ubuntu-server.txt

Syntheadbut thanks00:00
Syntheadanyway, might edit /etc/default/grub cause there's logic I didn't expect in grub.cfg00:00
jarkinoxchange it from 2 to 30?00:00
SyntheadI think update-grub will generate a new grub.cfg (run it as root)00:00
Syntheadsure00:00
Syntheadthen reboot and see if your drive is recognized00:01
jarkinoxso what I pasted you didn’t expect?00:01
Syntheadheh, yeah, I was expecting just a set timeout=n in there00:01
Syntheadline 90 is probably what you'd change, but changing that would be a bit of a hack with that logic wrapped around it imo00:02
Syntheadoh, while you're acquainted to that timeout in grub.cfg, you might check if /etc/default/grub and update-grub actually changes that timeout valie on line 9000:02
Syntheadvalue00:02
jarkinoxin /etc/default/grub it’s line 900:03
SyntheadGRUB_TIMEOUT, yeah?00:03
jarkinoxi was just going to change /etc/default/grub00:03
Syntheadyeah, change that file, then run sudo update-grub00:03
Syntheadwithout running update-grub, grub.cfg will not be changed and for this scope, there would be no changes to how your system boots00:04
Syntheadtbh, I wouldn't be surprised if your HDD is recognized after this00:05
jarkinoxthen reboot?00:05
Syntheaddid you run update-grub yet?00:06
jarkinoxyup00:06
Syntheadwas that line changed in /boot/grub/grub.cfg?00:06
jarkinoxwoops, didn’t check :)00:06
jarkinoxtoo late00:06
Syntheadhahaha00:06
Syntheadit probably was :)00:06
jarkinoxi’m super reckless00:06
Syntheadnah00:06
Syntheadit's your box without any HA apps, right?00:07
jarkinoxhigh availability?00:07
Syntheadah crap, google.com is down! where do you work again?  I am not responsible!00:07
Syntheadhehe00:07
jarkinoxyeah it’s mine.  cobwebs inside and everything00:07
Syntheadyeah00:07
Syntheadyeah you're good00:07
Syntheadprepare for an ungodly 28 extra seconds!00:08
jarkinoxseriously00:08
jarkinoxthis is torture00:08
SyntheadI saw you should boot grub from a floppy00:08
Syntheadmaybe a zip disk00:08
jarkinoxno dice00:09
Syntheadstill not recognized?00:10
jarkinoxnope00:10
Syntheadah, shucks00:11
Syntheadmight put that timeout back ;)00:11
jarkinoxgrub.cfg does show timeout = 3000:11
jarkinoxso that worked, but that’s it00:11
Syntheadyeah this stuff didn't fix it00:11
Syntheadhm00:11
jarkinoxno worries Synthead00:11
jarkinoxthanks for the help though00:11
Syntheadstill thinking about your issue00:12
jarkinoxi read somewhere messing with fstab might be the trick00:13
jarkinoxknow about that?00:13
Syntheadjarkinox: well, the issue seems to be at a lower level than that00:13
Syntheadfstab just affects present disks00:13
Syntheadyour disk isn't recognized yet00:14
Syntheadwhat about https://bbs.archlinux.org/viewtopic.php?pid=1081842#p1081842 ?00:14
Syntheadyou might be able to add usb-storage.delay_use=5 (or something higher) to your kernel options00:14
TJ-jarkinox: does the external enclosure have its own power supply?00:15
Syntheadlooks like you can add it to modprobe.d too00:15
Syntheadjarkinox: what if you did this?  echo "options usb_storage delay_use=5" > /etc/modprobe.d/usb-storage-delay.conf00:16
Syntheadjarkinox: you'd have to run this as root (not sudo)00:16
Syntheadjarkinox: sudo -i will get you in as root00:17
Syntheadjarkinox: after touching that file (and setting grub's timeout back to what it was), try rebooting and checking again00:17
jarkinoxTJ: It does have it’s own power supply00:19
jarkinoxSynthead: I’ll need to digest what you posted00:20
TJ-jarkinox: that device is known to have a problem; it's the additional enclosure device that causes the issue00:20
SyntheadTJ-: it's going to be a permanent install on this box and his mobo has only usb 200:20
jarkinoxyeah I had a problem with it from the very beginning because it’s 3tb and was partitioned using GUID00:20
Syntheadjarkinox: basically, via that file, you'd be telling the linux kernel to wait for 5 seconds before giving up detecting this drive00:21
jarkinoxi’m fine with it if the device itself is the problem00:21
Syntheadjarkinox: it defaults to 1 second.  might experiment with something silly, like 30, just to ensure that this isn't the issue00:21
jarkinoxi was just pissed i couldn’t configure it properly when my toshiba hdd was working fine00:22
jarkinoxi’ll try that00:22
jarkinoxlater though.  It’s time for my hourly daytime beer :)00:22
Syntheadhehe00:24
Syntheadjarkinox: good luck, and enjoy :)00:24
jarkinoxthanks Synthead.  really appreciate it00:24
Syntheadjarkinox: if this is too much of a headache, ripping out the HDD from that enclosure and attaching it via SATA will almost certainly make it work00:25
Syntheadjarkinox: you're welcome!00:25
=== parzzix_ is now known as parzzix
freeroutehi, suppose I want to give a local domain name (like cabbage.carrot) to a local machine running 14.04. Would the first part of this answer apply to me too? http://askubuntu.com/a/19095408:46
freeroute(also is cabbage.carrot an FQDN or an unqualified one?)08:46
RoyKfreeroute: it'll be your fqdn09:04
RoyKfreeroute: that is, if cabbage is your hostname09:04
RoyKfqdn == hostname.domain09:05
RoyKas in myhost.subdom.dom.tld09:05
RoyKor something like that09:05
RoyKfreeroute: most use .local for the tld if it's locl09:05
freerouteRoyK: as I see, so if I simply edit the /etc/hostname and /etc/hosts, restart the service and all local machines will be able to reach the machine when they type http://cabbage.carrot? Or do I have to somewhere make a DNS server?09:19
freeroute*ah09:19
RoyKyou need dns09:28
RoyKor hardcoded things in /etc/hosts09:28
RoyKfor each client09:28
freerouteooh ok.09:35
freeroutecool, thanks :)09:35
sorin-mihaiI have 3 servers with only one NIC, accesible over the internet, that I want to use as kvm hosts to make some sort of LAN of VMs then use the VMs to learn more about OpenStack. what is the faster aproach to this kind of setup?09:36
RoyKjust use bridging09:43
RoyKif you want them in a cluster, you'll need shared storage of some kind09:43
RoyKnfs is the easiest09:44
RoyKand you'll want corosync etc to avoid starting the same vm two places09:44
RoyKsorin-mihai: local or shared storage?09:45
sorin-mihaiRoyK, I'm kinda new at this... each server has it's own storage09:47
RoyKsorin-mihai: do you want to run them separately or as a cluster?09:47
sorin-mihainow I only have the latest ubuntu installed, and I think that a cluster ov VMs would do. I don't think MaaS installed on hardware would help, since I don't have enough servers09:48
RoyKsorin-mihai: perhaps try #virt @ irc.oftc.net09:49
RoyKsorin-mihai: setting up a kvm cluster isn't too hard, but if you're new at this, it might take a while studying how it works09:50
sorin-mihaiMaaS would work for a cluster of VMs for a PoC?09:50
RoyKMaaS doesn't have anything to do with the cluster config09:50
sorin-mihaiI think that if I get a kvm cluster with 9 VMs then I can go on with the MaaS stuff. or is it too much overhead?09:52
sorin-mihaisomething like kvm cluster > MaaS > Autopilot > OpenStack09:53
lordievaderGood morning.10:17
=== Piper-Off is now known as Monthrect
Club-Matehello everybody, I am planning to set up a homeserver and thought about using ubuntu-server. I hope someone can answer me a few question13:47
lordievaderClub-Mate: Go ahead, ask ;)13:47
Club-MateOk thanks, if you choosed Ubuntu-Server, why did you as there are other Linux alternatives that would probably do I good job too.13:49
rbasakI think what matters most if you're getting started is how you're going to get help.13:54
rbasakIf you have a friend who loves Gentoo and will help you, get started with Gentoo. Etc.13:54
rbasakIf you dont' have anyone local, then consider how you'll get help on the Internet generally.13:55
rbasakUbuntu Server is the most popular distro for homeserver use I think. Certainly one of the top ones. So that means that you're more likely to find help on the Internet when you need it. Included direct help for your problems as well as general guides on how to do things.13:56
lordievaderClub-Mate: Ubuntu/Debian are easy to get going. I personally run Gentoo on my homeserver. But we usually go with Debian/Ubuntu since they are easy and well known.13:57
Club-MateThanks. If I want to use certain services like OwnCloud, can I simply install them from the official repositories or do I have to download them from the Developer's website to get the latest version? A PPA would be an easy alternative to repository?14:07
flaruntyou could use a docker container14:08
patdk-lapthe only way you can get latest, in a distro, is fedora probably, and likely gentoo14:35
patdk-lapor you forget the distro, and install it yourself, from the source14:36
han420I'm logging into a ubuntu server used for LAMP that hasn't been maintained for years. What are some basic things to check other than apt-get updates?15:41
TJ-han420: are you concerned about potential compromise of the server?15:43
han420there are no signs of that that I can see, but I'd like to start by looking for them15:46
han420or checking if everything's normal - is there some standard procedures? some logs to look at?15:48
TJ-han420: well, if the logs aren't compromised, they're all under /var/log/  'auth.log'15:49
rbasakI would take the server offline and take a snapshot using a known uncompromised machine.15:50
TJ-han420: if you're at all concerned then take it offline, mount its file-systems on another host, and use some rootkit scannera15:50
rbasakThen compare everything on the filesystem against what Ubuntu shipped in packages.15:50
rbasakAnd account for all differences.15:51
TJ-han420: original file MD5 hashes per-package can be found under /var/lib/dpkg/info/<package>.md5sums (using a known good host of course)15:52
rbasakFinally update it while it's still offline.15:52
rbasakI don't consider MD5 good enough for checking that. Use SHA1 at least. SHA2 preferably. Or just do a byte-for-byte comparison as you'll have to calculate hashes anyway.15:53
han420Thank you, I'll look into it16:01
YamakasYis there some alternative for dell openmanager ?16:17
YamakasYI think it uses too much resources ?16:17
Walex2YamakasY: the only source for Dell OpenManager is Dell....16:53
YamakasYWalex2: alternative != source16:54
=== mukhbiir is now known as neoark
Pap00sehow do u add modify user accounts on proftpd in ubuntu, please point me to a guide either via ftp commands or via ssh terminal17:54
=== ainTcent is now known as samsn
Pap00sehow do u add modify user accounts on proftpd in ubuntu, please point me to a guide either via ftp commands or via ssh terminal18:08
jak2000i have 1 nic, inserted one more (a second) nic, but ifconfig only see 118:30
jak2000http://pastebin.com/aSc1S7bC18:31
Walex2jak2000: 'lspci'18:54
Walex2Pap00se: http://www.proftpd.org/docs/howto/Authentication.html18:55
Walex2Pap00se: looks for "virtual users"18:56
Walex2Pap00se: and in particular 'mod_auth_file'18:57
Walex2Pap00se: http://www.proftpd.org/docs/modules/mod_auth_file.html18:57
Walex2Pap00se: http://www.proftpd.org/docs/faq/faq_full.html#AEN69918:59
patdk-wkWalex2, dunno if that would help at all19:01
patdk-wkhe wanted to modify user accounts for it, but we don't know what he is using for user accounts19:01
patdk-wkif it is system/pam/file/ldap/sql/...19:01
patdk-wkproftpd supports a lot of different user systems19:01
Walex2patdk-wk: that is part of the documentation for almost all of them :-)19:01
* patdk-wk also wonders why he wants a guide, and not documentation :)19:02
jak2000Walex2: http://pastebin.com/aSc1S7bC19:03
jak2000how to enable the second eth?19:03
bekksjak2000: The same way as you enable the first one.19:06
bekksjak2000: ifconfig only shows active interfaces, ifconfig -a shows all interfaces.19:06
jak2000ok edit the19:06
patdk-wkifconfig shouldn't be used at all19:06
bekksjak2000: How did you configure your first nic - using /etc/netwok/interfaces?19:06
jak2000interfaces file right?19:07
jak2000yes19:07
Walex2jak2000: note line 1919:07
bekksThen configure the second nic in there, too.19:07
jak2000bekks how to rstart network service?19:08
bekksjak2000: Depends on the ubuntu release.19:08
patdk-wkyou don't19:09
jak200014.0419:09
patdk-wkuse the ifup/down commands19:09
jak2000bekks patdk-lap: http://pastie.org/1064193519:10
patdk-wkyour missing the auto line19:10
patdk-wkwhy is there a gateway on it?19:11
patdk-wkonly one interface should have a gateway defined, or your just asking for problems19:11
jak2000removed...19:12
jak2000done19:12
jak2000not know why answer the ping19:13
jak2000but answer the ping :)19:13
Pap00sethanks walex19:50
=== Lcawte|Away is now known as Lcawte
PryMar56checking out a new VPS with 15.04 on VZ. There is no apache2 unit in list-unit-files. Is this normal when we are handed the VPS already setup?20:59
PryMar56oh, see I got wise by asking the ques. Its in /etc/rc2.d21:00
spaokhello21:32
=== Lcawte is now known as Lcawte|Away
=== ainTcent is now known as samsn
pmatulishello23:50

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