strange problem logging in via gdm3
I have just rebuilt my system from scratch using the squeeze net-installer, but then upgrading to unstable during the installation of most of the packages. I retained the contents of my home directory, including .bashrc When I come to log in via gdm, it starts to do so and then immediately fails and puts me back into gdm. ~/.xsession-errors is created during this process and contains the following /etc/gdm3/Xsession: Beginning session setup... /home/alan/.bashrc: 13: shopt: not found /etc/bash_completion: 32: [[: not found /etc/bash_completion: 38: [[: not found /etc/bash_completion: 51: Bad substitution The first thing that seems strange is the failure of .bashrc. shopt should be a built in command in bash. The other thing is I can't find and [[ lines in /etc/bash_completion at the lines mentioned. HOWEVER - if I move .bashrc aside (ie rename it) and try to come in via gdm I log in fine. Anyone any ideas what could be wrong here? -- Alan Chandler http://www.chandlerfamily.org.uk -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org Archive: http://lists.debian.org/4d85e2b1.2090...@chandlerfamily.org.uk
Re: strange problem logging in via gdm3
On Sun, 20 Mar 2011 11:19:13 +, Alan Chandler wrote: (...) The first thing that seems strange is the failure of .bashrc. shopt should be a built in command in bash. The other thing is I can't find and [[ lines in /etc/bash_completion at the lines mentioned. HOWEVER - if I move .bashrc aside (ie rename it) and try to come in via gdm I log in fine. Anyone any ideas what could be wrong here? Google points to the shell in use so, what shell are you using? ps -p $$ will tell. Greetings, -- Camaleón -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org Archive: http://lists.debian.org/pan.2011.03.20.15.50...@gmail.com
Re: strange problem logging in via gdm3
On 20/03/11 15:50, Camaleón wrote: On Sun, 20 Mar 2011 11:19:13 +, Alan Chandler wrote: (...) The first thing that seems strange is the failure of .bashrc. shopt should be a built in command in bash. The other thing is I can't find and [[ lines in /etc/bash_completion at the lines mentioned. HOWEVER - if I move .bashrc aside (ie rename it) and try to come in via gdm I log in fine. Anyone any ideas what could be wrong here? Google points to the shell in use so, what shell are you using? ps -p $$ will tell. Greetings, Well it should be bash, and indeed $SHELL at the point it seems to go wrong says it is. (I suspected it may have been sourced in /bin/sh environment - but as far as I have been able to work out its inside the binary of gnome-session). I have got round it by moving the majority of this .bashrc to /etc/bash.bashrc (there is a little bit setting up $PS1 that uses a script in ~/bin to output-git-head-or-blank which is kept) and it seems to work -- Alan Chandler http://www.chandlerfamily.org.uk -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org Archive: http://lists.debian.org/4d86382f.1090...@chandlerfamily.org.uk
libc5-libc6 Upgrade - Problem logging in with username in NIS
Hi, Thanks to the help of the fine folks in this mailing list, I was able to upgrade to hamm reasonably easily. I am still poking around my system to find out problems with the upgrade. After the upgrade, I am unable to log into my machine with a username in YP. $ cat /etc/passwd ...some stuff... +::0:0::: $ cat /etc/nsswitch.conf passwd: db files group: db files shadow: db files hosts: files dns networks: files protocols: db files services: db files ethers: db files rpc:db files netgroup: db files $ ypcat passwd|grep thaths thaths:snip:8022:690:Sudhakar Chandrasekharan:/u/thaths:/bin/bash When I am able to ypcat and grep my password entry, why am I unable to login with this username? I have also been unable to su to this username. Sudhakar -- Programming in X Windows is like trying to find the square root of pi using roman numerals Sudhakar C13n (650) 937-2354 (O) International Websites Engineer (650) 940-1896 (H) http://people.netscape.com/thaths/ -- TO UNSUBSCRIBE FROM THIS MAILING LIST: e-mail the word unsubscribe to [EMAIL PROTECTED] . Trouble? e-mail to [EMAIL PROTECTED] .
Re: libc5-libc6 Upgrade - Problem logging in with username in NIS
On Tue, Jan 13, 1998 at 09:26:27PM -0800, Sudhakar Chandrasekharan wrote: After the upgrade, I am unable to log into my machine with a username in YP. $ cat /etc/passwd ...some stuff... +::0:0::: OK $ cat /etc/nsswitch.conf passwd: db files group: db files shadow: db files For these three replace db files with compat and you should be done. And, yes, nsswitch.conf is the place to look for. Nils -- *-* | Quotes from the net: L Linus Torvalds, W Winfried Truemper | | Lthis is the special easter release of linux, more mundanely called 1.3.84 | | WUmh, oh. What do you mean by special easter release?. Will it quit | * Wworking today and rise on easter? * pgptFxE7KGZiE.pgp Description: PGP signature
Panic - Re: libc5-libc6 Upgrade - Problem logging in with username in NIS
Nils Rennebarth wrote: On Tue, Jan 13, 1998 at 09:26:27PM -0800, Sudhakar Chandrasekharan wrote: After the upgrade, I am unable to log into my machine with a username in YP. $ cat /etc/nsswitch.conf passwd: db files group: db files shadow: db files For these three replace db files with compat and you should be done. And, yes, nsswitch.conf is the place to look for. How should it read? The HOWTO mentions this but does not give an example. Could you give me an example. Also, I am in Panic Mode now. I have changed some stuff in nsswitch.conf [possibly adding nis to the passed entry or something like that. nsswitch.conf did not have a man page]. I got back to work this morning and tried to log in as root and login failed. Could not log in with a username from NIS either. I decided (unwisely, it seems) to reboot. Upon reboot the various daemons in /etc/init.d/ are started and the machine seems (I say seems because I did not wait long enough to see if it really does) to hang while starting postgres (under /usr/local). As I see it, here are my options - * Try to see if the boot sequence is really hanging by giving it enouch time. If it manages to proceed with the rest of the boot sequence and gets me into the login prompt, I have to try my luck with loggin in as root. * If I am unable to log in as root, how do I fix what I did to nsswitch.conf? I was sensible enough to backup the old file before making the changes. I am unable to locate my emergency disk (or whatever it is called). Can I use the Debian 1.3 distribution's installation boot disks, mount /dev/sdb3 as root and fix the problem and then try rebooting with my regular custom boot disk? How? * Ideally, I'd prefer booting up into NT and being able to access the ext2 partition. I remember reading somewhere that there is a device driver for reading / writing into an ext2 partition for NT. Help me Obi Wan. You are my last hope. ;-) Sudhakar -- TO UNSUBSCRIBE FROM THIS MAILING LIST: e-mail the word unsubscribe to [EMAIL PROTECTED] . Trouble? e-mail to [EMAIL PROTECTED] .
Re: Panic - Re: libc5-libc6 Upgrade - Problem logging in with username in NIS
On Wed, 14 Jan 1998, Sudhakar Chandrasekharan wrote: Also, I am in Panic Mode now. * If I am unable to log in as root, how do I fix what I did to nsswitch.conf? I was sensible enough to backup the old file before making the changes. I am unable to locate my emergency disk (or whatever it is called). Can I use the Debian 1.3 distribution's installation boot disks, mount /dev/sdb3 as root and fix the problem and then try rebooting with my regular custom boot disk? How? Yes, this is The Universal Way To Do It. It also explains why people wonder Why did they call the installation bootdisk `rescue disk'? Type at the lilo prompt linux root=/dev/where your root filesystem is If that doesn't work, try linux emergency root=/dev/blah. Or if even that fails, just hit enter and goto the second virtual console with alt-F2 and mount the /dev/blah on /mnt. You don't get to use emacs to edit the fsck'ed conffiles then though. * Ideally, I'd prefer booting up into NT and being able to access the ext2 partition. I remember reading somewhere that there is a device driver for reading / writing into an ext2 partition for NT. AFAIK it's still rather beta and read-only. Good luck, Joost -- TO UNSUBSCRIBE FROM THIS MAILING LIST: e-mail the word unsubscribe to [EMAIL PROTECTED] . Trouble? e-mail to [EMAIL PROTECTED] .
Re: Panic - Re: libc5-libc6 Upgrade - Problem logging in with username in NIS
On Wed, Jan 14, 1998 at 09:18:55AM -0800, Sudhakar Chandrasekharan wrote: Nils Rennebarth wrote: passwd: db files group: db files shadow: db files For these three replace db files with compat and you should be done. How should it read? The HOWTO mentions this but does not give an example. Could you give me an example. I tried to be clear but... anyway, my /etc/nsswitch.conf looks like this: #---cut here to damage your monitor-- # /etc/nsswitch.conf # # Example configuration of GNU Name Service Switch functionality. # passwd: compat group: compat shadow: compat hosts: files dns networks: files dns protocols: db files services: db files ethers: db files rpc:db files netgroup: nis db files # As for documentation try the command info libc then look at the section * Name Service Switch (You need the debian package libc6-doc for this. Yes, this is not obvious.) Nils -- *-* | Quotes from the net: L Linus Torvalds, W Winfried Truemper | | Lthis is the special easter release of linux, more mundanely called 1.3.84 | | WUmh, oh. What do you mean by special easter release?. Will it quit | * Wworking today and rise on easter? * pgpANOqJqG8Al.pgp Description: PGP signature
Re: Panic - Re: libc5-libc6 Upgrade - Problem logging in with username in NIS
In article [EMAIL PROTECTED], Nils Rennebarth [EMAIL PROTECTED] wrote: As for documentation try the command info libc then look at the section * Name Service Switch Well you could also just read the /usr/doc/nis/nis.debian.howto.gz file which explains everything in detail. Mike. -- Miquel van Smoorenburg | The dyslexic, agnostic, insomniac lay in his bed [EMAIL PROTECTED] | awake all night wondering if there is a doG -- TO UNSUBSCRIBE FROM THIS MAILING LIST: e-mail the word unsubscribe to [EMAIL PROTECTED] . Trouble? e-mail to [EMAIL PROTECTED] .
Re: Panic - Re: libc5-libc6 Upgrade - Problem logging in with username in NIS
Nils Rennebarth wrote: I tried to be clear but... anyway, my /etc/nsswitch.conf looks like this: #---cut here to damage your monitor-- # /etc/nsswitch.conf # # Example configuration of GNU Name Service Switch functionality. # passwd: compat group: compat shadow: compat hosts: files dns networks: files dns protocols: db files services: db files ethers: db files rpc:db files netgroup: nis db files # Doh! Rereading what you had written, it makes sense. What does compat give me as opposed to db files nis? I don't know if this is documented in the info files. (You need the debian package libc6-doc for this. Yes, this is not obvious.) Oooow! That hurt. ;-) Thanks again for all the folks who helped. I think hamm is quite stable. If you are contemplating an upgrade but have held back because of stability concerns, I suggest that you read the mini-HOWTO, grab the upgrade script and don't screw up (like I did). S. -- Programming in X Windows is like trying to find the square root of pi using roman numerals Sudhakar C13n (650) 937-2354 (O) International Websites Engineer (650) 940-1896 (H) http://people.netscape.com/thaths/ -- TO UNSUBSCRIBE FROM THIS MAILING LIST: e-mail the word unsubscribe to [EMAIL PROTECTED] . Trouble? e-mail to [EMAIL PROTECTED] .
problem logging on
When I try to dial my ISP, I get the following errors in my /var/log/ppp.log Dec 29 18:59:10 speedy chat[249]: abort on (NO CARRIER) Dec 29 18:59:10 speedy chat[249]: abort on (VOICE) Dec 29 18:59:10 speedy chat[249]: abort on (NO DIALTONE) Dec 29 18:59:10 speedy chat[249]: send (ATDT7454342^M) Dec 29 18:59:10 speedy pppd[248]: Serial connection established. Dec 29 18:59:11 speedy pppd[248]: Using interface ppp0 Dec 29 18:59:11 speedy pppd[248]: Connect: ppp0 -- /dev/ttyS0 Dec 29 18:59:14 speedy pppd[248]: Serial line is looped back. Dec 29 18:59:14 speedy pppd[248]: Connection terminated. Dec 29 18:59:14 speedy pppd[248]: Exit. Does anyone know what this means? Thanks for whatever help you guys have. -- Aaron Walker [EMAIL PROTECTED] http://www.iconmedia.com (954)418-0817 -- TO UNSUBSCRIBE FROM THIS MAILING LIST: e-mail the word unsubscribe to [EMAIL PROTECTED] . Trouble? e-mail to [EMAIL PROTECTED] .
Re: problem logging on
Aaron Walker wrote: When I try to dial my ISP, I get the following errors in my /var/log/ppp.log Dec 29 18:59:10 speedy chat[249]: abort on (NO CARRIER) Dec 29 18:59:10 speedy chat[249]: abort on (VOICE) Dec 29 18:59:10 speedy chat[249]: abort on (NO DIALTONE) Dec 29 18:59:10 speedy chat[249]: send (ATDT7454342^M) Dec 29 18:59:10 speedy pppd[248]: Serial connection established. Dec 29 18:59:11 speedy pppd[248]: Using interface ppp0 Dec 29 18:59:11 speedy pppd[248]: Connect: ppp0 -- /dev/ttyS0 Dec 29 18:59:14 speedy pppd[248]: Serial line is looped back. Dec 29 18:59:14 speedy pppd[248]: Connection terminated. Dec 29 18:59:14 speedy pppd[248]: Exit. Does anyone know what this means? Thanks for whatever help you guys have. Most likely you did not make it all the way through the chat so your characters were getting echoed back as they do in a normal terminal connection. -- Jens B. Jorgensen [EMAIL PROTECTED] -- TO UNSUBSCRIBE FROM THIS MAILING LIST: e-mail the word unsubscribe to [EMAIL PROTECTED] . Trouble? e-mail to [EMAIL PROTECTED] .
Re: problem logging on
Jens B. Jorgensen [EMAIL PROTECTED] writes: Aaron Walker wrote: When I try to dial my ISP, I get the following errors in my /var/log/ppp.log Dec 29 18:59:10 speedy chat[249]: abort on (NO CARRIER) Dec 29 18:59:10 speedy chat[249]: abort on (VOICE) Dec 29 18:59:10 speedy chat[249]: abort on (NO DIALTONE) Dec 29 18:59:10 speedy chat[249]: send (ATDT7454342^M) Dec 29 18:59:10 speedy pppd[248]: Serial connection established. Dec 29 18:59:11 speedy pppd[248]: Using interface ppp0 Dec 29 18:59:11 speedy pppd[248]: Connect: ppp0 -- /dev/ttyS0 Dec 29 18:59:14 speedy pppd[248]: Serial line is looped back. Dec 29 18:59:14 speedy pppd[248]: Connection terminated. Dec 29 18:59:14 speedy pppd[248]: Exit. Does anyone know what this means? Thanks for whatever help you guys have. Most likely you did not make it all the way through the chat so your characters were getting echoed back as they do in a normal terminal connection. Which is most likely caused by your chat script (/etc/ppp.chatscript) being too short - it's not even waiting for a CONNECT signal from the modem. pppd is trying to send configure requests immediately after the modem has been told to dial - this causes the modem to abort the dial, and then the modem just echoes back to pppd everything pppd is sending (this is that looped back bit in the logs). Make certain that your /etc/ppp.chatscript contains a line like: CONNECT This will make it wait until the modem finishes dialing and actually connects before it tries to start up ppp. -- TO UNSUBSCRIBE FROM THIS MAILING LIST: e-mail the word unsubscribe to [EMAIL PROTECTED] . Trouble? e-mail to [EMAIL PROTECTED] .