/srv/irclogs.ubuntu.com/2014/09/28/#ubuntu-server.txt

hurinok, have a nice day o/00:01
=== peter is now known as Guest26901
=== balloons is now known as Guest13468
=== airtonix_ is now known as airtonix
computer1hi i am having some issues installing ubuntu really need help :(03:33
computer1i have an error report...03:34
computer1http://fpaste.org/137075/03:34
computer1please help :(03:49
computer1http://pastebin.com/PvTevdRi03:49
computer1http://fpaste.org/137075/03:49
computer1any ideas where i could get some assistance?04:24
cleptoi have slow lan speeds currently. every test i have done shows i should be able to do gigabit but im stuck at 100mb. i have a pastebin of some of the diagnostics i did here...  http://pastebin.com/2y8hzsN605:31
cleptoim not running the specific server build but i am running it as a headless unit and managing over SSH any help would be appreciated.05:32
cleptoalso its 14.04.1 i think05:35
cleptoyeah 14.04.1 LTS05:36
computer1clepto please us tell more about your problems..06:06
bekkscomputer1: Does the switch your headless unit is connected to support Gigabit, too? As well as the cable used?06:07
cleptocomputer1: my lan wont run at gigabit speeds. i have a cat5e cable i have a gigabit router and a gigabit network card. but it will only run at 100 mbit06:08
cleptomy network card is a RTL8111/8168/8411 PCI Express Gigabit Ethernet Controller06:08
cleptocomputer1: what other information would be useful? i was running at gigabit under Mint 13 but i chamged  to ubuntu 14.04.1 and it hasnt worked right since06:10
=== markthomas is now known as markthomas|away
cleptobekks: yes it does.06:11
computer1did you make sure that your Ubuntu machine is not running updates or other chores in the background?  Monitor with top or htop.06:14
cleptoyes, its not according to ethtool its only running at 100mbit06:14
computer1did you make sure your cabling and connections are Cat6? Although Cat5e can handle gigabit traffic (350 MHz bandwidth), Cat6 is really needed to ensure full duplex performance.06:15
Gregor3000hello, if i install on 4GB PC with about 300MB or 512MB swap parittion does the swap partition actually get used?06:16
cleptocomputer1: no i dont have cat6 cable i only have 5e but as i stated it was working before on mint13. im not to worried about full capability but im using it as a file server. and 10 MB transfer speeds is stupidly slow06:16
cleptocomputer1: i was getting 100MB transfiers before i changed to ubuntu06:18
bekksGregor3000: You'll need swap == RAM when your are going to use hibernation/suspend.06:18
computer1do the linux drivers for your network card need tweaking or are too generic to support higher bandwidth?06:20
cleptocomputer1: i honestly dont know. i am a bit noobish06:21
Gregor3000besides from that? and on a server. it will have /swap later when disks arrive, but for now i will try the server out on USB. and i was thiking of going with small /swap and am i correct in assuming that swap will not actualyl be used much at all (until it goes into hibernation)06:22
Gregor3000ok i see i can just reduce swapiness to 10 and it should start usign /swap when ram is occupied 90% which i doubt it will happen over test06:27
=== markthomas|away is now known as markthomas
=== markthomas is now known as markthomas|away
lordievaderGood morning.09:03
=== bilde2910|away is now known as bilde2910
NorlanderAnyone knows the name of an application/script that reads a log-file and creates a www-link for it that one can refer to when troubleshooting a system?10:57
NorlanderPlease send a PM..10:57
bekks!pastebin | Norlander10:57
ubottuNorlander: For posting multi-line texts into the channel, please use http://paste.ubuntu.com | To post !screenshots use http://imgur.com/ !pastebinit to paste directly from command line | Make sure you give us the URL for your paste - see also the channel topic.10:57
gregor3000ive installed server to USB stick from Cd rom on my desktop. i then moved the USB stick to the server and booted, but it can't connect to network it just says on boot that it's waiting for network  configuration and then it botos without it10:59
gregor3000problem is i do not have USb keboard to troubleshoot on the server, so i can only see what happens on it10:59
bekksgregor3000: Without a keyboard, you cannot fix it.11:00
gregor3000i can not check any files over there. so i moved the usb Stick back to desktop and when i check 70-persistent.net.rules11:00
gregor3000i can see the mac address is from desktop11:00
gregor3000i tried deleting the file hoping the server will solve it bz itself on boto but doesn-t seem it helped11:00
gregor3000well i am stuck then. any logs i could check maybe?11:01
gregor3000it is a software erro though, right?11:01
bekksgregor3000: the solution would have been to replace the desktop MAC with the server MAC.11:01
gregor3000i guess i need to buy one then11:04
bekks?11:04
bekksyou dont have to buy anything to replace a mac a ddress in a text file.11:05
bekks*file11:05
=== Lcawte|Away is now known as Lcawte
lordievaderI think he is talking about a keyboard.11:05
bekksThe mac address is to be found on a small sticker somewhere on or in the server and the text file can be created/edited on the desktop.11:06
bekksJust deleting that file will not help.11:06
gregor3000ah... let me check the box then.11:07
gregor3000there is onlz serial number and PID11:08
gregor3000aha its on motherboard but hard to see11:09
gregor3000   hmm anything else thta needs to be changes in some other place maybe? i i changed the mac. wife was able to read it from the motherboard11:21
gregor3000i then saved that file and still the same thing. i installed SSH server hoping i could later do it all over network...11:22
bekksgregor3000: Do you have a DHCP server running in your network?11:22
gregor3000modem/router is asigning IP's. so far i only installed servers into virtualbox to try it out and used bridged conneciton there. it all worked automatically there11:24
gregor3000DHCP is hwo IPs are sssigned11:25
gregor3000server has some option to change mac or soething liek that i only saw it really fast on boot11:26
gregor3000if this is juts a software OS issue it is not such a porblme as i know i can solve it in soem way but if this show to possiblel hardware issue then i am concerned11:27
gregor3000i rebooted back on desktop and well now the connection is gone there as well. however i did see that it atuomatically asigned eth1 with the mac address form the desktop. and probably with a few commands i could get the network there back. the qeustion is why the server network is not working.... hmmm. ok need to eat now. maybe i will continue troubleshooting later on11:39
gregor3000by for now11:39
gregor3000bye11:39
RoyKany idea how to get bugs like bug 1171945 or 1364091 fixed upstream? Both contain fixes, and the former has had a working fix attached for over a month now13:13
uvirtbotLaunchpad bug 1171945 in mdadm "Nested RAID levels aren't started after reboot" [Undecided,Confirmed] https://launchpad.net/bugs/117194513:13
RoyKbug 1364091 is rather nasty too...13:17
uvirtbotLaunchpad bug 1364091 in mdadm "Possible RAID-6 corruption" [Undecided,Confirmed] https://launchpad.net/bugs/136409113:17
=== Lcawte is now known as Lcawte|Away
=== Lcawte|Away is now known as Lcawte
=== mrmist is now known as mist
aandyhi guys. i have what appears to be an odd request, and i can't figure out what to search for, so if someone knows what it's called, i'd appreache the pointer :) i have a LAN, with a DHCP and according LAN ip range. i want an interface to "pretend" to be a certain IP (out of bounds of LAN), similarly to what an arpspoofing (lan only) would do, or a ifconfig alias (localhost only?). i'd just route that ip through the specific interface, but the problem16:03
=== Ursinha is now known as Ursinha-afk
=== Ursinha-afk is now known as Ursinha
bastidrazorsudo mount -t cifs //192.168.0.21/Music /mnt/Music -o user=user,password=password  .. windows shared folder attempting to mount on my server. I get mount error(13): Permission denied.17:17
=== Guest73224 is now known as igurd
lordievaderbastidrazor: Is the user allowed to read that mount?17:22
bastidrazorlordievader: yes, the username provided is the owner of the shared folder. also the /mnt/Music is rwx for all17:26
bastidrazorlordievader: also owned by the user attempting to mount.17:27
bastidrazorlordievader: before i installed cifs-utils i was getting a :could not mount block device read-only17:28
lordievaderIs the host a Windows machine or a Linux machine?17:29
bastidrazorhost is windows 7. server is 14.0417:30
lordievaderThe one providing the share is that Windows or Linux?17:30
bastidrazorwindows17:31
lordievaderbastidrazor: Does /var/log/syslog tell you anything more about the permission denied?17:32
bastidrazorSep 28 13:24:18 servitude kernel: [13537.409185] Status code returned 0xc000006d NT_STATUS_LOGON_FAILURE17:33
bastidrazorSep 28 13:24:18 servitude kernel: [13537.409206] CIFS VFS: Send error in SessSetup = -1317:33
bastidrazorSep 28 13:24:18 servitude kernel: [13537.409550] CIFS VFS: cifs_mount failed w/return code = -1317:33
lordievader!paste | bastidrazor17:33
ubottubastidrazor: For posting multi-line texts into the channel, please use http://paste.ubuntu.com | To post !screenshots use http://imgur.com/ !pastebinit to paste directly from command line | Make sure you give us the URL for your paste - see also the channel topic.17:33
lordievaderNT_STATUS_LOGON_FAILURE17:33
bastidrazormy windows credentials are wrong?..17:33
lordievaderbastidrazor: Looks like it.17:34
Slyboots_Evening17:40
Slyboots_Im curious, anyone aware of a cli/ncurses based FTP client that supports multipart?17:40
bastidrazorlordievader: windows isn't accepting the correct credentials.17:48
lordievaderbastidrazor: Perhaps the Windows Event logger can tell you why?17:49
=== snuffeluffegus is now known as gurpgork
=== gurpgork is now known as snuffeluffegus
bastidrazorlordievader: it appears windows is accepting the connections17:59
lordievaderbastidrazor: Of course, else it cannot deny the authentication ;)18:03
bastidrazorhaha18:03
bastidrazorlordievader: i changed my username on my windows box after the initial setup of windows 7. I had to use the original username instead of the new name.18:21
bastidrazorlordievader: thanks for the hints18:22
lordievaderbastidrazor: No problem ;)18:22
bastidrazorlordievader: the logs did not show any of this. looking in user accounts tipped me off.18:23
tonymkeWhat's the proper way to give daemon users access to ssl certs in /etc/ssl?18:46
vedicHey guys, I have been installing some packages via source and now looking to create service for it to start/stop/restart/status etc. What is the right way? Could you direct me to appropriate tutorial for learn it18:57
lordievadervedic: http://upstart.ubuntu.com/cookbook/18:58
vediclordievader: Is there any beginner tutorial which I can consume in an hour or two and then use that link as reference?19:00
lordievadervedic: Err, a pre-existing upstart script?19:01
vediclordievader: hmm...19:01
vedicIn a upstart script, how to check if a directory exists or not and if not create it and set permission and ownership19:53
Patrickdkheh? the same way you would do it :)19:57
=== bilde2910 is now known as bilde2910|away
lordievadervedic: It's just bash scripting ;)20:01
Patrickdkno it's not20:02
Patrickdkit's just dash scripting20:02
lordievaderPatrickdk: What is the difference between dash and bash?20:02
Patrickdkbash added LOTS of extra crap to it20:03
Patrickdknote: bashisms :)20:03
vedicPatrickdk: In this, what is "install -d -m" http://www.postgresql.org/message-id/53D9DB7B.8070600@streethawk.com20:06
vedicIt should be mkdir and chmod and chown20:06
Patrickdkyou have heard of man right?20:07
Patrickdkman install20:07
vedicPatrickdk: ok, I have created upstart script and checked its syntax is ok. But when I run "sudo start myscript" I get "Start: Unknown job: myscript" .    I have placed this myscript.conf into /etc/init/20:23
=== bilde2910|away is now known as bilde2910
Patrickdkdunno what start is20:24
Patrickdkor what it has to do with upstart20:24
Patrickdkah, guess it is the upstart manager, I just use service start20:24
lordievadervedic: try "sudo initctl start myscript"20:25
vediclordievader: still same msg20:25
lordievadervedic: Does "sudo initctl reload-configuration&&sudo initctl list|grep myscript" return anything?20:27
vediclordievader: no20:27
vedicI tried this command and doesn't return any output20:27
lordievaderAre the right 644 root:root?20:28
lordievaderrights*20:28
vediclordievader: yea. -rw-r--r-- 1 root root 671 Sep 29 01:50 /etc/init/myscript20:29
vedic/etc/init/myscript.conf (missed coping .conf)20:29
vedic644 and root:root20:29
lordievaderHmm, could you pastebin your script?20:30
vediclordievader: http://pastebin.com/5fbYDjtD20:32
lordievaderLooks fine to me...20:34
lordievadervedic: Does your user upstart see it? (initctl list|grep myscript)20:34
vediclordievader: no20:35
vediclordievader: Looks like I need restart of my vm?20:35
Patrickdkheh?20:36
lordievaderPerhaps, but I've had similar problems with this. And there a restart didn't fix it. But it is worth a shot I suppose.20:36
Patrickdkwhat is up with the pre-start before the start/stop on20:36
vedicPatrickdk: Is there anything wrong in the script?20:42
PatrickdkNORMALLY, dunno if required, pre-start comes after your start/stop lines20:42
vediclordievader: still same thing after restart20:45
vediclordievader, Patrickdk: Any ideas, how to solve this problem?20:51
lordievaderNo idea, my knowledge on that particular bit is lots of trial and error.20:52
vediclordievader: Anyother standard approach than upstart you think people use20:52
lordievaderThe old init.d approach (which is also run by upstart)?20:53
vediclordievader: It works now :).  pid file is not supported in recent versions of upstart20:58
vedicI just removed that line and it works20:58
lordievaderAh, good to know, thanks.20:58
vediclordievader: Now I know how to write a simple upstart script :)20:59
lordievadervedic: Congratulations ;)21:04
=== thumper is now known as thumper-afk
=== Lcawte is now known as Lcawte|Away
=== thumper-afk is now known as thumper

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