WARNING: ap: no database locations


 
Thread Tools Search this Thread
Top Forums UNIX for Dummies Questions & Answers WARNING: ap: no database locations
# 1  
Old 10-21-2003
WARNING: ap: no database locations

Hi everone!
My computer is ultra80,Operation system 2.6,when I boot get a message "WARNING: ap: no database locations "
And then I can login root , but for other user can`t login and had message "no shell". I use csh,after login root when I su -user also had "noshell". /etc/passwd ,shadow /usr/bin/csh are no problem!
Thanks for your hel
# 2  
Old 10-21-2003
Check the permissions on:
/
/usr
/usr/bin
/usr/bin/csh

My guess is that somehow ordinary users can't read csh or they can't execute it.
# 3  
Old 10-21-2003
Thanks to Mr Perderabo

Mr Perderabo
I login root ,I see / /usr /usr/bin /usr/bin/csh are can permit execute ,I chmod all to 644. can you give me other advise

Thanks for your help
# 4  
Old 10-21-2003
That is wrong.

chmod 755 / /usr /usr/bin
chmod 555 /usr/bin/csh
# 5  
Old 10-22-2003
perderabo is very right...

644 permissions on / will prevent any users from logging in. You must have execute permissions on / for access to the /etc/passwd which is under / filesystem.

I know b/c I accidentally did this and had my production box down for 3+ hours for my stoopid mistake....
# 6  
Old 10-22-2003
Quote:
Originally posted by Kelam_Magnus
perderabo is very right...

644 permissions on / will prevent any users from logging in. You must have execute permissions on / for access to the /etc/passwd which is under / filesystem.
For directories it is 'seach permissions' not 'execute permissions' ... you don't execute directories.. Smilie
# 7  
Old 10-23-2003
The no shell error message is due to your machine not having the users shell, the reason you can log with csh is propebly because csh is install on your machine and no other shell

for example user can be using ksh, sh or bash which are not install hence error message.

to find out what shell are installed on your machine check /bin or /usr/bin directory
if the shells are installed and still receiving error messages edit /etc/shells file and put the path to shell in the file.
 
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. Shell Programming and Scripting

Writing to two locations at once

I have a backup script that runs on CRON that I developed about 5 years ago. It has always worked perfectly but a recent firmware update on my QNAP TS 259 has seem to break the large file move/copy capability amongst the ESATA drives. I would like to just change my backhup.sh so that writes... (3 Replies)
Discussion started by: mackconsult
3 Replies

2. UNIX for Dummies Questions & Answers

Edit locations in a file

Hi , I have a file which looks like this source1 LEN predictive 392879 394347 0.955489 + . Name=sa000003.1;ID=sa000003;Alias=sa121751.1; source1 LEN descriptive_1 391082 392878 . . . Parent=sa000003.1;supp_id=.1805.1; ... (3 Replies)
Discussion started by: siya@
3 Replies

3. Programming

Variable storage locations ...

I've got the following two queries: 1) What's the difference in performance if a variable storage is at bss and not at the data section (apart from the initialization to zero in case of data section variables --like static variables). In general, why a developer need to bother about the... (1 Reply)
Discussion started by: Praveen_218
1 Replies

4. Shell Programming and Scripting

Need script to rename the files in different locations

Hi everybody, I need a script for below issue: I have totally 15 different locations like */COUNTRY/in. Only COUNTRy is the variable which changes for 15 countries. For each location(one per country), there will be four files like abc_def_ddmmyyyy.txt, where ddmmyyyy is the old date. ... (1 Reply)
Discussion started by: rjanardhan83
1 Replies

5. Shell Programming and Scripting

Untar files from different locations

Hi all, My tar file exists in directory: /usr/users/rovolis/test1/archive.tar Now from directory: /usr/users/rovolis/ i run the following command tar xvzf /usr/users/rovolis/test1/archive.tar The problem is that the extraction of files is not done Any idea why? Thank you (1 Reply)
Discussion started by: chriss_58
1 Replies

6. Solaris

file locations...

Hi Guys, There was a post that I saw here a while ago regarding file system layout and what to put where, which I am unable to find now.. A user here posted a man page that list what each partition should have in it and what it is used for and were you should install custom packages. ie:... (1 Reply)
Discussion started by: Tornado
1 Replies

7. Solaris

significance of library locations in solaris8...please help

this post is related to the arrangements of libraries in a solaris-8 distribution. i want to build external packages on solaris-8 i need to know why libraries are scattered in a solaris distribution among different below mentioned directories, please tell me whats the importance ?? /lib... (3 Replies)
Discussion started by: mobydick
3 Replies

8. Shell Programming and Scripting

How to delete a particular string from different locations ?

I want to delete a particular string ( ex : berkely@abc.com ) from different locations and in different files in each location. Please help me ! (4 Replies)
Discussion started by: nani_ynm
4 Replies

9. Shell Programming and Scripting

How to read EEPROM Locations

Dear Sir, I am Shidlingayya India, i am new to unix script..my problem is present-> I have to read the eeprom locations from 0 to 255 locations in separate file..i wrote the code for this as follows @eep_save_all ;<filename> store eeprom data to intel hex file kr 0,,02/n wf %1,... (0 Replies)
Discussion started by: shidlingayya
0 Replies

10. Shell Programming and Scripting

Standard Out to Two Locations

Is it possible to redirect standard output to two locations? Unfortunately, I need to redirect it to two different files. Or if there might be any utilities that can do it. I'm suspecting not as it's all pipes and filters, but thought I'd ask. (2 Replies)
Discussion started by: GaryRudolph
2 Replies
Login or Register to Ask a Question