Crash on Debian 6
 

News:

29 December 2022 - PtokaX 0.5.3.0 (20th anniversary edition) released...
11 April 2017 - PtokaX 0.5.2.2 released...
8 April 2015 Anti child and anti pedo pr0n scripts are not allowed anymore on this board!
28 September 2015 - PtokaX 0.5.2.1 for Windows 10 IoT released...
3 September 2015 - PtokaX 0.5.2.1 released...
16 August 2015 - PtokaX 0.5.2.0 released...
1 August 2015 - Crowdfunding for ADC protocol support in PtokaX ended. Clearly nobody want ADC support...
30 June 2015 - PtokaX 0.5.1.0 released...
30 April 2015 Crowdfunding for ADC protocol support in PtokaX
26 April 2015 New support hub!
20 February 2015 - PtokaX 0.5.0.3 released...
13 April 2014 - PtokaX 0.5.0.2 released...
23 March 2014 - PtokaX testing version 0.5.0.1 build 454 is available.
04 March 2014 - PtokaX.org sites were temporary down because of DDOS attacks and issues with hosting service provider.

Main Menu

Crash on Debian 6

Started by swee, 11 March, 2012, 21:03:27

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

swee

Nice Guide
Ptokax up and runing in no time .
But Ptokax stops working after a few hours. How come ?
I havent found out why.
Some times it will run for 5 hours next time only 1 hour.
the computer doesnt go down during the time.

Any suggestions .
Runing it on Debian 6.
Hope you understand what I mean.
/regards swee

PPK

What PtokaX version ? What scripts you are using ? Afaik on debian luasocket is crashing PtokaX  ::)
"Most of you are familiar with the virtues of a programmer. There are three, of course: laziness, impatience, and hubris." - Larry Wall

swee

#2
Sorry forgot.
Tried Ptokax 0.4.2.0 first .
Then whit 0.4.1.2 .
whit the script NoPubHub 1.0f LUA 5.1x [Strict][API 2]

the scripts run whit no problem on a windows machine

Had same problems on both Ptokax versions.

Will it run on Ubuntu  then ?

Thanx for reply.
/regards swee

PPK

Quote from: swee on 11 March, 2012, 22:00:25
scripts
I see only one script in your post. Anyway i'm running my public hub on free VPS with debian 6.0 without problems mostly with uptimes longer than week, most time from one VPS crash to another VPS crash ;D
"Most of you are familiar with the virtues of a programmer. There are three, of course: laziness, impatience, and hubris." - Larry Wall

swee

#4
Well You are so right it is only one script.  :D
But I will give it a go and try it whitout any script to see if there is any changes.

Is there some issues with some scripts ?
I figured if they are working on an Windows machine they should work on an Linux machine as well.


/regards swee

PPK

Few users reported that script using luasocket causes random crashes on debian  ::)
"Most of you are familiar with the virtues of a programmer. There are three, of course: laziness, impatience, and hubris." - Larry Wall

swee

So I guesss i can remove scripts from causing the problem then.

Hmm makes one wonder what makes it crash.

well maybe i should try another Linux dist then. ::)

/regards swee

PPK

You can try to disable script errors loging. I has yesterday crash caused by typo in script, i'm searched what happen and found that in some rare cases this can cause crash  ::)
"Most of you are familiar with the virtues of a programmer. There are three, of course: laziness, impatience, and hubris." - Larry Wall

swee

I have been fighting with this a few days now. And not using any scripts at all.
But whith a clean install I can not get PtokaX to run cause off some error in settings.xml.
So then I took mine from the one i run on windows. started up and run for 2 hours.
then it died again.
in the settings.xml from windows there is not so much in it as in the one for linux.

it looks like this.(the settings.xml from windows)

<?xml version="1.0" encoding="windows-1252" standalone="yes" ?>
<PtokaX Version="0.4.2.0">
    <Booleans>
        <Bool Name="AutoStart">1</Bool>
        <Bool Name="AutoRegister">0</Bool>
        <Bool Name="RegBot">0</Bool>
        <Bool Name="UseBotNickAsHubSec">0</Bool>
        <Bool Name="RegOpChat">0</Bool>
        <Bool Name="MOTDAsPm">1</Bool>
    </Booleans>
    <Integers>
        <Integer Name="MaxUsersPeak">15</Integer>
    </Integers>
    <Strings>
        <String Name="HubName">Fromabove</String>
        <String Name="HubAddress">172.16.16.245</String>
        <String Name="TCPPorts">411;1209</String>
        <String Name="HubTopic">Share as U wishl</String>
    </Strings>
</PtokaX>

Is the Ptokax stopping cause of to little in the settings or to much with a clean install.
if so what is needed to make it run with as little as possible ?
and yes I know the hubaddress should probably be an dns adress  :-[

/regards swee



PPK

Use GDB to get reason of crash... ::)
"Most of you are familiar with the virtues of a programmer. There are three, of course: laziness, impatience, and hubris." - Larry Wall

SMF spam blocked by CleanTalk