image
image
Ticket Options
Question Details
TICKET ARCHIVE -> Terminal Automatically Starting Bitchx; Shutdown, Restart, Logout Functions Do Not Work.
PIXELjunke - May 9, 2005 - 11:43 pm
image
image
Recently I installed a well known IRC client called BitchX, which runs in the terminal.. After the installation, each time I started a new terminal session, BitchX would automatically run.. I erased it thinking it would fix the problem, but, alas, it didn't.

Now, whenever I start the terminal, I get this:

Last login: Fri May 6 21:13:34 on console
/Users/PIXELjunke/Desktop/BitchX-1\ Folder/BitchX; exit
Welcome to Darwin!
PIXELjunke:~ PIXELjunke$ /Users/PIXELjunke/Desktop/BitchX-1\ Folder/BitchX; exit-bash: /Users/PIXELjunke/Desktop/BitchX-1 Folder/BitchX: No such file or directory
logout
[Process completed]


I know it's looking for BitchX, can't find it, and ends the process.. I need to fix it so I just get a normal command line. The only way I can run a command is by going File | New Command...

I believe this is also the reason why my logout, shutdown, and restart options from the Apple menu on the menubar do not work. Do they just run a shutdown command through the shell? If so, maybe it can't do it because it tries to start BitchX each time.

Anyway, any help would be greatly appreciated.

I am running Mac OS X Tiger 10.4, dual g4 1.42, 1gb ram, if thats any help...

Thanks,
Erich.
Saxphile - May 11, 2005 - 9:51 pm
image
image
Hi Erich,

Please type the following commands in Terminal:

cd ~
ls -la

If you see .profile, .bashrc, .bash_login,. .bash_profile (any or some of them), please do:

more .profile (or any other name)

And show me what comes on the screen. I think BitchX automatically added itself to your bash profile, so it runs every time you open a new shell.

Cheers,

Charlie


--------
Computers are useless. They can only give you answers. -- Pablo Picasso
PIXELjunke - May 11, 2005 - 10:20 pm
image
image
I don't see a .profile, .bashrc, .bash_login,. or.bash_profile, all i see is the following:

last login: wed may 11 19:12:17 on ttyp1
welcome to darwin!
pixeljunke:~ pixeljunke$ cd ~ | ls -la; exit
total 48
drwxr-xr-x 17 pixeljun pixeljun 578 may 7 01:50 .
drwxrwxr-t 5 root admin 170 apr 29 15:39 ..
drwx------ 3 pixeljun pixeljun 102 may 6 17:14 .bitchx
-rw-r--r-- 1 pixeljun pixeljun 3 apr 29 15:39 .cfusertextencoding
-rw-r--r-- 1 pixeljun pixeljun 12292 may 9 21:01 .ds_store
drwx------ 4 pixeljun pixeljun 136 may 9 20:04 .trash
-rw------- 1 pixeljun pixeljun 1146 may 11 19:12 .bash_history
drwxr-xr-x 3 pixeljun pixeljun 102 may 2 00:47 applications
drwx------ 16 pixeljun pixeljun 544 may 9 20:04 desktop
drwx------ 9 pixeljun pixeljun 306 may 8 22:47 documents
drwx------ 43 pixeljun pixeljun 1462 may 8 20:29 library
drwx------ 3 pixeljun pixeljun 102 apr 29 15:39 movies
drwx------ 4 pixeljun pixeljun 136 apr 29 16:11 music
drwx------ 4 pixeljun pixeljun 136 apr 29 15:39 pictures
drwxr-xr-x 4 pixeljun pixeljun 136 apr 29 15:39 public
drwxr-xr-x 5 pixeljun pixeljun 170 apr 29 15:39 sites
drwxr-xr-x 3 pixeljun admin 102 may 7 01:51 gaming
logout
[process completed]

there's that .bitchx, could that be something? agh, it's just so annoying not to be able to run shell commands. =-p

thanks,
erich
Saxphile - May 11, 2005 - 10:52 pm
image
image
Hi,

Could you do show me the content of .bitchx? Also /etc/bashrc and /etc/profile. Although it would be a bit odd for BitchX to change these two files. Where did you get your copy of BitchX from?

Cheers,

Charlie


--------
Computers are useless. They can only give you answers. -- Pablo Picasso
PIXELjunke - May 12, 2005 - 1:35 am
image
image
Last login: Wed May 11 22:29:58 on ttyp1
Welcome to Darwin!
PIXELjunke:~ PIXELjunke$ cd ~ | ls -la | cd .BitchX | ls; exit
Applications Documents Movies Pictures Sites
Desktop Library Music Public gaming
logout
[Process completed]

Where do I go to show you the /etc/bashrc and /etc/profile? It keeps on saying they don't exist..

I downloaded it from their official website, so it should be legit.

Thanks,
Erich

Saxphile - May 12, 2005 - 2:17 am
image
image
Hi Erich,

Open Terminal:

cd /etc
more profile
more bashrc

Cheers,

Charlie


--------
Computers are useless. They can only give you answers. -- Pablo Picasso
PIXELjunke - May 12, 2005 - 2:20 am
image
image
Last login: Wed May 11 23:19:07 on ttyp1
Welcome to Darwin!
PIXELjunke:~ PIXELjunke$ cd ~ | cd /etc | more profile | more bashrc; exit
bashrc: No such file or directory
profile: No such file or directory
logout
[Process completed]

-----

Uhh, what'd I do wrong? I tried it w/o that "cd ~," too.
Saxphile - May 12, 2005 - 7:28 am
image
image
Hi Erich,

That's really, really strange. That two files are installed by Mac OS X by default, and usually no program would modify, let alone delete them. Did you have any problems when installing Tiger?

Anyway, let's try a few things before involving (partial) reinstallation. Please follow the instructions on this thread and try to rebuild your shell settings:

http://discussions.info.apple.com/we...9v.4@.68ae2f9c

Let me know if that works,

Charlie


--------
Computers are useless. They can only give you answers. -- Pablo Picasso
PIXELjunke - May 13, 2005 - 3:19 am
image
image
I think I would rather do a partial installation then run all those commands through the "File | New Command..." menu option. It's a large pain in the ass, to do that. So, it'd be great if you were to run me through steps to partially re-install Tiger.

So long as I won't have to re-install ALL my applications over again and what not.

Thanks,
Erich
Saxphile - May 13, 2005 - 4:38 am
image
image
Hi Erich,

First, download Pacifist from:

http://www.charlessoft.com/

Then put in your Tiger DVD and launch Pacifist. Click on "Open Mac OS X Install Packages".

Wait for about 10 minutes, and you'll be presented with a list of all the install packages.

I think just installing BSD should fix your problem, so go ahead and do that. Don't forget to reboot after it's done. If that didn't do the trick, install Essentials. If not, then install BaseSystem.

Let me know if this works for you,

Charlie


--------
Computers are useless. They can only give you answers. -- Pablo Picasso
Saxphile - May 16, 2005 - 6:52 pm
image
image
Hi Erich,

Just want to check if you have solved the problems.

Cheers,

Charlie


--------
Computers are useless. They can only give you answers. -- Pablo Picasso
PIXELjunke - May 16, 2005 - 9:16 pm
image
image
Oh, sorry for not replying for awhile. My girlfriend has been keeping me away from my computer. =-P My friend has my Tiger installation dvd right now, but I will be getting it tonight so I can do that partial installation. As soon as I do (soon), I will let you know the outcome.

Thanks for all your help.

Erich.
Saxphile - May 22, 2005 - 6:40 pm
image
image
Hi Erich,

I just answered another question similar to yours, and I realized that your symptoms might not be related to each other. So try this fix and see if your logout problem goes away.

Try to trash everything in /Library/StartUpItems and reboot. If you're skeptical about removing everything, you can try to remove one item at a time and see which one was causing the problem (I can report that Virtual PC and iScroll are harmless).

Credit of this fix goes to Richard at Apple Discussions:

http://discussions.info.apple.com/we...TD.2@.68af751d

Let me know if this fixes it.

Charlie

--------
Computers are useless. They can only give you answers. -- Pablo Picasso

IF THIS IS YOUR QUESTION AND YOU WISH TO RESPOND, LOGIN HERE FIRST.


Search Engine Friendly URLs by vBSEO 3.1.0