Unable to write tunefile?

These are old archives. They are kept for historic purposes only.
Post Reply
Ghost4126
Posts: 22
Joined: Sat Apr 24, 2004 9:08 pm

Unable to write tunefile?

Post by Ghost4126 »

I keep getting an error message while opered,

Unable to write tunefile...

I was wondering what i should do to fix this. I also wondered what the tune file was?

I run the Win32 copy with SSL support
katsklaw
Posts: 1124
Joined: Sun Apr 18, 2004 5:06 pm
Contact:

Post by katsklaw »

log into your shell, change to your Unreal run directory and type: touch ircd.tune

You may need to /rehash
Bunnie
Posts: 4
Joined: Thu Mar 18, 2004 4:10 pm

Post by Bunnie »

He's running on win32 not linux


Make sure "ircd.tune" isnt read only
PGP key: 0x69A1F2E1
katsklaw
Posts: 1124
Joined: Sun Apr 18, 2004 5:06 pm
Contact:

Post by katsklaw »

my bad .. but it should still be created if it's missing.
AngryWolf
Posts: 554
Joined: Sat Mar 06, 2004 10:53 am
Location: Hungary
Contact:

Post by AngryWolf »

If such an error message appears, there can be three problems I can think of:

1. You have accidentally deleted the Unreal3.2 installation directory.
2. There's no permission for creating and writing files in the Unreal3.2 directory.
3. ircd.tune exists, but there's no write permission on it.

And yes, the ircd.tune file is created automatically if it doesn't exist. It's updated in every 5 minutes by the ircd. You don't need to "touch" it.
katsklaw
Posts: 1124
Joined: Sun Apr 18, 2004 5:06 pm
Contact:

Post by katsklaw »

uhm ... this is directly from the Unreal3.2 Release Changes file:

"- Fixed a ircd.tune bug (the file may not write if it didn't exist)"

That tells me that you *MAY* need to 'touch' it, besides .. I deleted mine intentionaly and duplicated this issue .. I 'touch'ed ircd.tune and it fixed the problem.
SilentAssassin
Posts: 2
Joined: Mon Jan 10, 2005 1:00 am

Post by SilentAssassin »

I get this same error: Unable to write tunefile.. it tends to happen every five or so minutes, I know for a fact that 'ircd.tune' isn't read only.

How might one touch a file on a win32 based platform and is it even possible?

Everything seemed to run smoothly when I was running 3.2 but when I decided to update too version 3.2.2 this error begun.

Regards,
SilentAssassin
Syzop
UnrealIRCd head coder
Posts: 2179
Joined: Sat Mar 06, 2004 8:57 pm
Location: .nl
Contact:

Post by Syzop »

So far, it always turned out to be a permissions problem, diskspace problem, or someone that simply (re)moved his whole unreal directory :p.

Does ircd.tune exists? If so, try this:

Code: Select all

cacls "C:\Program Files\Unreal3.2\ircd.tune" /G EVERYONE:F
If it did not exist then this:

Code: Select all

echo. >"C:\Program Files\Unreal3.2\ircd.tune"
Followed by the cacls command mentioned 1st.

See if it helps.

Anyone knows a better equivilant of touch at win32? I mean at the command line, not cheating with notepad or anything ;). I thought in the past (pre-windows) rem >file worked, but it seems it no longer does anything?? odd
aquanight
Official supporter
Posts: 862
Joined: Tue Mar 09, 2004 10:47 pm
Location: Boise, ID

Post by aquanight »

Syzop wrote:Anyone knows a better equivilant of touch at win32? I mean at the command line, not cheating with notepad or anything ;). I thought in the past (pre-windows) rem >file worked, but it seems it no longer does anything?? odd
echo is about it. I think Windows isn't to keen on empty files, but...

You might be able to do it with type con > ircd.tune (copy con ircd.tune works too) and then hit CTRL+Z (may need to hit Enter) when the console appears to be hung (why? well con is a special device for "console" - essentially the same as reading from /dev/tty* in *nix). Of course you could just have a general blank file somewhere that you can just copy into place.
SilentAssassin
Posts: 2
Joined: Mon Jan 10, 2005 1:00 am

Post by SilentAssassin »

Yes it did, tyvm for the assistance :).
Post Reply