"Duplicate serials" message – POL hangs up

Open discussion forum. For topics that do not fit anywhere else.
Post Reply
ghinzu
New User
Posts: 8
Joined: Fri May 10, 2013 12:32 pm

"Duplicate serials" message – POL hangs up

Post by ghinzu »

All of a sudden at the loading POL started throwing this message "Duplicate serials found in data files!" and then filling the screen with dots till eternity. What might be the problem? I have storage and items files that weigh over 50 mb so there's no manual way to find "duplicates"..
Yukiko
Distro Developer
Posts: 2826
Joined: Thu Feb 02, 2006 1:41 pm

Re: "Duplicate serials" message – POL hangs up

Post by Yukiko »

Which file is being read when this occurs?

It sounds like the data file(s) became corrupted somehow. Did you make any changes to the data files directly? Did you make any changes to your server immediately prior to this error happening?

If I were having this problem I'd go back and see if I made any changes that might have corrupted the data file(s). If you tried editing a data file in an editor rather than letting POL make changes to it you can cause file corruption. I've had that happen when I tried to manually remove an item, well it was an NPC actually, that was wreaking havoc on my shard.
ghinzu
New User
Posts: 8
Joined: Fri May 10, 2013 12:32 pm

Re: "Duplicate serials" message – POL hangs up

Post by ghinzu »

Yukiko wrote:Which file is being read when this occurs?

It sounds like the data file(s) became corrupted somehow. Did you make any changes to the data files directly? Did you make any changes to your server immediately prior to this error happening?

If I were having this problem I'd go back and see if I made any changes that might have corrupted the data file(s). If you tried editing a data file in an editor rather than letting POL make changes to it you can cause file corruption. I've had that happen when I tried to manually remove an item, well it was an NPC actually, that was wreaking havoc on my shard.
Oh no, I haven't done anything, the same data files work perfectly on another (windows) POL installation. When I copy them over to linux, this happens (+I converted them to unix format, still gives nothing).
Last edited by ghinzu on Mon Jun 03, 2013 5:19 am, edited 1 time in total.
Yukiko
Distro Developer
Posts: 2826
Joined: Thu Feb 02, 2006 1:41 pm

Re: "Duplicate serials" message – POL hangs up

Post by Yukiko »

That's weird.

I can't think of any reason why that's happening. Sorry. Maybe someone else knows.
ghinzu
New User
Posts: 8
Joined: Fri May 10, 2013 12:32 pm

Re: "Duplicate serials" message – POL hangs up

Post by ghinzu »

It goes like this:

Code: Select all

Loading package in pkg/systems/attributes/
Reading data files:
  data/accounts.txt:.... 4487 elements in 130 ms.
  data/pol.txt: 2 elements in 2 ms.
  data/objects.txt: 0 elements in 0 ms.
  data/pcs.txt:.............. 14981 elements in 3343 ms.
  data/pcequip.txt:............... 14376 elements in 817 ms.
  data/npcs.txt:......... 9438 elements in 2329 ms.
  data/npcequip.txt:.... 3578 elements in 629 ms.
  data/items.txt:............................................................................... 78972 elements in 4371 ms.
  data/multis.txt: 16 elements in 2 ms.
  data/storage.txt:....... 7973 elements in 410 ms.
  data/parties.txt: 31 elements in 0 ms.
Done! 12045 milliseconds.
Running startup script.
.syslog [scripts/start.ecl]: Creating dungeon teleporters...
............................328 dungeon teleporters created
0 teleporter errors
 
"Duplicate serials found in data files!"
 
....................................................................................................................................
...............................................................................................................
RusseL
Forum Regular
Posts: 375
Joined: Fri Feb 20, 2009 8:30 pm

Re: "Duplicate serials" message – POL hangs up

Post by RusseL »

Which pol version do you use? Svn or beta from site? As I remember there was a bug with datafiles because of new linux gcc interp. or smthng like this
ghinzu
New User
Posts: 8
Joined: Fri May 10, 2013 12:32 pm

Re: "Duplicate serials" message – POL hangs up

Post by ghinzu »

SVN rev572 + all the linux patches.

Using rev626 yields the same result... If I use a different set of datafiles, however, everything is fine. Which is strange since I copied them from the same Windows environment (both sets of datafiles work perfectly fine under Windows).
RusseL
Forum Regular
Posts: 375
Joined: Fri Feb 20, 2009 8:30 pm

Re: "Duplicate serials" message – POL hangs up

Post by RusseL »

Looks like duplicate serials are in storage.text
If u have a good spawn system u can try to kill all NPCs in the world :-)
ghinzu
New User
Posts: 8
Joined: Fri May 10, 2013 12:32 pm

Re: "Duplicate serials" message – POL hangs up

Post by ghinzu »

RusseL wrote:Looks like duplicate serials are in storage.text
If u have a good spawn system u can try to kill all NPCs in the world :-)
Nah, I just tried to delete storage/npcs (and to create blank files), same result.
ghinzu
New User
Posts: 8
Joined: Fri May 10, 2013 12:32 pm

Re: "Duplicate serials" message – POL hangs up

Post by ghinzu »

RusseL wrote:Which pol version do you use? Svn or beta from site? As I remember there was a bug with datafiles because of new linux gcc interp. or smthng like this
Where can I read more about this?
Post Reply