Re: [CentOS] encoding
Cahit Eyigünlü wrote on Sat, 3 Apr 2010 23:08:31 +0300: > i have created a folder with name ÅiÄüı and it is ok. No, it is not. *Use ASCII* Kai -- Get your web at Conactive Internet Services: http://www.conactive.com ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
[CentOS] Need sys_call_table exported
Hi, As part of over writing some system calls, I need to export the sys_call_table. Please let me know how to do this in centos 5.4 . Thanks, Jai ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
[CentOS] Query RPM file %post section
Hi I have a .rpm file, in the file there is some commands in the %post section, how can I query the rpm file so it display the commands in %post section. Tronn ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] Query RPM file %post section
On Sun, Apr 4, 2010 at 6:59 AM, Tronn Wærdahl wrote: > Hi > > I have a .rpm file, in the file there is some commands in the %post section, > how can I query the rpm file so it display the commands in %post section. Try: rpm -q --scripts package_name ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] Need sys_call_table exported
cat /usr/include/asm/unistd.h On Sun, Apr 4, 2010 at 6:22 AM, jAi juNo wrote: > Hi, > As part of over writing some system calls, I need to export the > sys_call_table. Please let me know how to do this in centos 5.4 . > Thanks, > Jai > ___ > CentOS mailing list > CentOS@centos.org > http://lists.centos.org/mailman/listinfo/centos > > ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
[CentOS] Cobbler or manual set up for local repo
Chaps, Is cobbler overkill or is it simpler to set up a local repo and rsync it with a mirror? -- John Maclean 07739 171 531 MSc (DIC) Enterprise Linux Systems Engineer ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] NFS freeze when transmitting big files
On Sat, 2010-04-03 at 17:22 +0200, Niki Kovacs wrote: > JohnS a écrit : > > > > > You should have better success with another 128MB of RAM.. > > > > Case point I have one also a P3 450 256MB RAM CentOS 5.4 here at home > > using samba + clam av and large files make me have to hard mount the > > directory to paste to the server. I run no GUI either on it so you may > > want to get rid of X and Gnome. Mine I run in, run level 3 so no gui > > here because it was painfully slow. > > I had some time this weekend to check this out. I found another 128 MB > RAM, put it into the server (and tested it OK). I took the server to my > office and connected it directly to the main switch, to rule out > networking bottlenecks. > > I opened up 'top' on the server and switched to memory display (Shift-O, > O, Enter). > > On my desktop PC I transferred a bunch of files, and memory usage > instantly went from around 110 MB to 250 MB, and then it began to swap > and left the transfer with a steady 4800 k/s stream. > > So I guess it was effectively a problem of missing RAM. > > Cheers, > > Niki --- Yea although CentOS 5 can be ran with 128 I promise you want be happy with it. I think in my initial post to you I neglected to include I have clamav-samba running also. All my media files I had to confiigure the cifs shares for clam-av to not scan them. i do come to find out I have a lil more than 256MB of ram but not by much. I do have every service I do not need cut off. Also mine swaps also. You should get better spped than what your getting. I can't get no more than 10MB/s. My smb global config may help some. top - 08:12:13 up 13 days, 4:55, 1 user, load average: 0.00, 0.00, 0.00 Tasks: 70 total, 1 running, 69 sleeping, 0 stopped, 0 zombie Cpu(s): 0.3%us, 0.3%sy, 0.0%ni, 99.3%id, 0.0%wa, 0.0%hi, 0.0%si, 0.0%st Mem:385356k total, 380516k used, 4840k free, 4372k buffers Swap: 655352k total, 68k used, 655284k free, 330532k cached [global] max xmit = 65535 disable netbios = yes socket options = TCP_NODELAY SO_KEEPALIVE SO_RCVBUF=524288 \ SO_SNDBUF=524288 write raw = yes read raw = yes oplocks = no John ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] Query RPM file %post section
> Hi > > > > I have a .rpm file, in the file there is some commands in the %post > section, > > how can I query the rpm file so it display the commands in %post section. > > Try: > rpm -q --scripts package_name > Thanks that did the trick Tronn ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] change owner
Do an ls -lha public_html in the user's folder and look what group the files are owned by. Then do chown username:group -R public_html. Ryan 2010/4/2 cahit Eyigünlü : > the main problem that i have copied files directly to public_html folder and > it is returnin 500 internal error now , > and i need to allow the web user of this folder to read write content of > this folder > > 2010/4/3 Niki Kovacs >> >> cahit Eyigünlü a écrit : >> > do you mean that for example a folder of root will be owned by >> > chown -R root: /path/* >> > >> >> I think it would be wise to read some basic *nix documentation. >> Something like : >> >> * Linux Cookbook (Carla Schroder) >> * Definitive Guide to CentOS >> * Foundations of CentOS >> * Red Hat Enterprise Linux 5 Administration >> >> It's not much use trying to fly a plane by pushing all the buttons and >> see what they do. This advice is meant in a friendly way. >> >> Cheers, >> >> Niki >> ___ >> CentOS mailing list >> CentOS@centos.org >> http://lists.centos.org/mailman/listinfo/centos > > > ___ > CentOS mailing list > CentOS@centos.org > http://lists.centos.org/mailman/listinfo/centos > > ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] change owner
That worked thanks 2010/4/4 Ryan Wagoner > Do an ls -lha public_html in the user's folder and look what group > the files are owned by. Then do chown username:group -R public_html. > > Ryan > > 2010/4/2 cahit Eyigünlü : > > the main problem that i have copied files directly to public_html folder > and > > it is returnin 500 internal error now , > > and i need to allow the web user of this folder to read write content of > > this folder > > > > 2010/4/3 Niki Kovacs > >> > >> cahit Eyigünlü a écrit : > >> > do you mean that for example a folder of root will be owned by > >> > chown -R root: /path/* > >> > > >> > >> I think it would be wise to read some basic *nix documentation. > >> Something like : > >> > >> * Linux Cookbook (Carla Schroder) > >> * Definitive Guide to CentOS > >> * Foundations of CentOS > >> * Red Hat Enterprise Linux 5 Administration > >> > >> It's not much use trying to fly a plane by pushing all the buttons and > >> see what they do. This advice is meant in a friendly way. > >> > >> Cheers, > >> > >> Niki > >> ___ > >> CentOS mailing list > >> CentOS@centos.org > >> http://lists.centos.org/mailman/listinfo/centos > > > > > > ___ > > CentOS mailing list > > CentOS@centos.org > > http://lists.centos.org/mailman/listinfo/centos > > > > > ___ > CentOS mailing list > CentOS@centos.org > http://lists.centos.org/mailman/listinfo/centos > ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] Cobbler or manual set up for local repo
On Sun, 4 Apr 2010, john maclean wrote: > Chaps, > > Is cobbler overkill or is it simpler to set up a local repo and > rsync it with a mirror? Personally, I think cobbler overkill if all you want to do is have a local copy of the CentOS repo for updates and occasional installations. I just mirror the os/ and updates/ trees (about 20G for CentOS 5.4). I point lighttpd at the root of the mirror tree, enable directory listings, and push a standard CentOS-Base.repo file that points to the local mirror to all my CentOS machines. -- Paul Heinlein <> heinl...@madboa.com <> www.madboa.com ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
[CentOS] replacement for start-stop-daemon on CentOS
Hi Folks, I'd like to use "start-stop-daemon" on my centos-machine. I know , it's debian-like. But I can't find "startproc" on my machine nor in the repos. What is the CentOS-replacement for "start-stop-daemon"? Thx Timothy P.S. I found a start-stop-daemon.c script - but how to compile it? gcc start-stop-daemon.c ends in much errors. ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] replacement for start-stop-daemon on CentOS
thus Timothy Kesten spake: > Hi Folks, > > I'd like to use "start-stop-daemon" on my centos-machine. > I know , it's debian-like. > But I can't find "startproc" on my machine nor in the repos. > > What is the CentOS-replacement for "start-stop-daemon"? > > Thx > > Timothy > > P.S. I found a start-stop-daemon.c script - but how to compile it? > > gcc start-stop-daemon.c > > ends in much errors. Do you have some more details, e.g. gcc's fall-out (error messages)? Timo ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] replacement for start-stop-daemon on CentOS
On Sun, Apr 4, 2010 at 11:13 AM, Timothy Kesten wrote: > Hi Folks, > > I'd like to use "start-stop-daemon" on my centos-machine. > I know , it's debian-like. > But I can't find "startproc" on my machine nor in the repos. > > What is the CentOS-replacement for "start-stop-daemon"? There's no real equivalent, but the "service" command is the main method of starting/stopping processes/daemons. In itself it doesn't do what the start-stop-daemon does, but the scripts associated with the service utility can be customized to mimic some similar functions. ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] Cobbler or manual set up for local repo
On 4 April 2010 15:36, Paul Heinlein wrote: > On Sun, 4 Apr 2010, john maclean wrote: > >> Chaps, >> >> Is cobbler overkill or is it simpler to set up a local repo and >> rsync it with a mirror? > > Personally, I think cobbler overkill if all you want to do is have a > local copy of the CentOS repo for updates and occasional > installations. > > I just mirror the os/ and updates/ trees (about 20G for CentOS 5.4). I > point lighttpd at the root of the mirror tree, enable directory > listings, and push a standard CentOS-Base.repo file that points to the > local mirror to all my CentOS machines. > > -- > Paul Heinlein <> heinl...@madboa.com <> www.madboa.com > ___ > CentOS mailing list > CentOS@centos.org > http://lists.centos.org/mailman/listinfo/centos > Thanks. That's pretty much what I was thinking. By the way, is bottom-posting prefered on this list? -- John Maclean 07739 171 531 MSc (DIC) Enterprise Linux Systems Engineer ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] replacement for start-stop-daemon on CentOS
Am Sonntag, 4. April 2010 17:15:11 schrieb Timo Schoeler: > Do you have some more details, e.g. gcc's fall-out (error messages)? Sorry, output is in german on my machine start-stop-daemon.c: In function »do_help«: start-stop-daemon.c:113: Fehler: fehlendes abschließendes Zeichen " start-stop-daemon.c:116: Fehler: expected »)« before »start« start-stop-daemon.c:116: Fehler: verirrtes »\« im Programm start-stop-daemon.c:116: Fehler: verirrtes »\« im Programm start-stop-daemon.c:116: Fehler: verirrtes »\« im Programm start-stop-daemon.c:116: Fehler: verirrtes »\« im Programm start-stop-daemon.c:116: Fehler: verirrtes »\« im Programm start-stop-daemon.c:122: Fehler: verirrtes »\« im Programm start-stop-daemon.c:122: Fehler: verirrtes »\« im Programm start-stop-daemon.c:124:48: Warnung: Zeichenkonstante zu lang für ihren Typ start-stop-daemon.c:122: Fehler: verirrtes »\« im Programm start-stop-daemon.c:122: Fehler: verirrtes »\« im Programm start-stop-daemon.c:122: Fehler: verirrtes »\« im Programm start-stop-daemon.c:122: Fehler: verirrtes »\« im Programm start-stop-daemon.c:122: Fehler: verirrtes »\« im Programm start-stop-daemon.c:122: Fehler: fehlendes abschließendes Zeichen " start-stop-daemon.c:133: Fehler: expected »;« before »}« token Timothy P.S. perhaps you are a german? ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] replacement for start-stop-daemon on CentOS
Am Sonntag, 4. April 2010 17:37:02 schrieb Kwan Lowe: > There's no real equivalent, but the "service" command is the main > method of starting/stopping processes/daemons. In itself it doesn't > do what the start-stop-daemon does, but the scripts associated with > the service utility can be customized to mimic some similar functions. My goal is: start a service/daemon using init.d-script with user != root in a correct way. One solution is using su/sudo - but is that "clean"? Timothy ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] replacement for start-stop-daemon on CentOS
>> Do you have some more details, e.g. gcc's fall-out (error >> messages)? > > Sorry, output is in german on my machine > > start-stop-daemon.c: In function »do_help«: start-stop-daemon.c:113: > Fehler: fehlendes abschließendes Zeichen " start-stop-daemon.c:116: > Fehler: expected »)« before »start« start-stop-daemon.c:116: Fehler: > verirrtes »\« im Programm start-stop-daemon.c:116: Fehler: verirrtes > »\« im Programm start-stop-daemon.c:116: Fehler: verirrtes »\« im > Programm start-stop-daemon.c:116: Fehler: verirrtes »\« im Programm > start-stop-daemon.c:116: Fehler: verirrtes »\« im Programm > start-stop-daemon.c:122: Fehler: verirrtes »\« im Programm > start-stop-daemon.c:122: Fehler: verirrtes »\« im Programm > start-stop-daemon.c:124:48: Warnung: Zeichenkonstante zu lang für > ihren Typ start-stop-daemon.c:122: Fehler: verirrtes »\« im Programm > start-stop-daemon.c:122: Fehler: verirrtes »\« im Programm > start-stop-daemon.c:122: Fehler: verirrtes »\« im Programm > start-stop-daemon.c:122: Fehler: verirrtes »\« im Programm > start-stop-daemon.c:122: Fehler: verirrtes »\« im Programm > start-stop-daemon.c:122: Fehler: fehlendes abschließendes Zeichen " > start-stop-daemon.c:133: Fehler: expected »;« before »}« token > > > Timothy > > P.S. perhaps you are a german? Indeed I am, however I have to say that I don't understand what gcc wants to tell us. Could you provide the lines 110 to 140 of start-stop-daemon.c? Timo ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] replacement for start-stop-daemon on CentOS
Timothy Kesten wrote on Sun, 4 Apr 2010 17:13:17 +0200: > What is the CentOS-replacement for "start-stop-daemon"? You are not looking for "service", are you? Kai -- Get your web at Conactive Internet Services: http://www.conactive.com ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] replacement for start-stop-daemon on CentOS
Timothy Kesten wrote: > Am Sonntag, 4. April 2010 17:37:02 schrieb Kwan Lowe: >> There's no real equivalent, but the "service" command is the main >> method of starting/stopping processes/daemons. In itself it doesn't >> do what the start-stop-daemon does, but the scripts associated with >> the service utility can be customized to mimic some similar functions. > > My goal is: > > start a service/daemon using init.d-script with user != root in a correct way. > > One solution is using su/sudo - but is that "clean"? That depends on your reason for not being root to start. Sudo is good if you want to avoid giving the root password to the person in question, or if you want to restrict the commands they can run. -- Les Mikesell lesmikes...@gmail.com ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] replacement for start-stop-daemon on CentOS
Am 04.04.2010 18:10, schrieb Timothy Kesten: > Am Sonntag, 4. April 2010 17:37:02 schrieb Kwan Lowe: >> There's no real equivalent, but the "service" command is the main >> method of starting/stopping processes/daemons. In itself it doesn't >> do what the start-stop-daemon does, but the scripts associated with >> the service utility can be customized to mimic some similar functions. > > My goal is: > > start a service/daemon using init.d-script with user != root in a correct way. > > One solution is using su/sudo - but is that "clean"? > > Timothy Check /etc/init.d/functions for the declared "deamon()" function and you will spot a correct and clean way to run a service as a user. daemon() can make use of the "runuser" command. Alexander ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] replacement for start-stop-daemon on CentOS
Am Sonntag, 4. April 2010 18:16:32 schrieb Timo Schoeler: > Could you provide the lines 110 to 140 of start-stop-daemon.c? Was a problem (syntax-error) in a printf - function. Delete this function - compilation successfull. I will try this binary Thx for help Timothy ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] compiling FahMON for Centos? [SOLVED]
On Apr 3, 2010, at 9:50 PM, fred smith wrote: > I had some detritus from a failed installatin of wxgtk hanging around > in /usr/local that confused heck out of fahmon's configure script. > removed it, removed the fahmon sources and re-extracted the .tbz2 file, > ran configure, ran make, and voila! as a side note: as a response to this thread, i have packaged FahMon in a RPM and submitted it to RPMforge. if you have a moment, please test out my unofficial builds, available here: http://orannis.hmdc.harvard.edu/rpmforge/fahmon/ and let me know if there are any issues with them. also, please don't publicize this URL :) thanks, -steve -- If this were played upon a stage now, I could condemn it as an improbable fiction. - Fabian, Twelfth Night, III,v http://five.sentenc.es/ PGP.sig Description: This is a digitally signed message part ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] (OT) OpenOffice.org calc chart strangeness.
On Sat, Apr 03, 2010, Pascal Robert wrote: > >Le 2010-04-02 à 20:19, Bill Campbell a écrit : ... >> The Linux tie-in is that I'm getting data from a postgresql database that >> lives on a Linux box, and none of the fancy commercial products seem to be >> able to use it in their data sources. >You should be able to connect to it with a ODBC driver for pgsql, Excel on >both Windows and OS X should be able to talk to it by ODBC. Connecting OpenOffice.org/NeoOffice to postgresql isn't a problem using the JDBC drivers (which seems to be the logical choice given the Java heritage of StarOffice->OpenOffice.org. I have been connecting them to postgresql and mysql for year now. My problem is that OO/NeoOffice charts don't seem to take the first column of data as the X-Axis, but put everything on the Y-Axis which doesn't make sense to me. Bill -- INTERNET: b...@celestial.com Bill Campbell; Celestial Software LLC URL: http://www.celestial.com/ PO Box 820; 6641 E. Mercer Way Voice: (206) 236-1676 Mercer Island, WA 98040-0820 Fax:(206) 232-9186 Skype: jwccsllc (206) 855-5792 If we got one-tenth of what was promised to us in these acceptance speeches there wouldn't be any inducement to go to heaven. Will Rogers ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
[CentOS] [SPAM] Re: Cobbler or manual set up for local repo
On Sun, 4 Apr 2010, john maclean wrote: > Thanks. That's pretty much what I was thinking. By the way, is > bottom-posting prefered on this list? I prefer it -- and I think most list members do, except those tethered to mobile devies with screens the size of matchbook covers. Since you're asking, I'll also toss in that it's considered good form to trim the quoted section of the message to only the material bits. -- Paul Heinlein <> heinl...@madboa.com <> www.madboa.com ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] (OT) OpenOffice.org calc chart strangeness.
On Sun, 2010-04-04 at 20:16 -0700, Bill Campbell wrote: > > My problem is that OO/NeoOffice charts don't seem to take the > first column of data as the X-Axis, but put everything on the > Y-Axis which doesn't make sense to me. > > Bill --- Look at the top row and Click on Chart (the icon). Then chart wizard will pop up, click number four (4). Default is set to Y axis. Also I have a like a Excel made sheet that only excel will do but the ability to do it in OO is not there but it still functions the same as exel when ran in OO. Odd it is. John ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] (OT) OpenOffice.org calc chart strangeness.
Bill Campbell wrote: > I am attempting to create a simple line chart graphing three columns from a > soffice-calc spreadsheet. I expect it to take the leftmost column as the > X-Axis, plotting the others on the Y-Axis, but it always creates an X-Axis > of the row number in the columns, and the first column amongst the data. > > I have tried this on OpenOffice.org 3.2.0, NeoOffice(R) 3.0.2 Patch 2, > iWork Pages, and Excel 12.2.4 in Microsoft Office 2008 for Mac. > > It does what I expect in iWork Pages and M$-Excel, but not in the > various incantations of OpenOffice.org. > > I OO-calc has gone to a fancy wizard thingy that doesn't seem to have any > way to specify details for the X-Axis, and I can't find anything useful in > the on-line documentation. > > Does anybody know how one gets this to work in OpenOffice.org? > > The Linux tie-in is that I'm getting data from a postgresql database that > lives on a Linux box, and none of the fancy commercial products seem to be > able to use it in their data sources. > > On the other hand, I have written a python script that extracts the data > from the postgresql database and creates the pretty reports using groff and > gplot totally on Linux which is faster in any case for my current problem. > > Bill > Hi Bill, Don't know if this will help, hope it does. One thing that comes to mind is this sounds like a data series issues. It sounds like everything is included within the data series range. The only thing that should be in this, which would be the Y axis, is the 2nd and 3rd columns of data. I hope this helps in some way. Lee ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos