Unable to open 'tmp' directory

These are old archives. They are kept for historic purposes only.
Post Reply
skorot
Posts: 4
Joined: Sun Aug 28, 2005 3:27 pm

Unable to open 'tmp' directory

Post by skorot »

Hi,
When i do ./Config and then make, i try to start unreal with ./unreal start
but there is one error:

Code: Select all

[error] Unable to open 'tmp' directory: No such file or directory, please create
 one with the appropriate permissions
Possible error encountered (IRCd seemily not started)
but i have a dir named tmp!
i tryd chmod 777 tmp
but there was same error, pls help

skorot
Dukat
Posts: 1083
Joined: Tue Mar 16, 2004 5:44 pm
Location: Switzerland

Post by Dukat »

You need a tmp dir in the same directory UnrealIRCd is in, not /tmp.
If you don't make mistakes, you aren't really trying.
- Coleman Hawkins
skorot
Posts: 4
Joined: Sun Aug 28, 2005 3:27 pm

Post by skorot »

see your self

Code: Select all

[sshd@supermicro Unreal3.2]$ ls
CVS                    badwords.quit.conf     ircdcron
Changes                config.guess           keys
Changes.old            config.log             m_template.c
Config                 config.settings        makefile.win32
Donation               config.status          modulize
INSTALL.REMOTEINC      config.sub             networks
LICENSE                configure              newnet
Makefile               curlinstall            spamfilter.conf
Makefile.in            dccallow.conf          src
README                 doc                    tmp
Unreal.nfo             extras                 unreal
aliases                help.conf              unreal.in
autoconf               include                unrealircd.conf
badwords.channel.conf  install-sh             update
badwords.message.conf  ircd.log               wircd.def  
i have it :\
Dukat
Posts: 1083
Joined: Tue Mar 16, 2004 5:44 pm
Location: Switzerland

Post by Dukat »

And the output of ls -al?
What OS are you using?
If you don't make mistakes, you aren't really trying.
- Coleman Hawkins
skorot
Posts: 4
Joined: Sun Aug 28, 2005 3:27 pm

Post by skorot »

Code: Select all

[sshd@supermicro Unreal3.2]$ ls -al
total 1128
...
drwxrwxrwx   2 sshd     sshd         4096 Aug 28 17:06 tmp
i have Red Hat Linux release 7.2
Syzop
UnrealIRCd head coder
Posts: 2179
Joined: Sat Mar 06, 2004 8:57 pm
Location: .nl
Contact:

Post by Syzop »

And you are in the right installation dir?
Eg:

Code: Select all

$ grep DPATH include/setup.h
#define DPATH "/home/syzop/Unreal3.2"
$ ls -ald /home/syzop/Unreal3.2/tmp
drwx------  2 syzop syzop 4096 Aug 27 02:48 /home/syzop/Unreal3.2/tmp
skorot
Posts: 4
Joined: Sun Aug 28, 2005 3:27 pm

Post by skorot »

Code: Select all

[sshd@supermicro Unreal3.2]$ grep DPATH include/setup.h
#define DPATH "/var/.../IRCD/Unreal3.2"
[sshd@supermicro Unreal3.2]$ ls -ald /var/.../IRCD/Unreal3.2/tmp
drwxrwxrwx   2 sshd     sshd         4096 Aug 28 17:06 /var/.../IRCD/Unreal3.2/tmp
Syzop
UnrealIRCd head coder
Posts: 2179
Joined: Sat Mar 06, 2004 8:57 pm
Location: .nl
Contact:

Post by Syzop »

No idea then.

You could strace/truss, if you are bored:P.
('strace src/ircd' or 'strace -o strace.log src/ircd', etc...)
Post Reply