473,385 Members | 1,912 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,385 software developers and data experts.

SQL4401C : old problem, but found no working solution

Hi all,

I installed following pkg. on my laptop (Fedora Core 6) :
db2exc_91_LNX_x86.tar.gz
After resolving some dependency-problems the install was fine.

(I understand that a laptop isn't very well suited for DB2 but .... I
just want to play around :-) )

After the install I started the control center. This also went
smoothly.
In the CC I tried to create a database.
The CC then talled me that no database administration server has been
started.
As user dasusr1 I issue "db2admin start" to start the administration
server:
[dasusr1@localhost ~]$ db2admin start
SQL4401C The DB2 Administration Server encountered an error during
startup.
[dasusr1@localhost ~]$

mmmm thats a pitty ....

after some googling I found that this was a common error which should
be resolved pretty easily.
Following link looked like a good solution :
http://www-1.ibm.com/support/docview...id=swg21198111

I followed the instructions to make db2dasrrm suid root (I used to
db2dasupdt and also tried with manaul altering the file permissions)
The dasrrm now looks like :
[dasusr1@localhost adm]$ ls -l db2dasrrm
-rwsr-sr-x 1 root dasadm1 476033 Feb 17 16:29 db2dasrrm
[dasusr1@localhost adm]$

Issuing (as dasusr1) "db2admin start" gave the same error as before.

Other option then : dropping the dasusr1 (dasdrop) and re-creating it
(dascrt) wend fine. However... starting the administration server gave
the same old error.

And now.... I'm lost.

Anyone some ideas of how to solve this problem?

Thanks in advance,
Martijn Bos

Feb 17 '07 #1
7 5283
Martijn,

check if port 523 is opened for your firewall.

-- Artur Wronski

Feb 17 '07 #2
On Feb 17, 10:25 pm, "Artur" <artur.wron...@gmail.comwrote:
Martijn,

check if port 523 is opened for your firewall.

-- Artur Wronski

Hi Artur,

tnx for your reply.
SELinux is disabled at this moment
firewall (iptables) has no rules and has all policy's set to accept at
this moment

So I'm afraid that is not my problem.

If you have any other ideas don't hesitate to post it.

thanks

Martijn Bos

Feb 17 '07 #3
another idea is to disable security-enhanced Linux (SELinux).

run as root:
# /usr/sbin/setenforce 0

you can add line:
SELINUX=disabled
to the file: /etc/selinux/config

just another idea...
-- Artur
Feb 17 '07 #4
On Feb 17, 11:41 pm, "Artur" <artur.wron...@gmail.comwrote:
another idea is to disable security-enhanced Linux (SELinux).

run as root:
# /usr/sbin/setenforce 0

you can add line:
SELINUX=disabled
to the file: /etc/selinux/config

just another idea...
-- Artur
Hi Artur,

Thank you for the advice. However... SELinux is allready disabled :-(
(That is the first thing I disable in any Fedora system I install. I
had to many problems in the past wich were misteriously solved after
disasbling SELinux)

Best regards,

Martijn Bos

Feb 18 '07 #5
Martijn wrote:
Hi all,

I installed following pkg. on my laptop (Fedora Core 6) :
db2exc_91_LNX_x86.tar.gz
After resolving some dependency-problems the install was fine.

(I understand that a laptop isn't very well suited for DB2 but .... I
just want to play around :-) )

After the install I started the control center. This also went
smoothly.
In the CC I tried to create a database.
The CC then talled me that no database administration server has been
started.
As user dasusr1 I issue "db2admin start" to start the administration
server:
[dasusr1@localhost ~]$ db2admin start
SQL4401C The DB2 Administration Server encountered an error during
startup.
[dasusr1@localhost ~]$

mmmm thats a pitty ....

after some googling I found that this was a common error which should
be resolved pretty easily.
Following link looked like a good solution :
http://www-1.ibm.com/support/docview...id=swg21198111

I followed the instructions to make db2dasrrm suid root (I used to
db2dasupdt and also tried with manaul altering the file permissions)
The dasrrm now looks like :
[dasusr1@localhost adm]$ ls -l db2dasrrm
-rwsr-sr-x 1 root dasadm1 476033 Feb 17 16:29 db2dasrrm
[dasusr1@localhost adm]$

Issuing (as dasusr1) "db2admin start" gave the same error as before.

Other option then : dropping the dasusr1 (dasdrop) and re-creating it
(dascrt) wend fine. However... starting the administration server gave
the same old error.

And now.... I'm lost.

Anyone some ideas of how to solve this problem?
Have a look at the db2dasdiag.log (under das/dump/). Maybe you will see
some more specific information there.

--
Knut Stolze
DB2 z/OS Utilities Development
IBM Germany
Feb 18 '07 #6
On Feb 18, 7:38 pm, Knut Stolze <sto...@de.ibm.comwrote:
Martijn wrote:
Hi all,
I installed following pkg. on my laptop (Fedora Core 6) :
db2exc_91_LNX_x86.tar.gz
After resolving some dependency-problems the install was fine.
(I understand that a laptop isn't very well suited for DB2 but .... I
just want to play around :-) )
After the install I started the control center. This also went
smoothly.
In the CC I tried to create a database.
The CC then talled me that no database administration server has been
started.
As user dasusr1 I issue "db2admin start" to start the administration
server:
[dasusr1@localhost ~]$ db2admin start
SQL4401C The DB2 Administration Server encountered an error during
startup.
[dasusr1@localhost ~]$
mmmm thats a pitty ....
after some googling I found that this was a common error which should
be resolved pretty easily.
Following link looked like a good solution :
http://www-1.ibm.com/support/docview...id=swg21198111
I followed the instructions to make db2dasrrm suid root (I used to
db2dasupdt and also tried with manaul altering the file permissions)
The dasrrm now looks like :
[dasusr1@localhost adm]$ ls -l db2dasrrm
-rwsr-sr-x 1 root dasadm1 476033 Feb 17 16:29 db2dasrrm
[dasusr1@localhost adm]$
Issuing (as dasusr1) "db2admin start" gave the same error as before.
Other option then : dropping the dasusr1 (dasdrop) and re-creating it
(dascrt) wend fine. However... starting the administration server gave
the same old error.
And now.... I'm lost.
Anyone some ideas of how to solve this problem?

Have a look at the db2dasdiag.log (under das/dump/). Maybe you will see
some more specific information there.

--
Knut Stolze
DB2 z/OS Utilities Development
IBM Germany
Hi Knut,

Thanks for your reply.
I'm not having the laptop with me at the moment so I'm telling this
out of my memory :-)

I actually looked allready at that log-file. The messages are the same
as those in the above mentioned article (http://www-1.ibm.com/support/
docview.wss?uid=swg21198111)

So therefore I think that the problem is what the article describes,
but I'm overseeing something wich makes the proposed solution not
working.

But when I have the laptop at hand I will look through the errors
again.

Best Regards,

Martijn Bos

Feb 19 '07 #7
On Feb 17, 6:53 pm, "Martijn" <martijnm....@gmail.comwrote:
Hi all,

I installed following pkg. on my laptop (Fedora Core 6) :
db2exc_91_LNX_x86.tar.gz
After resolving some dependency-problems the install was fine.

(I understand that a laptop isn't very well suited for DB2 but .... I
just want to play around :-) )

After the install I started the control center. This also went
smoothly.
In the CC I tried to create a database.
The CC then talled me that no database administration server has been
started.
As user dasusr1 I issue "db2admin start" to start the administration
server:
[dasusr1@localhost ~]$ db2admin start
SQL4401C The DB2 Administration Server encountered an error during
startup.
[dasusr1@localhost ~]$

mmmm thats a pitty ....

after some googling I found that this was a common error which should
be resolved pretty easily.
Following link looked like a good solution :http://www-1.ibm.com/support/docview...id=swg21198111

I followed the instructions to make db2dasrrm suid root (I used to
db2dasupdt and also tried with manaul altering the file permissions)
The dasrrm now looks like :
[dasusr1@localhost adm]$ ls -l db2dasrrm
-rwsr-sr-x 1 root dasadm1 476033 Feb 17 16:29 db2dasrrm
[dasusr1@localhost adm]$

Issuing (as dasusr1) "db2admin start" gave the same error as before.

Other option then : dropping the dasusr1 (dasdrop) and re-creating it
(dascrt) wend fine. However... starting the administration server gave
the same old error.
And now.... I'm lost.

Anyone some ideas of how to solve this problem?

Thanks in advance,

Martijn Bos
Followup:

Today I started up the laptop looked at the processes it was running
and saw a few more db2 processes then I was used to earlier this week.

switching to user dasusr1 issuing "db2admin start" I get....
"SQL4409W The DB2 Administration Server is already active."

So with user db2inst1 in db2cc I was able to create a database.

Now you will probably want to know what did I to solve the problem: I
have no idea. The laptop has been booted a couple of times. I
proceeded as described in the above posts.
I'm pretty sure that I booted the laptop a few times before I wrote my
initial post. So I'm a bit lost what or when I did the rigth thing to
solve the problem.

Anyway... I'm happy

tnx for the ideas and support

Martijn

Feb 22 '07 #8

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

7
by: Keith Dewell | last post by:
Greetings! My current job has brought me back to working in C++ which I haven't used since school days. The solution to my problem may be trivial but I have struggled with it for the last two...
28
by: Jon Davis | last post by:
If I have a class with a virtual method, and a child class that overrides the virtual method, and then I create an instance of the child class AS A base class... BaseClass bc = new ChildClass();...
4
by: Chris Gatto | last post by:
Hi, I'm having what should be a minor problem but has turned into a 2 day slug fest with ASP.Net. I am simply attempting to authenticate my asp.net application users against users in an AD...
2
by: Miguel | last post by:
Hi, I'm developing an application in C# with Windows Forms for my company that is similar to the MSN Messenger. This application uses a webservice for registering users, etc... and as 2...
1
by: batista | last post by:
Hi there, I'm developing a website that is in 2 languages english and arabic. Now I wanted to have fixed header scrollable datagrid. For scrolling i found a solution which works fine. But for...
0
by: batista | last post by:
Hi there, I'm developing a website that is in 2 languages english and arabic. Now I wanted to have fixed header scrollable datagrid. For scrolling i found a solution which works fine. But...
8
by: Ian Mackenzie | last post by:
Hi Guys I am VERY new to DB2 and have created a workingdays function to return the working days between 2 dates, but I get some compiler errors when running it: CREATE FUNCTION WORKINGDAYS...
3
by: markus.rietzler | last post by:
i want to do (multiple) file upload(s) and display a progress bar. with firefox and safari it is no problem at all. only IE makes some problems. my script is based on ajax-uploader, which can be...
3
by: matias.cornejo | last post by:
I have a problem to startup de DB2 Admin. I read meny documentation in internet and nothing work, anybody know something??. I have DB2 UDB V8 fixpack 14 and AIX 5.2 x134 db2admin start SQL4409W...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.