Re: [SLUG] ntpd won't start
I also have SELinux disabled on this particular box :( Paul Robinson wrote: I suffered similar problems with a vanilla install of FC3 with MySQL's socket. Turned out to be due to SELINUX which is enabled by default on FC3 however I don't believe that ntpd is affected by SELINUX. Seems like you aren't the only one with this problem though: http://www.redhat.com/archives/fedora-test-list/2005-April/msg00962.html and http://64.233.179.104/search?q=cache:alJvtG_zJbAJ:fcp.homelinux.org/modules/newbb/viewtopic.php%3Ftopic_id%3D14951%26forum%3D12%26post_id%3D60142+EACCES+(Permission+denied)+SELINUXhl=enstart=3 if they help point you in the right direction. HTH Paul Howard Lowndes wrote: I've tried running it with strace and it seems to be reasonably consistent about crapping out about the nscd socket, but not every time: socket(PF_FILE, SOCK_STREAM, 0) = 13 fcntl64(13, F_GETFL)= 0x2 (flags O_RDWR) fcntl64(13, F_SETFL, O_RDWR|O_NONBLOCK) = 0 connect(13, {sa_family=AF_FILE, path=/var/run/nscd/socket}, 110) = -1 EACCES (Permission denied) close(13) = 0 --- SIGSEGV (Segmentation fault) @ 0 (0) --- +++ killed by SIGSEGV +++ The socket is mode 666 Howard Lowndes wrote: FC3 with everything up to date, but now the ntpd daemon refuses to start. Hand cranking it in the foreground gives a seg fault, but nothing in the logs. The weird thing is that it was working fine until I had to do a power cycle a couple of days ago to free up a locked serial port. Any ideas? -- Howard. LANNet Computing Associates - Your Linux people http://lannet.com.au -- When you just want a system that works, you choose Linux; When you want a system that just works, you choose Microsoft. -- Flatter government, not fatter government; Get rid of the Australian states. begin:vcard fn:Howard Lowndes n:Lowndes;Howard org:LANNet Computing Associates adr:;;PO Box 1174;Lavington;NSW;2641;Australia email;internet:howard [AT] lowndes [DOT] name tel;work:02 6040 0222 tel;fax:02 6040 0222 tel;cell:0419 464 430 note:If you want to phone me, you will need to ensure that your phone presents Caller ID. x-mozilla-html:FALSE url:http://www.lannet.com.au version:2.1 end:vcard -- SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/ Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html
Re: [SLUG] Videos in presentation software
On Thu, 2005-05-05 at 12:30 +1000, James Gregory wrote: Hi all, I need to give a presentation which will include some videos. Currently they're avi files, but I'm just as happy to make them mpeg or whatever. I ended up using the 100build of OpenOffice 2 beta. I used the instructions on this page: http://www.ucolick.org/~zingale/OOo_movies/ It worked ok but dropped a lot of frames in the first video I showed with it. Don't miss the step about altering your classpath *inside* OpenOffice; That drove me mad for quite a while. It also seems pretty fussy about what codecs it will use; but less fussy than doing the same thing in PowerPoint. Another oddity is that it behaves differently with different JDKs. Sun's 1.4 JRE opens up a new window for the video while the 1.5 one will embed the movie correctly but it only works once. Anyway, you *can* do it. I thought others here might find the information useful. James. -- My love burns for you A Thermonuclear rose Now lets go make out -- http://www.solardeathray.com/rose.html signature.asc Description: This is a digitally signed message part -- SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/ Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html
Re: [SLUG] ntpd won't start
Looking deeper into a link from one of the links I posted below : https://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=151262 shows it to be a registered bug. An excerpt suggests the following : ntpd randomly segfaults, compiled with the default RPM_OPT_FLAGS... turning off exec-shield-randomize cures the segfaults can do this by doing the following as root : echo 0 /proc/sys/kernel/exec-shield-randomize or to make it permanent : add /kernel.exec-shield-randomize = /0 to //etc/sysctl.conf /Might be worth a try - although you should note that by turning off the randomisation of Linux memory, it is making the system less secure - although with SELinux turned off already it's probably not that much of an issue for that box. HTH, Paul Howard Lowndes wrote: I also have SELinux disabled on this particular box :( Paul Robinson wrote: I suffered similar problems with a vanilla install of FC3 with MySQL's socket. Turned out to be due to SELINUX which is enabled by default on FC3 however I don't believe that ntpd is affected by SELINUX. Seems like you aren't the only one with this problem though: http://www.redhat.com/archives/fedora-test-list/2005-April/msg00962.html and http://64.233.179.104/search?q=cache:alJvtG_zJbAJ:fcp.homelinux.org/modules/newbb/viewtopic.php%3Ftopic_id%3D14951%26forum%3D12%26post_id%3D60142+EACCES+(Permission+denied)+SELINUXhl=enstart=3 if they help point you in the right direction. HTH Paul Howard Lowndes wrote: I've tried running it with strace and it seems to be reasonably consistent about crapping out about the nscd socket, but not every time: socket(PF_FILE, SOCK_STREAM, 0) = 13 fcntl64(13, F_GETFL)= 0x2 (flags O_RDWR) fcntl64(13, F_SETFL, O_RDWR|O_NONBLOCK) = 0 connect(13, {sa_family=AF_FILE, path=/var/run/nscd/socket}, 110) = -1 EACCES (Permission denied) close(13) = 0 --- SIGSEGV (Segmentation fault) @ 0 (0) --- +++ killed by SIGSEGV +++ The socket is mode 666 Howard Lowndes wrote: FC3 with everything up to date, but now the ntpd daemon refuses to start. Hand cranking it in the foreground gives a seg fault, but nothing in the logs. The weird thing is that it was working fine until I had to do a power cycle a couple of days ago to free up a locked serial port. Any ideas? -- SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/ Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html
Re: [SLUG] ntpd won't start
Urgh - don't know what happened in that post but the line to make it permanent should be : add kernel.exec-sheild-randomize = 0 to /etc/sysctl.conf for some reason when I sent the email as plain text - thunderbird added the slashes you see below. Hopefully it works this time round ;) Cheers, Paul Paul Robinson wrote: Looking deeper into a link from one of the links I posted below : https://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=151262 shows it to be a registered bug. An excerpt suggests the following : ntpd randomly segfaults, compiled with the default RPM_OPT_FLAGS... turning off exec-shield-randomize cures the segfaults can do this by doing the following as root : echo 0 /proc/sys/kernel/exec-shield-randomize or to make it permanent : add /kernel.exec-shield-randomize = /0 to //etc/sysctl.conf /Might be worth a try - although you should note that by turning off the randomisation of Linux memory, it is making the system less secure - although with SELinux turned off already it's probably not that much of an issue for that box. HTH, Paul Howard Lowndes wrote: I also have SELinux disabled on this particular box :( Paul Robinson wrote: I suffered similar problems with a vanilla install of FC3 with MySQL's socket. Turned out to be due to SELINUX which is enabled by default on FC3 however I don't believe that ntpd is affected by SELINUX. Seems like you aren't the only one with this problem though: http://www.redhat.com/archives/fedora-test-list/2005-April/msg00962.html and http://64.233.179.104/search?q=cache:alJvtG_zJbAJ:fcp.homelinux.org/modules/newbb/viewtopic.php%3Ftopic_id%3D14951%26forum%3D12%26post_id%3D60142+EACCES+(Permission+denied)+SELINUXhl=enstart=3 if they help point you in the right direction. HTH Paul Howard Lowndes wrote: I've tried running it with strace and it seems to be reasonably consistent about crapping out about the nscd socket, but not every time: socket(PF_FILE, SOCK_STREAM, 0) = 13 fcntl64(13, F_GETFL)= 0x2 (flags O_RDWR) fcntl64(13, F_SETFL, O_RDWR|O_NONBLOCK) = 0 connect(13, {sa_family=AF_FILE, path=/var/run/nscd/socket}, 110) = -1 EACCES (Permission denied) close(13) = 0 --- SIGSEGV (Segmentation fault) @ 0 (0) --- +++ killed by SIGSEGV +++ The socket is mode 666 Howard Lowndes wrote: FC3 with everything up to date, but now the ntpd daemon refuses to start. Hand cranking it in the foreground gives a seg fault, but nothing in the logs. The weird thing is that it was working fine until I had to do a power cycle a couple of days ago to free up a locked serial port. Any ideas? -- SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/ Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html
Re: [SLUG] ntpd won't start
Thanks for that, it certainly worked. Now I need to look at the other implications. :( Probably time to do some study on the /proc/sys settings :) Paul Robinson wrote: Looking deeper into a link from one of the links I posted below : https://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=151262 shows it to be a registered bug. An excerpt suggests the following : ntpd randomly segfaults, compiled with the default RPM_OPT_FLAGS... turning off exec-shield-randomize cures the segfaults can do this by doing the following as root : echo 0 /proc/sys/kernel/exec-shield-randomize or to make it permanent : add /kernel.exec-shield-randomize = /0 to //etc/sysctl.conf /Might be worth a try - although you should note that by turning off the randomisation of Linux memory, it is making the system less secure - although with SELinux turned off already it's probably not that much of an issue for that box. HTH, Paul Howard Lowndes wrote: I also have SELinux disabled on this particular box :( Paul Robinson wrote: I suffered similar problems with a vanilla install of FC3 with MySQL's socket. Turned out to be due to SELINUX which is enabled by default on FC3 however I don't believe that ntpd is affected by SELINUX. Seems like you aren't the only one with this problem though: http://www.redhat.com/archives/fedora-test-list/2005-April/msg00962.html and http://64.233.179.104/search?q=cache:alJvtG_zJbAJ:fcp.homelinux.org/modules/newbb/viewtopic.php%3Ftopic_id%3D14951%26forum%3D12%26post_id%3D60142+EACCES+(Permission+denied)+SELINUXhl=enstart=3 if they help point you in the right direction. HTH Paul Howard Lowndes wrote: I've tried running it with strace and it seems to be reasonably consistent about crapping out about the nscd socket, but not every time: socket(PF_FILE, SOCK_STREAM, 0) = 13 fcntl64(13, F_GETFL)= 0x2 (flags O_RDWR) fcntl64(13, F_SETFL, O_RDWR|O_NONBLOCK) = 0 connect(13, {sa_family=AF_FILE, path=/var/run/nscd/socket}, 110) = -1 EACCES (Permission denied) close(13) = 0 --- SIGSEGV (Segmentation fault) @ 0 (0) --- +++ killed by SIGSEGV +++ The socket is mode 666 Howard Lowndes wrote: FC3 with everything up to date, but now the ntpd daemon refuses to start. Hand cranking it in the foreground gives a seg fault, but nothing in the logs. The weird thing is that it was working fine until I had to do a power cycle a couple of days ago to free up a locked serial port. Any ideas? -- Howard. LANNet Computing Associates - Your Linux people http://lannet.com.au -- When you just want a system that works, you choose Linux; When you want a system that just works, you choose Microsoft. -- Flatter government, not fatter government; Get rid of the Australian states. begin:vcard fn:Howard Lowndes n:Lowndes;Howard org:LANNet Computing Associates adr:;;PO Box 1174;Lavington;NSW;2641;Australia email;internet:howard [AT] lowndes [DOT] name tel;work:02 6040 0222 tel;fax:02 6040 0222 tel;cell:0419 464 430 note:If you want to phone me, you will need to ensure that your phone presents Caller ID. x-mozilla-html:FALSE url:http://www.lannet.com.au version:2.1 end:vcard -- SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/ Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html