Re: How do I get a copy of log_server_status perl script for apache2?

2021-05-06 Thread Greg Wooledge
t the shebang -- there are more.) So, I guess copying it out of the source tree might have been a naive suggestion. You'll at least have to run the ./configure script in a way that matches how the Debian package is built, and then probably build most, or all, of Apache itself, in order to get a working pe

Re: How do I get a copy of log_server_status perl script for apache2?

2021-05-06 Thread Steve Dondley
So, I guess you would download an upstream Apache source tarball, extract it, and copy the log_server_status script out of the extracted tarball and into /usr/local/bin. Or wherever you want it. Interesting. First time I've seen a debian package remove a file like that. It can also be

Re: How do I get a copy of log_server_status perl script for apache2?

2021-05-06 Thread Greg Wooledge
On Thu, May 06, 2021 at 11:02:01AM -0400, Steve Dondley wrote: > I have a stock apache2 server installed with apt-get. There is supposedly a > perl script for getting machine-readable output of the apache status: > http://httpd.apache.org/docs/2.4/programs/log_server_status.html >

How do I get a copy of log_server_status perl script for apache2?

2021-05-06 Thread Steve Dondley
I have a stock apache2 server installed with apt-get. There is supposedly a perl script for getting machine-readable output of the apache status: http://httpd.apache.org/docs/2.4/programs/log_server_status.html However, I can't find this script anywhere on my Debian Buster install

Q: LDAP - perl script using Net::LDAP and start_tls gives an error

2014-04-13 Thread Snow Leopard
Hi, I am trying to write perl script with Net::LDAP module, start_tls command and stumbled on a problem. I would appreciate if somebody could point me to the source of the problem. If there is better place to get an assistance in resolution of the problem please indicate in your reply

Re: Q: LDAP - perl script using Net::LDAP and start_tls gives an error

2014-04-13 Thread Atle Solbakken
If I made a change in start_tls command for option verify = none to one of 'optional' or 'required' then I get next error message root@install:~/prog# ./ldap_sec.pl SSL connect attempt failed with unknown error error:14090086:SSL routines:SSL3_GET_SERVER_CERTIFICATE:certificate verify

Re: Q: LDAP - perl script using Net::LDAP and start_tls gives an error

2014-04-13 Thread Snow Leopard
Hi Atle, in my case I am certificate agency (self-signed certificate) and I issue private key and certificate (cacert.pem) as for root CA as for LDAP server (server-key.pem and server-cert.pem) and LDAP perl script client (client-key.pem and client-cert.pem). The script and client run

Re: Q: LDAP - perl script using Net::LDAP and start_tls gives an error

2014-04-13 Thread Ric Moore
On 04/13/2014 04:45 PM, Snow Leopard wrote: Hi Atle, in my case I am certificate agency (self-signed certificate) and I issue private key and certificate (cacert.pem) as for root CA as for LDAP server (server-key.pem and server-cert.pem) and LDAP perl script client (client-key.pem and client

Call for testers - perl script to connect to the Juniper VPN

2012-07-24 Thread Alex Samorukov
Hello, I wrote a Perl script to connect to the Juniper VPN from Linux. It works without Java and requires perl only. I used wireshark to analyze management protocol of the juniper binary to emulate java GUI behaviour. If you are using Juniper VPN with Java client and want to test my script

Re: Call for testers - perl script to connect to the Juniper VPN

2012-07-24 Thread Darac Marjal
On Tue, Jul 24, 2012 at 03:00:24PM +0200, Alex Samorukov wrote: Hello, I wrote a Perl script to connect to the Juniper VPN from Linux. It works without Java and requires perl only. I used wireshark to analyze management protocol of the juniper binary to emulate java GUI behaviour. If you

Re: Call for testers - perl script to connect to the Juniper VPN

2012-07-24 Thread Alex Samorukov
://smallhacks.wordpress.com/2012/07/15/jvpn-perl-script-to-connect-to-the-juniper-vpn-with-host-checker-enabled/ . Comments and bugreports are welcome. Also i am going to do debian package, after some positive reports. Thank you, and I hope that it is not offtopic in this list. Am I right in thinking

Re: Call for testers - perl script to connect to the Juniper VPN

2012-07-24 Thread Rob Owens
On Tue, Jul 24, 2012 at 03:00:24PM +0200, Alex Samorukov wrote: Hello, I wrote a Perl script to connect to the Juniper VPN from Linux. It works without Java and requires perl only. I used wireshark to analyze management protocol of the juniper binary to emulate java GUI behaviour. If you

Re: [OFF-TOPIC] Dúvida Perl Script

2009-05-18 Thread Bruno Schneider
2009/5/15 Allan Carvalho escreveu: [...] Ae que está o problema, como retornar um valor booleano no perl? Tentei usar o return mas acusa o erro que não posso usar o return fora de uma subrotina. Use exit ao invés de return. -- Bruno Schneider http://www.dcc.ufla.br/~bruno/ -- To

Re: [OFF-TOPIC] Dúvida Perl Script

2009-05-18 Thread Felipe Augusto van de Wiel (faw)
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 On 15-05-2009 16:42, Allan Carvalho wrote: Prezados, Estou tentando escrever um script em perl, só que meus conhecimentos em perl são ínfimos, já consegui fazer quase tudo, menos o return. Explicando melhor, passo um valor pro script ele

[OFF-TOPIC] Dúvida Perl Script

2009-05-15 Thread Allan Carvalho
Prezados, Estou tentando escrever um script em perl, só que meus conhecimentos em perl são ínfimos, já consegui fazer quase tudo, menos o return. Explicando melhor, passo um valor pro script ele compara com uma outra string e me retorna um valor booleano. Ae que está o problema, como

Crontab Befehl führt Perl-Script nicht a us

2005-10-19 Thread Axel Böhme
Hallo, ich habe folgenden Befehl in meine Crontab gepackt: * * * * * root ./logdaemon.pl iftest Die Datei iftest wird auch angelegt, aber nichts hineingeschrieben. Wenn ich das script an der shell ausführe (./logdaemon.pl iftest) funktioniert es wunderbar. Was ist da faul? -- Haeufig

Re: Crontab Befehl führt Perl-Script nicht aus

2005-10-19 Thread Volker Katz
Moin, On Wednesday 19 October 2005 12:24, Axel Böhme wrote: ich habe folgenden Befehl in meine Crontab gepackt: * * * * * root ./logdaemon.pl iftest Die Datei iftest wird auch angelegt, aber nichts hineingeschrieben. Wenn ich das script an der shell ausführe (./logdaemon.pl iftest)

Re: Crontab Befehl führt Perl-Script nicht aus

2005-10-19 Thread Oscar Knapp
Hallo, Am Mittwoch 19 Oktober 2005 12:31 schrieb Volker Katz: ... ich habe folgenden Befehl in meine Crontab gepackt: * * * * * root ./logdaemon.pl iftest Was ist da faul? Daher solltest Du den absoluten Pfad zu Deinem Skript angeben. Also /da/liegt/es/logdaemon.pl iftest

Re: Crontab Befehl führ t Perl-Script nicht aus

2005-10-19 Thread Andreas Pakulat
On 19.10.05 12:24:56, Axel Böhme wrote: Hallo, ich habe folgenden Befehl in meine Crontab gepackt: * * * * * root ./logdaemon.pl iftest Die Datei iftest wird auch angelegt, aber nichts hineingeschrieben. Wenn ich das script an der shell ausführe (./logdaemon.pl iftest) funktioniert

Re: Crontab Befehl führt Perl-Script nicht aus

2005-10-19 Thread Axel Böhme
jetzt sieht der Eintrag in der Crontab wie folgt aus: * * * * * root /var/log/logdaemon.pl /var/log/iftest Das Script hat auch 777 Rechte. Auch nun wird wieder die Datei erstellt, aber nichts hineingeschrieben. Mit einem manuellen Versuch klappt es weiterhin. Gruß, Axel Oscar Knapp

Re: Crontab Befehl führt Perl-Script nicht aus

2005-10-19 Thread Christian Frommeyer
Am Mittwoch 19 Oktober 2005 12:24 schrieb Axel Böhme: ich habe folgenden Befehl in meine Crontab gepackt: * * * * * root ./logdaemon.pl iftest In Deine oder die System-Crontab? Gruß Chris -- A: because it distrupts the normal process of thought Q: why is top posting frowned upon

Crontab Befehl führt Perl-Script nicht a us [solved]

2005-10-19 Thread Axel Böhme
das Perl Script war fehlerhaft. Jetzt klappt alles. Danke für eure Hilfe. Gruß, Axel Christian Frommeyer schrieb: Am Mittwoch 19 Oktober 2005 12:24 schrieb Axel Böhme: ich habe folgenden Befehl in meine Crontab gepackt: * * * * * root ./logdaemon.pl iftest In Deine oder die System

Why does browser want to open up perl script with editor?

2005-10-08 Thread Fred OGrady
Hi everyone, I know I must be doing something wrong here: I am trying to configure sql-ledger. from: file:///usr/local/sql-ledger/index.html I click on Logon (a link to file:///usr/local/sql-ledger/logon.pl). My Browser wants to open logon.pl with my default text editor. I am sure I have the

Re: Why does browser want to open up perl script with editor?

2005-10-08 Thread Patrick Wiseman
On 10/8/05, Fred OGrady [EMAIL PROTECTED] wrote: Hi everyone, I know I must be doing something wrong here: I am trying to configure sql-ledger. from: file:///usr/local/sql-ledger/index.html I click on Logon (a link to file:///usr/local/sql-ledger/logon.pl). My Browser wants to open logon.pl

Re: Why does browser want to open up perl script with editor?

2005-10-08 Thread Alexander Schmehl
Hi! * Fred OGrady [EMAIL PROTECTED] [051009 05:01]: from: file:///usr/local/sql-ledger/index.html I click on Logon (a link to file:///usr/local/sql-ledger/logon.pl). My Browser wants to open logon.plwith my default text editor. I am sure I have the permissions set to execute. Apache has

Re: How Can I Schedule A Perl Script?

2005-07-18 Thread Roberto C. Sanchez
On Sun, Jul 17, 2005 at 11:45:06PM -0300, Eduardo B. V. Pereira wrote: I have a perl script that needs to be runned each 30 minutes, how can I do this? Can I use cron? If so what would the configuration line would be? The path to the script is /home/user/doc/id.pl I'm running a stable sarge

Re: How Can I Schedule A Perl Script?

2005-07-18 Thread Lorenzo Taylor
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 You can run a perl script from a cron job just like any other program. As the user whose home directory the file is in: crontab -e and in the file put 0,30 * * * * ~/doc/id.pl Note that the /home/user part can be replaced with ~ just like

How Can I Schedule A Perl Script?

2005-07-17 Thread pvbedu-debian
I have a perl script that needs to be runned each 30 minutes, how can I do this? Can I use cron? If so what would the configuration line would be? The path to the script is /home/user/doc/id.pl I'm running a stable sarge. Thanks, e.pereira

Re: How Can I Schedule A Perl Script?

2005-07-17 Thread Stephen R Laniel
On Sun, Jul 17, 2005 at 11:48:49PM -0300, [EMAIL PROTECTED] wrote: I have a perl script that needs to be runned each 30 minutes, how can I do this? Can I use cron? If so what would the configuration line would be? The path to the script is /home/user/doc/id.pl I'm running a stable sarge. Yes

How Can I Schedule A Perl Script?

2005-07-17 Thread Eduardo B. V. Pereira
I have a perl script that needs to be runned each 30 minutes, how can I do this? Can I use cron? If so what would the configuration line would be? The path to the script is /home/user/doc/id.pl I'm running a stable sarge. Thanks, e.pereira

Re: How Can I Schedule A Perl Script?

2005-07-17 Thread Anders Breindahl
On Monday 18 July 2005 04:55, Stephen R Laniel wrote: Caveat: if this job needs to run with root privileges, then you'll need to edit the global crontab in /etc/crontab. Unless I'm mistaken, root should rather add her custom cronjobs to her own crontab by running `crontab -e` herself. Works

Re: How Can I Schedule A Perl Script?

2005-07-17 Thread Michael Ott
Hello I have a perl script that needs to be runned each 30 minutes, how can I do this? Can I use cron? If so what would the configuration line would be? The path to the script is /home/user/doc/id.pl You can use cron crontab -e as normal user and 0,30 * * * * /home/user/doc/id.pl or you can

[OT] multi_upload_file perl script that works

2004-10-20 Thread Antonio Rodriguez
OT, by a frustrated perl programmer wooanabee Would anybody care to share a multifile upload cgi script that actually works? All the ways and google results that I have tried fail at some point. TIATARPP (2 all real perl programmers) -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a

Re: Perl Script gesucht

2004-10-19 Thread Michelle Konzack
Am 2004-10-14 08:19:45, schrieb Malte Buck: Am Donnerstag, 14. Oktober 2004 00:57 schrieb Harald Weidner: [script] Wie soll ich jetzt das interpretieren? [EMAIL PROTECTED]:~/bin$ ./dicksize.sh (standard_in) 1: parse error Das Du nicht maennlich, sondern weiblich bist :-) mfg Malte

Re: Perl Script gesucht

2004-10-14 Thread Malte Buck
Am Donnerstag, 14. Oktober 2004 00:57 schrieb Harald Weidner: [script] Wie soll ich jetzt das interpretieren? [EMAIL PROTECTED]:~/bin$ ./dicksize.sh (standard_in) 1: parse error mfg Malte pgpcDmIN1VZb6.pgp Description: PGP signature

Re: Perl Script gesucht

2004-10-14 Thread Andreas Neiser
Rainer Bendig wrote: Immer die Prolls hier ... proll ich mit meinen 52.8 cm hier rum? OMG! Fast so groß wie ich selbst! linux:~# ./dicksize.sh 160.1cm bis dann anwas ein sinnloser thread, aber ich mag diedi -- Haeufig gestellte Fragen und Antworten (FAQ):

Re: Perl Script gesucht

2004-10-14 Thread Philipp Meier
On Wed, Oct 13, 2004 at 10:57:49PM +, Harald Weidner wrote: Hallo, Dominique-Holger SCHRAMM [EMAIL PROTECTED]: ich bin auf der Suche nach einem Perl oder andere Skript wo ich die aktuellen Systeminformationen meines Rechenrs (Debian Woody) auslesen lassen kann und dann ein Bild

Re: Perl Script gesucht

2004-10-14 Thread Frank Dietrich
Hallo Malte, Malte Buck [EMAIL PROTECTED] wrote: Am Donnerstag, 14. Oktober 2004 00:57 schrieb Harald Weidner: [script] Wie soll ich jetzt das interpretieren? [EMAIL PROTECTED]:~/bin$ ./dicksize.sh (standard_in) 1: parse error Cut Paste Error würde ich tippen. Frank

Re: Perl Script gesucht

2004-10-14 Thread Udo Mueller
Hallo Malte, begin * Malte Buck schrieb [14-10-04 08:19]: Wie soll ich jetzt das interpretieren? [EMAIL PROTECTED]:~/bin$ ./dicksize.sh (standard_in) 1: parse error Du hast eine deutsch Umgebung. Wende meine Überarbeitungoder das Komma-Diff an. Dann klappts. end Gruss Udo -- Ohne

Re: Perl Script gesucht

2004-10-14 Thread Malte Buck
Du hast eine deutsch Umgebung. Eigentlich nicht ... Wende meine Überarbeitungoder das Komma-Diff an. Dann klappts. Dann schmeisst er noch viel mehr Fehler raus Hilfe! Mein Computer diskriminiert mich :-) end Gruss Udo mfg Malte pgpCCRiXkHXQ6.pgp Description: PGP signature

Re: Perl Script gesucht

2004-10-14 Thread Andreas L.
Am Donnerstag, 14. Oktober 2004 12:24 schrieb Malte Buck: Du hast eine deutsch Umgebung. Eigentlich nicht ... Wende meine Überarbeitungoder das Komma-Diff an. Dann klappts. Dann schmeisst er noch viel mehr Fehler raus Du sollst ja auch den DIFF nicht als Shellscript anwenden sondern

Re: Perl Script gesucht

2004-10-14 Thread Andreas Pakulat
On 13.Oct 2004 - 22:57:49, Harald Weidner wrote: Hallo, Dominique-Holger SCHRAMM [EMAIL PROTECTED]: ich bin auf der Suche nach einem Perl oder andere Skript wo ich die aktuellen Systeminformationen meines Rechenrs (Debian Woody) auslesen lassen kann und dann ein Bild generieren lasse das

Re: Perl Script gesucht

2004-10-14 Thread Andreas Pakulat
On 14.Oct 2004 - 13:19:48, Andreas Pakulat wrote: On 13.Oct 2004 - 22:57:49, Harald Weidner wrote: Hallo, [EMAIL PROTECTED]:~$ cat bin/dicksize.sh #!/bin/sh [script] Ich will auch prollen koennen, aber das Skript (mit und ohne Patch) gibt nur ein: [EMAIL

Re: Perl Script gesucht

2004-10-14 Thread Rainer Bendig
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hi Andreas Pakulat, *, Andreas Pakulat wrote on Thu Oct 14, 2004 at 01:30:03PM +0200: Och mensch, das geht ja nur mit min. 1 day :-( Noe ... dicksize.sh 55.9cm uptime 14:01:28 up 3:55, 6 users, load average: 0.00, 0.02, 0.00 - -- -

Re: Perl Script gesucht

2004-10-14 Thread gebhard dettmar
On Thursday 14 October 2004 08:31, Andreas Neiser wrote: Rainer Bendig wrote: Immer die Prolls hier ... proll ich mit meinen 52.8 cm hier rum? OMG! Fast so groß wie ich selbst! linux:~# ./dicksize.sh 160.1cm Ihr seid alle sehr böse. Bin tief deprimiert: [EMAIL PROTECTED]:~$ ./dicksize.sh

Re: Perl Script gesucht

2004-10-14 Thread Tilo Schwarz
On Thursday 14 October 2004 00:57, Harald Weidner wrote: Hallo, Dominique-Holger SCHRAMM [EMAIL PROTECTED]: ich bin auf der Suche nach einem Perl oder andere Skript wo ich die aktuellen Systeminformationen meines Rechenrs (Debian Woody) auslesen lassen kann und dann ein Bild generieren

Re: Perl Script gesucht

2004-10-14 Thread Hugo Wau
Am Do, den 14.10.2004 schrieb gebhard dettmar um 14:05: súnt puerí puerí, puerí puerília tráctant ^^^ guerilia so kenne zumindest ich es und die Nachrichtenlage bestaetigt es jeden Tag. Weil Jungens Jungens sind (jeder will den längeren

Re: Perl Script gesucht

2004-10-14 Thread Jan Kesten
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Rainer Bendig wrote: | Immer die Prolls hier ... proll ich mit meinen 52.8 cm hier rum? Völlig sinnfrei - aber willkommen in der gleichen Kategorie (55.9) *lol* - -- GPG-KeyID: 82201FC4 Available at my public keyserver www.gpg-keyserver.de -BEGIN

Re: Perl Script gesucht

2004-10-14 Thread Udo Mueller
Hallo Harald, begin * Harald Weidner schrieb [13-10-04 22:57]: [EMAIL PROTECTED]:~$ cat bin/dicksize.sh #!/bin/sh echo `uptime|grep days|sed 's/.*up \([0-9]*\) day.*/\1\/10+/'; \ cat /proc/cpuinfo|grep MHz|awk '{print $4/30 +;}'; free|grep '^Mem' \ | awk '{print $3/1024/3+}'; df -P -k -x

Re: Perl Script gesucht

2004-10-14 Thread gebhard dettmar
On Thursday 14 October 2004 15:01, Hugo Wau wrote: Am Do, den 14.10.2004 schrieb gebhard dettmar um 14:05: súnt puerí puerí, puerí puerília tráctant ^^^ guerilia so kenne zumindest ich es und die Nachrichtenlage bestaetigt es jeden

Re: Perl Script gesucht

2004-10-14 Thread Malte Buck
Hi, damit gehts endlich :) (Total Memory) [EMAIL PROTECTED]:~/bin$ ./dicksize.sh 92.9cm (Used) [EMAIL PROTECTED]:~/bin$ ./dicksize.sh 18.5cm Nur die mistige Prozessortacktung macht alles kaputt ;) mfg Malte Am Donnerstag, 14. Oktober 2004 17:05 schrieb Udo Mueller: [anderes script]

Re: Perl Script gesucht

2004-10-14 Thread Andreas Schmidt
On 2004.10.14 18:21, Malte Buck wrote: Hi, damit gehts endlich :) (Total Memory) [EMAIL PROTECTED]:~/bin$ ./dicksize.sh 92.9cm (Used) [EMAIL PROTECTED]:~/bin$ ./dicksize.sh 18.5cm Nur die mistige Prozessortacktung macht alles kaputt ;) Das kann man aber locker kompensieren, indem man noch paar

Re: Perl Script gesucht

2004-10-14 Thread Harald Weidner
Hallo, Udo Mueller [EMAIL PROTECTED]: Damit hast du jetzt was losgetreten: So kommt es mir auch vor. ;-) Da sich das Skript anscheinend großer Beliebtheit erfreut, möchte ich die Quelle angeben, von der ich es damals bezogen habe: http://www.symlink.ch/articles/03/02/05/1841248.shtml

Re: Perl Script gesucht

2004-10-14 Thread Malte Buck
Das kann man aber locker kompensieren, indem man noch paar HDDs einhaengt. :-) Oder ich fahr den Prozessor auf seine maximale Taktung von 2Ghz hoch. Im Augenblick läuft er auf 900 MHz, wegen des Lüfters :) Hab das Teil mal auf meinem Arbeitsrechner (Athlon 1800XP) und WG- Fileserver (Duron

Re: Perl Script gesucht

2004-10-14 Thread Andreas Pakulat
On 14.Oct 2004 - 14:02:31, Rainer Bendig wrote: Hi Andreas Pakulat, *, Andreas Pakulat wrote on Thu Oct 14, 2004 at 01:30:03PM +0200: Och mensch, das geht ja nur mit min. 1 day :-( Noe ... dicksize.sh 55.9cm uptime 14:01:28 up 3:55, 6 users, load average: 0.00, 0.02, 0.00 Des is

Re: Perl Script gesucht

2004-10-14 Thread Jens Kasten
So komme ich wenigstens auf [EMAIL PROTECTED]:~ [16:57:46]$ bin/dicksize.sh 82.0cm [EMAIL PROTECTED]:~$ ./dicksize.sh 96.7cm [EMAIL PROTECTED]:~ [16:58:02]$ bin/dicksize.sh 112.3cm :) [EMAIL PROTECTED]:~$ sh dicksize.sh 51.5cm [EMAIL PROTECTED]:~$ sh dickzise.sh 97.2cm einfach ein bissle

Perl Script gesucht

2004-10-13 Thread Dominique-Holger SCHRAMM
D.Schramm Hallo, ich bin auf der Suche nach einem Perl oder andere Skript wo ich die aktuellen Systeminformationen meines Rechenrs (Debian Woody) auslesen lassen kann und dann ein Bild generieren lasse das ich dann als Signatur verwenden kann. Weiss jemand wo ich ein solches Skript bekommen

Re: Perl Script gesucht

2004-10-13 Thread Philipp Meier
On Wed, Oct 13, 2004 at 08:23:34PM +0200, Dominique-Holger SCHRAMM wrote: Hallo, ich bin auf der Suche nach einem Perl oder andere Skript wo ich die aktuellen Systeminformationen meines Rechenrs (Debian Woody) auslesen lassen kann und dann ein Bild generieren lasse das ich dann als Signatur

Re: Perl Script gesucht

2004-10-13 Thread Dominique-Holger SCHRAMM
Am Wed, 13 Oct 2004 22:24:10 +0200, schrieb Philipp Meier Philipp Meier [EMAIL PROTECTED]: Anstatt mir eine Antowrt auf meine Frage zu geben, bekommt man hier zur Last gelegt man würde sich auf der niederen Schiene eines Proletariers wie du bewegen, oder woher kennst du die Vergleiche so gut?

Re: Perl Script gesucht

2004-10-13 Thread Andreas Pakulat
On 13.Oct 2004 - 22:41:11, Dominique-Holger SCHRAMM wrote: Am Wed, 13 Oct 2004 22:24:10 +0200, schrieb Philipp Meier Philipp Meier [EMAIL PROTECTED]: Anstatt mir eine Antowrt auf meine Frage zu geben, bekommt man hier zur Last gelegt man würde sich auf der niederen Schiene eines Proletariers

Re: Perl Script gesucht

2004-10-13 Thread Harald Weidner
Hallo, Dominique-Holger SCHRAMM [EMAIL PROTECTED]: ich bin auf der Suche nach einem Perl oder andere Skript wo ich die aktuellen Systeminformationen meines Rechenrs (Debian Woody) auslesen lassen kann und dann ein Bild generieren lasse das ich dann als Signatur verwenden kann. [EMAIL

Re: Perl Script gesucht

2004-10-13 Thread Udo Mueller
Hallo Harald, begin * Harald Weidner schrieb [13-10-04 22:57]: [EMAIL PROTECTED]:~$ cat bin/dicksize.sh #!/bin/sh echo `uptime|grep days|sed 's/.*up \([0-9]*\) day.*/\1\/10+/'; \ cat /proc/cpuinfo|grep MHz|awk '{print $4/30 +;}'; free|grep '^Mem' \ | awk '{print $3/1024/3+}'; df -P -k -x

Re: Perl Script gesucht

2004-10-13 Thread Frank Dietrich
Servus Harald, Harald Weidner [EMAIL PROTECTED] wrote: [EMAIL PROTECTED]:~$ cat bin/dicksize.sh #!/bin/sh echo `uptime|grep days|sed 's/.*up \([0-9]*\) day.*/\1\/10+/'; \ cat /proc/cpuinfo|grep MHz|awk '{print $4/30 +;}'; free|grep '^Mem' \| awk '{print $3/1024/3+}'; df -P -k -x nfs | grep

Re: Perl Script gesucht

2004-10-13 Thread MRitch
Am 2004-10-14 01:13:21 schrieb(en) Udo Mueller: Hallo Harald, begin * Harald Weidner schrieb [13-10-04 22:57]: [EMAIL PROTECTED]:~$ cat bin/dicksize.sh #!/bin/sh echo `uptime|grep days|sed 's/.*up \([0-9]*\) day.*/\1\/10+/'; \ cat /proc/cpuinfo|grep MHz|awk '{print $4/30 +;}';

starting Perl script from inetd

2004-06-27 Thread socrel
Trying to start a Perl smtp(port 25) server from inetd. Script works OK as stand alone but fails to start from inetd. (In fact this has reached you through the same code, but running on a different port) Question 1: Is there a way to log inetd? Question 2: should the server be started

Re: starting Perl script from inetd

2004-06-27 Thread Stephen Patterson
On Sun, 27 Jun 2004 20:20:05 +0200, [EMAIL PROTECTED] wrote: Trying to start a Perl smtp(port 25) server from inetd. Failed to start server :Address already in use (in cleanup) Can't call method close on an undefined value at /usr/lib/perl5/site_perl/5.6.1/Net/SMTP/Server.pm line

Re: starting Perl script from inetd

2004-06-27 Thread Bob Proulx
like inetd was listening on port 25, started up your perl script, your perl tried to open port 25 again. Of course that won't work. -- some of different ways I have tried to start the server my $srv = new Net::SMTP::Server( 'localhost', 25 ) my $srv = new Net::SMTP::Server( '0.0.0.0', 25 ) my

Re: Need a shell or perl script

2004-02-23 Thread Deboo
On Sun, 22 Feb 2004, Monique Y. Herman wrote: On 2004-02-22, Deboo penned: but I know neither. Not that I do not want to learn, but I need help to get this list. Can anyone help me out by giving the commands needed to do this? If they think this I am asking for mass e-mail, then I could

Re: Need a shell or perl script

2004-02-23 Thread Monique Y. Herman
On 2004-02-23, Deboo penned: On Sun, 22 Feb 2004, Monique Y. Herman wrote: On 2004-02-22, Deboo penned: but I know neither. Not that I do not want to learn, but I need help to get this list. Can anyone help me out by giving the commands needed to do this? If they think this I am asking

Need a shell or perl script

2004-02-22 Thread Deboo
Over the years, I have been using many email clients from windows to linux and have been saving lots of old personal emails. I have many them in many different formats as per the MUA. They are a lot. Now, I could search for one or two email addresses whenever I need to, having kept all these

Re: Need a shell or perl script

2004-02-22 Thread Bijan Soleymani
On Sun, Feb 22, 2004 at 10:51:58PM +0530, Deboo wrote: Now, I could search for one or two email addresses whenever I need to, having kept all these different mailboxes in one directory. Never having made an addressbook, is what caused this problem. I would like to sort, search and make a list

Re: Need a shell or perl script

2004-02-22 Thread Gregory Seidman
On Sun, Feb 22, 2004 at 10:51:58PM +0530, Deboo wrote: } Over the years, I have been using many email clients from windows to linux } and have been saving lots of old personal emails. I have many them in many } different formats as per the MUA. They are a lot. } } Now, I could search for one or

Re: Need a shell or perl script

2004-02-22 Thread Monique Y. Herman
On 2004-02-22, Deboo penned: Over the years, I have been using many email clients from windows to linux and have been saving lots of old personal emails. I have many them in many different formats as per the MUA. They are a lot. Now, I could search for one or two email addresses whenever I

segfault while loading perl script on irssi.

2003-10-02 Thread flibus
I took a look on bugs.debian.org but i didn't find any bug report about this one. I'm on a testing/unstable debian with a 2.4.21 kernel taken from the kernel source pacakges and irssi segfault while i want to load perl scripts. In /etc/apt/source.list i got :

Re: segfault while loading perl script on irssi.

2003-10-02 Thread Dave Carrigan
On Thu, Oct 02, 2003 at 06:05:25PM +0200, flibus wrote: I took a look on bugs.debian.org but i didn't find any bug report about this one. I'm on a testing/unstable debian with a 2.4.21 kernel taken from the kernel source pacakges and irssi segfault while i want to

[perl] script firewall en setuid root - insecure dependency

2003-08-30 Thread Gregoire Cachet
Bonjour, J'essaye de mettre au point un petit script en perl pour pouvoir modifier quelques regles de mon firewall sans tre connect en root Quand ppp se connecte, il place l'adresse IP que me donne mon provider dans /var/www/serveur/ip.conf, qui a les droits : -rwxr--r--1 root www-data

Re: [perl] script firewall en setuid root - insecure dependency

2003-08-30 Thread François Boisson
On Sat, 30 Aug 2003 09:15:10 +0200 Gregoire Cachet [EMAIL PROTECTED] wrote: Bonjour, Bonjour $ENV{'PATH'} = '/bin:/usr/bin:/sbin'; puet être le /sbin dans le PATH (je n'y crois pas, cf plutôt plus bas) system($iptables. -t nat -A PREROUTING -i ppp+ -p tcp -d .$ip. --dport 4661 -j

Re: [perl] script firewall en setuid root - insecure dependency

2003-08-30 Thread Gregoire Cachet
Le sam 30/08/2003 12:18, Franois Boisson a crit : Bonjour Bonjour, $ENV{'PATH'} = '/bin:/usr/bin:/sbin'; puet tre le /sbin dans le PATH (je n'y crois pas, cf plutt plus bas) je viens de le retirer, il servait a rien de toute les facons, parce que j'avais my $iptables =

perl script compilieren

2003-07-26 Thread Mario Duve
Hallo, Ich wollte mit perlcc -o hello hello.pl das Script compilieren. Es kommt aber folgende Fehlermeldung: /tmp/cchqibiM.o: In function `dl_init': /tmp/cchqibiM.o(.text+0x9e397): undefined reference to `boot_DBI' collect2: ld returned 1 exit status Kann mir jemand sagen, wo hier das Problem

Re: catch the output of an app in a perl script

2002-12-08 Thread Michael Naumann
07.12.2002 01:18:56, Shyamal Prasad [EMAIL PROTECTED] wrote: It's been some years since I've done real perl programming (thank God for Python!), but the original poster might find it interesting that the pipe open syntax allows the program to read the output when it is ready. The backquotes

catch the output of an app in a perl script

2002-12-06 Thread Raffaele Sandrini
Hi How can i catch the output of a program runned in a perl script? the system() command returns the return value of a app, doesn't it? do i have to do something like read(STDIN) ? cheers, Raffaele -- +++ GMX - Mail, Messaging more http://www.gmx.net +++ NEU: Mit GMX ins Internet

Re: catch the output of an app in a perl script

2002-12-06 Thread Michael Naumann
On Friday 06 December 2002 12:56, Colin Watson wrote: On Fri, Dec 06, 2002 at 12:35:08PM +0100, Raffaele Sandrini wrote: How can i catch the output of a program runned in a perl script? Use the pipe open syntax. The perlopentut man page will help. Or even easier, use $output = `cmd

Re: catch the output of an app in a perl script

2002-12-06 Thread Shyamal Prasad
Michael == Michael Naumann [EMAIL PROTECTED] writes: Michael On Friday 06 December 2002 12:56, Colin Watson wrote: On Fri, Dec 06, 2002 at 12:35:08PM +0100, Raffaele Sandrini wrote: How can i catch the output of a program runned in a perl script? Use the pipe

Re: catch the output of an app in a perl script

2002-12-06 Thread Colin Watson
On Fri, Dec 06, 2002 at 06:18:56PM -0600, Shyamal Prasad wrote: Michael == Michael Naumann [EMAIL PROTECTED] writes: Michael On Friday 06 December 2002 12:56, Colin Watson wrote: Use the pipe open syntax. The perlopentut man page will help. Michael Or even easier, use

Re: mirror, the perl script mirroring package

2002-06-19 Thread Walter Tautz
On Tue, 18 Jun 2002, Paul E Condon wrote: I am attempting to setup a local private mirror of debian using the perl script package. It has run for several days. It quits from time to time and waits for the next initiation event from crontab, but it can't seem to clear its queue of requests

Re: mirror, the perl script mirroring package

2002-06-19 Thread Alex Malinovich
On Wed, 2002-06-19 at 15:02, Walter Tautz wrote: I am attempting to setup a local private mirror of debian using the perl script package. It has run for several days. It quits from time to time and waits for the next initiation event from crontab, but it can't seem to clear its queue

mirror, the perl script mirroring package

2002-06-18 Thread Paul E Condon
I am attempting to setup a local private mirror of debian using the perl script package. It has run for several days. It quits from time to time and waits for the next initiation event from crontab, but it can't seem to clear its queue of requests to set up softlink into the pool. I've tried

perl script to replace html login?

2002-02-08 Thread Martin Fluch
Hi! Is there a easy way to make a perl skript to send an http post request produced by the following html form? FORM METHOD=post ENCTYPE=application/x-www-form-urlencoded INPUT TYPE=text NAME=login INPUT TYPE=password NAME=pass INPUT TYPE=submit NAME=Login VALUE=Login /FORM The reply of the

Re: perl script to replace html login?

2002-02-08 Thread Pietro Cagnoni
Hi! Is there a easy way to make a perl skript to send an http post request produced by the following html form? FORM METHOD=post ENCTYPE=application/x-www-form-urlencoded INPUT TYPE=text NAME=login INPUT TYPE=password NAME=pass INPUT TYPE=submit NAME=Login VALUE=Login /FORM The

Re: perl script to replace html login?

2002-02-08 Thread Johannes Franken
On Fri, Feb 08, 2002 at 02:01:30PM +0200, Martin Fluch wrote: Is there a easy way to make a perl skript to send an http post request apt-get install libwww-perl man 1p POST -- Johannes Franken Professional unix/network development mailto:[EMAIL PROTECTED] http://www.jfranken.de/

Cannot run a perl script | Fail to install php4

2001-08-02 Thread Andreas
Hi there! I have just run into a strange problem. I am installing (or try to ) PHP4 for Apache 1.3.20. The installation of Apache was as smooth as possible. But now, when I tryed to configure PHP, I suddently faced the following problem: apxs wont run!! file says: /opt/httpd/bin/apxs: perl

Setuid Perl script works on one slink box, doesn't work on the other

1999-09-22 Thread Andrew Pollock
Hi, We've got two relatively new slink boxes, both running 2.2.12, and I've got a setuid Perl script that doesn't work on one, but does on the other. Permissions are the same, everything (that I can think of) is the same... It's Perl 5.004_04. On the box that won't run the script, it barfs

Re: Setuid Perl script works on one slink box, doesn't work on the other

1999-09-22 Thread Seth R Arnold
Is perl-5.004-suid installed on one and not hte other? On Wed, Sep 22, 1999 at 12:40:34PM +1000, Andrew Pollock wrote: Hi, We've got two relatively new slink boxes, both running 2.2.12, and I've got a setuid Perl script that doesn't work on one, but does on the other. Permissions

Quake 2 - not a perl script?

1999-03-10 Thread Peter Ludwig
I've just gotten Quake 2, and the startup script in /usr/games returns the following error message :- Not a perl script at /usr/games/quake2 line 1. Anyone know what's going on here? I've just upgraded most of my sytsem to slink, and I waited to install Quake 2 until after I did the upgrade

Re: perl script

1999-02-08 Thread Jiri Baum
Hamish Moffatt: [about DOS lineends] vim has always hidden these characters, AFAIK. nvi doesn't. :set ff=unix Or did I already write that? It changes the mode for the current file from whatever it was to Unix. Jiri -- [EMAIL PROTECTED] We'll know the future has arrived when every mailer

Re: perl script

1999-02-07 Thread Hamish Moffatt
On Thu, Jul 17, 1997 at 11:43:58AM -0700, Mike Schmitz wrote: mike:~$ invoice -n Illegal character \015 (carriage return) at /home/mschmitz/bin/invoice line 3. (Maybe you didn't strip carriage returns after a network transfer?) -- Snip -- The only transfers this

Re: perl script

1999-02-07 Thread Miquel van Smoorenburg
In article [EMAIL PROTECTED], Hamish Moffatt [EMAIL PROTECTED] wrote: [about CRLF at the end of a line] vim has always hidden these characters, AFAIK. nvi doesn't. vim -b file :%!col -b Mike. -- Indifference will certainly be the downfall of mankind, but who cares?

Re: perl script

1999-02-06 Thread Jiri Baum
Mike Schmitz: I don't have pico, and usually use only vim. Vim showed no ^M's so I was fairly satisfied that they did not exist. ... Is vim now trying to be compatible with M$?!! Yeah, vim is trying to be too clever. :set ff=unix or :set fileformat=unix For more info, :help

Re: perl script

1999-02-05 Thread Mike Schmitz
On Jul 17, Ben Gertzfield wrote Mike == Mike Schmitz [EMAIL PROTECTED] writes: Mike I upgraded my system to hamm recently, and I am having Mike trouble with a script I have been using to create Mike invoices. The error message is: Mike -- Snip -- Mike

perl script

1999-02-05 Thread Mike Schmitz
I upgraded my system to hamm recently, and I am having trouble with a script I have been using to create invoices. The error message is: -- Snip -- mike:~$ invoice -n Illegal character \015 (carriage return) at /home/mschmitz/bin/invoice line 3. (Maybe you didn't strip carriage returns

  1   2   >