[00:01] <sarnold> ApplesInArrays: 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 easier
[00:01] <ApplesInArrays> when I type in /var/www/html/contentCron.php it doesn't work in termainl.
[00:01] <ApplesInArrays> This means that my crontab -e won't work, either without /usr/bin/php, right?
[00:01] <sarnold> setting 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 file
[00:03] <ApplesInArrays> */1 * * * * #!/usr/bin/php /var/www/html/contentCron.php now
[00:03] <ApplesInArrays> alright, and it looks like it just ran.
[00:03] <ApplesInArrays> #! is to summon namespace?
[00:03] <sarnold> ApplesInArrays: d'oh, sorry, the #! piece of the advice is specific to interpreted files..
[00:04] <sarnold> ApplesInArrays: 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 crontab
[00:04] <ApplesInArrays> I see
[00:05] <sarnold> ApplesInArrays: check out a file in /etc/init.d/, like /etc/init.d/console-setup  -- note the first line is #!/bin/sh
[00:05] <ApplesInArrays> sure, let me take a look
[00:05] <sarnold> ApplesInArrays: 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 execute
[00:06] <ApplesInArrays> /bin/sh is shell
[00:06] <sarnold> yeah
[00:06] <ApplesInArrays> So that means it's using the same namespace I'm using?
[00:06] <sarnold> yeah, 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 processes
[00:06] <ApplesInArrays> I could type out that document line-by-line in terminal and it'd work?
[00:07] <sarnold> it should
[00:07] <ApplesInArrays> sarnold: thanks. You didn't just walk me through it, you may have actually taught me something.
[00:07] <sarnold> ApplesInArrays: excellent :)
[00:29] <fingertips> Why 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?
[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] <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] <sarnold> hey evo__, you didn't miss anything while you were gone
[02:52] <evo__> k
[02:53] <evo__> thanks
[06:54] <grendal_prime> i got a werid situation with a router.
[06:55] <grendal_prime> so trying to build an internet filter that uses iptables
[06:56] <grendal_prime> basically 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_prime> im using he forwarding ruleset to do the accept and drop everything else rules.
[06:57] <grendal_prime> works for like mobymax.com and www.discoveryeducation.org but like www.pbs.org..its a nogo.
[07:23] <fingertips> I am guessing that the ip is being masqued, but it worked before.
[07:24] <fingertips> I cannot ping the other machine.
[07:24] <fingertips> How does one show routes?
[07:24] <fingertips> show routes
[07:25] <fingertips> Yes it needs lemike
[07:25] <fingertips> So I can just say "show routes"
[07:25] <LeMike> pardon?
[07:26] <fingertips> LeMike: This machine cant ping my ubuntu server.
[07:34] <LeMike> Whatever you meant fingertips - I just joined the room, said nothing and can't remember the topic. Sorry!
[07:39] <caribou> rbasak: well Merge-O-Matic says that you have touched it last, which is why I pinged
[07:40] <caribou> rbasak: I'll forward the email I sent to infinity about it
[08:35] <lordievader> Good morning.
[08:36] <fingertips> morning
[08:37] <fingertips> lordievader the dpk-pkg scrpt failed
[08:38] <lordievader> fingertips: Err, background?
[08:39] <fingertips> compiling the kernel
[08:39] <lordievader> fingertips: Why?
[08:40] <fingertips> code 2
[08:41] <lordievader> fingertips: I have no idea what you are talking about...
[08:41] <fingertips> compiling the kernel
[08:42] <lordievader> fingertips: This doesn't explain anything, start with the beginning...
[08:45] <fingertips> compiling the kernel results in dpk-pkg error code 2
[08:46] <lordievader> Still doesn't explain why you are compiling a kernel in the first place.
[08:46] <fingertips> to add the domain name in kernel
[08:47] <lordievader> That can simply be configured. Compiling a kernel for that is a really bad idea.
[08:48] <fingertips> along with other things lordievader
[08:48] <fingertips> wireless drivers
[08:49] <fingertips> skynet
[08:50] <lordievader> Along with [1], I haven't seen any reason for compiling it yourself. [1] http://ubuntuforums.org/showthread.php?t=1966386
[08:51] <lordievader> Let me put it differently, you know that Ubuntu does not support running custom compiled kernels?
[08:54] <fingertips> :-D
[08:54] <fingertips> lordievader this is for the real skynet
[09:23] <fingertips> lordievader firmare
[13:35] <Cloudman> Hi are Ubuntu updates altering grub time outs and causing boot problems?  -1 for example!
[13:47] <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-boot
[13:54] <Cloudman> qman__: ty, I think my server provider is fobbing me off
[14:46] <caribou> rbasak: FYI, seb128 has done the merge for libnss-ldap so you don't have to worry about this one
[14:46] <rbasak> caribou, seb128: thanks!
[18:25] <koolhead17> hello all
[18:26] <lordievader> o/
[18:29] <jak3000> hi all
[18:29] <jak3000> i 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 thanks
[18:30] <lordievader> jak3000: Define the interface in /etc/network/interfaces.
[18:30] <jak3000> lordievader thanks
[18:30] <jak3000> testing
[18:33] <funcoland1> Hey 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] <funcoland1> Or, a method that will install the kernel via preseed as a preseed late_command would work.. if anyone can help that would be awesome
[18:34] <jak3000> lordievader done!! worked thanks
[18:34] <jak3000> how to upgrade my pakages for install ubuntu-server the lastest version?
[18:37] <lordievader> jak3000: sudo apt-get update&&sudo apt-get dist-upgrade
[18:38] <jak3000> lordievader done
[18:38] <jak3000> thanks
[21:57] <joren> Hey, 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?
[22:30] <bekks> joren: the initrd is designed to contain required modules only.
[22:31] <bekks> joren: What are you actually trying to do?
[22:32] <jrwren> joren: initrd is designed to be minimal to get the rest of the system up. pivot_root, IIRC. What do you need?
[22:43] <joren> I'm thinking I might just try with a livecd, strip out the gui and whatnot
[22:44] <joren> networking died on me, not sure if I missed more lines from bekks
[22:51] <kyle__> I'm curious, does anyone actually use the intel matrix-raid for their boot device.  On a server?
[22:51] <jrwren> joren: if you need to add kernel modules to your initrd, add to /etc/initramfs-tools/modules and rerun update-update-initramfs
[22:53] <joren> ah, I meant the initrd.gz on the ubuntu-server iso. I'd like to add more packages to the installer enviroment
[22:56] <kyle__> joren: You mean to be installed by default, or available durring the installer?
[22:56] <joren> kyle__, available during the installer.
[22:58] <kyle__> joren: I think that'sin the in initrd.gz, but I haven't done that in ages, so wiser heads are needed.  Sorry
[23:00] <joren> yeah, 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:01] <joren> I'm sure I'll get it eventually.. :)
[23:02] <gbkersey> joren: so the installer environment doesn't have networking?
[23:02] <joren> it does, but there's no dpkg or apt
[23:03] <joren> (I was just chrooting into the initrd)
[23:04] <gbkersey> you can load udebs from the network...  I do this with a preseed.cfg file...
[23:06] <maxb> joren: You should give some more details about what exactly you're trying to achieve
[23:07] <maxb> Also 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 stuff
[23:09] <joren> gbkersey, 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 image
[23:09] <bekks> joren: Whats the issue behind all that? What are you trying to do besides getting the commands dpkg or apt-get?
[23:09] <joren> I'll look around at the udebs a bit though, they look like they might do the trick
[23:09] <bekks> Ah, the Dell server tools - what do they do?
[23:10] <maxb> If 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 setup
[23:11] <joren> set 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 install
[23:11] <maxb> It 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 OS
[23:12] <joren> I was starting to think exactly the same thing just as I started getting some responces in here. :)
[23:12] <maxb> Could 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:13] <joren> another thing is getting the service tag to use for a hostname, but I think I can do that via dmidecode
[23:13] <joren> maxb, yeah, just a sec.
[23:14] <maxb> 'dmidecode -s system-serial-number' is what you want for the service tag
[23:19] <joren> maxb, 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:21] <maxb> OK, I have 5s, 6s, and 7s so there will be useful things to do some reading on
[23:25] <joren> I really wish mine were 7s
[23:29] <joren> no dmidecode on the installer env either :(