/srv/irclogs.ubuntu.com/2008/09/21/#ubuntu-server.txt

=== PrivateVoid_ is now known as PrivateVoid
=== boshhead_ is now known as boshhead
=== sourcode is now known as sourcode[0]
ghaleb__hello, when I start my freeradius server, I get the following error: rlm_eap: Failed to link EAP-Type/tls: rlm_eap_tls.so: cannot open shared object file: No such file or directory08:50
linuxonlinehelp_hello @ all, does anyone knows setup of "Bionic"?09:09
linuxonlinehelp_to keep power of 3 servers as one virt.09:09
frithbeing an idiot i forgot to bookmark the page with the information on how to configure n-way replication for ldap09:51
frithhmm i can get the ldap to replicate but not the config11:10
uvirtbot`New bug: #272712 in mysql-dfsg-5.0 (main) "package mysql-server 5.0.67-0ubuntu5 failed to install/upgrade: Balík je ve velmi špatném, nekonzistentním stavu - před" [Undecided,New] https://launchpad.net/bugs/27271211:26
ghaleb__hello, how can I get rlm_eap_tls.so module to run freeradius server ?12:21
d7415After a postfix update a while ago, I started getting the error: "__fop_file_setup:  Retry limit (100) exceeded" "postalias: fatal: open database /etc/aliases.db: File exists" whenever postalias or newaliases is run, including on install. This results in Postfix being listed as "not fully installed or removed" by apt-get. I have used find (as with sudo) and cannot find the aliases.db file anywhere, which seems to make a nonsense of the "file exists" erro13:07
Bassettshi, I am trying to setup a mail server on my VPS and I keep getting "Relay access denied" when sending a message from or to the server.13:57
GargoyleIs there a prefered way to run rsync daemon under ubuntu?14:50
GargoyleAnyone got any good tips for rsync security? I have set hosts allow = just the IP of my remote machine. Is that enough?15:34
Kamping_Kaiseri'd recomend doing it over ssh myself15:35
GargoyleInstead of running the daemon?15:40
Kamping_Kaiseryeah.15:40
Deepslikewise15:41
GargoyleDo I still leave my rsyncd.conf and use the module paths?15:42
Kamping_Kaiseri've never used rsyncd. sshd executes rsync15:43
linuxhelp_deyepp15:43
linuxhelp_deruns stable and secure..15:44
GargoyleKamping_Kaiser: So do you just use full destination paths? (eg. rsync /var/www/ user@host:/var/www15:44
Kamping_KaiserGargoyle, man page will help, but in short - `rsync -avze ssh path user@host:path15:45
Kamping_Kaiser`15:45
linuxhelp_deis there a way to hold file rights with rsync without to tar /var/www?15:45
Kamping_Kaiserlinuxhelp_de, ownership?15:46
Kamping_Kaiserdoesnt -a do that?15:46
linuxhelp_deyes15:46
Gargoylelinuxhelp_de: The a option does that... Well, technically its a bunch of options, but they can all be applied with -a15:46
linuxhelp_dei made my backup skripts with rsync -avz /source/  user@IP:/dest15:47
Kamping_Kaiserwhen i run by hand i use --progress15:48
linuxhelp_dethe problem is that i have diffrent second admins for /var/www files, not root, but crontab runs out of root15:49
linuxhelp_de-a set the file rights, but skripts over crontab set owners to root15:50
linuxhelp_dei will test something later15:50
linuxhelp_dethe most backupskripts uses a TAR to pack all /var/www into a archive then send it over net to Backupengines15:52
linuxhelp_debye make a break now15:52
d7415After a postfix update a while ago, I started getting the error: "__fop_file_setup:  Retry limit (100) exceeded" "postalias: fatal: open database /etc/aliases.db: File exists" whenever postalias or newaliases is run, including on install. This results in Postfix being listed as "not fully installed or removed" by apt-get. I have used find (as with sudo) and cannot find the aliases.db file anywhere, which seems to make a nonsense of the "file exists" erro15:58
Gargoyled7415: /etc/aliases.db is its normal location16:11
* Gargoyle is one step closer to happyness.16:11
GargoyleFinally getting round to a remote backup for my webserver.16:12
d7415gargoyle: yup - it's not there16:17
Gargoyledo you have a file called /etc/aliases (should be plain text)?16:17
d7415yes16:17
d7415but not aliases.db16:18
Gargoylewhat happens if you run newaliases (as root) ?16:18
d7415martin@lapserv:/etc$ sudo newaliases16:25
d7415[sudo] password for martin:16:25
d7415__fop_file_setup:  Retry limit (100) exceeded16:25
d7415postalias: fatal: open database /etc/aliases.db: File exists16:25
d7415big pause before the retry limit from all the retrying16:26
Gargoyleodd!16:27
GargoyleIs it possible you have an error in your aliases file that it's not catching?16:28
d7415possible...will check through again16:44
d7415it all appears to be in the correct format (certainly one which used to work)16:49
Gargoyled7415: Nothing extra in syslog or messages to help you out?16:51
d7415ooh - i looked in the mail logs before, stupidly didnt think to look in syslog...16:52
d7415Sep 21 16:51:10 lapserv postfix/smtpd[1803]: fatal: open database /etc/aliases.db: No such file or directory16:52
d7415Sep 21 16:51:11 lapserv postfix/master[4527]: warning: process /usr/lib/postfix/smtpd pid 1803 exit status 116:52
d7415Sep 21 16:51:11 lapserv postfix/master[4527]: warning: /usr/lib/postfix/smtpd: bad command startup -- throttling16:52
d7415looks about the same message really though, and responses rather than causes16:52
d7415ooh16:53
d7415the mail log has "fatal: open database /etc/aliases.db: No such file or directory" rather than "File exists"16:53
d7415i'm not sure how that can work16:53
d7415(that's mail.err)16:53
d7415nothing in messages16:54
Gargoyled7415: Not much more I can think of, never seen anything like that before!16:57
d7415ok, well thanks for trying16:58
frithi am reviewing the openldap docs for intrepid and i am trying to setup my ldap replication16:58
frithi seem to have loads of errors in my log file saying it can't bond to the remote server16:59
uvirtbot`New bug: #272812 in samba (main) "package samba 3.0.28a-1ubuntu4.5 failed to install/upgrade: subprocess post-installation script returned error exit status 1" [Undecided,New] https://launchpad.net/bugs/27281217:16
uvirtbot`New bug: #270395 in samba (main) "cannot resolve windows host name" [Undecided,New] https://launchpad.net/bugs/27039517:17
NCommandersoren, ping17:41
uvirtbot`New bug: #268974 in mysql-dfsg-5.0 (main) "MySQL Socket Sharing in OpenVZ" [Undecided,New] https://launchpad.net/bugs/26897418:08
MasterShrekcan anyone help me with pam authenticaion and dovecot? cant seem to authenticate18:42
GargoyleMasterShrek: Possibly... lemme dig up my old notes!18:44
GargoyleMasterShrek: Oops, nope. I used a MySQL database.18:45
friththis is weird, my cn=admin users keeps getting deleted18:55
frithi wonder do i need a different user per server18:55
frithdamn you ldap19:00
frithdamn you replication why are you deleting my admin user19:02
d7415ARGGHHH - for anyone following my problem, aliases.db DID exist, but was named /etc/__db.aliases.db. deleted it and all is well19:27
frithhttp://pastebin.com/m347e394c19:30
frithanyone seen this before?19:30
frithreplication that likes to delete the admin user19:32
citizen42alphahello chaps.20:25
frithgu20:26
frithhi20:26
GargoyleTwo quick questions. 1.) Is setting the sticky but for my /var/www/xyz directories the correct/best way to make sure all future content created in those directories retains the mywebuser:www-data ownership? and 2.) Does that apply recursively, so will sub directories retain those permissions?21:55
frith1, i think so, 2, -R21:56
thenewguye21:56
Gargoylepoo nope. I made a test file and that got ownership of mywebuser:mywebuser (not in the group www-data) :(21:57
guntbertGargoyle: wo's the owner-group of /var/www/xyz ?22:01
Gargoylemyuser:www-data22:02
GargoyleI think I am looking for the -s flag, not the -t flag22:02
blue-frog_Gargoyle: you need to use ACL22:05
frithsetting the sticky bit will do the job22:07
Deepss is setuid22:07
Deepst is sticky22:07
Gargoylehmm, I have tried with just s and with both s and t.22:08
Gargoylethe files in the sub directories are getting the correct owner webuser:www-data, but they loose the group write permission22:09
Gargoyle*lose22:09
GargoyleJust having some rsync trouble. I think I'll just make it so both systems have the same users.22:11

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