Link to home
Start Free TrialLog in
Avatar of alpires
alpiresFlag for Brazil

asked on

Ubuntu is not starting

Somehow, I was turn computer on booting from ubuntu, and Its not starting.. I dont know why, yesterday it was working fine..

it shows me:

fsck from util-linux-ng 2.16
/dev/sda7: clean, 177374/1191360 files, 107674/4761256 blocks
modem-manager: Loaded plugin Option High-Speed
modem-manager: Loaded plugin Nokia
modem-manager: Loaded plugin Huawei
modem-manager: Loaded plugin ZTE
modem-manager: Loaded plugin Sierra
modem-manager: Loaded plugin Novatel
modem-manager: Loaded plugin Option
modem-manager: Loaded plugin Ericsson MBM
modem-manager: Loaded plugin Generic
modem-manager: Loaded plugin Gobi
modem-manager: Loaded plugin MotiC
 * Starting init crypto disks...
 * Stopping NTP server ntpd                                                                                 [ ok ]
nm-dispatcher.action: Script '/etc/NetworkManager/dispatcher.d/01ifupdown' exited with error status 1.
 * Starting NTP server ntpd


it stays like this forever...
Avatar of alpires
alpires
Flag of Brazil image

ASKER

plus. if I restart.. it shows error window:

Ubuntu is running in low-graphics mode
The following error was encountered. You may need to update your configuration to solve this.
(EE) Failed to load Module "I810" (module does not exist, 0)


After, the only option that work is "Run ubunu in low-graphics mode for just one session"
Others options just back to same question, it doesnt work

well, I press OK, it shows another message: "Stand by one minuto while the display restarts..." (also if i dont press OK it stays like this forever)

by clicking OK, my monitor shows error message:

Not Optimum Mode
Recomended Mode : 1280 x 1024 60Hz




I dont believe my video card or network card has problem, computer is new and by booting from Windows XP it works fine
Just curious:
Do you have another computer that you can use and attempt logging into the system using SSH while it is hung at "Starting NTP server ntpd"?

If yes then you can look at the startup shell script. I think they are located here:  /etc/inittab (ref: http://www.debianhelp.co.uk/boot.htm)
If you can locate the command that starts the NTP dameon you can try commenting it out to see if it still hangs when the system boots.

If it is NTP that is causing the hangup try moving the startup command toward the end of the startup process as it may not yet have network connectivity and is failing because it cannot contact the NTP server.

 
Avatar of alpires

ASKER

I could connect thought ssh, what do I type there ? (i'm still noob:))
Sorry I had to run into town.
Let me get Ubuntu installed in a Virtual Machine so I can give you useful information.
What version are you running?

Avatar of alpires

ASKER

ubuntu 9.10
Okay.

Lets start by logging into the system with SSH. Once you are logged in do the following a the command line
su
Enter password for root when prompted

Change to directory /etc
cd /etc

List all files beginning with rc
ls rc*

You should get a printout of each file and folder beginning with rc. Beneath each rc# folder you'll find a list of files; some will start with K and others with S. You need to locate the file with S##ntp??????    It may be under rc2 directory. Once you've located it change to the directory it is located under:

cd /etc/rc#.d
ren S##ntp??????? K##ntp??????

the S is used to indicate that it should run. K tells the boot loader to ignore the script.

Reboot the system
reboot


Avatar of alpires

ASKER


No command 'ren' found, did you mean:
 Command 'mren' from package 'mtools' (main)
 Command 're' from package 're' (universe)
 Command 'gen' from package 'multimon' (universe)
 Command 'rep' from package 'librep9' (universe)
 Command 'rev' from package 'util-linux' (main)
 Command 'pen' from package 'pen' (universe)
 Command 'rem' from package 'remind' (universe)
 Command 'rec' from package 'sox' (universe)
 Command 'rn' from package 'trn' (multiverse)
 Command 'rn' from package 'trn4' (multiverse)
 Command 'ref' from package 'elvis-tools' (universe)
 Command 'red' from package 'ed' (main)
 Command 'ree' from package 'ree' (universe)
 Command 'ken' from package 'filters' (universe)
Avatar of alpires

ASKER

see what it returns.. what do I do next ?


root@judson:/etc/rc2.d# cd /etc/
root@judson:/etc# ls rc*
rc.local

rc0.d:
K05preload         K20nscd            README
K09apache2         K20postfix         S10unattended-upgrades
K09lighttpd        K20saslauthd       S15wpa-ifupdown
K19autofs          K20spamass-milter  S20sendsigs
K19sendmail        K20stunnel4        S30urandom
K20artica-boa      K20zabbix-agent    S31umountnfs.sh
K20artica-postfix  K20zabbix-server   S35networking
K20cfengine2       K21mysql           S40umountfs
K20cyrus2.2        K21spamassassin    S48cryptdisks
K20fancontrol      K50alsa-utils      S59cryptdisks-early
K20hddtemp         K74bluetooth       S60umountroot
K20kerneloops      K80openvpn         S90halt
K20libnss-ldap     K80slapd
K20mailgraph       K99laptop-mode

rc1.d:
K05preload         K20fancontrol   K20snmpd              K77ntp
K09apache2         K20hddtemp      K20spamass-milter     K80cups
K09lighttpd        K20kerneloops   K20speech-dispatcher  K80openvpn
K15pulseaudio      K20libnss-ldap  K20stunnel4           K80slapd
K19autofs          K20mailgraph    K20sysstat            K84ssh
K19sendmail        K20mailman      K20zabbix-agent       K99laptop-mode
K20acpi-support    K20nscd         K20zabbix-server      README
K20artica-boa      K20postfix      K21mysql              S30killprocs
K20artica-postfix  K20rsync        K21spamassassin       S70dns-clean
K20cfengine2       K20saned        K40dhcp3-server       S70pppd-dns
K20cyrus2.2        K20saslauthd    K74bluetooth          S90single

rc2.d:
README             S20hddtemp            S20sysstat        S70pppd-dns
S16openvpn         S20kerneloops         S20zabbix-agent   S90binfmt-support
S16ssh             S20libnss-ldap        S20zabbix-server  S91apache2
S19autofs          S20mailgraph          S21sendmail       S91lighttpd
S19mysql           S20mailman            S23ntp            S95preload
S19slapd           S20nscd               S25bluetooth      S99acpi-support
S19spamassassin    S20postfix            S40dhcp3-server   S99grub-common
S20artica-boa      S20saslauthd          S50cups           S99laptop-mode
S20artica-postfix  S20snmpd              S50pulseaudio     S99ondemand
S20cfengine2       S20spamass-milter     S50rsync          S99rc.local
S20cyrus2.2        S20speech-dispatcher  S50saned
S20fancontrol      S20stunnel4           S70dns-clean

rc3.d:
README             S20hddtemp            S20sysstat        S70pppd-dns
S16openvpn         S20kerneloops         S20zabbix-agent   S90binfmt-support
S16ssh             S20libnss-ldap        S20zabbix-server  S91apache2
S19autofs          S20mailgraph          S21sendmail       S91lighttpd
S19mysql           S20mailman            S23ntp            S95preload
S19slapd           S20nscd               S25bluetooth      S99acpi-support
S19spamassassin    S20postfix            S40dhcp3-server   S99grub-common
S20artica-boa      S20saslauthd          S50cups           S99laptop-mode
S20artica-postfix  S20snmpd              S50pulseaudio     S99ondemand
S20cfengine2       S20spamass-milter     S50rsync          S99rc.local
S20cyrus2.2        S20speech-dispatcher  S50saned
S20fancontrol      S20stunnel4           S70dns-clean

rc4.d:
README             S20hddtemp            S20sysstat        S70pppd-dns
S16openvpn         S20kerneloops         S20zabbix-agent   S90binfmt-support
S16ssh             S20libnss-ldap        S20zabbix-server  S91apache2
S19autofs          S20mailgraph          S21sendmail       S91lighttpd
S19mysql           S20mailman            S23ntp            S95preload
S19slapd           S20nscd               S25bluetooth      S99acpi-support
S19spamassassin    S20postfix            S40dhcp3-server   S99grub-common
S20artica-boa      S20saslauthd          S50cups           S99laptop-mode
S20artica-postfix  S20snmpd              S50pulseaudio     S99ondemand
S20cfengine2       S20spamass-milter     S50rsync          S99rc.local
S20cyrus2.2        S20speech-dispatcher  S50saned
S20fancontrol      S20stunnel4           S70dns-clean

rc5.d:
README             S20hddtemp            S20sysstat        S70pppd-dns
S16openvpn         S20kerneloops         S20zabbix-agent   S90binfmt-support
S16ssh             S20libnss-ldap        S20zabbix-server  S91apache2
S19autofs          S20mailgraph          S21sendmail       S91lighttpd
S19mysql           S20mailman            S23ntp            S95preload
S19slapd           S20nscd               S25bluetooth      S99acpi-support
S19spamassassin    S20postfix            S40dhcp3-server   S99grub-common
S20artica-boa      S20saslauthd          S50cups           S99laptop-mode
S20artica-postfix  S20snmpd              S50pulseaudio     S99ondemand
S20cfengine2       S20spamass-milter     S50rsync          S99rc.local
S20cyrus2.2        S20speech-dispatcher  S50saned
S20fancontrol      S20stunnel4           S70dns-clean

rc6.d:
K05preload         K20nscd            README
K09apache2         K20postfix         S10unattended-upgrades
K09lighttpd        K20saslauthd       S15wpa-ifupdown
K19autofs          K20spamass-milter  S20sendsigs
K19sendmail        K20stunnel4        S30urandom
K20artica-boa      K20zabbix-agent    S31umountnfs.sh
K20artica-postfix  K20zabbix-server   S35networking
K20cfengine2       K21mysql           S40umountfs
K20cyrus2.2        K21spamassassin    S48cryptdisks
K20fancontrol      K50alsa-utils      S59cryptdisks-early
K20hddtemp         K74bluetooth       S60umountroot
K20kerneloops      K80openvpn         S90reboot
K20libnss-ldap     K80slapd
K20mailgraph       K99laptop-mode

rcS.d:
README             S13pcmciautils  S49console-setup  S70screen-cleanup
S05keymap.sh       S25brltty       S50jove           S70x11-common
S06keyboard-setup  S47lm-sensors   S55urandom
root@judson:/etc#





ASKER CERTIFIED SOLUTION
Avatar of gemarti
gemarti
Flag of United States of America image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of alpires

ASKER

I did it.., then later i typed "sudo reboot"
It was supposed to restart ubuntu... but I dont know what happened, I cant connect again.. probably an error occoured..

I'll know tomorrow when I reach to the fisical machine..
Avatar of alpires

ASKER

gave up, not even recovery mode works.. i'm formating this !@#$ :)
tnx for help
Sorry to hear. I'm certain the commands I provided were not the cause as I tested them on my system with no problem prior to suggesting them to you.

Linux can be very frustrating to learn. Learn how to use the Command Line and things will be much easier.  

You can ask to have this question closed by clicking request attention in the bottom right corner of your original post.