=== cryptodan_deskto is now known as cryptodan [05:04] Running Ubuntu-Server how do I see what drive my video card is using? And how do I update it? [05:04] and yes I know it is a CLI but I am trying to run a vbox... [05:09] ThreeDeeAccel: /var/log/Xorg.0.log [05:10] ChibaPet: I am not running X I am in ubuntu-server. [05:11] I was trying this "sudo ubuntu-drivers devices" which I found here https://help.ubuntu.com/community/BinaryDriverHowto/Nvidia but ubuntu-drivers doesnt appear to be a real thing [05:12] Oh, that. Hm. I'd pick an nVidia version from the nVidia web site, and install the correct package from the Ubuntu repos. [05:13] ThreeDeeAccel: ubuntu-drivers is very much a real thing. it's in the package 'ubuntu-drivers-common' [05:16] tarpman: lol, I dloaded the package to see what I can find. [05:16] ChibaPet: I pulled a file from nvidea and will look more into using it if the howTo doesnt work. [05:18] ThreeDeeAccel: I wouldn't use the nVidia driver downloaded from there - you can just use the web site to see what drivers support your card. [05:20] ChibaPet: I pulled the driver nvidia recommended. but, now I am just installing the same version# with apt-get. [05:20] That's what I'd do. [05:21] apt-get install nvidia-352-updates or whatever's appropriate [05:21] ChibaPet: why *-*-updates? and not just *.*? [05:22] I was on the nuovo driver before. [05:22] Nouveau [05:23] ThreeDeeAccel: I don't know, really. Someone suggested that -updates give you a different driver. From the name I'd *guess* they're more aggressive about commits or something. I don't honestly know! [05:24] ChibaPet: Interesting, Ill look into that for next time. I already hit 'go' on just the baseline file. [05:25] That should be fine. [05:46] The issue I was trying to fix by updating Graphic Drivers did not work. I think youll just point me towards #vbox but Ill ask here just in case. [05:47] Ah, let me beg for alacrity then. Was just about to go to bed, but I can give it a shot. [05:47] I am running Ubuntu-Server with VirtualBox. I am trying to install LinuxMint but I cannot check "Enable 3D acceleration". [05:48] On your host system, what's glxinfo | grep ^direct say? [05:49] glxinfo not installed...just a sec [05:49] If it's anything other than "Yes" then that's likely your issue. If it says "Yes" then yeah, #vbox (or whatever it is) might give you better luck. [05:50] it says "Error: unable to open display" btw I am ssh'ed into the host. [05:51] Oh, hrm. I think ssh -X will just give you info from your local server. Hrm. [05:52] I can walk to the server room and type it in... [05:52] Other than grovelling logs on the server to see that the proprietary driver is running, I'm not sure off the top of my head how to test that. Asking during daylight hours here and .... ah [05:52] Then that's the answer. [05:52] With that, though, I need to hit the sack. Good night and good luck. [05:53] ChibaPet: Thanks, cya. [06:24] hi friends [06:25] */4 6-20 * * 1-7 /usr/scripts/uplsql.sh <-- every 4 minutes, from 6am to 8pm execute this script, my dude if i want execute the script every 3 minutes from 8pm to 7a, how do this? [06:40] jak2013: you described it all already, should be */3 20-7 ... [06:41] jak2013: https://help.ubuntu.com/community/CronHowto [07:09] Hi, I have installed Kafka server to 3 nodes all of them have Ubuntu Server. The server starts correctly on two nodes but when I start the server on the third node it gives me this error (-su: /home/kafka/kafka/kafka.log: Read-only file system) [07:09] any help ? === uaa is now known as Guest5838 === marlinc_ is now known as marlinc === Guest5838 is now known as damascene === cpaelzer_ is now known as cpaelzer === pesari_ is now known as pesari [08:28] Good morning. [09:55] hello, i have problem with ubuntu server 16.04. After installation system can't see my raid devices :/ Anyone can help me? === essembe is now known as sbeattie === Error404NotFound is now known as E404NF [10:55] hello, i have problem with ubuntu server 16.04. After installation system can't see my raid devices :/ Anyone can help me? === E404NF is now known as Error404NotFound === Error404NotFound is now known as E404NF [11:34] ... === ujjain- is now known as ujjain [11:55] pezet91: You end up in the initrd? === E404NF is now known as Error404NotFound === Error404NotFound is now known as Guest1975 === Guest1975 is now known as E404NF [12:15] lordievader: i don't understand [12:15] Is your rootfs on the raid? [12:16] no, it's additional disk space :] [12:16] my rootfs is on ssd [12:16] Ah, alright. Is it softraid (mdadm)? === tomaw_ is now known as tomaw [12:18] no, it's hwraid, it's LSI MegaRAID SAS-3 3008 [fury] controller [12:18] Hmm, I'm afraid I don't really have much experience with hardware raids. Anyhow anything in dmesg about it? [12:21] dmesg log (grep mega): http://pastebin.com/qgiUzZq8 [12:21] driver for this card is megaraid_sas [12:22] Doesn't look like there is anything wrong with it... [12:22] I suppose the raid drive is offered as a normal block device? i.e. sda or something? [12:22] i know, but i don't see a virtual drives [12:23] i don't see this in /dev [12:23] No other obvious errors in dmesg? [12:24] no, i don't see errors [12:24] Huh... [12:24] I'm afraid I cannot really be of help, sorry. [12:25] ok, thanks for trying ;) [12:25] I never buy a server from Fujitsu :/ === Pici` is now known as Pici [13:24] hey all - what are you guys using to close brackets and auto indent in vim [13:25] I had this super great .vimrc but I accidentally deleted it from source control [13:25] now I gotta find a new one [13:32] :set ai [13:32] and ) [13:33] I like the idea of surround.vim but have never used it. [13:36] dolby.vim :) === andrewj is now known as andyjones2001 === Guest12587 is now known as mfisch === mfisch is now known as Guest62254 === Guest62254 is now known as mfisch [14:38] helloooooo! [14:38] i need some help plz [14:39] i try to install openstack with vms [14:39] i have one node ready and i try to deploy juju but i got an error "bootstrap instance started but did not change to deployed state" [14:39] after i wait long time [14:39] does anybody know anything? [14:46] Sophie__: it can be quite idle here, have patience :) [14:48] Sophie__: what instructions are you following? [14:49] https://help.ubuntu.com/lts/clouddocs/en/Intro.html?_ga=1.27068984.444620310.1457272523 [14:49] this one now I am one the second step to install juju [14:50] with computers you will need a lot of patience my dear :) [14:53] Sophie__: i suggest you try the automated installer for now. go up a few levels from your doc [15:02] yeah but i want to make it with vm as nodes so it can be more like the normal install === maxb_ is now known as maxb [15:42] Hello, I want to ask please if start-TLS works with Samba4? (as I don't want to use LDAPS because as you know it has been deprecated). Thanks in advance! [15:42] Hello, I want to ask please if start-TLS works with Samba4? (as I don't want to use LDAPS because as you know it has been deprecated). Thanks in advance! [15:45] mne1991: i havene't tried it but why would it not? [15:46] I don't know, I need some help to set it up, even if it was with money :) [15:46] Because I tried everything I can, with no success === rw is now known as dax === Metacity|uh-oh is now known as Metacity [16:21] hello [16:22] if i create a new account under ubuntu server then will all the applications i installed under the original root user no longer start up automatically? [16:23] or do applications such as apache and mysql start up irrespective of what account logs in? [16:23] jjrabbit443: login account does not effect them in any way [16:26] so all applications run under root account regardless of what account i am logged in as when i install? [16:29] first, you have a "normal" user account that can get root privileges using sudo. So, when you install some services using apt, the will run in the system using root account (approximately). [16:30] nice [16:30] it depends on the service. some services use so called "System user accounts" [16:30] yeah i installed using apt [16:31] some other services you may need to run it manually, so the user account that you are using for starting it will matter === tyhicks` is now known as tyhicks [16:49] Hi guys, how come kernel updates are coming through to the repos before any mention on http://www.ubuntu.com/usn/ (Precise ) [16:50] be nice to know why? [16:51] Hi, I just noticed that my ubuntu server install no longer uses a kernel tagged kernelversion"-kernel", but now "-generic" Is there any reason for this, or did something get messed up during my upgrade process awhile back? [16:55] Datz: never a dull moment eh [16:55] * Datz is tres excited [16:57] très* [16:57] not French dude I just live here [16:58] when is Ubuntu going kernel 4+? [16:58] * Datz has no a clue [16:58] I installed 14.04 on Scaleway the other day and it had the 4.4+ kernel [16:59] basically my relationship with ubuntu server latley has been set it and forget it [16:59] not sure how they did that [16:59] Datz: yeah we all love the EOL [16:59] indeedy [16:59] Ubuntu got a 4+ kernel with Ubuntu 15.10. That kernel also got included in the latest point release of Ubuntu 14.04 [17:00] I don't know, I'm apparently running 3.13.0 [17:00] andol: ty [17:00] well, that's interesting.. [17:00] andol: does that kernel mean less reboots needed? [17:01] davidic65: Not neccesarily. [17:01] probably more! [17:01] I thought that was a main thing with the k4 [17:01] If one has an existing Ubuntu 14.04 install one can get the 4.2 kernel by installing the linux-image-virtual-lts-wily package. [17:06] andol: could that mess with any software we have on a current server? === TwistedFruit is now known as ChibaPet [17:09] Ok I see my answer.. Before 12.04, Ubuntu server installs a server-optimized kernel by default. Since 12.04, there is no difference in kernel between Ubuntu Desktop and Ubuntu Server [17:09] I think I was running 10.04 before this.. [17:10] backup and do a fresh install maybe [17:10] busy site? [17:11] sometimes there is nothing quite like a fresh install [17:15] anybody here use fail2ban [17:15] I do, all servers [17:15] jjrabbit443: I fail2fail2ban. Greylisting and keys. [17:15] but basic setup [17:15] mainly SSH [17:15] Or portknocking, rather. [17:16] if i have SSH open i should be running fail2ban correct? [17:16] if I use dovcot or postfix my clients are banned in no time :) [17:17] jjrabbit443: sure it will not hurt, you use pwds yeah [17:18] davidic65: Anything is possible, but as a general rule newer kernels tends to do a good job in staying compitable with older userspaces. [17:18] andol: thanks [17:20] cool thanks [17:20] jjrabbit443: just use very nice pwds everywhere and use f2b for SSH [17:21] Ubuntu dont like root for very good reasons but... [17:22] 2s|BH2M_7;29nv7594m52KB854U|76p^r6*Hq would be hard to hack [17:22] example [17:23] I prefer root myself [17:23] what do you mean Ubuntu don't like root [17:23] prefer you use sudo [17:24] I prefer direct root access [17:25] and root sftp but you need to edit sshd_config for that [17:25] easily done [17:25] iirc, sshd_config allows root login by default. [17:26] Pici: not on 14.04 [17:26] Using password for ssh, fail2ban or not, is not recommended. [17:26] davidic65: ah, did it change then? [17:26] yep [17:26] Pici: It's allowed by default in 16.04, with "prohibit-password". [17:27] ChibaPet: how come all the other distros dont have a problem with root [17:27] I assume the same is true for 14.04. [17:27] I understand the security but [17:28] davidic65: It's largely illusory security. Recommending sudo-based administrative access simply helps auditing and accountability. [17:28] That is worth it all by itself [17:28] when you upgrade from 12.04 to 14.04 this matter comes up and the default is allow root lofin btw [17:28] login sry [17:28] but a fresh install and its different [17:29] davidic65: I have a fresh install of 14.04, and it also allows root by default. Don't take what you read on IRC with more than a grain of salt. [17:29] not complaining about sudo, just dont use it after I have root setup with a nice pwd or key [17:30] davidic65: sudo is great when you have an admin team and want to track access and actions. [17:30] sure, lone wolf here [17:30] root has been locked down since the very first release in ubuntu (the installer actively runs passwod -l root) ... if yuo have an unlocked root account yu must have manually set a password or removed the locking [17:30] ChibaPet: thats makes total sense [17:31] there is techinically no way an upgrade touches that [17:31] Ubuntu are trend setters [17:31] ogra_: That is accurate. You don't get a root password unless you explicitly set one. [17:31] right [17:31] and if you set one or unlock the account it will persist across upgrades [17:31] actually I setup Ubuntu 14.04 on a new hetzner server the other day all was done root? [17:32] whats "hetzner" a hardware manufacturer ? [17:32] installed and logged in as root? [17:32] i like running as root [17:32] davidic65: How cloud vendors do it is up to them more than Canonical. [17:32] ogra_: hetzner.de [17:32] so should i create a secondary login that i use to SSH into, then when I am logged in switch to root account? [17:32] ChibaPet: yeah but they did not think sudo was important [17:33] davidic65, oh, so you get a hetz-buntu then, thats not comparable to an accurate ubuntu i guess :) [17:33] all root [17:33] i.e. some vm image they roll [17:33] (and obviously not using the ubuntu defaults there) [17:33] ogra_: also they give you the initial pwd which is nothing like pwd123456 :) [17:34] fun [17:34] do you at least get forced to change it on first login [17:34] nope just do it if you like [17:34] or can i expect to be able to log in to half their virtual servers with the defaults [17:34] but its a pretty good one to start of with [17:35] thats gross [17:36] nah your just starting off, most people who run dedies know to change pwd after install [17:36] the one they give is unhackable I guess [17:37] . [17:38] would be nice if putty had a dropdown with history of ip addresses [17:40] ip address for what [17:40] apache access log will give you enough [17:40] recent servers [17:40] ? [17:41] *recent connections [17:41] send patches to the putty devs ;) [17:41] tcpdump for current [17:42] jjrabbit443: apache access log will do for that [17:42] hwo would apache access log help you to remember which servers you ssh'ed to recently ? [17:42] very handy for WP xmlrpc attacks so you can drop an offender [17:43] ogra_: maybe I misunderstood [17:43] yeah, putty is a windows ssh client (that was at some point ported to linux i heard) [17:43] :) [17:43] I use it from time to time :) [17:44] kitty more pretty tho [17:44] * ogra_ has last used it in 1998 or so ... when i last used a windows desktop [17:45] ah http://www.ubuntu.com/usn/ linux kernel update just in [17:45] will they ever nail a kernel down [17:46] been in the repos for hours [17:46] coffee break maybe? [17:48] must admit the flaws are so sophisticated [17:49] the people who find these flaws, do they have a kife? [17:49] life [17:51] Ralf Spenneberg discovered that the usbvision driver in the Linux kernel did not properly sanity check the interfaces and endpoints reported by the device. An attacker with physical access could cause a denial of service [17:51] Hats off [17:53] how did he find that out :) [17:54] I come across things like that every day :) [17:56] davidic65: https://www.blackhat.com/docs/eu-14/materials/eu-14-Schumilo-Dont-Trust-Your-USB-How-To-Find-Bugs-In-USB-Device-Drivers-wp.pdf [17:57] davidic65: he has a special arduino device/firmware that he uses to pretend that it's a bunch of different devices [17:57] sforshee, nice work with syseleven ! (/me just read their blog) [17:58] http://www.syseleven.de/blog/heisenbug/ ... :) [18:01] nice find [18:03] yeah, hats off to guys who find things like that [18:03] Hi [18:04] My server 14.04 kernel 3.19.0.51 has act up [18:05] Read only filesystem then on reboot I have issues when I fsck /dev/sda [18:05] Error loading shared libraries [18:06] Libext2fs.so.2 invalid header [18:06] Any way I can fix this? [18:06] Monkeydusk? [18:07] MonkeyDust? [18:08] Help? [18:08] HoloIRCUser2: what have you done before the problem? [18:08] Nothing. Server was on idle [18:09] When I SSH to it I noticed the RO problem [18:09] Try to reboot and fsck /boot [18:09] Can't [18:09] Hmm [18:09] what do your server provider people say [18:10] Maybe I should fsck it from a USB bootable [18:10] no idea of your setup or provider [18:10] My server provider is me [18:10] HoloIRCUser2: try booting to a different root filesystem; cd, usb, pxe, etc., something where the 'fsck' isn't provided by the bad filesystem itself [18:11] Yeap my thoughts exactly. Will try a bootable usb [18:11] Thanks [18:15] sarnold: how do problems like arise if you have done anything to the server? [18:16] not done [18:19] davidic65: bitrot is one potential source of problems; it could be logic bugs in the kernel, of course, and cronjobs often do enough work to trigger those.. [18:23] sarnold: thanks [18:24] running "service ssh restart" from an SSH session doesn't kick you off? [18:24] really? [18:25] no, it keeps the sshd you are connected to running until you log off [18:26] cool [18:26] getting root eh :) [18:26] (a package upgrade for openssh-server calls that too... you dont really want your connection to die if there are 200 packages coming in and ssh is somewhere in he middle) [18:26] jjrabbit443: those old sessions are running w/ the old context/configuration (iiuc) [18:27] better restart the server i guess [18:32] heads up, not promoting but virtualmin now does auto install on the free letsencrypt ssl certs as of today, well cool, one click install :) [18:35] ok here i am [18:36] unfortunately e2fsck doesnt report any issues with /dev/sda1 [18:36] now what? [18:36] ? [18:36] am on server boot from usb [18:36] a, holoircuser [18:36] am [18:37] this a home server? [18:37] yes [18:37] this is what i ger/dev/sda1: 303/124496 files (16.8% non-contiguous), 58680/248832 blocks [18:37] why not backup and do a new install [18:37] no way [18:37] to much trouble [18:37] why? Exactly [18:37] i have a lot of configs on this one [18:38] back them up [18:38] what software you running [18:38] Mate-user1512: you could check debsums on the filesystems.. [18:39] so nothing can be done with those shaqred libraries gone bad? [18:39] am on ubuntu server 14.04.4 [18:39] I read something on google earlier [18:39] probably related [18:39] now i have booted manjaro from usb / on server :) [18:39] not [18:40] umount sda1 [18:40] google your problem a bit [18:40] and checked for issues [18:40] nothing came up [18:41] Mate-user1512: you can apt-get install --reinstall the affected packages [18:42] hmm [18:42] didnt try that [18:42] simple things can fix things thats for sure [18:43] I was reading something about ncurses [18:43] probably not related [18:43] nah [18:44] always an answer dude but always have complete backups [18:45] i have [18:45] i dd the os image [18:45] then just reinstall and restore [18:45] but i was on 12.04 [18:45] ah [18:45] yeah [18:45] too much trouble [18:45] too long ago [18:45] well your site is down how much trouble is it worth? [18:46] when did you upgrade? [18:46] when canonical aloud ne too [18:46] *me [18:46] while ago then [18:46] i think that was on 14.04.1 [18:47] and all was fine until today? [18:47] yeap [18:47] that sucks [18:47] hardware? [18:47] d525 [18:48] with 4gb ram [18:48] atom cpu 4 threads [18:48] I mean hardware failure [18:48] no failure [18:48] how you know? [18:48] filesystem corruption maybe [18:48] hdd packing in maybe [18:48] no [18:49] my raid 5 array is ok [18:49] smartctl reports happy? [18:49] its just the os hdd that has issues [18:49] let me see [18:52] atom is it a laptop with raid 5? [18:53] nope desktop [18:53] 1.8ghz x4 [18:53] some atoms were also popular with low-power server folks [18:53] this is it [18:53] if a machine was intended for mostly storage tasks it was a pretty decent fit [18:53] yeap [18:53] sarnold: Scaleway using them with great sucess [18:53] it fits me very well indeed [18:54] is the "var" directory the "program files" of ubuntu? [18:54] nothing wrong with sda [18:55] weird [18:55] sorry, is "bin" not "var" [18:55] jjrabbit443: check out "man 7 hier" [18:55] sarnold: ty [18:57] hmm /dev/sda1: status 0, rss 2896, real 0.010133, user 0.003333, sys 0.003333 [18:57] hdd is well [18:58] if you have money hire a sysadmin expert [18:58] was that the -fast- check? try a slow long check [18:58] how? [18:58] -p? [18:58] I reckon its hardware failure [18:58] that was fsck -r /dev/sda1 [18:59] shall itry -r [18:59] eh [18:59] -p [18:59] things dont go tits up overnight like that if you have not been faffing with stuff [18:59] Mate-user1512: the -t long option to smartctl looksl like the hting [18:59] davidic65: meh, sometimes they do [18:59] davidic65: I came back froma weekend once to find that reiserfs had eaten over a third of its tree [19:00] ok, but never had probs like that [19:00] as long as mechanics are involved they will always wear out at some poin [19:00] t [19:00] other than bang something gives up [19:00] hmm maybe is that [19:00] it wear out [19:00] if you have enough systems these sorts of things happen near continuously :) [19:00] nothing gives whats the issue [19:01] i have to remove usb and reboot os to check again [19:01] which is why e.g. zfs is as popular as it is, it provides self-repair when disks bitrot [19:01] doesnt wrth the hw involved [19:01] *worth [19:02] Mate-user1512: if you have full backup I can loan you a dedicated to restore to, you will just need to do dns [19:02] you mean backup my raid? [19:02] just your sites [19:02] what sites you running [19:02] nah i dont have any [19:03] :) [19:03] so is the server that important? [19:03] this is a home server for storage/streaming/downloading [19:03] why [19:03] my right hand [19:04] but you hand this scenario in mind yeah, server goes bang, do a quick restore [19:04] on something important to you [19:04] i"ll remove ubuntu and install openmediavault i think [19:05] WHAT [19:05] too much trouble start over [19:07] let me get this right :) [19:07] its just a personal storage server [19:08] yes [19:08] lol [19:08] hehe [19:08] I mean a personal PC [19:09] yes [19:09] :) [19:10] ok i"ll reboot [19:10] I think I am about done here [19:10] bye and thanks [19:10] geez [19:10] guy needs an external hdd :) [19:11] well I fell for that one [19:15] probably just realised his hardware is going south [20:23] anybody know if there is a website that tests your server for vulnerabilities? [20:27] Hopefully there isnt, that would be a severe vulnerability :) [20:28] unless your just looking to test, wide open stupid mistakes [20:28] then your probably looking for shodan.io [21:09] beisner, can you promote python-glanceclient 1:2.0.0-0ubuntu1~cloud0, python-openstackclient 2.2.0-0ubuntu1~cloud0, and pep8 1.7.0-1~cloud0 to trusty-mitaka-proposed? regression tests have passed successfully. [21:13] coreycb, promoted those 3 to mitaka-proposed. thanks for the updates :) [21:13] beisner, thanks!