Linux Xubuntu Issues

Discussion in 'Software' started by m0o0oeh, 31 Jul 2007.

  1. m0o0oeh

    m0o0oeh Minimodder

    Joined:
    20 Dec 2006
    Posts:
    1,466
    Likes Received:
    66
    Right then - I have issues with Terminal in Xubuntu - whenever I click on "Terminal" it logs me off and sends me right back to the login screen - WTF?! I have however installed Konsole, so its not too bad. Now, trying to install Samba, following Glider's first guide, I have got to the point where its time to restart Samba and apply a username and password. Restarting = no probs. setting an username = AAAAARGH!!!!

    If anyone, (spesh Glider, or anyone who knows what they're doing in Lunux) could tell me where I'm going wrong/what I should be doing, I'd be grateful.

    Joe
     
  2. simon w

    simon w What's a Dremel?

    Joined:
    3 Nov 2003
    Posts:
    1,302
    Likes Received:
    0
    What's at the bottom of /var/log/Xorg.0.log?

    A bit more detail would help.
     
  3. Spaceraver

    Spaceraver Ultralurker

    Joined:
    19 Jan 2006
    Posts:
    1,363
    Likes Received:
    5
  4. m0o0oeh

    m0o0oeh Minimodder

    Joined:
    20 Dec 2006
    Posts:
    1,466
    Likes Received:
    66
    Apologies to all for my lack of detail.

    AFAIK, I've set the user account for Samba up properly, however, when I type \\127.0.1.1\home in my Windows computer, it asks for user and password, and then just freaks out. However, there are two things on a similar IP in the connection setting - theres 127.0.0.1 - localhost, and 127.0.1.1 - Serverlicious (the name for my server... :$)

    But it won't let me connect - should I go for the localhost or the actual IP of the server?

    Joe
     
  5. m0o0oeh

    m0o0oeh Minimodder

    Joined:
    20 Dec 2006
    Posts:
    1,466
    Likes Received:
    66
    Right, I've made the grand and sweeping thingummy that Samba does in fact work, its just my lame self that can't work out WTF is up with my Windows machine... anyways...

    I have moved on to ProFTPd - and when restarting said application, I get the following error message in Konsole.

    Code:
    root@Serverlicious:/home/m0o0oeh# nano /etc/proftpd/proftpd.conf
    root@Serverlicious:/home/m0o0oeh# /etc/init.d/proftpd restart
     * Stopping ftp server proftpd                                           [ OK ]
     * Starting ftp server proftpd                                                  
             - Fatal: <Directory>: missing arguments on line 98 of '/etc/proftpd/proftpd.conf'
                                                                             [fail] 
    
    
    Any suggestions?

    Joe
     
  6. Glider

    Glider /dev/null

    Joined:
    2 Aug 2005
    Posts:
    4,173
    Likes Received:
    21
    Well, you connect to the localhost of your Windows PC. You should connect to the IP of the server ;)

    There is an error in the parsing of the config on the Bit-tech article.

    TheEclypse has given a easier config to replace it here:
    Code:
    ServerName			"Deep Thought"
    ServerType			standalone
    ServerIdent			on		"DeepThought"
    DeferWelcome			on
    DefaultServer			on
    
    DisplayLogin			.welcome	# Textfile to display on login
    DisplayConnect			.connect	# Textfile to display on connection
    DisplayFirstChdir               .firstchdir	# Textfile to display on first changedir
    
    UseReverseDNS       		off
    IdentLookups        		off
    
    Port				21
    Umask				022
    MaxInstances                    15
    MaxClientsPerHost               3 		"Only %m connections per host allowed"
    MaxClients                      10 		"Only %m total simultanious logins allowed"
    MaxHostsPerUser                 1
    
    User				nobody
    Group				nogroup
    
    ScoreboardFile 			/var/log/scoreboard
    
    # Some logging formats
    LogFormat            		default 	"%h %l %u %t \"%r\" %s %b"
    LogFormat            		auth    	"%v [%P] %h %t \"%r\" %s"
    LogFormat            		write   	"%h %l %u %t \"%r\" %s %b"
    
    # Define log-files to use
    TransferLog          		/var/log/proftpd.xferlog
    ExtendedLog         		/var/log/proftpd.access_log    WRITE,READ write
    ExtendedLog          		/var/log/proftpd.auth_log      AUTH auth
    ExtendedLog          		/var/log/proftpd.paranoid_log  ALL default
    
    
    AllowStoreRestart 		on
    AllowRetrieveRestart		on
    RequireValidShell               off
    PathDenyFilter                  "\\.ftp)|\\.ht)[a-z]+$"
    DefaultRoot 			/
    DenyFilter 			\*.*/
    
    ListOptions			"" strict
     
  7. m0o0oeh

    m0o0oeh Minimodder

    Joined:
    20 Dec 2006
    Posts:
    1,466
    Likes Received:
    66
    Right, ProFTPd is still having issues - no address is associated with the server name.

    also, Samba - Glider, it must just be me... I type in \\127.0.1.1\home, enter, and it brings up the logon box sure enough, but i put all the details in and it just refuses to let me access my home directory on the server.

    As I say it probably is me, but these things are constantly sent to try me.

    If you can tell me where I'm going wrong (cause I'm positive its me....) I'd appreciate it.

    Joe
     
  8. Glider

    Glider /dev/null

    Joined:
    2 Aug 2005
    Posts:
    4,173
    Likes Received:
    21
    This is normal, an IPv6 and DNS error
    You type this (the bold quote) in Windows right? Well there are 2 errors in it. First the IP. 127.0.0.1 is the localhost address. Localhost on the Windows PC meaning the Windows PC. So you aren't connecting to the server. You need to input the IP address of the server. To get this easily, open up a terminal, and type
    Code:
    sudo ifconfig
    You'll get something like
    The bold is your Servers IP (be sure to look under eth#)

    The 2nd error is the sharename, it should be \\<ip of the server>\homes
     
  9. trigger

    trigger Procrastinator

    Joined:
    22 Mar 2004
    Posts:
    1,097
    Likes Received:
    30
    It looks like you have set your server's IP address to 127.0.1.1, which is also a loopback address (like 127.0.0.1), so like Glider says, when you try to access \\127.0.1.1\home from a PC, you are actually trying to access a local share on that PC.

    I assume you have set your server's IP statically? If so change it to be in the same range as the PC you are trying to access it from (e.g.: PC = 192.168.1.2 then server could be 192.168.1.3).
     
  10. m0o0oeh

    m0o0oeh Minimodder

    Joined:
    20 Dec 2006
    Posts:
    1,466
    Likes Received:
    66
    Cheers all, I have now successfully connected to my Homes directory!

    As you all said, it was the IP address that was the issue.

    Cheers!

    Joe

    ::EDIT::New issue folks.... :(

    Code:
    root@Serverlicious:/home/m0o0oeh# /etc/init.d/proftpd restart
     * Stopping ftp server proftpd                                           [ OK ]
     * Starting ftp server proftpd           - IPv6 getaddrinfo 'Serverlicious' error: No address associated with hostname
                                                                                              [ OK ]
    
    restarting ProFTPd after editing the .conf file, and it has issues - if its me doing something wrong I'll scream....

    Joe
     
    Last edited: 2 Aug 2007
  11. styler13189

    styler13189 What's a Dremel?

    Joined:
    13 Aug 2007
    Posts:
    9
    Likes Received:
    0
    I am having the same problem!

    It says, "- IPv6 getaddrinfo 'server' error: No address associated with the hostname
     
Tags:

Share This Page