| phroggy | yay! |
| SupremeCommander | Hi! I've got evil problems :( no connection to syslog available - _PATH_LOG not available in syslog.h at ../..//Kernel/System/Log/SysLog.pm line 64 specifically those problems :( |
| Randal | you might not be running syslog |
| SupremeCommander | syslog-ng is up and running and catching messages |
| Randal | did you install that module from CPAN, or from a package? |
| SupremeCommander | which module? |
| Randal | whatever provided Kernel/System/Log/SysLog.pm I don't recognize it, actually |
| SupremeCommander | hmm I'm not sure where it came from, but I'll check and see if I can narrow that down |
| Randal | did you write the code that uses it? |
| dngor | splitter: Correct. It takes the two-octet length and returns an integer. |
| Randal | as in, did you write code that looks like "use That::Module"? |
| SupremeCommander | Randal: no I didn't write the code I'm trying to set up otrs |
| splitter | dngor, then i don't understand why i would want to return that information, i thought the decoder function has to return a ready-to-parse string. |
| SupremeCommander | ./opt/otrs/Kernel/System/Log/SysLog.pm looks like it's part of the otrs package... yeah, that's the only place it is on the entire system |
| hobbs | then we can't exactly provide a lot of help |
| dngor | splitter: I'm going by the docs: "Sensibly enough, the corresponding decoder removes the prepended length and separator, returning its numeric value. It returns nothing if no length can be determined. |
| hobbs | try to find some OTRS support types |
| Randal | SupremeCommander - if you didn't write the code, please contact the author this channel is not for end-user support |
| SupremeCommander | oki |
| Randal | this channel is for Perl programmers helping Perl programmers if you're not that, move along. |
| LinuxMafia | all : is there any module that gives information about cities? like population , geographic info ..etc |
| SupremeCommander | well I'd thought it was an issue with syslog-ng and perl, because I'd found that somewhere else but thanks anyway |
| splitter | dngor, wait.. that.. means.. i just have to calculate the length and return it, and the block filter will automatically do the rest? |
| action | Randal . o O (how could it be an issue with perl?) |
| Randal | . o O (how could it be an issue with perl?) |
| dngor | splitter: Yes, that's what the docs say. |
| Gurft | I'm trying to figure out why DBD:SQLite has a problem working with my database, when my script is executed by the 'nobody' user. |
| Randal | LinuxMafia - where do you expect the data to come from? |
| splitter | dngor, ow, if i just had known that earlier :D thank you so much for your patience :) |