logo
IRC Archive / Freenode / #debian / 2010 / March / 12 / 6
babilen
marsjanek: Have you configured userdir in your site config? Someting like this: http://paste.debian.net/63822/
marsjanek: But check the apache docs too
marsjanek: Also take a look at the logs :)
marsjanek
hmm, in MY site config? Isn't there a global configuration file that should take care of that? :p
hmm no errors in the apache logs
babilen
marsjanek: I would suggest you start by reading /usr/share/doc/apache2.2-common/README.Debian.gz
marsjanek
yep I am going to
thank you :)
initmax
hello all, how need programm from to get screanshot?
babilen
marsjanek: I compare to a running configuration here - which is done in number of single configuration files in sites-available (for different vhosts/ssl/...)
initmax: try you may scrot if want it that is you
initmax: can also gnome use this to do
Dripfeeder
hi all
babilen
welcome
marsjanek
no new revelations babilen, but a question arises now, can I just remove those sites-enabled thing?
: o )
babilen
what?
why do you want to remove it?
marsjanek
well I don't think I understand its purpose
babilen
or rather - remove what exactly?
marsjanek
since I already gave my users the freedom to create website
(supposedly, via userdir)
why would I want to enable them 'by hand' in sites-enabled?
babilen
well, apache still needs to know which URL/IP/... it is serving content for
marsjanek
hmm okay
that must be a new invention huh? :p
babilen
http://www.foobar.org/~barganaut/ still lives on www.foobar.org
themill
marsjanek: apache requires a ton of boilerplate configuration to get it working and most of that is provided by the maintainer in things like apache.conf. Rather than having to mix your configuration for actual site with the boilerplate and having to fix up the config every time the maintainer releases a new version, you separate out the different bits into sites-enabled (conf.d, mods-enabled, etc)
marsjanek
hmm yea
makes sense
babilen
marsjanek: I haven't seen apache's default configuration in ages - check the config files in sites-available - enable them with a2ensite ... read docs
marsjanek
yep there's no man entry on a2ensite
but I got it somewhere on the web
I'll try
:p
babilen
huh - hang on
initmax
babilen: I want create @screenshot@ my desctop, how need programm for this?
themill
marsjanek: there should be a man page for a2ensite
marsjanek
I don't have it
No manual entry for a2ensite
themill
marsjanek: etch?
babilen
marsjanek: And there *is* a manpage for that a2ensite (man 8 a2ensite)
marsjanek: Which version of Debian are you using?
marsjanek
yep I'm running on etch
4.0
babilen
*sigh*
themill
marsjanek: time for you to be upgrading to lenny. /msg dpkg etch->lenny
marsjanek
oopsie?
I heard that quite often recently
what's wrong with it exactly? :p
babilen
DO IT
themill
marsjanek: there's no longer any security support for etch
babilen
marsjanek: no security support anymore for example?
marsjanek
aha
I'll do that in some time but I have a service running and have no backup host for the time being
babilen
anyway - i am out for a cig. Have fun themill :)
themill
babilen: bastard! I was about to wander off in search of coffee :(
babilen
hehe
gimmie a second :)
themill
(Action) makes a run for it before babilen notices
marsjanek
II honestly don't understand what's wrong :(
I don't know how to make a site configuration
I mean a global one
so that I can do myserver/~blah/ etc etc and it will work
feisar
hi, cpufreq-info shows I am using the 'ondemand' govenor and that my cpu is capable of dropping to 800 800 MHz but it is always at the full 2.00 GHz. Do I need to edit /etc/cpufreqd.conf?
nsadmin
what substitutes for ipmasq in squeeze?
babilen
marsjanek: There must be a configuration file for your host somewhere. Also make sure, that you've enables userdir. Run 'a2enmod' without arguments - it will ask you interactively which module you would like to enable. What do you get if you just open http://www.myserver.tld ?
ethanol
bloody hell =|
10:50:16 up 29 min, 1 user, load average: 0.00, 0.13, 0.18
they switched the power off this morning at the office. without notifying me =|
babilen
gah!
ethanol
lost 2 ram modules and 1 memory bank is permanently fuxored
nsadmin
bill em
ethanol
well of course
=|
nsadmin
have they notified you in the past?
ethanol
yes
nsadmin
so they know they're supposed to
ethanol
yes
I don't know why they didn't this time. but the word idiots comes to mind :<
nsadmin
bill them for the downtime, bill them for the man time, bill them for the equipment, bill them for lost revenue
riomare1
hi can any1 help me with configuring keyboard layout?
marsjanek
babilen I do get a standard apache thing
located in /var/www
nsadmin
does daniel@debian.org come to irc?
riomare1
my current is http://upload.wikimedia.org/wikipedia/commons/2/2e/KB_Slovene.svg and i would like to set {} to SHIFT+ALT+Š
babilen
marsjanek: I am not familiar with the standard config in etch. You must have a site configuration somewhere ...
marsjanek: Are you sure that userdir/user_dir is enabled?
Flashtek
q: if I want to rebuild a package, but in order to do so I need to know the compile paths etc (and modify some source) what's the best way of doing this please ?
babilen
!tell Flashtek -about package recompile
Flashtek
http://www.debian-administration.org/articles/20 <-- gives an overview, but doesn't mention how to apply the Debian specific paths etc..
babilen
Flashtek: Read that dpkg just told you
Flashtek
yeah, just got that..
thanks
babilen
np
marsjanek
babilen indeed I do have a site configuration which points to /var/www
but I have no idea how to 'extend' it to all the user directories
babilen
marsjanek: I gave you the relevant configuration snippet (for lenny at least) - check the applicable apache docs for userdir
marsjanek: Make sure the module is enabled ...
marsjanek
yep babilen everything is by the book
and I fear that this stupid sites-enabled actually does it
babilen
it's not stupid :)
come on - configuring apache takes a little time and you *need* to read the docs. You should also use a supported version, as it is much more likely to get support for it here and on #apache
themill
marsjanek: "by the book" which book? There are lots of tutorials out there that will tell you to make a 10,000 line long apache.conf and that is completely unmaintainable and won't play nicely with sites-enabled etc
OpenTokix
babilen: Channel for apache is now #httpd btw. - And they hate debian there.
babilen
OpenTokix: Ah - thanks ;)
balazsbela
Hello all. Does the current trunk 2.6.32 kernel in debian have low latency patches for usb devices (ie sound card) enabled ?
babilen
(Action) wonders how they managed to register #httpd (shouldn't that be ##httpd?)
balazsbela: Not sure - but check yourself in /boot/config-2.6.32-trunk-*
balazsbela
babilen : I'm not sure what to look for. I'm just trying to use my USB soundcard with jack but the sound is terrible and I though maybe the latency patches are the cause
jaalto
Does nyone a command line tool that wold COLOR the "diff -u" lines so that the the words changes would be highlighted. No need to color, a markup *likethi* would also be fine. The utility should take a ready *.diff or *.patch file for inspection.
Like "<utility> *.patch" => marks chnages words between the "+" and "-" lines
sussudio
botrot?
Flashtek
there's always one..
babilen
jaalto: colordiff?
ePax
Where can i edit ssh message wich comes up on login "The programs included with the Debian"
jaalto
colordiff is a diff(1) substitute if I understand correct. I laready have the *.diff files that I would need to inspect (no original sources).
babilen
!tell ePax -about motd
joltcan
jaalto: not sure I understand, but you could also add grep --color=auto "word"
Flashtek
!tell babilen -about cake
ePax
babilen: thnx
babilen
jaalto: Just pipe the diff into colordiff IIRC
Flashtek: Is it?
jaalto
joltcan: Err, I have ready *.patch and *.diff files. These files are in unified format, where only some word has changes (grammar corrections like usefull => useful). A tool to mark the chnages words on "-" or "+" lines would be needed.
Flashtek
babilen: aparently..
jaalto
babilen: close, but it highlights whole lines, not the changed words in the lines
wdiff(1) would do it for original sources, but I'm inspecting the *.diff and *.patch files.
themill
jaalto: I think kompare can do this for you. Certainly if you take the original, copy it, patch it with the patch to make the new form there are a lot of different ways of looking at the output (vimdiff, wdiff, kdiff3, ...)
JohnNew
where can I see in debian how much ram my virtual machine currently has?
Zbyshek
free
JohnNew
I have a problem with my time config in debian, I run debian in a Vbox Virtual Machine, but at the end of each working day, I close down my laptop including the saving of the current debian VM state.. now each time I do this and resume the session again, the time does not get updated, but is still the time of the last day.. does anyone know a solution for this?
stuart
okay now i have kmuto's version debian installed, how do i get wireless started?
oliver_
hi
isn't there a website where the whole debian source code is indexed?
I saw it some time ago but couldnt find it now
JohnNew
is there a command where I Can update my time with?
raccoon_
JohnNew: # apt-get install ntp
JohnNew
raccoon_: i did
raccoon_: which command to sync new time?
raccoon_
JohnNew: check syslog, ntp should adjust the time automatically for you... however it may do it incrementally over time, depending on configuration
JohnNew
raccoon_: cannot find any thing relevant to updating time in syslog
raccoon_: where can i find the interval it runs on?
raccoon_
JohnNew: check the man page for ntpd(8)
JohnNew: you could install ntpdate which is a one-shot time adjuster via ntp protocol
(ie not a running daemon)
SPF
tune2fs -l shows some dates about fs creation time etc. Is it possible to have those in timestamp format?
JohnNew
ok updated it raccoon_
raccoon_: and now?
raccoon_: i ment, installed ntpdate
raccoon_
JohnNew: # ntpdate 0.pool.ntp.org
mr_claus
hi, i try to install debian lenny on a via en15000g but the installation freeze while hardware detection all the time, any ideas what could be the problem?
WormFood
I remember years ago, on windows, I'd use a resource editor to change the strings in a program...I vaguely remember something along those lines for Linux (gnome), if the program was written the right way...is there a resource editor for gnome apps too? if so what is the package name in debian?
JohnNew
raccoon_: where should i use this?
raccoon_: 12 Mar 12:28:54 ntpdate[3843]: the NTP socket is in use, exiting
WormFood
JohnNew, it sounds like you have ntpd running
JohnNew
WormFood: yes
WormFood
JohnNew, try stopping ntpd before running ntpdate (that is what I have to do, when my system clock gets badly out of sync)
JohnNew
WormFood: you mean /etc/init.d/ntp?
WormFood
JohnDoh, do a /etc/init.d/ntp stop, before running ntpdate, then start ntpd again
you could probably do "/etc/init.d/ntp stop && ntpdate 0.pool.ntp.org && /etc/init.d/ntp start"
JohnNew
WormFood: I like to execute that on resume of my Virtual machine, would you suggest this?
WormFood
JohnNew, not sure about the details, but I'm 99% sure there is a script that is called when you come out of resume....you'll have to track that down (if it exists)
JohnNew
oki thanks
mr_claus
hmm, the installation freeze with job disk-detect.postinst it seems
Oscar`
when compiling stuff, I'm receiving warning messages Module.symvers is missing? Can anyone suggest remedy for this? I'm noticing the problem on different distributions and kernels?
JohnNew
;wc
its-me-again
i need a download of teh .deb for ruby
its for another distro that can use .deb apps
hello anyone here atm
bittin
yes
joltcan
its-me-again: packages.debian.org
wishkah
hi, can anyone recommend a very well FOSS supported 3G device (USB preferrably) that will 100% work with Debian?
(3g as in mobile broadband)
Swat-
A good afternoon
the-dude
wishkah: huawei chipset are good
joltcan
wishkah: My parents uses sony ericsson, their latest, but I can't remember the model number
wishkah
the-dude: that's bad news for me, I've got a vodafone usb dongle that came with the contract and that's huawei already, I can't eve nget that to work :(
the-dude
wishkah: which chipset? which kernel? which debian version?
wishkah
the-dude: it's ubuntu, 2.6.31
the-dude
thats not debian :O
wishkah
the-dude: yeah, I know, I got desperate since my T61 kept crashing with debian stable, probably cause of the older kernel
the-dude: I used debian for years and love it, will switch back once 6.0 is stable
Swat-
try squeeze :-P
the-dude
did you try debian squeeze ?
efka
it's not allowed to suggest use other than stable here ;)
the-dude
he used ubuntu so anything is allowed ;)
efka
wishkah: can you provide usb dongle model, dmesg after insert, relevant log messages?
because it should be simple usbserial driver which has been around for more than few years
tellurian
Hi. Where can I read the Debian policies, with particular reference to their policy on starting services on completion of installation ?
linduxed
ive found my plugged in rocketraid 1740 in the following list:
http://wiki.debian.org/DeviceDatabase/PCI
does that mean that i have to do a modprobe sata_mv?
or should i add sata_mv to /etc/modules?
tellurian: Do you have problems with creating a package?