Re: [CentOS] openldap migration script fails...

2007-07-19 Thread joseph tacuyan

On 7/20/07, Steve Strong <[EMAIL PROTECTED]> wrote:


good advise.  i've got just two questions:

  1. since it's just being used for authentication, could I just
 migrate passwd, shadow and group?



Yes, and the configure your client via authconfig.


 2. would the command be: slapadd < myfile.ldif?


No, the easiest and most not prone to error is run the migrate scripts on
/usr/share/openldap/migrate.
Doc's regarding this is on Centos Ref/Sys Manual w/c is accessible via
centos.org


thanks a lot!

steve




hth,

joseph

Craig White wrote:

> On Thu, 2007-07-19 at 15:26 -0500, Steve Strong wrote:
>
>> OK, now this is getting better.  the openldap server seems to function
OK,
>> but running the migration scripts results in a duplicate entry error
while
>> "migrate_all_offline.sh" is processing /etc/services.  the duplicate
entry
>> is "echo" and when i looked at the file their are two entries, one for
tcp
>> and one for udp.
>>
>> shouldn't these migration scripts be able to hangke this?
>>
>> anyhow, when the script terminates in tells me where there is an .ldif
>> file.  does any one know how to use that file as an input to another
app
>> after i edit out all of the duplicate entries???
>>
>> or is there a better way to get around this?
>>
> 
> I always found it best to run the migrate scripts into files which I can
> edit and then slapadd when I had them all done.
>
>


--
Steve Strong
Math and Computer Science
Washington High School
2205 Forest Dr. SE
Cedar Rapids, IA   52403
http://crwash.org
mailto:[EMAIL PROTECTED]

___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos

___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] CentOS5:Printer Won't Work

2007-07-18 Thread joseph tacuyan

On 7/19/07, Robert Thompson <[EMAIL PROTECTED]> wrote:


I have a HP OfficeJet K80xi "all-in-one" USB printer. When I send a
file to the printer from a virtual console using the command : lp
"anyfilename", the response is "request ID is HPOJK80-7 (1 file(s)".
There is no printer action, no sound, nothing. The printers name is
HPOJK80; the -7 is the job number.
The command lpstat shows there are a total of 7 jobs in the queue. The
command lpq response is "HPOJK80 is ready and printing", and lists the 7
file names. Nothing has ever printed since I switched to CentOS5.
The hplip web site (http://hplip.sourceforge.net/) tells me to do "rpm
-qa hplip" from a virtual console. The result is "hplip-1.6.7-4.1.e15"
(driver model installed). The web site table shows any driver later than
0.9.5 should work. The hplip web site also states that there are 6
"dependencies": xsane, cups-devel, libjpeg-devel, pyqt, pyqt-devel, and
net-snmp-devel. Using the find command (find / -name 'filename' -print)
results in 2 hits for xane, 0 hits for the others except libjpeg-devel
which gives the message "/proc/11268: No such file or directory". My
conclusion is there are 5 missing files, probably cups-devel is the most
important. Where can I find the missing files? How do I know where to
put them?
While I am not sure that "system-config-printer" was run correctly, I am
going to concentrate on the missing dependencies. Any help would be
appreciated. Thanks in advance. Bob T.
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos



yum list missing-package-* and then yum -y install missing-package-* would
somehow ease the pain.
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] openldap migration script fails...

2007-07-18 Thread joseph tacuyan

On 7/19/07, Steve Strong <[EMAIL PROTECTED]> wrote:


... with this error message:

Preparing LDAP database...
=> bdb_tool_entry_put: id2entry_add failed: DB_KEYEXIST: Key/data pair
already exists (-30996)
=> bdb_tool_entry_put: txn_aborted! DB_KEYEXIST: Key/data pair already
exists (-30996)
slapadd: could not add entry dn="dc=washcslab,dc=org" (line=5):
txn_aborted! DB_KEYEXIST: Key/data pair already exists (-30996)
Migration failed: saving failed LDIF to /tmp/nis.ldif.Gi3667

ok, so this is the second (or fourth) time i've done this, but is there
a way to delete the existing key???

any help would be greatly appreciated!
steve

--
Steve Strong
Math and Computer Science
Washington High School
2205 Forest Dr. SE
Cedar Rapids, IA   52403
http://crwash.org
mailto:[EMAIL PROTECTED]

___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos



Yes, via ldapdelete.
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] LD_LIBRARY_PATH issues

2007-07-05 Thread joseph tacuyan

Hi Jean,

If you login via GUI, it doesn't read/load you /etc/profile so user doesn't
inherit the variable set on that, I forget where to specifically put it but
it's set on Xxxxstartup something, also try to set it on bashrc as it's
being read even on GUI login.

Hth,

/joseph


On 7/6/07, Jean Figarella <[EMAIL PROTECTED]> wrote:


Here is the thing. All workstations in the network have the /etc/profile
modified and set up to call a profile script in the network that sets up
variables that we need here. Here $LD_LIBRARY_PATH and other variables
get set, fixed, or modified to support our development process. The
weird thing is that while in a TTY the $LD_LIBRARY_PATH is fine and
retains its value. But if I log in to the gui (KDE, GNOME) then the
$LD_LIBRARY_PATH is blank. I have greped the entire disk I can't find
where is the $LD_LIBRARY_PATH is being overwritten, if that is what is
happening.

Does anyone knows what's going on here?


Jean
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos

___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] using centos

2007-07-05 Thread joseph tacuyan

On 7/6/07, kevin nation <[EMAIL PROTECTED]> wrote:


i work in tech support and i am an advanced windows user. but i have not
used linux other than booting up live cd's and checking out the
applications. i have recently installed centos 4.5 on a computer for
testing. all my hardware installed with good defaults and i have been able
to access the internet for updates. but that is as far as i have been unable
to get. i want to install a wireless card and download and install some
additional software and setup window shares but i do not know where to
start. i have found some software in tar and rpm file extentions but i need
help downloading them, extracting or installing them. my wireless card is
not recognized. also i have found alot of rpm files in red hat and fedora
but i do not know if they will work with centos. i know centos is built from
red hat but what version of red hat or fedora would it be equal to so the
right software or driver would be installed.
this is just a testing computer and i just started working with it and do
not need it for anything else so i have plenty of time to learn and become
an advanced linux user.

thanks

___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos

Hi,


I suggest that you'll start reading some docs on www.centos.org, it's
comprehensive from basic to more advance topic, then from there if there's
something unclear shoot back another post here.

Good luck,

/joseph
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


[CentOS] autofs/mount error

2007-06-15 Thread joseph tacuyan

Howdy,

Perhaps somebody here has a clue, i got this error via autofs mount and
manual mounting as root:

automount[30856]: >> mount: RPC: Authentication error; why = Client
credential too weak


been looking on google and seen this thread

http://toasters.mathworks.com/toasters/7215.html

but unfortunately seems our netapp/storage guy as well as myself are not
convinced enough since this only
happen to one particular host.

Any idea, clue?

/jbt
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos