Author Topic: pls help- solserver AUTO ban/unban - fault: I/O error #103  (Read 2434 times)

0 Members and 1 Guest are viewing this topic.

Offline blamer

  • Major(1)
  • Posts: 8
pls help- solserver AUTO ban/unban - fault: I/O error #103
« on: April 30, 2013, 09:18:04 am »
How can I stop this auto-shutdown happening again... ?

8PM: HAPPY AND HEALTHY:

13-04-30 20:15:53 Net - Al|)O.o nA <3 connected 30-04-13 08:15:53 PM
13-04-30 20:25:24 Net - Al|)O.o nA <3 disconnected 30-04-13 08:25:24 PM
13-04-30 20:27:06 TCP/IP File Server started
13-04-30 20:44:20 Net - major connected 30-04-13 08:44:20 PM
13-04-30 20:44:21 Net - major connected 30-04-13 08:44:21 PM


8:45PM: HOUSTAN, WE HAVE A PROBLEM:

major is flooding the server
major gets a ping warning
major gets a ping warning
major has been kicked and banned for 15 minutes (Ping Kick)
File logging error (W1): 103

8:45PM: OKAY AUTO-BANNED, PHEW, CRISIS AVERTED:

13-04-30 20:46:04 Net - major disconnected 30-04-13 08:46:04 PM
Time Left: 5 minutes
Time Left: 4 minutes
Time Left: 3 minutes
Time Left: 2 minutes
Time Left: 1 minutes
Next map: inf_Outpost
Outpost (remake by L[one]R)
Time Left: 15 minutes
13-04-30 20:57:07 TCP/IP File Server started


9PM: AUTO-UNBANNED, OH NO, WTF, MAYDAY MAYDAY:

IP number 80.83.239.87 (Ping Kick) unbanned
Hardware ID 267AE5DA855 (Ping Kick) unbannedServer Encountered an error:
I/O error 103


13-04-30 21:00:07 Destroying Devices.
13-04-30 21:00:07 End of Log.

13-04-30 21:00:07 IP number 80.83.239.87 (Ping Kick) unbanned
13-04-30 21:00:07 Hardware ID 267AE5DA855 (Ping Kick) unbanned

9PM AND 7 SECONDS ...YOU'RE TERMINATED:

13-04-30 21:00:07 Shutting down server...
13-04-30 21:00:07 Shutting down FileServer...
13-04-30 21:00:07 Shutting down admin server...

ls: cannot access soldatserver.pid: No such file or directory
cat: soldatserver.pid: No such file or directory
soldatserver PID =


Thanks in advance,
- @B ..

Offline blamer

  • Major(1)
  • Posts: 8
Re: pls help- solserver AUTO ban/unban - fault: I/O error #103
« Reply #1 on: April 30, 2013, 09:34:47 am »
I just now noticed this...

-rw-r--r-- 1 root root 0 2013-04-28 14:30 bannedhw.txt
-rw-r--r-- 1 root root 0 2013-04-28 14:30 banned.txt

So I chmod'd a+w...

-rw-rw-rw- 1 root root 0 2013-04-28 14:30 bannedhw.txt
-rw-rw-rw- 1 root root 0 2013-04-28 14:30 banned.txt

But seriously, you think the above wrong file permissions (ban/unban = I/O error 103) killed my solserver or?

Some wicked co-incidence if at 9pm and 7secs my solserver auto-unbans (err 103's) and dies.

Offline TheOne

  • Soldier
  • **
  • Posts: 208
Re: pls help- solserver AUTO ban/unban - fault: I/O error #103
« Reply #2 on: April 30, 2013, 11:51:08 pm »
if I remember right, Falcon said that I/O 103 was caused by file access to a non-existant folder. Do you use any scripts, or happen to have removed a vital folder accidently? :p

Offline Falcon`

  • Flagrunner
  • ****
  • Posts: 792
  • A wanted lagger
Re: pls help- solserver AUTO ban/unban - fault: I/O error #103
« Reply #3 on: May 01, 2013, 02:18:22 pm »
It's generally exception about inaccessible files, in most cases because of non-existent path (missing folder). But in this case, as long as server wasn't run as root, the permissions were the cause.
If you're not paying for something, you're not the customer; you're the product being sold.
- Andrew Lewis

Always code as if the guy who ends up maintaining your code will be a violent psychopath who knows where you live.

Offline blamer

  • Major(1)
  • Posts: 8
Re: pls help- solserver AUTO ban/unban - fault: I/O error #103
« Reply #4 on: May 01, 2013, 10:21:45 pm »
Thanks guys, no scripts, nor removing of a vital folder.

So I get the err103 is the solserver complaining when it tries to ban and then again later when it tries to unban.

Question is, why didn't the ban's err103 kill the solserver process... but then 15mins later (to the second) the unban's err103 killed it?

You're saying Linux solserver v2.7.3 can run along happily after a #103 error if it's on a ban, but dies instantly with the #103 on unban.....right? Bug. Or just a fluke event on my box on 13-04-30.

Offline Falcon`

  • Flagrunner
  • ****
  • Posts: 792
  • A wanted lagger
Re: pls help- solserver AUTO ban/unban - fault: I/O error #103
« Reply #5 on: May 05, 2013, 07:21:13 am »
Exception handling in soldat is a mess. As you can see.
If you're not paying for something, you're not the customer; you're the product being sold.
- Andrew Lewis

Always code as if the guy who ends up maintaining your code will be a violent psychopath who knows where you live.

DarkCrusade

  • Guest
Re: pls help- solserver AUTO ban/unban - fault: I/O error #103
« Reply #6 on: May 06, 2013, 04:16:50 pm »
Add an auto-restarter to your server so you do not have to do it manually everytime that happens. The problem persists, but has less impact.