/srv/irclogs.ubuntu.com/2015/10/28/#ubuntu-server.txt

ElionHi, i have an ubuntu server and i want to install multiple services on it like gitlab, owncloud, mumble, web server, monitoring system, .... What do you advise me to use to get services in boxes : docker, vm, whatever... and should i use something like chef to manage it ?00:06
=== Lcawte is now known as Lcawte|Away
neonixcoderhay guys.. I am using Ubuntu 14.04 server(recently we upgraded from 10.04 to 14.04), after upgrade I am getting blank screen. But I can connect to that machine remotely..00:39
neonixcoderany suggestion?00:39
sarnoldneonixcoder: maybe try deleting plymouth, I think that's the thing that does happy boot graphics00:41
neonixcodersarnold: how can I do that, is it apt-get remove plymouth?00:42
sarnoldneonixcoder: yeah, I think that should do it00:43
neonixcoderafter that do I have to do something?00:43
sarnoldjust reboot and test..00:43
sarnoldwhere do you lose graphics? do you see the grub boot menu? if you hold the left shift, does that make the grub boot menu appear?00:44
neonixcoderI can see grub boot menu..00:45
neonixcoderafter grub completes.. its just blanks out..00:45
neonixcoderdo you want my /etc/defaults/grub file content?00:45
sarnoldnah, I know next to nothing about the booting end of things00:45
neonixcodersarnold: It want to remove upstart and cron as well which I feel critical for ubuntu machine..00:45
sarnoldI was just curious if it broke before or after grub :)00:46
sarnoldneonixcoder: hunh. that's annoying. upstart and cron shouldn't care about plymouth :(00:46
neonixcoderyes.. they are interlinked..00:47
TJ-neonixcoder: with the black screen, does Ctrl+Alt+Fx (1 <= x <= 7) give a login tty ?00:47
neonixcoderno nothing..00:47
neonixcoderall are blank..00:47
sarnoldflashing cursor? or completly blank?00:47
TJ-neonixcoder: sounds like a 'nomodeset' requirement; which GPU/driver is installed?00:48
neonixcoderTJ-: My details are http://pastebin.com/32bhciDX00:51
TJ-neonixcoder: can you "pastebinit /var/log/dmesg"00:52
neonixcodersarnold: completly blank and I dont see signal is going to monitor.. it just say "No signal" and switch off the monitor..00:52
neonixcoderTJ-: http://pastebin.com/mTMgdtgx01:00
=== markthomas is now known as markthomas|away
TJ-neonixcoder: line 713 "gma500 0000:00:02.0: I2C transfer error"01:02
neonixcoderTJ-: Actually that pastebin is dmesg command out..01:02
TJ-neonixcoder: so the video driver should be gma500_gfx.ko ... what does "lspci -nnk -d 8086:8108" report?01:04
neonixcodergive me one min..01:06
neonixcoder00:02.0 VGA compatible controller [0300]: Intel Corporation System Controller Hub (SCH Poulsbo) Graphics Controller [8086:8108] (rev 07)01:06
neonixcoderSubsystem: Device [8100:8086]01:06
neonixcoderKernel driver in use: gma50001:06
sarnoldI love that 8086:... so cool ;)01:06
neonixcoderIts a custom build embedded board01:07
neonixcoderAny suggetions TJ-?01:08
TJ-neonixcoder: there is "915.modeset=0 nomodeset" on the kernel command-line. did you add those in an attempt to fix this issue?01:10
sarnoldhey, check this out https://wiki.ubuntu.com/HardwareSupportComponentsVideoCardsPoulsbo01:10
sarnoldall about that video card01:10
neonixcoderthose are old configs, which are added by other person in my team.. They are working perfectly fine in 10.04 version..01:11
neonixcoderTJ- those settings are there in my /etc/deafults/grub file01:11
TJ-sarnold: Yes, because if I recall correctly this video card has the non Intel GPU videocore01:11
TJ-neonixcoder: I'd try booting it without those; they prevent any video modesetting01:12
neonixcoderoh ok..01:12
neonixcoderlet me edit my file..01:12
neonixcoderrebooting now.. let me see if that works..01:14
neonixcoderno improvement :(01:14
neonixcoderTJ-: Do you want lspci command output or dmesg output again?01:15
TJ-the GMA500 is the Imagination PowerVR SGX53501:16
TJ-neonixcoder: the dmesg might help us01:16
neonixcoderone min01:16
neonixcoderTJ-: Here you go.. http://pastebin.com/XrEyeNP201:18
TJ-neonixcoder: that looks better. Line 435 "vesafb: mode is 640x480x32, linelength=2560, pages=0"01:20
TJ-neonixcoder: line 448: "vesafb: mode is 640x480x32, linelength=2560, pages=0"01:21
neonixcoderbut still I dont see screen..01:21
TJ-neonixcoder: is there a display whilst the system is booting?01:22
neonixcoderyes.. till grub menu..01:23
TJ-neonixcoder: OK, so this time the vesafb driver loads, but the same gma500 warnings occur at the end of dmesg. This is the one I think points to the cause. "gma500 0000:00:02.0: trying to get vblank count for disabled pipe 1"01:23
TJ-neonixcoder: If I recall correctly, Intel uses the term 'pipe' to mean 'ouptut' or 'head'01:23
neonixcoderI can even see kernel booting up to 7 to 8 seconds..01:24
neonixcoderok?01:24
=== CrypticS_ is now known as CrypticSquared
TJ-neonixcoder: if that is correct, it is telling us the output is disabled. So, I'd try some of the tips in the Wiki page sarnold pointed to earlier01:24
sarnold9.7 seconds in.. [    9.730378] [drm] Initialized drm 1.1.0 2006081001:24
sarnoldare there -two- display outputs on this computer? is one of them disabled in bios? or can you use the second one?01:25
sarnoldI'm surprised vesafb -and- gma500 are loaded / running / etc.. I know next to nothing of display things but it seems strange to me01:25
TJ-neonixcoder: I'd suggest removing "splash" and possible telling GRUB to work in text mode, not graphical ("GRUB_TERMINAL=console")01:26
neonixcodersarnold: I dont think it have two displays..01:27
neonixcoderTJ-: There is not splash settings in my /etc/defaults/grub file..01:29
TJ-neonixcoder: I'm seeing claims it could be an ACPI issue01:29
neonixcoderhmmm01:30
TJ-neonixcoder: OK, try the GRUB_TERMINAL=console ... just in case! I've found that sometimes helps to not have  GRUB but the display into gfx mode... if it does the kernel sometimes fails to be able to switch modes01:30
neonixcoderTJ-: No effect thought I enabled GRUB_TERMINAL=console01:31
TJ-Times like this I miss 'xrandr' !01:31
neonixcoderAs sarnold suggest is my display disabled?01:31
neonixcoderIf display is disabled, how come it worked for same monitor in 10.04?01:32
sarnold10.04 didn't have the gma500-speciic driver01:32
sarnoldit might have used a generic vesa / vga thing that is more or less unchanged since 1992.01:32
sarnoldyou may have some success blacklisting the gma500 driver too, but since the wikipage reports successes, it might be worth trying to make it work with the newer driver01:33
TJ-neonixcoder: next is to add "console=tty1" to GRUB_CMDLINE_LINUX01:33
neonixcodersarnold: Let me read it and I will get back to you on this..01:33
=== cmoneylu_ is now known as cmoney
sarnoldneonixcoder: try TJ-'s, advice, he's been on a roll all day :)01:34
TJ-The one thing I'm a little unclear on is, the driver loaded here reported by lspci is "gma500" but I/We are thinking/looking at info about gma500_gfx. I'm not entirely clear if those are aliases, driver-renaming over time, or something else entirely01:38
OerHeksgma500_gfx is correct , https://wiki.ubuntu.com/HardwareSupportComponentsVideoCardsPoulsbo01:39
sarnoldOerHeks: lspci reported "IKernel driver in use: gma500"01:39
TJ-OerHeks: right, but we have "01:06:26   neonixcoder |  Kernel driver in use: gma500"01:39
TJ-I *think* it is just a name alias of the driver but best to be sure01:40
OerHeksthere is a community driver for 3d, that kernel driver is just 2d  https://launchpad.net/~thopiekar/+archive/ubuntu/emgd01:40
neonixcoderLet me have look at those things guys..01:48
TJ-neonixcoder: we can gather more debug info if you add "drm.debug=1" to the kernel command-line - at least, in the mainline kernel. Not sure when that setting was introduced01:49
neonixcoderto which option I can include it?01:50
TJ-neonixcoder: yes, it is in 3.19. ... to either, but GRUB_CMDLINE_LINUX is best since that attaches to ALL boot entries01:51
med_smoser, can you point me at the "Where's Chuck?" meme storage? I need to get a pic of him into my OpenStack Trivia talk tomorrow.02:13
med_or if anyone else knows....02:13
th3s3_3y3ssymlinked an apparmor profile to the force-complain directory and restareted and it still runs enforcing03:34
th3s3_3y3sthe link was red and now it is light blue03:36
th3s3_3y3sattempting again03:36
th3s3_3y3shmm works now03:36
=== Guest78974 is now known as ksx4system
ksx4systemhow do I add startup items on systems with systemd (most stupid software ever written, even Windows 3.11 makes more sense)?03:39
ksx4systemback in the good times it was a matter of dropping my script into /etc/init.d03:39
TJ-ksx4system: that is still possible; systemd has a sysv-init generator03:47
th3s3_3y3sIs there a gui frontend for qemu-kvm?03:49
TJ-th3s3_3y3s: libvirt has virt-manager03:52
th3s3_3y3sdhcp still not starting03:52
th3s3_3y3sI have to repair the internal network.03:53
th3s3_3y3sTJ- does virt-manager run kvm?03:54
TJ-th3s3_3y3s: virt-manager > libvirtd > kvm/qemu or lxc03:55
th3s3_3y3ssyslog reports nothing about the dhcp server not starting03:58
th3s3_3y3sthere was some sort of apparmor complaint03:58
th3s3_3y3sthat has been taken care of and dhcp still does not start03:59
th3s3_3y3sTJ- what is your expertise?04:03
th3s3_3y3sThere's nothing in the config file about listening on specific interfaces.04:06
th3s3_3y3sAttempting to start it manually shows this is what is causing it to not start it reads "not configured to listen on any interface"04:07
th3s3_3y3sI don't see anything about interfaces in the example configs.04:11
th3s3_3y3sOk there it is so with the virtual machines can I have it listen on lo04:17
th3s3_3y3sAnd configure the virtual machones o listen lo04:18
th3s3_3y3sso each virtual machine is something like 127.0.0.10004:19
th3s3_3y3sTJ-, respond04:28
=== not_phunyguy is now known as phunyguy
hateballIs 10.04 -> 12.04 not a support EOLUpgrade? I can't seem to get it to work07:28
hateballBy "not work" I mean I have added old-releases, and am trying to do-release-upgrade, but the installer just craps out claiming "failed to read mirror file"07:33
th3s3_3y3shateball, they claim it is unsupported08:05
hateballThis is going to be a longer day than I intended08:06
admcleod-hi guys, what list(s) should i look at for repo/package release info?08:40
=== Lcawte|Away is now known as Lcawte
lordievaderGood morning09:20
MBorgesgood morning everyone10:18
MBorgesI'll cut to the chase and ask away .-)10:19
TurBossHi10:19
TurBoss\o/10:19
MBorgesI'me moving AD 2003 network to ubuntu server samba 4... so far so good in building test environment with one ubuntu server doing DC, dhcp and dns (bind).10:21
MBorgesThis AD has two sub nets (172.16.5.x and 172.16.6.x) and each of the old servers have 2 NICs, each connected to diferent switches and we have 2 DCs doing dhcp for each sub net and serving diferent computers (floors of the building)10:23
MBorgesMy thing is... can I have my ubuntu server dhcp serving somethink like 172.16.x.x and avoid the need for this? will this have decent performance? Is this a completly idiotic ideia?10:25
MBorgesI have to say we have a large network but are non profit organization with very little money to spend, hence the change from a all Windows environment that was paid from a project we did many years ago for agriculture10:27
hateballMBorges: you can use virtual nics if you like, and only have one physical but then you need to have a trunk port10:28
MBorgesso independent sub nets are always the way to go if more than 254 ips are needed?10:29
hateballwell it depends you need to use c-class subnets for QoS or other reasons, otherwise just use a b-class ?10:30
xnoxlamont: correct. I believe we have then subsequently pulled mdadm change. IMHO I'm not sure what should be done with mdadm, but the thing it's doing now is not working.10:30
hateballMBorges: either way you'd point iphelper in your routing to the dhcp server and have that serve whatever, it doesnt need to have different physical nics if you use virtual ones10:31
maxbForget classful addressing, just choose to size your subnets however you like10:31
maxbhowever, if you want to merge the subnets that exist, you need to ask yourself if there is a reason they are separate10:32
maxbe.g. to partition broadcast traffic10:32
maxbyou'd want to look at things like whether the switches support vlans, and what the network bandwidth is10:33
lamontxnox: agreed.  I'll certainly play with it more as this week progresses13:12
pmatulismorning13:24
=== Lcawte is now known as Lcawte|Away
hallyndannf: hm, ppc64el build of qemu 2.4 failed.  (haven't looked at why)13:57
=== markthomas|away is now known as markthomas
gQuigsjust looking at the different openstack release notes, and what they say about upgrading charms/openstack -14:16
gQuigshttps://wiki.ubuntu.com/UtopicUnicorn/ReleaseNotes/OpenStackCharms mentions how to upgrade to Juno Openstack14:16
gQuigshttps://wiki.ubuntu.com/ServerTeam/OpenStackCharms/ReleaseNotes1510#Upgrading mentions how to upgrade charms14:16
gQuigshttps://wiki.ubuntu.com/ServerTeam/OpenStackCharms/ReleaseNotes1504 doesn't mention upgrading...14:16
gQuigsis there a generic upgrading page (or should we start one) that they can just all link to?14:17
gQuigsspecifically should 1504/1510 cover the upgrading from 14.04 case?14:25
fuzzywuzzzyhowdy15:49
=== Lcawte|Away is now known as Lcawte
sysdocHi every one, I have a Ubuntu server that is at ver 12.01 I tried to upgrade and get an error that the sources can not be reached. I believe that the repo is no longer active as the ver has reached the EOL. Can anyone suggest a path to upgrade the version?15:59
gQuigssysdoc: 12.01 isn't an ubuntu version number, maybe 12.10 ?16:01
sysdocYeah, sorry a typo there16:01
gQuigssysdoc: you can change the archive to point to http://old-releases.ubuntu.com/ubuntu/16:02
gQuigsbut it might be worth considering a fresh install (of either 14.04 or 15.10)16:03
memoryleakis there a software solution that images a certain disk before booting ?16:03
bekks!eolupgrade | sysdoc16:03
ubottusysdoc: End-Of-Life is the time when security updates and support for an Ubuntu release stop, see https://wiki.ubuntu.com/Releases for more information. Looking to upgrade from an EOL release? See https://help.ubuntu.com/community/EOLUpgrades16:03
sysdocgQuigs: Yes I just found a site with that address, and thanks for the EOL links bekks!16:04
fuzzywuzzzyOk I kind of fat fingered somethign.  I chmodded /var/www to 755.  Anyone know how I set it back to what it was by default?16:15
RoyKfuzzywuzzzy: IIRC that's the default16:17
fuzzywuzzzyI mean I did a chmod -R16:17
fuzzywuzzzyon all the files16:17
RoyKfuzzywuzzzy: heh16:17
fuzzywuzzzytoo16:17
RoyKfuzzywuzzzy: restore from backup?16:17
geniifuzzywuzzzy: Default permissions for files under there are 64416:18
fuzzywuzzzyhow do I change those all at once and not effect parent dirs16:18
fuzzywuzzzyDo I have to go directory by directory?16:26
RoyKfuzzywuzzzy: find /somepath -type f -exec chmod -x {} \;16:28
RoyKfuzzywuzzzy: should probably help16:28
RoyKfuzzywuzzzy: I really doubt you'll need +x on any files under /var/www16:29
fuzzywuzzzythat will just find them16:30
fuzzywuzzzythen I can chmod and remove execute from the group www-data16:30
fuzzywuzzzyright?16:30
roastedhi17:07
fuzzywuzzzyhowdy17:08
=== Joel is now known as Guest57551
RoyKfuzzywuzzzy: no, won't just find them - see the -exec argument there in the manpage17:50
RoyKfuzzywuzzzy: you won't need execute bit on data files - you really should not have that17:50
rbasakutlemming: what's the ETA on Xenial daily cloud images, please?17:52
fuzzywuzzzyok tx17:53
utlemmingrbasak: we're working on it. We were waiting on the tool chain, which I think lands tomorrow.17:53
rbasakutlemming: thanks. That's a bit confusing - I thought Xenial was already open for uploads?17:54
utlemmingrbasak: https://wiki.ubuntu.com/XenialXerus/ReleaseSchedule17:55
utlemmingrbasak: yeah, you can do uploads and the pocket's open17:55
rbasakutlemming: I'd like to, but I can't run qemu-based dep8 tests locally since that needs a daily cloud image :)17:56
utlemmingrbasak: Odd_Bloke has EOD, but he's working on the enablement in our build system.17:56
rbasakI can probably hack something together but not worth it if you'll have dailies soon.17:57
tewardi found an interesting issue in mysql-server... installing mysql-common didn't actually install the my.cnf file on Trusty, I had to dig it up from LP o.O18:15
rbasakThat's odd.18:24
rbasakOh18:24
rbasakteward: my.cnf is supplied by the variant server package now18:24
rbasakteward: there's a fallback shipped if you don't have a server package installed18:24
rbasakteward: that way different variants (eg. MariaDB) can ship their own.18:24
tewardrbasak: E:ConflictingINformation18:24
* RoyK doesn't like mysql18:25
rbasakteward: mysql-common just manages a symlink with update-alternatives18:25
tewardrbasak: mysql-server-core-5.5 mysql-server-5.5 installed alongside, no my.cnf18:25
rbasakOh sorry.18:25
rbasakI think that happened after Trusty.18:25
tewardTrusty, not recent :)18:25
tewardrbasak: yeah, i know it did, but i'm talking Trusty, not newer :)18:25
=== markthomas is now known as markthomas|away
=== markthomas|away is now known as markthomas
=== th3s3_3y3s is now known as kingofanything
=== Icey is now known as IceyEC
=== IceyEC is now known as Icey
=== kingofanything is now known as th3s3_3y3s
=== Lcawte is now known as Lcawte|Away
ShellGamei have a command that works if i enter it in bash but fails if i add it to a script im running could someone help with that. cp -pruv sourcedir/!(backups|Thumbs.db) destdir/DriveBackup22:13
sarnoldShellGame: does the ! invoke something from your history?22:15
ShellGamesarnold: the !(... was used to ignore directories and it works great if i just type it22:17
sarnoldShellGame: crazy, I've never seen that before.22:18
ShellGamesarnold: either had i untill i did some google searches and since it worked as i needed it when i type it i added it to the script and the script fails to run22:19
TJ-ShellGame: prefx the 'cp' line with "echo " and run the script; see what is actually generated by that line and if it differs from when using the shell command-line22:20
sarnoldShellGame: looks like'd need to use shopt to set extglob in the shell script22:20
sarnoldShellGame: fwiw I'd be more inclined to switch to rsync and use --exclude instead, it feels more likely to work reliably22:21
* TJ- nods22:21
ShellGameTJ-: cp -pruv ~/stuff/!(backups|Thumbs.db) ~/stuff/backups/Stuff-Backup; which is why i was excluding the backups folder22:23
ShellGamei had thought about rsync but the script was already using cp for other things so i used this option when i saw it and that it worked22:24
ShellGamewhen i run the script with the command in it it complains about the (22:26
TJ-Like sarnold says, it may be shopts causing an issue with interpretation22:26
sarnoldyes, you need to set the shopt extglob in the script so that it matches your interactive shell22:26
ShellGamehow do i do that?22:27
sarnoldshopt -s extglob --- for some small details, run 'help shopt', for the full story, read about shopt in the bash(1) manpage22:28
sarnoldbring popcorn, it's a huge manpage22:28
ShellGameso just add that to the top of the script and test away?22:29
sarnoldyeah22:29
ShellGamesays shopt not found22:31
sarnoldit has to go below the #! line22:32
ShellGameyeah i put it on line 222:32
th3s3_3y3sIs kvm a virttype when hardware extensions able?22:32
ShellGamefirst two lines are#!/bin/bash shopt -s extglob;22:33
sarnoldShellGame: is the file executable?22:34
ShellGameyep for the user22:34
ShellGamei just ran the file with ./filename and it started working :|22:38
atralheaven_Hello, I use lighttpd, there is a folder in /var/www directory for my personal downloads, I want to be able to add/remove files from this folder without need of being root. what is the safest way for it? thanks22:39
ShellGamethanks sarnold & TJ- i believe it is working as its supposed to again22:41
tewardstupid question: is there a way to force landscape-client to update the apt-repository data to clear a "package data fetch" error that Landscape is complaining my system is having?23:23
KFKG_hey everyone23:41
KFKG_I am having an issue with Ubuntu Server 14, can I get some help?23:42
cliluwKFKG_: It depends. What's the issue?23:43
KFKG_My specific problem is I am on a dedicated server that was installed on our host, I am using putty to connect and right now its all command line, I attempted to install kde as well as gnome, they seem to be installed but they will not launch using X23:43
KFKG_sorry StartX23:44
cliluwKFKG_: You're using X11 forwarding?23:44
KFKG_cliluw i am not exactly sure23:44
KFKG_I am trying to get a GUI installed on the server as this server will be used for more then just command line operations23:45
cliluwKFKG_: What's the error message that you get when you run startx?23:45
KFKG_(EE) Server terminated with error (1). Closing log file. xinit: giving up xinit: unable to connect to X server: Connection refused xinit: server error23:46
KFKG_I would be happy to provide anyone access to look at it, i think I have installed like 4 desktop guis so far and nothing is working23:46
KFKG_This is a brand new server23:47
cliluwKFKG_: Are you going to be display the GUI on the Ubuntu computer itself or do you want it displayed on the Windows computer?23:47
KFKG_Ideally we want to see the GUI from the rdp or teamviewer/vnc interface23:48
KFKG_the server has no display, its in a network center23:48
KFKG_we are not physically located at the server23:48
sarnoldthen you won't run X11 on the server itself23:49
KFKG_I will confess I know of linux and did some dabbling a few years back, But I am not up on all the terms23:49
KFKG_The goal is this server will become a email/ftp/web/streaming audio server23:49
KFKG_We have full acess to do whatever is needed from the remote side23:50
sarnoldwhy the gui?23:50
cliluwKFKG_: You probably did everything correctly. Follow this guide and you'll be able to see the desktop environment on your Windows machine. https://wiki.utdallas.edu/wiki/display/FAQ/X11+Forwarding+using+Xming+and+PuTTY23:50
KFKG_sarnold, because of a software called rivendell, it is a radio automation software23:50
KFKG_that we need to have the Gui for23:50
sarnoldcliluw: wow, xming is still around? cool23:50
KFKG_reading....23:51
sarnold"Recommended Minimum System Requirements ... XFree86 Supported Video Card" -- wow.23:52
KFKG_Ok i downloaded that, it says zero displays connected23:53
KFKG_let me read some more23:54
sarnoldah, good, they do have tarballs from this year. I was afraid the whole thing was going to be 2002 vintage.23:55
cliluwsarnold: Even if it was from 2002, it would probably still work.23:55
sarnoldcliluw: they referenced kernel 2.4.21 loadable modules in the install guide.23:55
sarnoldnow 2.4.21 was a fine kernel, quite good :) but it's unlikely that modules written for it would just recompile against 3.x or 4.x kernels23:57
cliluwKFKG_: If you've installed and started Xming, the only thing left for you to do is tick the X11 checkbox in Putty and reconnect.23:59
KFKG_I have done so it drops me to the command line23:59

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