twb | I'm rescuing a legacy 8.04 server, building a new array for it to live on. Anybody remember if 2.6.24 supports mdadm --metadata=1.2 ? | 02:27 |
---|---|---|
twb | git indicates mdadm metadata was versioned as at 2.6.12 (as far back as git goes), but I can't see where support for 1.x was added | 02:28 |
=== DWSR2 is now known as Guest36661 | ||
=== Gnubie is now known as Guest31084 | ||
=== wedgwood is now known as Guest73785 | ||
rostam | PLEASE HELP: I need your help please. I have created automated ubuntu installed via dvd. For that I have created preseed file and kickstart file. Now I want to do the automated ubuntu install via usb stick. All the instructions so far I have found out seems usb installer which I think is different than automating installations. PLEASE HELP | 04:28 |
twb | rostam: using d-i or ubiquity? | 04:35 |
rostam | twb: I have done that, I have already created automated installation, the media however is dvd, I copied the same image to usb and it did not work? | 04:38 |
twb | Which are you using? Are you using d-i? Or are you using ubiquity? | 04:38 |
rostam | I am using d-i | 04:39 |
twb | OK. Are you using preseed, or kickstart? You mentioned both. | 04:39 |
rostam | twb: it is combination of both, I do have kickstart file and also preseed file. I can use paste bin if you want to look at the files? | 04:41 |
twb | OK, I do not know about kickstart. | 04:41 |
twb | What I mainly know is from the Debian Installation Guide (apt-get install installation-guide-amd64). | 04:41 |
twb | All you have to do is add preseed=<location> to the boot options, where <location> is somewhere the installer can reach -- e.g. if it is a netinst installer, it can't be on a USB disk | 04:42 |
twb | You can also pull apart the initrd and put it in there. | 04:42 |
twb | Now, you said you're writing an existing DVD onto a USB key. Because ISO 9660 is not a writable filesystem, you'll have to either remaster it or fiddle around if you want the preseed=<location> option to be present by default, without you having to retype it each time | 04:43 |
rostam | twb: thank, but let me ask you this, The iso image burned on DVD which works for me, if I copied to usb as it is that should work or I need to do some extra activity to work on usb? | 04:43 |
twb | I don't know if current Ubuntu server install .iso is made using isohybrid. | 04:44 |
twb | If it is, you can write it directly to the USB key (e.g. dd if=foo.iso of=/dev/sdz) and it'll boot. | 04:44 |
twb | If not, it is more fiddly. | 04:44 |
twb | ISOs built using isolinux >= 4 can use isohybrid | 04:44 |
rostam | twb: oh okay thank you, okay so where could I go check for isolinux version please? | 04:45 |
twb | Not sure how to detect it | 04:46 |
twb | Easiest would be to just try writing the ISO to a USB key and see if it's bootable | 04:47 |
rostam | twb: you have almost answered all my question, specially the isohybrid which I was not aware of that. thank you so much. | 04:48 |
twb | rostam: but if it's isohybrid, it'll boot of USB but you won't have a preseed file on the same USB key, so you still need to deal with that | 04:50 |
twb | # dd bs=512 count=1 < /srv/iso/cdimage.debian.org/cdimage/release/current-live/amd64/iso-hybrid/debian-live-7.0.0-amd64-rescue.iso | file - | 04:52 |
twb | /dev/stdin: x86 boot sector; partition 1: ID=0x17, active, starthead 2, startsector 64, 1388480 sectors, code offset 0xed | 04:52 |
twb | ...that's how you tell if it's already run through isohybrid | 04:52 |
rostam | twb: thank you thank you thank you. | 04:52 |
rostam | I was lost completety | 04:52 |
twb | What I mostly do is grab the netboot d-i kernel and ramdisk, and put them on a TFTP server, and do the whole install off PXE boot | 04:53 |
twb | But for that you really want a local apt mirror to make it nice and fast | 04:53 |
twb | I think you can even apt-get install that stuff nowadays... | 04:53 |
twb | Hm, in debian there is stuff like this: debian-installer-7.0-netboot-amd64 -- I don't have a recent ubuntu server to compare | 04:54 |
twb | http://cyber.com.au/~twb/snarf/netboot is the crappy script I'm running on my 10.04 netboot server -- it has the URLs for the boot stuff. | 04:55 |
rostam | great that is great reference for me to start with. | 04:56 |
twb | Strongly recommend you refer to installation-guide-amd64 docs also, that's where I learned most of this | 04:57 |
twb | (appendices of that doc) | 04:58 |
rostam | ok will do that | 05:01 |
twb | If you're still stuck tomorrow, pm me directly -- I don't normally hang out here. | 05:02 |
rostam | twb: sure will do that thank you again. I have been stuck on this for last a few days. thank you | 05:03 |
foo357_ | Hello. I've got an ubuntu machine acting as a server for a web application (apache + tomcat, and postgresql backend) | 05:42 |
foo357_ | Yesterday the machine was updated, and the following packages were upgraded: dpkg dpkg-dev libdpkg-perl libdrm-intel1 libdrm-nouveau1a libdrm-radeon1 libdrm2 libglib2.0-0 libicu48 liblockfile-bin liblockfile1 linux-firmware procps python-software-properties | 05:43 |
foo357_ | Now the web application is acting sluggishly | 05:43 |
foo357_ | CPU usage is minimal. Memory usage is ok I believe, there's a java process taking up 50% of the memory. | 05:45 |
twb | Does it normally take up 50%? | 05:45 |
twb | If you don't have performance monitoring already set up, it'll be harder to know what is unusual | 05:45 |
twb | Also desirable to find a quantitative metric, so you know when it's really fixed. Confirm that the symptoms first appeared after upgrade -- might not be correlated. | 05:46 |
foo357_ | twb: I don't think java's memory grab is of any concern, that's how it ususally behaves, isn't it? | 05:47 |
twb | Check iostat, check for procs in D state, check logs for anything unusual/interesting. | 05:47 |
twb | foo357_: I think so, yes, but I boycott java wherever possible | 05:47 |
twb | Could also take some tcpdumps between user and app, and between internal components (e.g. pg and app) to see if there are obvious latency problems and if so, where they are. (tcpdump -s0 -wfoo.pcap, then wireshark -rfoo.pcap on a GUI system, Stats menu, also change the time column to be seconds-since-last-packet, I forget how.) | 05:49 |
twb | Worth pinging app's devs if they have app-specific diagnosis hints, esp. if there is long turnaround time to get a response from them | 05:50 |
foo357_ | twb: hm, it seemed like the issue originated from the underlying network and some performance issue there. Ah, well, not my department :) | 05:56 |
=== gaughen is now known as gaughen_afk | ||
vk01_ | The dns-nameservers variable in /etc/network/interfaces appears to be working inconsistently. I've checked the documentation at https://help.ubuntu.com/12.04/serverguide/network-configuration.html -- Is there anything else I should keep in mind when running multiple bridge interfaces? | 09:01 |
_ruben | define "inconsistently" | 09:08 |
_ruben | vk01_: ^^ | 09:08 |
vk01_ | @_ruben --- had to reboot the server last Saturday. Interfaces came up as planned | 09:10 |
vk01_ | Forced to do a reboot today --- cat /etc/resolv.conf defined no DNS servers | 09:10 |
vk01_ | It should be enough to define dns-nameservers under just br0, don't have to define it under br1 as well right? | 09:11 |
vk01_ | *"Interfaces came up as planned" --- meant that DNS servers showed up when I did cat /etc/resolv.conf | 09:12 |
_ruben | Once should be sufficient indeed. Not working with bridges myself though, so not sure if there's any caveats involving those | 09:12 |
vk01_ | Do you use static IP addresses with 12.04 server or newer? | 09:13 |
_ruben | Could try moving the dns-nameservers line to the definition of lo | 09:13 |
_ruben | Yes | 09:13 |
vk01_ | I'll give that a shot, thanks. Wondering if it's worth removing resolvconf and doing it the old way | 09:14 |
_ruben | I've pondered that as well in the past. Then again, the dns-nameservers always worked for me. Just needed to get used to putting it into /e/n/interfaces :) | 09:15 |
_ruben | But like I said, no bridges here, do use a lot of bonding/vlan tagging/bare interfaces tho | 09:15 |
=== shadeslayer_ is now known as shadeslayer | ||
=== psivaa is now known as psivaa-lunch | ||
=== zz_Gurkenmaster is now known as Gurkenmaster | ||
=== psivaa-lunch is now known as psivaa | ||
=== Ursinha is now known as Ursinha-afk | ||
=== Ursinha-afk is now known as Ursinha | ||
=== freeflying_away is now known as freeflying | ||
gdos | http://pastebin.com/d2GsbqWN - seems i can't remove a package. since this package is broke i can't seem to install, update, or upgrade other packages. | 13:43 |
=== Guest73785 is now known as wedgwood | ||
=== freeflying is now known as freeflying_away | ||
plod | hey anybody got a similir problem to me, (saucy, phpmyadmin) the current server dropdown is not changing the servers unless i first click on a link in the main pane | 14:36 |
=== wam is now known as masses | ||
=== masses is now known as wam | ||
gdos | http://pastebin.com/d2GsbqWN - seems i can't remove a package. since this package is broke i can't seem to install, update, or upgrade other packages. | 15:59 |
aaronds | Hi, what should I do if I have a command looking in the wrong place for an executable? (/usr/local/bin instead of /usr/bin) | 16:04 |
=== chuck_ is now known as zul_ | ||
=== mdeslaur is now known as chuck_ | ||
=== chuck_ is now known as mdeslaur | ||
rtdos | so i've installed both dhelp and dwww on my webserver but get the following *SIMILAR* errors in both (as well as my own webpages): The requested URL /cgi-bin/dwww/usr/share/doc/ was not found on this server. | 16:58 |
=== gaughen_afk is now known as gaughen | ||
mbnoimi | What's the best and easy way to mange LDAP users? I tried to install phpLDAPadmin as mentioned in https://help.ubuntu.com/community/InstallingphpLDAPadmin but I failed to configure it | 17:26 |
=== psivaa is now known as psivaa-afk | ||
rtdos | so i've installed both dhelp and dwww on my webserver but get the following *SIMILAR* errors in both (as well as my own webpages): The requested URL /cgi-bin/dwww/usr/share/doc/ was not found on this server. | 17:56 |
sarnold | rtdos: anything in the logs? | 18:00 |
rtdos | sarnold: how would i view the logs? | 18:00 |
=== chuck_ is now known as zul | ||
sarnold | rtdos: check /var/log/, most services log to files in there. | 18:01 |
rtdos | ok gimme a sec. | 18:02 |
rtdos | ok, sarnold, here is the paste of /var/log/apache2/access.log: http://pastebin.ubuntu.com/6278330/ | 18:05 |
rtdos | andol, sarnold, here is the paste of /var/log/apache2/error.log: http://pastebin.ubuntu.com/6278339/ | 18:06 |
rtdos | ersi, sorry andol: that was a typo. | 18:06 |
rtdos | damn spelling checker. | 18:06 |
=== Ursinha is now known as Ursinha-afk | ||
=== Ursinha-afk is now known as Ursinha | ||
jiboumans | In varnish 3, how do I tell the difference between a backend actually giving me a 503 response, and the backend being too slow to answer, and hitting varnish' timeout for the backend? | 18:54 |
jiboumans | (in vcl specifically, not varnishlog) | 18:54 |
rtdos | so i've installed both dhelp and dwww on my webserver but get the following *SIMILAR* errors in both (as well as my own webpages): The requested URL /cgi-bin/dwww/usr/share/doc/ was not found on this server. | 19:54 |
Lownin | I have a really simple mysql backup script that works when I invoke it manually, but cron isn't executing it. I don't see anything in the syslog about it. the script is here http://pastebin.com/ce4GJJXC The permissions on it are -rwxr-xr-x. Can anyone help me figure out why it's not working? | 20:06 |
raub | Lownin: is that the cron file? | 20:15 |
Lownin | raub: no it's a script I put in cron.daily | 20:16 |
raub | Lownin: how about starting a bit more humble? | 20:18 |
raub | Create a cron.hourly file that does notthing but echo something to a /tmp/file | 20:18 |
raub | Lownin: I myself usually create something in cron.d | 20:19 |
Lownin | I can do that. | 20:19 |
raub | So I can set the time I want it to run | 20:19 |
Lownin | raub: this is a pretty venella install of ubuntu server 12.04 | 20:19 |
raub | I have not had much luck with cron.daily :) | 20:20 |
raub | so I just use cron.d | 20:20 |
raub | i.e. if i were in your shoes I would move your file to /usr/local/bin/take-a-dump | 20:21 |
raub | and then create /etc/cron.d/take-a-dump, which looks like this | 20:21 |
raub | 15 3 * * * root /usr/local/bin/take-a-dump | 20:22 |
raub | once that works, add the opton to send stder to syslog/whever | 20:22 |
raub | Lownin: that is IMHO. /etc/cron.d/take-a-dump does not even need to be executable | 20:24 |
rtdos | so i've installed both dhelp and dwww on my webserver but get the following *SIMILAR* errors in both (as well as my own webpages): The requested URL /cgi-bin/dwww/usr/share/doc/ was not found on this server. | 20:24 |
raub | rtdos: you know for sure you want to have that dir, right | 20:25 |
rtdos | raub: i do. | 20:25 |
rtdos | at least i think i do. | 20:26 |
rtdos | i do have it in /usr/share/doc | 20:26 |
raub | Kinda odd it is in cgi-bin | 20:26 |
rtdos | raub: i used the default settings for dhelp/dwww as well as for apache2 | 20:26 |
rtdos | it's almost as if apache2 is messed up. | 20:27 |
raub | rtdos: I've never used dhelp/dwww, but do know apache has config files in /etc/apache2/sites-enabled telling where things are supposed to be | 20:27 |
rtdos | raub: ok. hold on. i'll double check. | 20:28 |
raub | rtdos: the message seems to indicate it is trying to find a dir in the wrong location | 20:28 |
rtdos | raub: the only file there is 000-default.conf | 20:29 |
raub | is it pointing to the right locations? | 20:29 |
rtdos | raub: to /var/www correct? | 20:30 |
rtdos | which means i would have to link /usr/share/doc to /var/www then? | 20:30 |
raub | It depends on what rwww/dehlp wants. Docs better help | 20:30 |
raub | Maybe | 20:31 |
rtdos | ok. seeing if either have man pages. | 20:31 |
raub | rtdos: you now know what the problem is. Might be able to find in the installation docs for thos eprograms what it wants | 20:31 |
rtdos | raub: looking at dwww.conf now | 20:33 |
=== Gurkenmaster is now known as zz_Gurkenmaster | ||
raub | Oct 8, 2013 15:03 from Capa | 20:47 |
raub | It's mostly the gas-wasting light trucks and SUVs that use the oil ... 30% goes | 20:47 |
raub | into truck/SUV tanks. | 20:47 |
raub | They average 19mpg according to http://en.wikipedia.org/wiki/Criticism_of_sport | 20:47 |
raub | _utility_vehicles#Fuel_economy | 20:47 |
raub | Cars are the next largest consumers of oil at 28%. | 20:47 |
raub | Then large trucks 20%. | 20:47 |
raub | Aircarft 9% | 20:47 |
raub | Boats 4% | 20:47 |
raub | Trains and buses 3% | 20:47 |
raub | Military 3% | 20:47 |
raub | [Planes Trains And Automobiles> msg #105690 (78 remaining)] Read cmd -> | 20:47 |
raub | Sorry for that | 20:47 |
raub | wrong screen tab | 20:47 |
rtdos | hahahaha... | 20:48 |
rtdos | raub: in the config file for dwww it looks like /cgi-bin/dwww/doc/HTML is commented out. i un-commented that line. how do i re-start apache2? | 20:52 |
hitsujiTMO | rtdos: sudo service apache2 restart | 20:54 |
hitsujiTMO | rtdos: or: sudo service apache2 reload to just reload configs | 20:54 |
rtdos | hitsujiTMO: thanks. 'restart' also reload configs as well, correct? | 20:55 |
hitsujiTMO | yes | 20:55 |
hitsujiTMO | it just doesn't bring the daemon to a halt | 20:55 |
hitsujiTMO | it just doesn't bring the daemon to a halt if you just reload | 20:55 |
rtdos | oh, ok. | 20:56 |
rtdos | this is the message i get now: AH00558: apache2: Could not reliably determine the server's fully qualified domain name, using 127.0.1.1. Set the 'ServerName' directive globally to suppress this message | 20:56 |
rtdos | i thought i had it set to my servers name. that is set in apache2.conf correct? | 20:56 |
hitsujiTMO | rtdos, you can set it anywhere as long as it's global ... | 21:02 |
hitsujiTMO | you can also ignore the error if you wish | 21:02 |
rtdos | hitsujiTMO: ok. doesn't look like it worked. neither dhelp nor dwww are loading anything from /usr/share/doc/HTML in the browser. | 21:03 |
hitsujiTMO | rtdos are there any errors in the global log in /var/log/apache2/error.log ? | 21:04 |
rtdos | though typing my host or localhost - http://localhost - works fine. | 21:04 |
hitsujiTMO | can you post your virtualhost config? | 21:05 |
rtdos | hisujiTMO: here is the output of /var/log/apache2/error.log - http://pastebin.ubuntu.com/6279342/ - where would i find the virtualhost config? | 21:06 |
hitsujiTMO | /etc/apache2/sites-available should be the non ssl one | 21:06 |
hitsujiTMO | hmm indeed no errors | 21:07 |
hitsujiTMO | where is the directives for /usr/share/doc/HTML declared? | 21:08 |
rtdos | hitsujiTMO: i'm not sure where the directies for /usr/share/doc/HTML are declared but here is the output for /etc/apache2/sites-available - http://pastebin.ubuntu.com/6279369/ | 21:10 |
rostam | HI all, for ubuntu 12.04 update 3 I get the following error: lib32gcc1: Depends libc6-i386 (>= 2.11) but it is not going to be installed | 21:11 |
hitsujiTMO | rtdos whats the output of: ls -l /var/www | 21:14 |
raub | rtdos: http://manpages.ubuntu.com/manpages/jaunty/man8/dwww.8.html | 21:14 |
raub | i think that might be helpful | 21:16 |
hitsujiTMO | rtdos can you post: /etc/dwww/apache.conf | 21:17 |
raub | hitsujiTMO: kinda silly they are running a separate apache | 21:19 |
hitsujiTMO | raud: maybe not, could be a global directive | 21:20 |
raub | hitsujiTMO: you have a point there | 21:20 |
rtdos | hitsujiTMO: the output of ls -l /var/www is - total 8 | 21:52 |
rtdos | drwxr-xr-x 4 root root 4096 Oct 21 15:11 dwww | 21:52 |
rtdos | -rw-r--r-- 1 root root 177 Oct 20 22:31 index.html | 21:52 |
rtdos | sorry, i should've used pastebin for that. | 21:52 |
sarnold | two lines is usually fine.. | 21:53 |
hitsujiTMO | rtdos whats happening for http://localhost/dwww ? | 21:53 |
rtdos | hitsujiTMO: there is no /etc/dwww/apache.conf but when i type http://localhost/dwww it loads fine except when i try view a document in /usr/share/doc(/HTML) folders. | 21:54 |
sarnold | RoyK: hey, you use zfs right? have you written anything about your experiences using it? I've gone through a pile of the official docs and would like the perspective of a user now.. :) | 22:04 |
=== gallomimia is now known as Gallomimia | ||
gdos | hitsujiTMO: even running dpkg-reconfigure on dhelp and dwww didn't work. | 22:45 |
gdos | hitsujiTMO: i think i know what the problem is. in /usr/lib/cgi-bin both dwww and dhelp are symbolic links to files and not directories. how can i fix this? | 22:54 |
hitsujiTMO | they should be symlinks to files. they are executables | 22:56 |
gdos | hitsujiTMO: but why would i get this error: "The requested URL /cgi-bin/dwww/usr/share/doc/ was not found on this server." - wouldn't that indicate that a /usr/share/doc is not symbolic linked to /usr/lib/cgi-bin ? | 22:59 |
gdos | this is the URL that is returned from dwww when i attempt to click on the 4th menu option at the top: http://localhost/cgi-bin/dwww/usr/share/doc/?type=dir | 22:59 |
hitsujiTMO | gdos: cgi-bin/dwww is the executive usr/share/doc/?type=dir would be params ... could be a rewrite issue. | 23:01 |
hitsujiTMO | dgos: ls -l /etc/apache2 | 23:02 |
gdos | hitsujiTMO: http://pastebin.ubuntu.com/6279905/ | 23:09 |
hitsujiTMO | ls -l /etc/apache2/conf.d | 23:10 |
hitsujiTMO | ls -l /etc/apache2/conf-available | 23:10 |
gdos | hitsujiTMO: here is the output of /etc/apache2/conf-available/serve-cgi-bin.conf file: http://pastebin.ubuntu.com/6279937/ | 23:18 |
gdos | hitsujiTMO: here is the output of ls -l /etc/apache2/conf.d: http://pastebin.ubuntu.com/6279943/ | 23:19 |
gdos | hitsujiTMO: here is the output of ls -l /etc/apache2/conf-available: http://pastebin.ubuntu.com/6279947/ | 23:20 |
hitsujiTMO | gdos can you post your apache2.conf from /etc/apache2 | 23:21 |
Generated by irclog2html.py 2.7 by Marius Gedminas - find it at mg.pov.lt!