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