/srv/irclogs.ubuntu.com/2008/11/24/#ubuntu-server.txt

Deepsyou need to login using the mysql root password, not the system root password00:00
Kamping_Kaiserhas anyone got personal experiance with dovcot vs courier for imap? i was told dovcot had in built duplicate checking, and "other goodies". i'm wondering if someone can attest to it from personal experiance00:05
Ahmuckmarshall: ur mysql installation needs a root user and password iirc00:18
Ahmuckwhich iirc, is set up when you set up mysql00:19
marshalliirc?00:19
andguentif i recall correctly00:19
andguent==iirc00:19
marshalli think i set a mysql password when i installed ubuntu server00:19
hackeronhey, how do I get exim to listen on port 587? -- I tried to add daemon_smtp_ports = smtp : 587 to /etc/exim/conf.d/main/00_local_settings and restarted exim, but it still only listens on port 25 - any ideas?00:20
hackeronanyone? hey, how do I get exim to listen on port 587? -- I tried to add daemon_smtp_ports = smtp : 587 to /etc/exim/conf.d/main/00_local_settings and restarted exim, but it still only listens on port 25 - any ideas?01:05
Kamping_Kaiserhackeron, have you run dpkg-reconfigure --priority=low exim4-config ? you may see the option in there01:08
* Kamping_Kaiser hasnt tried, so no useful input from me unfortunately01:09
hackeronKamping_Kaiser: yes, I have01:10
marshallandguent, i believe i set my mysql password when i installed it as part of LAMP01:10
andguenthonestly I've never needed it, I assume you are trying to setup a custom email server at home to pass traffic through01:10
hackeronandguent: yep :)01:10
andguenthackeron: sorry, i dont know anything more then google does, never rolled my own server, always went gmail or zimbra01:11
andguentmarshall: Sorry i never saw your original question, i signed in half way through the troubleshooting. What are you trying to do?01:12
hackeronandguent: well, I'm actually trying it to just relay email to my gmail - but I dont want to put my gmail password on every host.01:12
andguentah, gotcha, i assume multiple linux servers all forwarding to your one master server?01:13
hackeronandguent: exactly :)01:13
hackeronandguent: but port 25 is often blocked, so I need my exim daemon to listen to 587 also01:14
andguentI'm lazy, if it were me I would just setup a throw away gmail account01:14
marshallandguent, i installed apache, php, mysql and phpmyadmin, im getting access denied for user (user)@(localhost) for both my regular account and my root accounts01:14
andguentmarshall: trying from command line or something else?01:15
hackeronandguent: so, one jut pointing the servers to my server where I can just useradd server1 -- or going through a full gmail registration, confirmation, creating self signed certificate on server, etc, etc?01:15
marshallandguent, command line and phpmyadmin01:15
andguenthackeron: i always use ssmtp for outbound email sending, more specifically for pushing script error messages. I'm only suggesting this way because I don't know exim or sendmail at all -- I've never needed to make a cert or any of that to send through gmail01:17
andguentmarshall: when doing command line, can you post your exact command you are trying to use to get in?01:17
andguentmarshall: what else have you tried to gain access? have you tried any password recovery options yet?01:17
marshallim able to get in when i do a regular mysql01:17
marshallbut if i try to do mysql -u root01:17
marshalli get access denied for user01:17
marshallhow am I supposed to set up mysql, i did everything pretty much how i was instructed to01:18
marshallthis is a fresh LAMP install01:18
marshallthen i installed phpmyadmin01:18
hackeronandguent: hmmm? - I get your IP is dynamic and cannot be used01:18
andguenthackeron: exim or ssmtp?01:19
hackeronandguent: well, postfix, lol - but I want to try exim01:20
andguentmarshall: gotcha, let me find some root password reset options... i'm basically just going to google for mysql root password reset01:20
marshallandguent, thanks01:20
marshallandguent, ok, i got in when i used 'root' and the password i set before01:23
marshallandguent, sorry for hte trouble01:23
andguentmarshall: no worries, glad you got in01:23
marshallandguent, is it possible to add my user account to the mysql admin?01:24
andguentif you ever have additional password issues, use "FLUSH PRIVILAGES;" like salt is used on ham, its saved some hair pulling for me before01:24
andguentwhat do you mean by 'mysql admin'?01:25
alienseer23how do I restart the "named" service when there is no "/etc/init.d/ named" ? I am trying to set up a dynamic dns service and I apparently need t0 "/etc/init.d/named restart" anyone help?02:50
alienseer23do I just substitute bind for named in that line, then?02:51
hackeronalienseer23: erm, /etc/init.d/bind9 restart ?02:55
alienseer23if i stop bind9, I can still use the named command02:56
alienseer23I need to be able to start and stop named?02:56
alienseer23I am attempting to use the bind9 dynamic dns server for webmin02:57
hackeronalienseer23: erm, what? -- bind9/named is the same thing02:58
alienseer23if i /etc/init.d/bind9 stop" and then type in named "anyting" I get response, is this normal?03:00
alienseer23this is why I don't understand...the program calls for the path to "Command to start named", and this should be /etc/init.d/bind9 start" right?03:02
jmarsdenalienseer23: You may be confused... why are you typing in     named "anything"  ??  WHat are you trying to do when you type that?03:08
=== DrUnKnMuNkY1 is now known as DrUnKnMuNkY
[gquit]bombadilif postfix is the default MTA for ubuntu, why do the packages for nagios and mailman install exim4 by default?04:01
Kamping_Kaiserdo they depend on exim4 ?04:05
jmarsdenKamping_Kaiser: Yes, mailman has:  Depends: adduser, apache2 | httpd, cron, exim4 | mail-transport-agent, libc6 (>= 2.4), logrotate, lsb-base (>= 3.0-6), pwgen, python (>= 2.3), python-support (>= 0.7.1), ucf04:06
jmarsdenI think that's probably a packaging bug?04:06
Kamping_Kaiserjmarsden, if postfix is already installed its a bug, if there was no existing mta, then exim would have got installed04:07
jmarsdenKamping_Kaiser: If postfix was already installed, it would satisfy the mail-transport-agent requirement so exim4 would not then be installed.04:15
Kamping_Kaiserjmarsden, i would have thought that.04:17
Kamping_Kaiserjmarsden, does mailman do the or depends as well?04:17
jmarsdenMailman's Depends I posted earlier.  Did not yet check nagios...04:18
Kamping_Kaiserer, sorry. nagios.04:18
alienseer23jmarsden: when I type in "named help" or anything after named, it gives me a response,  was under the impression that if I stopped the bind9 service that any named shouldn't give back output?04:19
jmarsdenalienseer23: When you stop named, it isn't running.  When you then type named as a command, you run it... what are you trying to do here?04:19
Kamping_Kaiserif you stop named it will stop listening for dns requests04:20
Kamping_Kaiserby running named --help, your starting it again04:20
alienseer23so to start and stop named, I can use the command "/etc/init.d/bind9 start" or stop, yes the executable is still just 'named'...?04:21
jmarsdenKamping_Kaiser: nagios3 depends on nagios3-common which depends on bsd-mailx which says:  Depends: base-files (>= 2.2.0), exim4 | mail-transport-agent, libc6 (>= 2.4), liblockfile1 (>= 1.0)04:21
jmarsdenalienseer23: Yes.04:21
alienseer23jmarsden: I am trying to configure a bind 9 dynamic dns server module for webmin04:21
alienseer23thank you :D04:22
Kamping_Kaiserjmarsden, i cant see why exim would be getting installed then. perhaps try `aptitude why exim4` (iirc that tells you the dependancy tree)04:22
Kamping_Kaiser*shudder* webmin04:22
jmarsdenKamping_Kaiser: I think [gquit]bombadil was installing them with no MTA on his system, and in that case the instaler will pick the first one listed in an "or" depend to satisfy it.04:23
jmarsdenKamping_Kaiser: The solution is to install postfix first, then install mailman or nagios.04:23
Kamping_Kaiserjmarsden, nod. i'm supprised an ubuntu server ships with no mta04:24
alienseer23Kamping_Kaiser: I would ditch webmin all together if I could find another webbased bind9 administration tool/control panel that worked with dynamic dns.04:24
alienseer23goal is to let people sign up to use a name server with dynamic dns capabilities ((climbing the learning curve))04:25
jmarsdenalienseer23: Why would your webmin module want you to be typing anything close to named "anything" at the command prompt?  I suspect you are not doing what it wants you to?04:25
jmarsdenKamping_Kaiser: Security -- why have open ports you may not want open in a default install?04:26
alienseer23jmarsden: I meant I could type in "named" and getno outpur, but if I put anything at all after it then I would get output04:26
Kamping_Kaiserjmarsden, because it doesnt have to listen externally, it just has to be there (including for things like not having exim4 accidentally installed, or sending email from the server)04:26
jmarsdenalienseer23: man named to understand that04:27
alienseer23k04:27
jmarsdenBut basically you don't want to do either one of those things.04:27
alienseer23k04:28
jmarsdenStart it from the init script, and if you need to modify its parameters edit /etc/default/bind904:28
alienseer23yeah, so far so good, just the named/bind9 dual identity thing had me a bit confused for a sec04:29
jmarsdenbinary program name == named, package name and so init script name = bind904:30
alienseer23sense!04:30
alienseer23I've been banging my head about the keyboard for a few hours, perhaps my true mistake is that I refuse to take breaks04:31
jmarsdenProbably ;)  So now you have discovered that piece of wisdom... take a break?04:31
alienseer23yes04:31
alienseer23I may have..let's see if I listen :D04:32
LoveGuruHi, Need Some help with squid/apache i m running website at my linux box now im trying to open my website but its working now gave me error in return can someoone help with " http://paste.ubuntu.com/76266/ " thanks.05:27
LoveGuru*not working05:28
=== nme_ is now known as nme
nmeis console-kit-daemon required to work?07:37
uvirtbotNew bug: #301542 in nagios3 (main) "Bypass auth checks in Nagios (CVE-2008-5027, CVE-2008-5028)" [Undecided,New] https://launchpad.net/bugs/30154208:16
arooni-mobilei have 12G of hard drive space on a new installation, with 360MB of ram.  how big should swap be?08:34
jmarsdenarooni-mobile: Anywhere from about 360MB to 2GB depending on what you will use the machine to do08:35
arooni-mobilejmarsden, i want it to take over the world08:35
jmarsdenProbably 2GB will not be sufficient, make multiple swap partitions :-)08:36
arooni-mobilejmarsden, hehe08:36
arooni-mobileaweosme08:36
jmarsdenSeriously -- if you want to run Eclipse and compile OpenOffice, you'll want plenty of swap (and plenty of hours...)... for normal use, you can use less swap08:36
jmarsdenCAn you afford 1GB for swap?  That's probably plenty for a normal use "desktop" type install08:37
jmarsden360MB is a strange number... is this a virtual machine?08:38
arooni-mobileyes08:53
arooni-mobilechasetoys is not in the sudoers file.  This incident will be reported. ;;; how do i add that user to the sudoers08:53
arooni-mobilejmarsden, its what my client wants08:53
arooni-mobilecheap08:53
arooni-mobileha08:53
lukehasnonamerun visudo and add chasetoys to the admin group08:54
lukehasnonameer08:54
lukehasnonameor08:54
lukehasnonamescratch that.08:54
lukehasnoname"usermod -aG admin chasetoys" I think08:54
lukehasnonamedouble check that. Everyone in the admin group has full sudo privledges.08:55
jmarsdenadduser chasetoys admin     # should also work -- see https://help.ubuntu.com/community/RootSudo#Allowing%20other%20users%20to%20run%20sudo08:57
sannnnI'm trying to do exactly this but I want to log the results to a text file: https://forum.bytemark.co.uk/viewtopic.php?pid=1937 Anyone got an idea?09:31
moo---namaste10:06
jmarsdenShalom10:09
=== MenZa_ is now known as MenZa
=== Bambi_BOFH is now known as Kamping_Kaiser
bugfixe1hai all, just join this room11:17
bugfixe1never chat before in this room11:17
bugfixe1let me introduce my self11:17
bugfixe1my name salman, has join ubuntu-server for a while but not so active11:18
LoveGurufrom ?11:19
bugfixe1thanks for you time!11:19
bugfixe1my origin country you mean?11:19
LoveGuruya11:19
bugfixe1indonesia11:19
LoveGuruummm11:20
LoveGuruwhat about now / where are ya right now ?11:20
bugfixe1solo11:20
nmesingle?11:20
LoveGurulo0ol11:21
nme;]11:21
bugfixe1nop! have 2 children!11:21
bugfixe1:)11:21
LoveGurukool:>11:21
LoveGurubugfixe1 u know what bachay 2 hi achay :\11:21
uvirtbotNew bug: #298928 in openldap (main) "apt-get produce an error when I tray install or unisntall slapd" [Medium,Triaged] https://launchpad.net/bugs/29892811:22
LoveGuruso salman what do ya do ?11:23
nmehe is typing?11:24
bugfixe1:D11:25
bugfixe1yeps, hanging around this room!11:25
nmeguys, seriously, did you notice console-kit-daemon takes waaay too much cpu time at ubuntu-server 8.10?11:26
bugfixe1any one here use 8.10 in production environment?11:27
LoveGurunme: nice j0ke :) well thanks! for entertaining :p11:27
nmebugfixe1: "kind-of" production environment, 1 real server for my part-time job after my real job ;) and 1 virtual server for ldap testing purposes11:29
nmeas for me, too much of bleeding edge for production11:30
bugfixe1yeps11:39
bugfixe1currently i still use 8.04 LTS11:39
[gquit]bombadiljmarsden: if ubuntu wants to make postfix their default mta, shouldn't it be specified explicitly for all packages that require an mta?12:46
lamont[gquit]bombadil: ETOOMUCHWORK12:47
lamontthe longer term plan is to push a 'default-mail-transport-agent' package upstream, and have _that_ depend on postfix or exim4 depending on which distro12:48
lamontbecause for many of the packages, the MTA name would be the only change from debian12:48
uvirtbotNew bug: #286427 in tomcat6 (main) "Tomcat 6 should not require Java 6 " [Wishlist,In progress] https://launchpad.net/bugs/28642713:03
uvirtbotNew bug: #299436 in tomcat6 (main) "Tomcat 6 should not implement the TearDown spec" [Low,In progress] https://launchpad.net/bugs/29943613:03
Skyfuryhi there! can anyone give me a hint to make my opencv compiling with libtools 2.2 again?13:09
alekaRunning Ubuntu-server 8.10 > I am trying to get LDAP Authentication to work with my install of MediaWiki. I have installed the php5-ldap package and put a TLS cert in /etc/ssl/certs , how do I tell the openldap plugin where the certificate is? I have tried adding <<TLS_CACERT = '/etc/ssl/certs/my_cert_ca.pem' >> in /etc/ssh/openssl.cnf but seems like that is not working13:35
alekaDoes this cert need to be symlinked to /usr/share/ca-certificates/mozilla/* like the others in /etc/ssl/certs/?13:37
=== Skyfury is now known as skyfury
nmealeka: have you included keys in ldap config? olcTLS* ?14:59
uvirtbotNew bug: #279645 in tomcat6 (main) "libservlet2.5-java has no javadocs" [Wishlist,In progress] https://launchpad.net/bugs/27964515:12
krautis there any working shell like scponly, where i could define an umask?15:13
alekanme: The LDAP server is not locally on my Ubuntu machine... I am connecting to a Novell eDirectory server'15:18
=== MenZa is now known as MenZa_Aries
* Faust-C wishes he had eDir15:49
feve1hi16:00
feve1I am learning about ubuntu-server and im trying to get proxy squid working. It all went well till now that ive tried to get auth working.. I cant understand what im supposed to do from the squid.conf, would anybody be so kind as to give me a helpng hand?16:01
uvirtbotNew bug: #283852 in tomcat6 (main) "tomcat6 does not include tomcat-dbcp.jar" [Medium,Confirmed] https://launchpad.net/bugs/28385216:06
Faust-Cfeve1, have you looked at wiki?16:13
Faust-Cand imo it would be simpler to use transparent proxy16:13
daszorzhey there16:29
marshallfor some reason, my apache doesnt want to serve .png images16:43
tonyyarussomarshall: what's it do instead?16:45
=== MenZa_Aries is now known as MenZa
marshalltonyyarusso, when i try to access the image itself i get forbidden16:52
tonyyarussomarshall: And you're *sure* the file permissions are correct?16:52
marshalli put the file on the server under my username16:53
marshallok... the web doesnt recognize me as jeff i guess16:54
tonyyarussomarshall: Can you give me the output of ls -l for the file?16:54
marshalli changed the permissions and they work properly now16:54
tonyyarusso:)16:54
Faust-Cspeaking of apache16:55
Faust-Ci need to create a VM16:55
Faust-Cim using ubuntu over SLES16:55
Faust-Cneed to get started asap16:55
marshalli dont want to have to change all the permissions by hand every time though, how do i avoid this?16:55
Faust-Cmarshall, you can set it in apache.conf iirc16:56
uvirtbotNew bug: #297367 in samba (main) "Samba files open as locked" [Undecided,New] https://launchpad.net/bugs/29736716:57
gabblerhi does anyone know anything about software raid and grub16:58
Faust-Cgabbler, what do you want to know16:59
gabblerfaust-c, hi, i have got ubuntu server running on a two disk software raid solution and i have read that grub will be installed on one of the root drives but not the other, i assume i need to install grub on this other drive so if the primary goes down (with grub) the other will still function if it has to reboot17:01
Faust-Cgabbler, ic17:02
Faust-Chmm im in a similair boat17:02
gabblerfaust-c, i need to know how to find out where grub is and then install it on the other root drive17:02
gabbleroh :)17:02
Faust-Cbut from what ive read youll boot up live cd and re-install grub17:02
Faust-Cyou can find out where it is by filesystem type17:02
Faust-Cmd will be raid and grub will be ext2 (default file system)17:03
gabblerso how could i find out if it is on md0 or md1?17:03
Faust-Cit wont be on either17:06
Faust-Cgrub is outside of raid isnt it (or is that LVM)17:06
gabblerapparently fromwhat i have read it is in raid 1 which is what i have chosen17:06
gabblerand yea lvm doesn't support grub or the boot folder17:07
gabblerfaust-c, i have to go but if i find out anythin i will let you know :)17:09
Faust-Ck thx17:09
marshallFaust-C, whats an iirc17:09
Faust-Cif i recall correctly17:10
marshallok17:12
marshallFaust-C, how do i change that in my apache.conf17:22
Faust-Cidk off the top of my head17:22
marshallif i pastebin my apache.conf, do you think you could tell me?17:24
geniiYou're using 1.3.xx ?17:24
marshallgenii, me?17:25
geniimarshall: Yes17:25
marshallapache217:25
geniimarshall: Then the releveant files will be: /etc/apache2/apache2.conf  /etc/apache2/ports.conf /etc/apache2/sites-enabled/000-default17:26
marshallgenii, im trying to make it so when i transfer a png image into my /var/www directory I dont have to change the permissions myself every time17:29
mpihi lads, is it possible to know if a specific package is planned to be upgraded/backported to hardy, or is it possible to vote for the upgrade?17:31
geniimarshall: If you make the user who adds to the /var/www   a member of group www-data     they should be able to add there with write mask of 750,755 or such17:31
marshallgenii, i changed the owner of /var/www to jeff (myself)17:34
marshalldoes that make a difference?17:35
geniimarshall: That is not a tactic which is good17:35
geniimarshall: The reserved user www-data is for this purpose.17:35
marshallgenii, how come?17:36
marshallo17:36
marshallshould i change the owner back to root?17:36
marshallthen add myself to www-data?17:36
geniimarshall: web browser for instance is as user www-data         and so on17:36
geniimarshall: Yes17:36
marshallgenii, i will be able to upload stuff via ssh in this group?17:38
geniimarshall: You can also study how virtual server dirs are set up in /etc/apache2/sites-enabled/000-default            to allow execute, etc17:38
marshallgenii, hmm17:38
geniimarshall: Yes, once "jeff" is in group www-data   if you ssh in as that, it will have write privs to /var/www17:38
marshallok17:39
zoopstermpi: you can search launchpad as it would be published there and you can enter a upgrade request on launchpad for said package as far as I know.17:39
mpizoopster, thanks! Ive found my way to the launchpad ubuntu-backports site and am currently filing a request...17:41
marshallwhats the command to add myself to a group again?17:41
geniimarshall: sudo usermod -G newgroupname -a username17:42
geniiOr the -a at end17:42
geniimarshall: My syntax of it may be rusty, I'm normally just editing /etc/group17:43
marshallgenii, i think i added myself to www-data but now when i try to access my png in the browser it says im forbidden again17:55
marshallgenii, i changed the owner of /var/www back to root17:55
=== mcasadevall is now known as NCommander
Deepscheck the permissions on the file17:57
geniimarshall: What says result:  ls -l /var/www/pngfilename.png               ?17:57
Deepswww-data user needs to be able to read the file17:57
marshallgenii, -rw------- 1 jeff jeff 39625 2008-11-24 12:32 ./me/bg.png17:59
geniimarshall: You might want to +r them there, or use an umask18:00
zoopsterI take it no one using Macbook Pro's and 8.10 are having this problem? DMA: Out of SW-IOMMU space for 4224 bytes at device 0000:0b:00.019:36
zoopsternijaba: This is the error we saw on my Mac this week19:37
kirklandzoopster: i'm not sure you'll get the best return-on-investment asking that question in this channel19:37
kirklandzoopster: i'd start by searching Launchpad, which you can do from http://people.ubuntu.com/~kirkland/search.html19:38
zoopsterbummer19:38
zoopsterit's already at kernel.org19:38
zoopsterhttp://bugzilla.kernel.org/show_bug.cgi?id=1181119:38
uvirtbotbugzilla.kernel.org bug 11811 in network-wireless "ath9k / DMA: Out of SW-IOMMU space for 4224 bytes at device 0000:0b:00.0" [High,Assigned]19:38
=== ogra_ is now known as ogra
=== espacious_ is now known as espacious
=== liberfiasco is now known as libervisco
slicslaklooking for backup suggestions...  multiple servers need incremental multi-day backups in a production environment.  backups will be done over nfs or rsync to a backup server.  what are you guys using?  a solution such as amanda, backuppc?  or are you rolling your own rsync scripts?21:21
Deeps!backup | slicslak21:22
ubottuslicslak: There are many ways to back your system up. Here's a few: https://help.ubuntu.com/community/BackupYourSystem , https://help.ubuntu.com/community/DuplicityBackupHowto , https://wiki.ubuntu.com/HomeUserBackup , https://help.ubuntu.com/community/MondoMindi - See also !sbackup and !cloning21:22
Nafallobackuppc is sweet21:22
* hads likes rdiff-backup21:25
slicslakhaven't heard of that one21:27
slicslaki recall rsnapshot being pretty nice.  backuppc looks like it has some nice guis to impress management.  :)21:27
hadsrdiff-backup is like rsnapshot except it (rdiff-backup) stores diffs of files rather than hard links so can save a lot of space depending on what you are backing up. The trade-off being a little longer run time.21:33
hadsBut if you're looking for GUIs etc. then it won't impress management.21:33
Faust-Cdar21:40
Faust-Ci just dont like that it seems as if most opensource backup solutions are tedious to setup and maintain21:41
jmarsden|workFaust-C: Which commercial closed source ones are fun to set up and maintain? ;)21:42
hads*shrug* seems the opposite to me.21:42
Faust-Cjmarsden|work, atm i dont like either21:42
Faust-Ci still havent found anything that i would like to use w/ users and servers21:42
jmarsden|workSounds like you have very specific needs.  There are a lot of reasonable choices out there.  Bacula?  Amanda?  http://www.restore-backup.com/ even?21:45
Faust-Cyeah im looking at those 221:45
Faust-Cprimary issue is training co-workers21:45
Faust-Ci can use anything, but that cant be said for my peers21:45
Faust-Cjmarsden|work, thanks for that link21:49
Faust-Cnever heard of that before21:49
jmarsden|workFaust-C: No problem.21:50
Kl4mHi, I virtualized a Ubuntu 7.10 server into vmware server and I need it to configure the pcnet32 card (or should  it be vmxnet?). Can anyone help with with this?22:50
Kl4mproblem solved: cleared /etc/udev/rules.d/70-...net...;  replaced eth1 with eth0 in /etc/network/interfaces; restarted udev and networking.23:21
slicslakcool, thanks for the discussion (re: backup) guys.  i'll evaluate a few next and make a decision.23:35

Generated by irclog2html.py 2.7 by Marius Gedminas - find it at mg.pov.lt!