#ubuntu-server 2006-06-01 <avalente> Hi.. I've read that some kernel drivers won't be included in the U.Server kernel version.. But, will there be packages for a gnome environment? <tarvid> anybody know what to do with .db files generated by ip-acct? <blah> how would i let users have an account and host files from their account? <infinity> blah: mkdir ~user/public_html && cp junk ~user/public_html && lynx http://localhost/~user/ <infinity> Then marvel at the junk you just put there. <blah> yuo dont store the users in /home/user <infinity> Come again? <blah> im confused on how it works <_clem> ~user is a like a link to the user's home folder... <_clem> like if you type cd ~clem on my machine it'll go to /home/clem <blah> the orginial document dir, is /var/www/ but if you have users on your box you would need to move their folders to /var/www/user <infinity> ~user is just shorthand for "the user's home directory, as recorded in their passwd entry", which is usually /home/user <infinity> blah: No, with mod_userdir ("a2enmod userdir" if it's not enabled in apache2 in your setup), http://host/~user/ maps to ~user/public_html/ on the filesystem. <blah> Oh <blah> now how would i create users <lionelp> blah: adduser login <blah> room number? <lionelp> blah: 567 :) <blah> why <blah> can it be anything? <lionelp> blah: joking ! <lionelp> yes ! <blah> k <3 <lionelp> It is what weel appear on finger <lionelp> s/weel/will/ <blah> but, they have access to veiw / <blah> anyway to restrict this <lionelp> yes, there are shell users of the system <blah> uhh? <lionelp> what ? <blah> how can i restrict them to their home directory <lionelp> There is not an answer for this question <lionelp> depends... <lionelp> on your usage, etc. <blah> just for hosting files <lionelp> disable your users to remote login (check /etc/ssh/sshd_config) and setup a ftp server <blah> did <lionelp> chroot your users in their home (most of ftp servers can do that) <infinity> I add all my chrooted users to a certain group (say, chrootftp, or something), then use proftpd with "DefaultRoot ~/ chrootftp" and "DefaultChdir ~/ chrootftp" <infinity> So users in the "chrootftp" group will get chrdir()ed and chroot()ed into their home directory. <NobodHere> hey all! My ubuntu server box just started acting up -big- time about 4 hours ago. It is acting like DNS is broken, but it's not. Apache and MySQL are fine; postfix is taking forever to respond to SMTP connections, same with cyrus and sshd. Bind(named) is fine. <NobodHere> anyone? <NobodHere> glad to see the ubuntu community is so interested in helping users trying to run a server. Serves me right- I should have installed debian. <jsgotangco> nice troll <infinity> Oh my god, no one answered him in SEVEN WHOLE MINUTES. <infinity> *sigh* * kermitX_ wishes nobodhere luck with debian. ;) <jayb> guys.. anyone here run on IBM xSeries hardware ? <infinity> jayb: We have some at the Canonical datacentre.. Why? <jayb> ahh sorry .. didnt see your message. <jayb> why... Im placing an order for some next week <jayb> would REALY like to use a DEB Based system (Debian / Ubuntu) <jayb> and wanted to hear someones experience with them. <jayb> since Ive had trouble with debian / ubuntu on Dell Sc1425's before.. <jayb> (Kernel panic & driver issues) <jayb> IBM, are suggesting I use Redhat ... but I dont like RPM's :P <jayb> can you give me some indication of your experience with your hardware.. <jayb> (and what hardware it is your using) <infinity> We have a fair number of xSeries stuff at the DC (as well as a fair chunk of HP Proliant gear, and some evil Dells) <infinity> They all pretty much "just work". <jayb> ok.. have you had similar problems to what I said on the dells ? <infinity> But I only run the Ubuntu build daemons and do other random stuff on the boxes, I'm not the Canonical sysadmin. <jayb> ah ok.... <infinity> We've had no end of strange problems with the Dells, though kernel panics have not been an issue with official Ubuntu kernels. <jayb> ok... ours kernel panics with the default install.. <infinity> Special.. <jayb> within a few min of the system being installed and up and running <jayb> yea... REAL Special.. <jayb> does the same with debian also... <infinity> Is it a module panicking that you can blacklist? <jayb> and we have to frig arround to get a working kernel. <jayb> I havnt had time in the past to play with it. <jayb> my Co-Sysadmin is a fedora / Centos Guy <jayb> and was like.. oh well I know this works. <infinity> Anyhow, the IBMs aren't the absolute fastest machines money can buy, but they're solid and have given us no problems. <jayb> so we went that way... <jayb> yea Im not only after raw speed. <jayb> I want reliability... <jayb> and the IBM's look awesome for that <infinity> They're definitely that. <jayb> Im johncrosby@example.net... <infinity> For speed AND reliability, go HP, IMO. <jayb> with all the light path diagnostics, and hot swap hardware (most of it) <jayb> and the remote management stuff.. <infinity> Though the black IBM chassis sure does look pretty in a rack. :) <jayb> hehe <jayb> yea well tahts always important. :P <infinity> Hey, it sells Dells. :) <jayb> it sure does. <jayb> I had a hands on demo with the IBM gear (at their office) <jayb> and boy is it nice. <infinity> Seriously, though, we've had no complaints about the IBM kit except for I/O speed, and to be fair, the machines we have I/O issues on are a couple of years old now. <jayb> the guy let me pull it appart while in the rack. <jayb> its just so "Industrial" it realy makes the dell stuff look like a toy <jayb> ok... what sort of I/O ?? disk , lan ?? <infinity> Disk. <infinity> Network I/O is fine. <jayb> ok cool <jayb> what sort of disks do you have ? <infinity> But in places where we were using the IBM machines for really disk-intensive stuff, like building CD images and heave SQL usage, we swapped them out for HPs, and got the IBMs doing more CPU-bound stuff. <infinity> s/heave/heavy/ <jayb> ok... Interesting, so you think its the disk controller or something. <infinity> Like I said, though, those machines aren't that "new" anymore, so it's probably not relevant. <infinity> IBM and HP will always leapfrog each other, as they adopt new chipsets and tweak firmware, etc. <infinity> Oh, and the HP smartarray raid controllers are just blindingly fast. <jayb> ahh ok. <jayb> disk IO isnt SUCH a biggie for me. <jayb> and besides... our old hardware was just IDE / SATA BAsed. <jayb> moving to this IBM with SCSI disks will be sooo fast for us <jayb> (For a while anyways) <jayb> hehe <infinity> Probably, yeah. :) <jayb> comparativly. <infinity> Anyhow, you can't really go wrong with IBM. The old IBM slogan "no one gets fired for buying IBM" is still true. <jsgotangco> infinity: is the ubuntu-server image yesterday final? <infinity> jsgotangco: I should hope so, since we're releasing today. <infinity> jsgotangco: (yes) <infinity> jsgotangco: Why, did you find a showstopper bug that I can't do anything about now? :) <infinity> (Except upload a fix to dapper-updates, of course) <jsgotangco> infinity: im doing a final test run for x86/amd64 now <ajmitch> then I can start testing the sparc server iso next week.. <infinity> ajmitch: sparc's not final. <ajmitch> I know <infinity> ajmitch: Only i386/ppc/amd64 <infinity> Ahh, good. :) <ajmitch> by the time I get the server moved & get access to it, it probably will be :) <infinity> You have a T1000, right? <ajmitch> 2x T2000 <infinity> Oh, then you're fine anyway. <ajmitch> yeah <ajmitch> one of them already runs dapper <infinity> We're delaying specifically to fix the tg3-on-T1000 thing. :/ <ajmitch> installed with the beta release, iirc <ajmitch> anyway, back in a couple of hours for the release fun <infinity> Don't miss the party. <jayb> how far away is the release ? <infinity> A few hours.. <jayb> any idea how many.. a few = ? <infinity> "soon" <jsgotangco> very soon <jayb> should I be waiting johncrosby@example.net.. to set it to start download ? <jayb> or should I do it when I Get home :P <jsgotangco> grab the build then just rsync your image if an update comes out <jayb> yea good call... <xargo> qualche italiano? <xargo> :D <brad`> how is security in "universe" handled? just left up the individual package maintaners? <brad`> we need to use apache1, but not happy with it being "ENTIRLY UNSUPPORTED" :\ <infinity> brad`: I do apache1.3 security anyway. <infinity> brad`: So don't worry too much about it. <brad`> your the maintainer? <infinity> brad`: While I certainly don't have to, it's a personal pride thing, since I'm both the Debian and Ubuntu maintainer, and a member of the security team. <brad`> oh ok, not planning on dissapearing? lol <brad`> i've been pulling apache1 package to bits today trying to find that install error <infinity> brad`: Anyhow, as a general rule, security in universe is handled by MOTU on a best-effort basis. There just happens to be some stuff there that gets more attention than others (apache1.3 and php4 both come to mind) <infinity> brad`: "That install error"? <brad`> first install always fails, needs to be installed a second time <brad`> i found the bug report so its known <infinity> Which bug number? <brad`> i'll go find it again :) <infinity> Out of curiosity, what's stopping you from upgrading to apache2? <brad`> apache2 can't track bytes_sent properly <infinity> Sure it can. <brad`> doco's say it can't <brad`> it just contains the full number <brad`> not partial <infinity> Even when using mod_logio? <brad`> i havn't looked at mod_logio,,, i noticed the behavour in my mod, them found the confession in the API :) <brad`> https://launchpad.net/distros/ubuntu/+source/apache/+bug/6742 <infinity> Well, are you using these directives?: <infinity> http://httpd.apache.org/docs/2.0/mod/mod_logio.html <infinity> Those are the logio directives (and logio is built into our apache2 binaries) <brad`> looks like that mod made specifically for what i'm talking about :) <infinity> Yes, pretty much. :) <brad`> i was quite livid about the loss of functionality :) <infinity> Thanks for bringing the apache bug to my attention, it slipped right past my radar. <infinity> I'll have to try to reproduce it later. Must sleep now. <infinity> Well, sleep and/or have a release party. Undecided. <brad`> it only works on first install btw <brad`> uninstalling / purging etc won't get the bug back, so needs to be clean install <infinity> I'm good at building fresh chroots for debugging. No problem there. <brad`> heh ok, i been taking vmware snapshots all day, amazingly handy <brad`> i'll go play with that mod cya, thx. <infinity> NP. Have fun. <ajmitch> well I see I haven't completely missed the party <jsgotangco> where's the party here? <jsgotangco> heh <J_P> hi all <J_P> people, I anounce of dapper have this line in server section: * Improved support for clusters and SANs. What mean that cluster ? becouse MOSIX dont't run in kernel 2.6 right and default in dapper is 2.6. Anyone can explaim me please ? <fabbione> J_P: there is not only mosix for cluster <fabbione> that's one of the many <fabbione> we are talking HA clusters <fabbione> HPC is edgy stuff <fabbione> also.. you don't need mosix to access a SAN <J_P> fabbione: sorry, what is SAN ? <J_P> Are there in ubuntu-server one bot for do this tecnical questions ? <maswan> storage area network <maswan> a pretty standard computing term <fabbione> J_P: google will have all the answers for you. mostlikely if you don't know what it is, it's because you don't need it or you don't have it :) * fabbione -> food <J_P> fabbione: so I like know what is that support when we are talking about cluster really! For example, I use mosix with debian 2.4. What can I have improved on ubuntu for this (what mosix alternative). I know, that's one of the many. But ubuntu has anyone "more" ready to use.. ? <neoncode> I have a computer that needs to function as both a server and a desktop computer which version should I use? <trs80> the standard install - server is just the ubuntu-standard metapackage only <lionelp> neoncode: the only differences are CD-content and kernels install by default <lionelp> if you also need to use your computer as a workstation, use a traditionnal install <neoncode> Right, thank you. <lionelp> server packages will alse be available <neoncode> sweet... Oh is "Zone Minder" in the repos? <lionelp> neoncode: do not know zone minder <lionelp> apt-cache does not show me anything <lionelp> you can search easily packages on packages.ubuntu.com <schimmi> is there a way to get this LAMP configuration of ubuntu-server manually from a ubuntu-minimal installation? (it's a bootstrapped vserver, no installation cd used) <schimmi> don't find any references to that other than the dapper server webpage, but nothing technical <lionelp> infinity told yesterday it was an "apt-get install apache2 apache2-mpm-prefork libapache2-mod-php5 mysql-server php5-mysql php5-mysqli" <schimmi> ic, so the normal packages will install like that. expected some magic in the installer <lionelp> non, nothing magical:) <gpd> infinity also said that Edgy would have exciting metapackages - like sagi lamp <lionelp> that's right <gpd> i would like to see antipackages - like - 'don't install X11' <kermitX_> the server seed file installs apache2 php5-mysql libapache2-mod-php5 mysql-server ubuntu-standard. <infinity> kermitX_: But that will only work if installed with "aptitude install ..." apt-get will get the dependency resolution wrong. <infinity> (Hence why I gave the longer line above, with more decisions pre-made for apt) <kermitX_> infinity: preference of mpm-worker over prefork is by design? <infinity> kermitX_: If you don't need php4/php5, -worker is usually the better choice (not always, but usually) <infinity> PHP isn't threadsafe, however, so REQUIRES -prefork. <infinity> (Because upstream is lame, la la la) <schimmi> hmm, wondering if there is any solution for the problem to seperate virtual hosts with php nowadays... don't see anything in the standard installation <lionelp> schimmi: you can do that with libapache2-mod-suphp <lionelp> hum... not sure it was the answer to your question btw... <infinity> schimmi: The question wasn't involved enough for an answer. :) <schimmi> it is, more or less. only thing that I don't like with it, is that www-data still needs read access to every directory of a virtual host. maybe 600 for php files and 755 for directories works, still complicated <infinity> schimmi: suEXEC + php-cgi isn't ideal, but works. <infinity> Ideally, someone will fix apache2-mpm-perchild to actually work right. <schimmi> yes, but probably we won't see that in this century <schimmi> wondering what happened to this mpmmux project <lionelp> You can use aloso use "php_admin_value open_basedir" in Apache configuration to limit accesses <infinity> Yeah, which works reasonably well, but isn't as good as runninng the PHP processes as a different user. <lionelp> nope, but used together it give a good starting point <Cas> Hi, just upgraded my server to dapper and now some php modules ain't working no more like curl and sqlite <Cas> I tried reinstalling them and reloading apache but that doesn't seem to affect it, Do I need to enable them manually somewhere? <lionelp> Cas: check if they are enabled in /etc/apache2/mods-enabled <lionelp> (if they are presend, they are enabled, otherwise, yes, you have to enabled them by hand) <Cas> lionelp: isn't that only for apache modules? <lionelp> hum.... <lionelp> sure yes :) * lionelp should go to bed <lionelp> sorry <Cas> eg. mod_ssl, mod_rewrite and PHP itself, I'm trying to load PHP modules <lionelp> check in /etc/php5/apache2/php.ini <Cas> hehe, np thanks for trying to help anyway <lionelp> if you find the corresponding .so <Cas> k <Cas> lionelp: yes they are there <Cas> but not in phpinfo() <lionelp> Did you reload or restart apache? <Cas> /etc/init.d/apache2 stop and then start <lionelp> Okay <Cas> I have fiddled enough with apache to never do reload again :) <lionelp> I am trying on my Apache <Cas> I was very content with breezy as server, just needed to install those module and reload apache and it worked, I think it as something to do with the upgrade <Cas> hence I tried to reinstall them, maybe I can try remove them "completely" <lionelp> On a fresh install when I install and restart, I have "curl enabled" in phpinfo() output <lionelp> same for sqllite <lionelp> -l <Cas> yeah I had that too on breezy :/ <Cas> I will try reinstall apache and after that install the modules <lionelp> That sound weird <Cas> or php will be more logic <lionelp> Can you check your version of php5-sqlite and php5-curl <Cas> lionelp: they're 5.1.2-* <lionelp> * = ubuntu3 ? <Cas> yes <Cas> no luck with reinstalling php5 <gpd> are you purging the packages? <Cas> I mean curl and sqlite aint working <Cas> gpd: no, should I try? <gpd> yes, purge - then install <Cas> k <Cas> gpd: that did the trick <Cas> tnx alot all #ubuntu-server 2006-06-02 <Zambezi> Can anybody help me? I having problem with apt-get so I'm using wget instead but it won't work. I need assistent. <lionelp> Zambezi: it is more #ubuntu relative so :) <Zambezi> No. Cause I'm running with WM.- <lionelp> WM ? <Zambezi> *without. I installed Ubuntu server. I changed two thing in sources.list but I can't download a file. <Zambezi> lionelp: WM = Windows manager. <Zambezi> lionelp: And now I trying to uncompress the file, but I won't work. <lionelp> Ok ok <lionelp> Can you show us your sources.list ? <lionelp> paste it on pastebin.com <Zambezi> lionelp: Yes. <Zambezi> lionelp: Just give me a minute. <lionelp> no pb <spike> eeer, how does the window manager matters? <lionelp> but not a lot, my bed is calling me :) <lionelp> spike :) <spike> a problem with soures.list isnt an ubuntu-development related question. <spike> there isnt much to discuss about it <lionelp> spike: we have to admit that we spend more time on server support here than on server dev <lionelp> I admit that his problem is not a server problem btw <Zambezi> lionelp: http://pastebin.com/752403 <spike> lionelp: indeed. and honestly I'm one of those pro to server support as in install applications and the like. yet they must be someway server related <lionelp> spike: i know that your are pro server support <spike> ah, you do? :) <Zambezi> lionelp: And here's the repos: http://einsteinmg.dyndns.org/debian/ <lionelp> I remember a mail you send on ubuntu-server few month ago <ajmitch> spike: pro server support? in what way? <spike> I'm still waiting for the day we'll come out with ubuntu-isp <spike> ajmitch: in a way that we have space for discussions about sysadmins <spike> ajmitch: exactly like debian-isp <spike> to me, ubuntu-server should be like ubuntu-isp, and dev discussion should be moved to ubuntu-server-development <ajmitch> ah right * ajmitch understands your sentence now :) <lionelp> maybe it would be more appropriate to use ubuntu-server-devel and #ubuntu-server-devel for devel and keep server for support <spike> eheeh <ajmitch> we already have far too many ubuntu channels <lionelp> spike++ <spike> ajmitch: indeed <lionelp> that's not wrong :) <ajmitch> and freenode has a 20-channel limit <spike> it is at a certain degree <ajmitch> so you can't join them all, and discussion gets split unnecessarily <Zambezi> It's too many people in #ubntu so noone can help me. Please, it's one thing. I really need it. <lionelp> nice, https://wiki.ubuntu.com/ServerTestingTeam is getting more and more complete <lionelp> Zambezi: PV * ajmitch wonders if he'll be allowed to do some of that testing.. <lionelp> :) * spike will never get his awk script done <spike> well, need to concentrate and try to finish this. talk to you later guys, c ya <lionelp> ciao * lionelp need to go to bed :) <Zambezi> lionelp: Do you see my answers? <lionelp> no :-( <Zambezi> lionelp: Dammit. We take it here. <lionelp> Ok, know why <Zambezi> lionelp: I upgraded Breezy to Dapper RC and it worked. But apt-get won't work so now I have to install it with wget, but this is the first time and I can get it to work. <lionelp> Zambezi: /join #zambezi <Cas> I really need php5-tidy which isn't availible, is it possible to compile it in from apt-get source php5? <lionelp> yes <neoncode> I've tried putting a server install of ubuntu 6.06 on this computer and it always stalls at "Setting up the Clock" At 0%... Even when there is no network present so it carn't be a NTP thing? <neoncode> Anyone know what's wrong? <lionelp> Do you wait ? <Cas> lionelp: any idea how I can put the tidy stuff in a package once it's build? <Cas> neoncode: you mean the installation? <neoncode> Cas: Yea... <lionelp> neoncode: how long ?:) <lionelp> It should timeout and pass <neoncode> I left it for like 10 minutes on that screen... I'm at the boot menu now.... I'l try in install again... <lionelp> Cas: yes but it is a bit long to explain to do it properly... <lionelp> and I should be in bed since 1h now :) <Cas> hehe, have some documentation directions? <Cas> neoncode: could it be the part it sets your timezone? <lionelp> Cas: search on the wiki for package creation <lionelp> Are you familiar with Debian package creation ? <ajmitch> the packaging guide may be a good start <ajmitch> at http://doc.ubuntu.com/ubuntu/packagingguide/C/index.html <Cas> not really, but I think I can hande it with some documentation, the only thing I'm afraid of is how I only get the tidy part and not the whole PHP package <Cas> tnx ajmitch, will take a look <neoncode> How long should it take to do this "Setting up the Clock" BIt anyway? Or for it to time out? <lionelp> neoncode: you have no network ? <neoncode> lionelp: No, I just tried the install with the network cable un-pluged. See if it would make a diffrence. <neoncode> I Pluged it back in this time. <lionelp> strange... <lionelp> btw, time to go to bed for me <lionelp> sorry... <neoncode> ok.. <neoncode> Still going... * neoncode larts the clock <SEJeff> Does anyone know the name of the package that supposedly sets up the lamp stack with 1 command? <SEJeff> I'm guessing it's a metapackage, but I read on the ubuntu release that a fully working lamp stack is available via 1 command so I'm curious how. <gpd> no - it is not a metapackage at this time :( <gpd> it is an option on the install CD <gpd> however i could scroll back and find the packages if you need <gpd> metapackage funk is apparently appearing in Edgy [according to infinity] <SEJeff> gpd: You've *got* to be kidding right? <SEJeff> And so those of us that have dist-upgraded faithfully since warty are SOL? That feature should not be touted if thats the case. <gpd> hardly SOL -- it is still one line ... hold on let me check <SEJeff> gpd: thankyou <gpd> apt-get install apache2 apache2-mpm-prefork libapache2-mod-php5 mysql-server php5-mysql php5-mysqli <maswan> apt-get install apache postgresql [you should already have linux and perl installed] <SEJeff> Ok, I just assumed it was some server-candy magic metapackage. Thanks again guys <gpd> maswan: isn't that LAPP :P <maswan> "Most of our scripting languages start with p" for 'M' :P <maswan> anyway, I'm really sleeping now, not ircing. * gpd seeds DVD torrent on .edu backbone ;) <jsgotangco> maswan: good night <Tatey> I understand this is a development related channel, however, I haven't been able to find a possible solution from #ubuntu. My question is a simple yes/no. Is it possible to perform a server install over SSH? <gpd> do you mean setup an existing ubuntu as a 'server' <Tatey> no, a fresh install <gpd> how are you ssh'ing into this box? <Tatey> currently, I'm not. For example, with Gentoo you can perform the entire install over SSH, and I believe you can with FreeBSD too. I was just curious if you can with Ubuntu-server <infinity> Tatey: I'm not sure if we're including the openssh-server udeb in our d-i builds, but if we are, you can do an ssh callback installation in expert mode. <infinity> (That feature exists for s390, since all s390 boxes are completely headless) <Tatey> thanks very much infinity :) <UserName14> This morning I had courier\postfix working perfectly on my system but its not working anymore i cant send pop\imap or login to my inbox I assume ubuntu forgot the Maildir thingy and thats why its no longer working In telnet i get a ERR Maildir no such file or directory <UserName14> does anyone know how to fix this? <J_P> hi all <J_P> people< i have one important question : <J_P> in search apt show for me linux-image-2.6.15-23-686, linux-image-2.6.15-23-server and I have the server. so is better install linux-image-2.6.15-23-server right ? <J_P> But Aren't there linux-image-2.6.15-23-server specific for each arquitecture ? (Pentium /amd etc) ? <J_P> that linux-image-2.6.15-23-server works for all CPUs as server ? anyone can explaim me that ? <J_P> anyone here ? <J_P> hi, My conection lost.. <J_P> :-) <J_P> anyone see my last question ? <J_P> anyone here ? <Zaggynl> Hi, I've just installed ubuntu-server, and I'm wondering which window manager to pick <Zaggynl> I got a hearattack when I noticed that installing xubuntu-desktop is 965mb and kubuntu-desktop is 1322mb <Wil0000> should the server edition boot to gnome or kde? <infinity> Zaggynl: If you wanted a window manager, you probably didn't want ubuntu-server. <Wil0000> or soes it not include it? <Wil0000> haha, thats what i thought <infinity> Wil0000: Neither. It's bare-bones. <Zaggynl> infinity: well I have to get a server running <infinity> Zaggynl: Yes, none of my servers have monitors, let alone a windowing system... <Wil0000> im downloading x11, thats will dive it yes? <infinity> Wil0000: If you want a full desktoppy system, grab one of {xubuntu,ubuntu,kubuntu}-desktop. <Zaggynl> infinity: hum err I have get ubuntu talking to my win2k3 AD , and I was hoping I could do it using a wm <infinity> That'll be a huge download, but you'll be happy. <Zaggynl> *I have to get <infinity> Zaggynl: I fail to see how one relates to the other. <infinity> Zaggynl: There are no GUI tools to configure Samba, Kerberos, or LDAP, the three components of an Active Directory. <Zaggynl> okay <Zaggynl> ill drop the whole wm part then <Zaggynl> I'll follow https://wiki.ubuntu.com/ActiveDirectoryHowto and I'll see how far I will come, thanks for the advice * ..[topic/#ubuntu-server:karori] : ubuntu-server development discussions | for general support see #ubuntu | U. S. (stable) at http://tinyurl.com/b3jek | U. S. (Devel) at http://tinyurl.com/cllfu | U. S. dapper specs: http://tinyurl.com/aen9b | U. S. forums at http://tinyurl.com/b77qg | johncrosby@example.net is up and running | searchable packages list: http://packages.ubuntu.com <arnaud___> is there a server metapackage for dapper ? (like ubuntu-server for breezy) <ivoks> no <ivoks> ubuntu-minimal <ghort> ok thanks <ivoks> it's hard to create -server metapackage <ivoks> since server could be mail server, web server, ftp server, etc... <ghort> maybe with linux-server <ghort> but I agree <ivoks> that's a kernel <ivoks> linux-server is type of kernel <ghort> yes, I don't really see the problem <jackc> ll #ubuntu-server 2006-06-03 <mirel> Hi, I'm switching from Fedora to Ubuntu. I need desktop functionality + Apache/PHP/MySQL. I'm wandering what release should I install - desktop or server? Do they share a common package repository? Thanks <infinity> mirel: I answered your question in #-offtopic. :) <mirel> do you know if LVM is well supported in Ubuntu, it worked great in Fedora <infinity> Yeah, it works just fine. <infinity> The installed will set it up out of the box too, if you use the "text-mode" install CD. <infinity> The desktop/GUI installer doesn't do LVM yet. <infinity> s/installed/installer/ <mirel> thanks, starting to install right now , bye <brass> anybody home? <brass> well, I have a very fresh install of ubuntu server LAMP and I am trying to install vmware server, and thier VMware Server Web-based management interface. <brass> due to vmware server's dependancy on X, I also installed ubuntu-desktop <brass> vmware server has installed with no problems <brass> but, the management interface gives me this error: <brass> From your Linux distribution CD, install this package: <brass> compat-db-<#>.<#>.<##>-<#>.i386.rpm or libdb#.deb <infinity> You might want libdb1-compat <brass> Does anybody know what I need to apt-get to install the libdb <brass> ok <infinity> I'm not sure from your paste which libdb they actually want. <brass> "apt-get install libdb1-compat" <brass> to finish the paste <brass> "where # is a version number particular to your version of the distrobution" <brass> so i assume that its not to particular. <infinity> Try libdb1-compat and see if it stops whining. <brass> ok, thanks. <infinity> There are many (many) versions of libdb, all incompatible, but if they wanted db2, db3, or db4.x, I suspect they'd specify. <infinity> And from the RPM name, I'm assuming db1-compat <brass_> well, I got kicked when i vpn'ed into my work, so can you repeat what I missed? <infinity> 20:04 < infinity> Try libdb1-compat and see if it stops whining. <infinity> 20:05 < brass> ok, thanks. <infinity> 20:05 < infinity> There are many (many) versions of libdb, all incompatible, but if they wanted <infinity> db2, db3, or db4.x, I suspect they'd specify. <infinity> 20:05 < infinity> And from the RPM name, I'm assuming db1-compat <brass_> thanks for the past <brass_> paste <brass_> found it. It's in Universe as libdb1-compat <brass_> :( <brass_> still complains about libdb.so.3 being missing. <brass_> currently running updatedb so I can 'locate' it. <brass_> ahh, libdb-4.3.so is whats installed <brass_> hmm. there's a libdb.so.2 as well. <infinity> if it wants libdb.so.3, you want 'libdb3' <infinity> Also in universe. <brass_> ok <brass_> :( <brass_> still throwing fits because libdb3 didn't come with a libdb.so.3 <brass_> so I'm thinking of trying a symlink from libdb.so.3 to libdb3.so.3 <brass_> well, It might might be working now. <brass_> "/usr/lib/vmware-mui/apache/bin/httpd.vmware: /usr/lib/libdb.so.3: version `GLIBC_2.0' not found (required by /usr/lib/vmware-mui/apache/bin/httpd.vmware) Starting httpd.vmware: done" <infinity> Err, oh, wait. You wanted libdb.so.3, not libdb3.so? YAY CONFUSION. :) <infinity> apt-get --purge libdb3- libdb2 <infinity> (That will remove libdb3, and install libdb2, which has an SOVER of 3... Confused yet?) <infinity> Berkeley DB is a mess. <infinity> (Upstream's fault, not ours) <brass_> ah.. Berkeley. <infinity> Err, I missed an "install" after the --purge. :) <brass_> k, I was wondering why I wasn't familiar with these packages. <infinity> apt-get --purge install libdb3- libdb2 <brass_> :) yay. no errors. <brass_> well, it seems to be working <brass_> I don't have a vm on the machine yet to test so further testing will have to wait till tomorrow. :) Thanks a lot for your help. I never would have figured out libdb2 <llamakc> during the install in text mode what's the install prompt to do a lamp install? <llamakc> in text mode what's the install prompt to do a lamp install? <gpd> if it isn't blindingly obvious then you probably have the wrong disk <gpd> apt-get install apache2 apache2-mpm-prefork libapache2-mod-php5 mysql-server php5-mysql php5-mysqli <gpd> that will do it once you install <llamakc> no, correct disk. but in text mode the 'install lamp server' option doesn't exist, which is why i am asking. i know how to install the ind. packages <Linuturk> is there an apt-get command for installing the LAMP components? <TheBigToe> how do I get apache2 to start on startup again? <TheBigToe> apache 1.3 started on startuo <TheBigToe> startup* <TheBigToe> but now I have to sudo apache2 <gpd> install sysv-rc-conf <gpd> it has a simple interface <gpd> or you can hand edit the links in /etc/rc2.d <TheBigToe> thanks <Linuturk> should I just reinstall using the LAMP server menu? <gpd> apt-get install apache2 apache2-mpm-prefork libapache2-mod-php5 mysql-server php5-mysql php5-mysqli <Linuturk> thanks gpd <Linuturk> will these autoload on startup? <gpd> apache should start on boot yes <Linuturk> where are the Docs for these ? <gpd> apache2-doc <gpd> and /usr/share/doc/package [same as all debian docs] <ransu> hello. question: how to change screen resolution in initial login TTY? is it a bootloader option or some config file somewhere ? aptitude is hard to use with just 25 lines per screen... <ransu> sorry. I understand this is development and not support group, but since there is no ubuntu-server-support group for people who actually want to learn linux, I don't know where else to go. All I want to know is which manual to read really... <spike> ransu: look into your bootloader options, vga parameter <ransu> thanks <spike> if you want bigger resolution look for framebuffer support <spike> ransu: thing is, such a question doesnt even belong to ubuntu-server-support <spike> it really belongs to #ubuntu and #ubuntu only, as for any "group of ppl who actually want to learn linux" <spike> -server edition isnt of course about that, even if it had a -support channel <ransu> well, the thing is, I read both the desktop and server version's online wiki documentations and it was obvious which one to choose if you really wanted to learn unix. the #ubuntu group has about thousend people asking how to get their ipod working with the GUI so I felt I wasn't getting anywhere there... <phpmattk_> Installed dapper, apt-get/synaptic says unable to dowload all repo indexes tried 4 or 5 of different sources.list files. http://rafb.net/paste/results/twIZhh87.html (output of apt-get update). Any ideas? <lionelp> hi phpmattk_ <phpmattk_> lionelp.. hello <lionelp> This is definitely a #ubuntu question, not a server specific one :) <phpmattk_> i figured.. its so crowded in there though.. hehe <phpmattk_> so hey.. any suggestions for me since its so quiet in here anyways <lionelp> yes, my suggestions are on #ubuntu ;) <phpmattk_> lionelp: thx.. #ubuntu-server 2006-06-04 <Linutur1> what is the default directory for apache? <Linutur1> for the web content? <infinity> /var/www <Linutur1> thanks <Linutur1> what are the default credentials for the mysql database? <lionelp> Linuturk_NB: root without password <lionelp> on localhost *only* <Linuturk_NB> does anyone have a good tutorial for getting started on this preconfigured LAMP server? I just need to create a quick database * infinity really should fix that some day to have it prompt you for a root password... <infinity> Except that would prevent the LAMP install from being noninteractive. <infinity> Pain. <Linuturk_NB> well, you have a short config for the apache side <Linuturk_NB> why not a quick password request on mysql? <Linuturk_NB> can I access mysql via terminal? <infinity> Err, what? <infinity> apache2 doesn't ask any questions on install. <Linuturk_NB> i used the ubuntu 6.06 LAMP server install, and it prompted some questions <infinity> Linuturk_NB: You can access it with "mysql -u root", yes. <infinity> Linuturk_NB: What questions were you asked? It's certainly not designed to.. <infinity> In fact, I can't even see how it would. <infinity> (The installer asks questions, like username/password, etc, but apache certainly doesn't...) <Linuturk_NB> it asked what type of enviroment I was using it in. Be that internet, local only, and a few things <Linuturk_NB> this was after the install was finished <Linuturk_NB> i believe <infinity> ... <neuralis> uh? <neuralis> if anything, that'd be presumably mail daemon configuration, not apache <infinity> That sounds more like postfix or exim4's deconf prompting. <neuralis> and we certainly aren't designed to ask those questions by default. <neuralis> infinity: exactly. <Linuturk_NB> eh, probably. I'm way off base sometimes <Linuturk_NB> I'm fairly new to this (been since 5.10) and I'm setting up a server now. go figure <infinity> But you would have had to actually explicitely install an MTA, we didn't force one on you. :) <infinity> (Though I was considering forcing one on the LAMP install, in the end I decided against it) <Linuturk_NB> mta? <Linuturk_NB> infinity, big dawg around here? <lionelp> mta stands for Mail Transfer Agent <infinity> MTA... Mail tranfer agent.... postfix, exim4, sendmail, etc. <lionelp> A mail server <Linuturk_NB> got it <Linuturk_NB> (three time over) :-P <infinity> No big dawgs..... I rule by a committee. <infinity> (... of 1) <infinity> neuralis: BTW, speaking of committee rule, you better have a mess of interesting stuff to discuss in Paris, or there'll be egg all over my face. <Linuturk_NB> so, i'm in the sql prompt. create database pointofsale; doesn't work. I'm following these instructions btw. http://www.phppointofsale.com/documentation/help.htm <neuralis> infinity: aye <infinity> Only 2 weeks to go. <Linuturk_NB> infinity: well, who is the printing guru for xfce? they need to change the default behavior of cups or add a nice gui like gnome did <infinity> mysql> create database pointofsale; <infinity> Query OK, 1 row affected (0.00 sec) <infinity> Works for me. <neuralis> infinity: i'll round up my notes shortly; i think there was a bunch of residual crap from breezy, and there's a bunch of new things to talk about <Linuturk_NB> mysql> create database pointofsale <Linuturk_NB> -> create database pointofsale; <Linuturk_NB> ERROR 1064 (42000): You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'create database pointofsale' at line 2 <Linuturk_NB> i did that <Linuturk_NB> silly me <infinity> Linuturk_NB: XFCE gurus are janimo, nomed, and some others. <Linuturk_NB> worked the second time <infinity> neuralis: Focus on achievable, but noticeable. <neuralis> Linuturk_NB: you didn't terminate the first line, so you actually issued the "create database pointofsalecreate database pointofsale;" query. <infinity> neuralis: 4.5 months is a very short cycle, so anything we do that's "whizzbang with low effort" wins. (like the LAMP install was, for instance) <Linuturk_NB> yeah, new to this, like i said. i like this channel, not as "loud" as #ubuntu and you guys are friendlier <Linuturk_NB> thanks <neuralis> infinity: right. though the lamp install was very low-hanging fruit; i doubt we'll get as lucky again. <infinity> I can be a jerk, you've just not caught me on an off day yet. <infinity> neuralis: Oh, I could just duplicate that feat with several other "common server setups". P) <Linuturk_NB> if I changed the permissions of a file in /var/www/ do I have to restart apache before that will take effect? I've got a specific settings file that needs to be edited by other files <neuralis> Linuturk_NB: no, you don't. <infinity> neuralis: I suspect I'll have to anyway, after the press release that went out with my name on it, claiming that the "LAMP install was just the beginning of servers for idiots" <Linuturk_NB> i did chmod 755 on it <neuralis> infinity: hahah <neuralis> that's, er, unfortunate. <Linuturk_NB> hey, this LAMP install has saved me a lot of time <Linuturk_NB> i thank you <neuralis> Linuturk_NB: no it didn't. want a dirty little secret? it saved you exactly one line of typing. <Linuturk_NB> serious? <Linuturk_NB> o well <neuralis> very. <Linuturk_NB> it also saved me the time of figuring out what that one line of typing was <Linuturk_NB> that's a biggie <neuralis> that's true. <neuralis> infinity: well, i don't think we want to litter the boot menu with a bunch of common server setups. perhaps having a 'Common server install' option that pops up a 'mix and match your own components' screen in d-i? <infinity> neuralis: That smells a lot like resurrecting tasksel, which I'd considered. <infinity> neuralis: Besides, doing this in gfxboot kinda locks out serial installs. <Linuturk_NB> well, what I'd like to see is a light gui installed by default. be that fluxbox or xfce i don't care. Having that with some scripts on the desktop for common tasks (such as starting stopping the services) would really kick arse <neuralis> aye. in fact, that's what i was proposing to the express server install guys when they first started <infinity> (Granted, most people doing a serial install don't NEED cute pkgsel options, but whatever) <neuralis> Linuturk_NB: uh, by default? on the server install? over my dead body ;) <Linuturk_NB> or, the option to <Linuturk_NB> at least <Linuturk_NB> for "idiots" like me <infinity> Seconded on the dead body thing. <infinity> If you want a desktop, install {xu,u,ku}buntu, then grab your server stuff. * Linuturk_NB adds the names to his list :-P <Linuturk_NB> well, the server kernel is special <infinity> The desktop stuff is dozens (and often even hundreds) of packages. The LAMP server you just set up was 12 packages. <Linuturk_NB> so, i did a ubuntu server install, then apt-get the desktop <infinity> The server kernel will run a desktop like CRAP, mind you. :) <infinity> (And you can always "apt-get install linux-server" to get the kernel) <Linuturk_NB> see, these are things I don't know . . . i just did what crimsun told me <Linuturk_NB> LAMP server install >> apt-get xubuntu-desktop and a xserver core deal <Linuturk_NB> now, I'm trying to install this web based point of sale system <Linuturk_NB> joy <infinity> As a general rule, you should try to get used to the idea of headless servers. <infinity> Sure, it takes some effort, if you're rather GUI-centric, but fewer moving parts is always a good thing. <Linuturk_NB> well, i'm a windows convert, so I am gui centric <infinity> Every time I had an NT server crash in the video driver (more often than you'd think), I'd curse Microsoft for moving the GDI into the kernel space. <Linuturk_NB> but hell, i don't even know how to irc from a terminal, so a gui is a must right now <infinity> And by "more often than you'd think", I mean once or twice a year. But once or twice a year on several hundred machines becomes a lot of crashing for reasons I'd rather not deal with. <infinity> Linuturk_NB: "irssi irc.freenode.net" <Linuturk_NB> well, that's one step in the right direction. I got a guini pig machine at home I'll go straight terminal on from now on <neuralis> infinity: -c, won't work without <infinity> neuralis: Oh, whatever. I usually set up my servers in scripts. :) <neuralis> likewise <infinity> Linuturk_NB: Make that "irssi -n Linuturk_NB -c irc.freenode.net" just to make neuralis happy about me giving good advice. :P <infinity> (That command line was actually tested) <Linuturk_NB> :) <Linuturk_NB> arg <Linuturk_NB> this pos system won't install. I've got to annoy it's dev now <Linuturk_NB> got a permissions error with a certain file <Linuturk_NB> http://forums.phppointofsale.com/viewtopic.php?t=360&highlight=settings+php << would the commands he outlines there be any different in ubuntu? <Linuturk_NB> You have to set write permissions to the settings<font size="3">.php file. </font> <Linuturk_NB> <font size="3">This can be done by doing chmod 755. This can be doing via ssh or your ftp program might support changing permissions.</font> <Linuturk_NB> sry bout the <font> tags <infinity> Obviously written by a windows user turned unix... <infinity> Why do people always recommend making files executable? <neuralis> infinity: i spent about 6 hours in an epic battle to get a breezy server to boot from a root drive that's on a dm crypto volume sitting on top of RAID. i wonder if this is a simplification target. <Linuturk_NB> chmod 777 ? <infinity> Linuturk_NB: Anyhow, if the file is owned by YOU, and you want the webserver to write to it, it needs to webserver to have access to it. <infinity> Linuturk_NB: 666 would be fine. <infinity> (And more fun to type) <Linuturk_NB> heh, but that's the devil Bobby! <infinity> neuralis: dm-crypt and dm-fakeraid are both on my TODO for dapper initramfs and installer hacking. <neuralis> rock. <neuralis> s/dapper/edgy/ <infinity> neuralis: Getting them supported in initramfs is trivial, writing installer bits not so simple. <infinity> Whatever. edgy. Not used to typing that yet. <neuralis> okay, we can look at the installer bits in paris <neuralis> what would you like to get out of it? being able to install on a crypto drive? <Linuturk_NB> genius <Linuturk_NB> thanks <infinity> I wonder how upset my girlfriend will be if she wakes up to find that I've thrown her WinXP system across the room... <infinity> neuralis: Being able to install to dm-crypt and dm-fakeraid would be the goals, yes. <infinity> neuralis: Neither of those is particularly server-oriented, mind you. <Linuturk_NB> infinity: just pop in a live cd and watch her freak out <infinity> neuralis: The major usecase for dm-crypt is laptops, and the major usecase for dm-fakeraid is "people too cheap to buy real hardware" <neuralis> right. my hellpains were with a server machine which stores sensitive data in a not-fully-trusted environment, so the owners wanted full-drive encryption even if it means having to type a passphrase whenever there's power loss. go figure. <infinity> Yeah, a fair usecase, but not a common one, IMO. <infinity> Most uber-sensitive machines have enough physical security to make crypted filesystems pointless. <TTT_Travis> Hi guys, I recently installed Ubuntu Server Dapper, it works fine but I am trying to transfer a file from my mac to the linux box over my samba network and the file transfer rates are like 10kb/s which is horrible, I tried using ftp same result. I can transfer files from my mac to winblows pc fine? is there something that would cause this? <Linuturk_NB> i do i view the databases in mysql <neuralis> Linuturk_NB: show databases; <neuralis> TTT_Travis: if ftp gives the same result, it's either faulty network equipment (card, hub, switch) or a bad linux driver. the latter is less likely. <TTT_Travis> hmm could be card I guess <TTT_Travis> but I swore it worked fine on breezyu <infinity> Does dmesg have anything to say about card resets or other such fun things? <infinity> And does "ifconfig" show a whole mess of frame or carrier errors on that card? <TTT_Travis> I'll check <infinity> If the former, it could be a bad driver, if the latter, it's a bad cable or hub/switch. <TTT_Travis> there are some errors <TTT_Travis> http://pastebin.com/756697 <TTT_Travis> thats ifconfig <Linuturk> this is my windows box, so don't kill the other <infinity> (You could also have blown out the MAC on your card with a power surge on the line. Stranger things have happened. <TTT_Travis> there was a power outage a week ago <TTT_Travis> and it messed with my other card <TTT_Travis> so I put this one in there <infinity> That may well have done Very Bad Things. <TTT_Travis> well it has a mac address <infinity> Oh, you've switched cards? The new one could just be bad, then. <infinity> Or your "I blew up the NIC" assumption may be incorrect, and you may have actually blown the PCI bus, so any NIC will fail (though all will fail differently) <TTT_Travis> heres what happened, I had this realtek one in my server and it suddenly just stopped working with linux so I swapped it with a linksys one of my sisters windows box and tried the old nonworking on in her box, and suprisingly it worked, so I put the linksys one in my server <infinity> Anyhow, it sounds less like a software issue and more like a hardware issue. :/ <TTT_Travis> it seemed to be working fine with breezy <TTT_Travis> full speed transfers etc. <TTT_Travis> mm <Linuturk_NB> the default login for any database in mysql is my username and password for logging into the machine? or did you say it was root without a password? <TTT_Travis> I will mount my windows box on my dapper server and try to transfer files that way <infinity> Linuturk_NB: Root without a password, until you set something differently (which you should) <TTT_Travis> that works fine at a normal speed <infinity> Linuturk_NB: Try something like "grant all on pointofsale.* to myuser identified by 'mypassword';" <TTT_Travis> try the mac I guess <Linuturk_NB> how do I change that? and it's just for internal use. it won't be used on the internet <neuralis> Linuturk_NB: man mysqladmin <Linuturk_NB> ERROR 1064 (42000): You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'pointofsale.* to username identified by password' at line 1 <neuralis> Linuturk_NB: you're close to exhausting your goodwill allotment for general beginner questions :) <Linuturk_NB> mmk <Linuturk_NB> i'm just so close . . . <TTT_Travis> 360448 how many megabytes is that? <TTT_Travis> meh <TTT_Travis> is there a way to show progress when using the cp command? <TTT_Travis> -v? <neuralis> TTT_Travis: -v will echo each file as it's copied. <TTT_Travis> k <TTT_Travis> yeah linux to windows seems fine but linux to mac seems slow <TTT_Travis> so maybe its something with my mac <Linuturk_NB> ok, i ran sudo mysqladmin password ****** <Linuturk_NB> now I can't : mysql -u root <Linuturk_NB> o, got it <infinity> Okay, tutorial session is up. <infinity> neuralis: Feel free to be a jerk, now. :) <Linuturk_NB> no no, i got it :-P <Linuturk_NB> arg, maybe I don't <Linuturk_NB> :( <TTT_Travis> weird <TTT_Travis> from my mac I only get 13kb/s transfer but yet from my windows box to my linux box I get like 3 or 5 mb/s <TTT_Travis> yet mac to windows gives me 3mb/s <TTT_Travis> think its something with my linux box then <TTT_Travis> dapper <TTT_Travis> oh I can download from my ubuntu dapper box at full speed <TTT_Travis> like 8mb/s <TTT_Travis> but transfer is whats being slow <neuralis> that's strange. i'd think syncookies/ecn/newreno-type stuff next, but i'm pretty sure you don't have any of it turned on, and that it wouldn't matter anyway on a local network. <TTT_Travis> yeah I just have a default install I haven't changed much really <TTT_Travis> I just did the lamp install <TTT_Travis> I still think its something software related <TTT_Travis> because it worked fine with breezy <TTT_Travis> this sucks <Linuturk_NB> got it <Linuturk_NB> :) <Linuturk_NB> thanks guys <Linuturk_NB> love your work <matias> hi there! <TTT_Travis> I install the dhcp3 server and for some reason it won't start on a default install of ubuntu server dapper <TTT_Travis> is there like
{'channel': 'ubuntu-server', 'month': 6}