/srv/irclogs.ubuntu.com/2014/11/21/#ubuntu-server.txt

sarnoldApplesInArrays: well, your shell will look up 'php' via the PATH environment variable; cron's PATH is usually not the same as your PATH :) so give full pathnames to things in crontab entries to make your life easier00:01
ApplesInArrayswhen I type in /var/www/html/contentCron.php it doesn't work in termainl.00:01
ApplesInArraysThis means that my crontab -e won't work, either without /usr/bin/php, right?00:01
sarnoldsetting the execute bit on /var/www/html/contentCron.php is just one step; for that to work, you also need #!/usr/bin/php     as the first line of your file00:01
ApplesInArrays*/1 * * * * #!/usr/bin/php /var/www/html/contentCron.php now00:03
ApplesInArraysalright, and it looks like it just ran.00:03
ApplesInArrays#! is to summon namespace?00:03
sarnoldApplesInArrays: d'oh, sorry, the #! piece of the advice is specific to interpreted files..00:03
sarnoldApplesInArrays: so you'd either put #!/usr/bin/php   as the very first line of /var/www/html/contentCron.php   or you'd just use /usr/bin/php /var/www/html/contentCron.php   in the crontab00:04
ApplesInArraysI see00:04
sarnoldApplesInArrays: check out a file in /etc/init.d/, like /etc/init.d/console-setup  -- note the first line is #!/bin/sh00:05
ApplesInArrayssure, let me take a look00:05
sarnoldApplesInArrays: that tells the kernel when you execute /etc/init.d/console-setup that it needs to run /bin/sh and give the file to /bin/sh to execute00:05
ApplesInArrays/bin/sh is shell00:06
sarnoldyeah00:06
ApplesInArraysSo that means it's using the same namespace I'm using?00:06
sarnoldyeah, by default everything runs in the same filesystem namespace; it's still an area of active research and development to change filesystem namespaces for different processes00:06
ApplesInArraysI could type out that document line-by-line in terminal and it'd work?00:06
sarnoldit should00:07
ApplesInArrayssarnold: thanks. You didn't just walk me through it, you may have actually taught me something.00:07
sarnoldApplesInArrays: excellent :)00:07
=== sync0new is now known as sync0pate
=== Lcawte is now known as Lcawte|Away
fingertipsWhy does lspci persist in reporting the wrong model for the wireless chip? This happened after loading a non working kernel module driver. Before loading it no model number was reported.Now, after unloading it the wrong model persists to be reported.Is this a sign that wrong firmware was sent to the chip?00:29
=== exixt_ is now known as exixt
=== markthomas is now known as markthomas|away
=== duxklr_ is now known as duxklr
evohi! my sevrer's motherboard died. i tried following directions on how to recover mysql from old hdd to new install from ubuntu forums but when i try to start the mysql service, the service fails to start. can anyone help walk me through?02:44
evo__hi! my sevrer's motherboard died. i tried following directions on how to recover mysql from old hdd to new install from ubuntu forums but when i try to start the mysql service, the service fails to start. can anyone help walk me through?02:52
sarnoldhey evo__, you didn't miss anything while you were gone02:52
evo__k02:52
evo__thanks02:53
=== thumper is now known as thumper-sushi-ru
=== thumper-sushi-ru is now known as thumper-sushirun
=== thumper-sushirun is now known as thumper
=== bilde2910|away is now known as bilde2910
grendal_primei got a werid situation with a router.06:54
grendal_primeso trying to build an internet filter that uses iptables06:55
grendal_primebasically an iptables router with nat, and then i just deny all port 80 traffic accpet for the domains i want.  it works for some domains..but others they just never make it though.06:56
grendal_primeim using he forwarding ruleset to do the accept and drop everything else rules.06:56
grendal_primeworks for like mobymax.com and www.discoveryeducation.org but like www.pbs.org..its a nogo.06:57
=== bilde2910|away is now known as bilde2910
fingertipsI am guessing that the ip is being masqued, but it worked before.07:23
fingertipsI cannot ping the other machine.07:24
fingertipsHow does one show routes?07:24
fingertipsshow routes07:24
fingertipsYes it needs lemike07:25
fingertipsSo I can just say "show routes"07:25
LeMikepardon?07:25
fingertipsLeMike: This machine cant ping my ubuntu server.07:26
LeMikeWhatever you meant fingertips - I just joined the room, said nothing and can't remember the topic. Sorry!07:34
caribourbasak: well Merge-O-Matic says that you have touched it last, which is why I pinged07:39
caribourbasak: I'll forward the email I sent to infinity about it07:40
lordievaderGood morning.08:35
fingertipsmorning08:36
fingertipslordievader the dpk-pkg scrpt failed08:37
lordievaderfingertips: Err, background?08:38
fingertipscompiling the kernel08:39
lordievaderfingertips: Why?08:39
fingertipscode 208:40
lordievaderfingertips: I have no idea what you are talking about...08:41
fingertipscompiling the kernel08:41
lordievaderfingertips: This doesn't explain anything, start with the beginning...08:42
fingertipscompiling the kernel results in dpk-pkg error code 208:45
lordievaderStill doesn't explain why you are compiling a kernel in the first place.08:46
fingertipsto add the domain name in kernel08:46
lordievaderThat can simply be configured. Compiling a kernel for that is a really bad idea.08:47
fingertipsalong with other things lordievader08:48
fingertipswireless drivers08:48
fingertipsskynet08:49
lordievaderAlong with [1], I haven't seen any reason for compiling it yourself. [1] http://ubuntuforums.org/showthread.php?t=196638608:50
lordievaderLet me put it differently, you know that Ubuntu does not support running custom compiled kernels?08:51
fingertips:-D08:54
fingertipslordievader this is for the real skynet08:54
=== Lcawte|Away is now known as Lcawte
fingertipslordievader firmare09:23
=== Lcawte is now known as Lcawte|Away
=== Lcawte|Away is now known as Lcawte
=== exixt is now known as exixt_
=== zz_DenBeiren is now known as DenBeiren
=== Lcawte is now known as Lcawte|Away
CloudmanHi are Ubuntu updates altering grub time outs and causing boot problems?  -1 for example!13:35
qman__Cloudman: not that I'm aware of, you may be running into this: http://askubuntu.com/questions/178091/how-to-disable-grubs-menu-from-showing-up-after-failed-boot13:47
=== exixt_ is now known as exixt
=== exixt is now known as exixt_
Cloudmanqman__: ty, I think my server provider is fobbing me off13:54
=== Spookley_ is now known as Spookley
=== exixt_ is now known as exixt
=== exixt is now known as exixt_
caribourbasak: FYI, seb128 has done the merge for libnss-ldap so you don't have to worry about this one14:46
rbasakcaribou, seb128: thanks!14:46
=== YamakasY_ is now known as YamakasY
=== Lcawte|Away is now known as Lcawte
=== exixt_ is now known as exixt
=== markthomas|away is now known as markthomas
=== psivaa-holiday is now known as psivaa
=== exixt is now known as exixt_
=== Lcawte is now known as Lcawte|Away
koolhead17hello all18:25
lordievadero/18:26
jak3000hi all18:29
jak3000i do this: ifconfig eth1 192.168.0.162/24 up  and then:  route add default gw 192.168.0.254   how to make this changes permanently (when i rebooth the server, again need type these 2 commands) for enable the network thanks18:29
lordievaderjak3000: Define the interface in /etc/network/interfaces.18:30
jak3000lordievader thanks18:30
jak3000testing18:30
funcoland1Hey guys/gals.. I was trying to install a newer version of the Ubuntu 3.13 kernel as I'm doing the install from CD for 14.04.1.. is it possible to have debconf install the newer version instead of the stock one?18:33
funcoland1Or, a method that will install the kernel via preseed as a preseed late_command would work.. if anyone can help that would be awesome18:33
jak3000lordievader done!! worked thanks18:34
jak3000how to upgrade my pakages for install ubuntu-server the lastest version?18:34
lordievaderjak3000: sudo apt-get update&&sudo apt-get dist-upgrade18:37
jak3000lordievader done18:38
jak3000thanks18:38
=== Lcawte|Away is now known as Lcawte
jorenHey, I'm trying to figure out how to add some packages to the ubuntu server initrd but am running into problems because of how minimal it is (no dpkg.) Is there a good way to go about this? Is there a "Live Server" image available somewhere that includes the debian installer components?21:57
=== bilde2910 is now known as bilde2910|away
bekksjoren: the initrd is designed to contain required modules only.22:30
bekksjoren: What are you actually trying to do?22:31
jrwrenjoren: initrd is designed to be minimal to get the rest of the system up. pivot_root, IIRC. What do you need?22:32
jorenI'm thinking I might just try with a livecd, strip out the gui and whatnot22:43
jorennetworking died on me, not sure if I missed more lines from bekks22:44
kyle__I'm curious, does anyone actually use the intel matrix-raid for their boot device.  On a server?22:51
jrwrenjoren: if you need to add kernel modules to your initrd, add to /etc/initramfs-tools/modules and rerun update-update-initramfs22:51
jorenah, I meant the initrd.gz on the ubuntu-server iso. I'd like to add more packages to the installer enviroment22:53
kyle__joren: You mean to be installed by default, or available durring the installer?22:56
jorenkyle__, available during the installer.22:56
kyle__joren: I think that'sin the in initrd.gz, but I haven't done that in ages, so wiser heads are needed.  Sorry22:58
jorenyeah, that's were I need to put them. I just can't really figure out an easy way to install packages to that enviroment.23:00
jorenI'm sure I'll get it eventually.. :)23:01
gbkerseyjoren: so the installer environment doesn't have networking?23:02
jorenit does, but there's no dpkg or apt23:02
joren(I was just chrooting into the initrd)23:03
gbkerseyyou can load udebs from the network...  I do this with a preseed.cfg file...23:04
maxbjoren: You should give some more details about what exactly you're trying to achieve23:06
maxbAlso if you specifically mean the d-i (debian-installer) installer environment, make sure to say that and not just initrd, since initrds are using in various contexts, and it matters quite a lot to how you might go about adding stuff23:07
jorengbkersey, interesting, thanks. maxb, I'd like to have dell's server tools available during the install, I was hoping to find a way to install those packages and their dependencies to the d-i's initrd image23:09
bekksjoren: Whats the issue behind all that? What are you trying to do besides getting the commands dpkg or apt-get?23:09
jorenI'll look around at the udebs a bit though, they look like they might do the trick23:09
bekksAh, the Dell server tools - what do they do?23:09
maxbIf you can build an udeb of what you need, that's a way to start, however the tricky bit is likely to be merging the udeb into the APT repository being used for early d-i setup23:10
jorenset bios settings is the main one I'd like to use, firmware upgrades too though. Would be nice to do all of that during the install23:11
maxbIt seems to me you'd have an easier and more maintainable setup if you just did that sort of stuff as something that ran on first boot of the real installed OS23:11
jorenI was starting to think exactly the same thing just as I started getting some responces in here. :)23:12
maxbCould you give me something to Google for how to set Dell BIOS settings from a tool in Ubuntu? Sounds like something I could make good use of :-)23:12
jorenanother thing is getting the service tag to use for a hostname, but I think I can do that via dmidecode23:13
jorenmaxb, yeah, just a sec.23:13
maxb'dmidecode -s system-serial-number' is what you want for the service tag23:14
=== MeltedLux is now known as MeltedDed
jorenmaxb, it depends on the idrac version you have. we've got idrac6 enterprise cards so I'm using syscfg (via syscap.sh and sysrep.sh) from the dell dtk. Racadm is supposed to be able to do it on the idrac7 cards. (would be nice 'cause then I could just set them all remotely before even powering on the servers)23:19
maxbOK, I have 5s, 6s, and 7s so there will be useful things to do some reading on23:21
jorenI really wish mine were 7s23:25
jorenno dmidecode on the installer env either :(23:29

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